Author Topic: Archlinuxarm On C3x00  (Read 49764 times)

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1802
    • View Profile
Archlinuxarm On C3x00
« Reply #345 on: November 29, 2015, 02:10:24 pm »
Quote from: Varti
Hi all,

many thanks for porting Arch Linux, I'll try it on my Z as soon as I have some free time. Has anybody tried it on a C1000?

Varthall

Don't think so......

Think you will be the first.....

Think daalnroti has said in some posts that he thinks it should work OK.....
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

greguu

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 396
    • View Profile
    • http://github.com/greguu
Archlinuxarm On C3x00
« Reply #346 on: December 08, 2015, 04:06:43 am »
Quote from: ArchiMark
Hmmm.....pretty quiet here lately.....
everyone busy with other things or just nothing to report?

Meanwhile, a question please....

Have a feeling that this was address somewhere among the past 20+ pages....
but would appreciate knowing if there's a way to disable the amber indicator light.

Having it flicker all the time, especially when I leave the Z on, but unattended, seems a waste of use of it.....

Thanks.

Hi ArchiMark,

the orange LED indicates the CPU heartbeat. Slow blinking means idle, faster blinking busy CPU.

This is patched at kernel level since the charging LED indicator is broken.


Cheers
« Last Edit: December 10, 2015, 04:18:14 am by daalnroti »
Gemini-PDA (Stock Android) / LG Nexus 5 (Sailfish OS) / Nokia N9 (MeeGo/Harmattan)
Sharp Zaurus C3100 (Borzoi) - Void Linux (voidz) Kernel 5.0.0 - Hardware (Buffalo CF LAN, DLink 660 CF WiFi, ASIX AX88772 USB Ethernet)

greguu

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 396
    • View Profile
    • http://github.com/greguu
Archlinuxarm On C3x00
« Reply #347 on: December 10, 2015, 03:04:55 am »
Quote from: danboid
Quote
Sudip Mukherjee sudipm.mukherjee@gmail.com via lists.infradead.org
   
12:32 PM (2 hours ago)
      
to Kalle, netdev, linux-wireless, linux-kernel, libertas-dev
We were dereferencing cmd first and checking for NULL later. Lets first
check for NULL.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
---
 drivers/net/wireless/marvell/libertas/cfg.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/wireless/marvell/libertas/cfg.c b/drivers/net/wireless/marvell/libertas/cfg.c
index 8317afd..e38ad1d 100644
--- a/drivers/net/wireless/marvell/libertas/cfg.c
+++ b/drivers/net/wireless/marvell/libertas/cfg.c
@@ -1108,7 +1108,7 @@ static int lbs_associate(struct lbs_private *priv,
        size_t len, resp_ie_len;
        int status;
        int ret;
-       u8 *pos = &(cmd->iebuf[0]);
+       u8 *pos;
        u8 *tmp;

        lbs_deb_enter(LBS_DEB_CFG80211);
@@ -1117,6 +1117,7 @@ static int lbs_associate(struct lbs_private *priv,
                ret = -ENOMEM;
                goto done;
        }
+       pos = &cmd->iebuf[0];

        /*
         * cmd              50 00


Hi danbiod,

I must have missed this post. What is this about ? You want me to patch ?

Cheers!
Gemini-PDA (Stock Android) / LG Nexus 5 (Sailfish OS) / Nokia N9 (MeeGo/Harmattan)
Sharp Zaurus C3100 (Borzoi) - Void Linux (voidz) Kernel 5.0.0 - Hardware (Buffalo CF LAN, DLink 660 CF WiFi, ASIX AX88772 USB Ethernet)

greguu

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 396
    • View Profile
    • http://github.com/greguu
Archlinuxarm On C3x00
« Reply #348 on: December 10, 2015, 03:07:05 am »
Quote from: Varti
Hi all,

many thanks for porting Arch Linux, I'll try it on my Z as soon as I have some free time. Has anybody tried it on a C1000?

Varthall

Hi Varti,

The C1000 "should" work, but please give it a go and report back if you succeed or face any issues.

Cheers!
Gemini-PDA (Stock Android) / LG Nexus 5 (Sailfish OS) / Nokia N9 (MeeGo/Harmattan)
Sharp Zaurus C3100 (Borzoi) - Void Linux (voidz) Kernel 5.0.0 - Hardware (Buffalo CF LAN, DLink 660 CF WiFi, ASIX AX88772 USB Ethernet)

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #349 on: December 12, 2015, 05:12:29 am »
It's really good to see a distro being updated for the Zaurus. I just read this long thread for 3 hours.
Is ArchLinux really much different than Debian and its offshoots?

I have one main question before I try ArchLinux. I'll boot it from an SD card like I did with Zubuntu.
I already have kexec installed and have used it with Zubuntu.

Do I really need to install the recommended kexec mentioned here, or can I boot ArchLinux with my current kexec version?

The reason I'm asking this is because I modified my SL-C3100 to dual booting Angstrom + Cacko.
I don't use Angstrom anymore, but I still need its kexec-tools, (or maybe I'm using kexec from Zubuntu, not quite sure at the moment).
My main concern is that I want to continue to use Cacko, and Cacko is installed in an unusual manner.
A cold boot boots Angstrom then I use kexec within Angstrom to boot Cacko.

BTW, I have an Ambicom WL1100C-CF Wifi card like ArchiMark. This card works in all Zaurus distros.
I also have a Socket 10/100 Rugged CF Ethernet card, but the Rugged designation makes it different and it has never worked in any Zaurus distro.
It was an expensive card and would like to see it work.
I also have a Belkin USB to Ethernet device, but I think it uses too much power for newer kernels. It works in Cacko and pdaxii13
I also have a Linksys USB200M USB to Ethernet adapter that has not worked in any Zaurus distro either.

Thank you for reading this. I really want to try ArchLinux on my C3100, but will have to wait till tomorrow. (It is 4 AM here)

Jon
« Last Edit: December 12, 2015, 05:13:22 am by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1802
    • View Profile
Archlinuxarm On C3x00
« Reply #350 on: December 12, 2015, 01:35:25 pm »
Quote from: Jon_J
It's really good to see a distro being updated for the Zaurus. I just read this long thread for 3 hours.
Is ArchLinux really much different than Debian and its offshoots?

Hey Jon, good to see you here.......

Others may chime in with other points, but to me, the main difference with Arch is that it is a 'rolling release' that means it is constantly updated....but up to you whether install the updates. While Debian and offshoots use a periodic release approach.

Quote
I have one main question before I try ArchLinux. I'll boot it from an SD card like I did with Zubuntu.
I already have kexec installed and have used it with Zubuntu.

Do I really need to install the recommended kexec mentioned here, or can I boot ArchLinux with my current kexec version?

daalnroti or danboid can chime in, but I think you need the one mentioned here, but I could be wrong.....

Quote
The reason I'm asking this is because I modified my SL-C3100 to dual booting Angstrom + Cacko.
I don't use Angstrom anymore, but I still need its kexec-tools, (or maybe I'm using kexec from Zubuntu, not quite sure at the moment).
My main concern is that I want to continue to use Cacko, and Cacko is installed in an unusual manner.
A cold boot boots Angstrom then I use kexec within Angstrom to boot Cacko.

Quote
BTW, I have an Ambicom WL1100C-CF Wifi card like ArchiMark. This card works in all Zaurus distros.

Yep, this card has never let me down....

Quote
I also have a Socket 10/100 Rugged CF Ethernet card, but the Rugged designation makes it different and it has never worked in any Zaurus distro.
It was an expensive card and would like to see it work.

Yeah, I have non-Rugged version and it always works with everything I've tried on Zaurus....

Quote
I also have a Belkin USB to Ethernet device, but I think it uses too much power for newer kernels. It works in Cacko and pdaxii13
I also have a Linksys USB200M USB to Ethernet adapter that has not worked in any Zaurus distro either.

Thank you for reading this. I really want to try ArchLinux on my C3100, but will have to wait till tomorrow. (It is 4 AM here)

Jon

Give ALARMZ a try and let us know how it goes or if you have questions.....

 

Mark
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

greguu

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 396
    • View Profile
    • http://github.com/greguu
Archlinuxarm On C3x00
« Reply #351 on: December 15, 2015, 12:33:45 am »
Quote from: Jon_J
It's really good to see a distro being updated for the Zaurus. I just read this long thread for 3 hours.
Is ArchLinux really much different than Debian and its offshoots?

I have one main question before I try ArchLinux. I'll boot it from an SD card like I did with Zubuntu.
I already have kexec installed and have used it with Zubuntu.

Do I really need to install the recommended kexec mentioned here, or can I boot ArchLinux with my current kexec version?

The reason I'm asking this is because I modified my SL-C3100 to dual booting Angstrom + Cacko.
I don't use Angstrom anymore, but I still need its kexec-tools, (or maybe I'm using kexec from Zubuntu, not quite sure at the moment).
My main concern is that I want to continue to use Cacko, and Cacko is installed in an unusual manner.
A cold boot boots Angstrom then I use kexec within Angstrom to boot Cacko.

BTW, I have an Ambicom WL1100C-CF Wifi card like ArchiMark. This card works in all Zaurus distros.
I also have a Socket 10/100 Rugged CF Ethernet card, but the Rugged designation makes it different and it has never worked in any Zaurus distro.
It was an expensive card and would like to see it work.
I also have a Belkin USB to Ethernet device, but I think it uses too much power for newer kernels. It works in Cacko and pdaxii13
I also have a Linksys USB200M USB to Ethernet adapter that has not worked in any Zaurus distro either.

Thank you for reading this. I really want to try ArchLinux on my C3100, but will have to wait till tomorrow. (It is 4 AM here)

Jon
Hi Jon_J!

ALARM vs Debian : most have the impression that ALARM is faster, pacman is way faster than apt-get, but I guess you check for yourself.

KEXECBOOT : there is no real need to update your kexecboot, one thing to keep in mind is that the boot.cfg syntax has changed a bit between kexeboot releases. You may need to adopt the boot.cfg from ALARM to fit to your kexecboot version.

WiFi / Ethernet USB Cards : best to boot Debian or Arch and provide more info (lsusb or lspcmcia). If the driver is not included in the current kernel but does exists, I can recompile and add the modules needed.Full model number, product code etc would help too. Keep in mind I can add a kernel module but not troubleshoot or test as I do not have this kind of hardware.

Cheers!
« Last Edit: December 15, 2015, 01:03:53 am by daalnroti »
Gemini-PDA (Stock Android) / LG Nexus 5 (Sailfish OS) / Nokia N9 (MeeGo/Harmattan)
Sharp Zaurus C3100 (Borzoi) - Void Linux (voidz) Kernel 5.0.0 - Hardware (Buffalo CF LAN, DLink 660 CF WiFi, ASIX AX88772 USB Ethernet)

greguu

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 396
    • View Profile
    • http://github.com/greguu
Archlinuxarm On C3x00
« Reply #352 on: December 15, 2015, 01:11:34 am »
Quote from: Jon_J
It's really good to see a distro being updated for the Zaurus. I just read this long thread for 3 hours.
Is ArchLinux really much different than Debian and its offshoots?

I have one main question before I try ArchLinux. I'll boot it from an SD card like I did with Zubuntu.
I already have kexec installed and have used it with Zubuntu.

Do I really need to install the recommended kexec mentioned here, or can I boot ArchLinux with my current kexec version?

The reason I'm asking this is because I modified my SL-C3100 to dual booting Angstrom + Cacko.
I don't use Angstrom anymore, but I still need its kexec-tools, (or maybe I'm using kexec from Zubuntu, not quite sure at the moment).
My main concern is that I want to continue to use Cacko, and Cacko is installed in an unusual manner.
A cold boot boots Angstrom then I use kexec within Angstrom to boot Cacko.

BTW, I have an Ambicom WL1100C-CF Wifi card like ArchiMark. This card works in all Zaurus distros.
I also have a Socket 10/100 Rugged CF Ethernet card, but the Rugged designation makes it different and it has never worked in any Zaurus distro.
It was an expensive card and would like to see it work.
I also have a Belkin USB to Ethernet device, but I think it uses too much power for newer kernels. It works in Cacko and pdaxii13
I also have a Linksys USB200M USB to Ethernet adapter that has not worked in any Zaurus distro either.

Thank you for reading this. I really want to try ArchLinux on my C3100, but will have to wait till tomorrow. (It is 4 AM here)

Jon

Socket Rugged 10/100 : from the user manual "Note: The Rugged CF 10/100 Card is NOT NE2000 compliant" but the card uses the AX88790 chip.
this card may be supported, but better you try by booting the latest kernel 4.2.3 into alarm and check !

The Belkin and Linksys also use ASIX chipsets and may be supported. I have a AX88772 based USB to Ethernet that does work without powered USB hub.
Other chips need more power and may not work without a powered hub. Also, you will need to test.

Cheers!
Gemini-PDA (Stock Android) / LG Nexus 5 (Sailfish OS) / Nokia N9 (MeeGo/Harmattan)
Sharp Zaurus C3100 (Borzoi) - Void Linux (voidz) Kernel 5.0.0 - Hardware (Buffalo CF LAN, DLink 660 CF WiFi, ASIX AX88772 USB Ethernet)

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #353 on: December 15, 2015, 06:35:52 pm »
I don't have Arch linux ARM running yet. Here's what I tried.
I first installed Arch kexec and unpacked "linux-4.2.3-c3x00-v0.3.tar.xz" to a SD card.
I used the instructions under post #117 because when I tried Danboid's instructions,
the above archive unpacked onto the hard drive on my desktop PC instead of SD card.
Following the instructions at post #117, I got stumped when I was told to copy files to /boot
Also some further instructions mentioned copying files to /lib/modules.
My problem is that I only have one directory on my SD card called "4.2.3-c3x00"
No other directories exist, and I am not sure if I should go about creating these directories. Or I have downloaded the wrong archive.

I think I had it partially running when I booted the SD card using Arch kexec.
I didn't write down the error messages, but I was getting 1 or 2 kernel panics, and it stopped booting.
Arch kexec wouldn't allow me to boot any other SD cards, (I tried Cacko on an SD card).
So I reflashed my Z with cortez's kexec which was released with zubuntu, and it allowed me to boot Cacko once again.
I also tried formatting to ext3 my SD card that I was using for Arch linux ARM because cortez's kexec would not recognize ext4.
Arch linux ARM is not visible on that SD card booting with cortez's kexec.
That is where I am at right now.
Next I'm going to try to unpack "linux-3.11.3-borzoi" to a SD card and try that with cortez's kexec.

OK, now some information on my 3 Ethernet cards:
On my laptop running MX14 (Debian kernel 3.14)
====================
lsusb
Linksys USB200M 10/100 Ethernet Adapter
Device 006 ID 13b1:0018
driver, Asix
====================
lsusb
Belkin Components F5D5050 100Mbps Ethernet
Device 002 ID 050d:0121
driver not listed.
====================
Both the above USB to Ethernet adapters worked on my laptop, which is a Dell mini1010 netbook with an Atom processor.
I was unable to use "lspcmcia" with my Socket CF ethernet adapter. I tried in pdaxii13 and Cacko, but the command is not available.
Below is a whole lot of information that I have gathered over the last 8 years on the Socket Rugged CF 10/100 Ethernet Card
Code: [Select]
cardctl ident
Socket 0:
 product info: "Socket", "CF 10/100 Ethernet Card", "Revision B", "05/11/06"
 manfid: 0x0104, 0x02d2
 function: 6 (network)
----------------------------
cardctl info
PRODID_1="Socket"
PRODID_2="CF 10/100 Ethernet Card"
PRODID_3="Revision B"
PRODID_4="05/11/06"
MANFID=0104,02d2
FUNCID=6
----------------------------
dmesg output for Socket card:
eth0: NE2000 Compatible: io 0xf6000300, irq 135, auto xcvr, hw_addr 00:C0:1B:07:D5:3A
----------------------------
The Rugged CF 10/100 card utilizes the Asix AX88790 L 10/100BASE 3-in-1 PCMCIA Fast Ethernet Controller.
----------------------------
From ethernet vender codes page: http://www.cavebear.com/archive/cavebear/Ethernet/vendor.html
00C01B    Socket Communications
I pasted "AX88790 L phy workaround..txt" to this post, but it takes too much space, I attached it as a *.zip file instead.
I do not understand it, but it pertains to someone trying to get a driver working for the Socket Rugged CF Ethernet card.
I would prefer to use the CF Ethernet card because it must have better thoroughput than the USB devices because the Zaurus USB is only version 1.1
« Last Edit: December 15, 2015, 11:59:53 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #354 on: December 15, 2015, 11:39:10 pm »
I now have ArchlinuxARM started, but still am getting kernel panic.
Code: [Select]
Kernel panic - not syncing: No init found. Try passing init= option to kernelThe display is in portrait mode.
I'm using the kexec from zubuntu. I renamed "boot.cfg" to "kernel-cmdline" and renamed "zImage-3.11.3-c3x00" to just "zImage"
Renaming to "zImage" allowed this version of kexec to display the SD card selection on the boot screen which enabled me to select it.
I still have no "proper" linux directory structure. I created the directories mentioned in post #117
Is there another download that I need? Such as "Spitz-root-addition" as required in zubuntu, this creates the directory structure.
I also forgot to mention, I formatted my SD card to ext3 filesystem since I didn't think this older kexec would recognize ext4.

Thank you,
Jon
« Last Edit: December 16, 2015, 07:07:30 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #355 on: December 16, 2015, 04:12:11 pm »
I just reflashed my C3100 with arch-kexecboot and have Cacko working.
I used the contents of kernel-cmdline that works on my other SD card, and placed it boot.cfg as a second entry.
I used an "example boot.config" found in this thread to determine how to do this.

When I select ArchLinuxARM from the boot menu, I'm still getting
Code: [Select]
Kernel panic - not syncing: No init found. Try passing init= option to kernel.It does, however display in landscape mode like it should. I just don't know how to pass an init= option to the kernel.


Edit
I finally got ArchLinuxARM to boot completely, and logged in!  I also have Cacko booting from the menu.
I thought I was missing the file structure, and just stumbled upon this important archive. "alarm-zaurus-c3x00-minimal-rootfs-october2015.tar.xz"
I had previously tried "linux-4.2.3-c3x00-v0.3.tar.xz" and "linux-3.11.3-c3x00.tar.xz", but these archives are missing the filesystem.
Each of the above 2 archives are about 5.5MB and unpacked in 2-3 seconds.
Unpacking "alarm-zaurus-c3x00-minimal-rootfs-october2015.tar.xz" took at least 10 minutes, and it is 129MB.
I think it should be posted clearly somewhere that one needs the archive with "rootfs" in the filename.

This leads to another question. Do I need either of these 2 archives? "linux-4.2.3-c3x00-v0.3.tar.xz" or "linux-3.11.3-c3x00.tar.xz"

Thank you
Jon
« Last Edit: December 16, 2015, 07:20:32 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

greguu

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 396
    • View Profile
    • http://github.com/greguu
Archlinuxarm On C3x00
« Reply #356 on: December 17, 2015, 12:37:19 am »
Quote from: Jon_J
I just reflashed my C3100 with arch-kexecboot and have Cacko working.
I used the contents of kernel-cmdline that works on my other SD card, and placed it boot.cfg as a second entry.
I used an "example boot.config" found in this thread to determine how to do this.

When I select ArchLinuxARM from the boot menu, I'm still getting
Code: [Select]
Kernel panic - not syncing: No init found. Try passing init= option to kernel.It does, however display in landscape mode like it should. I just don't know how to pass an init= option to the kernel.


Edit
I finally got ArchLinuxARM to boot completely, and logged in!  I also have Cacko booting from the menu.
I thought I was missing the file structure, and just stumbled upon this important archive. "alarm-zaurus-c3x00-minimal-rootfs-october2015.tar.xz"
I had previously tried "linux-4.2.3-c3x00-v0.3.tar.xz" and "linux-3.11.3-c3x00.tar.xz", but these archives are missing the filesystem.
Each of the above 2 archives are about 5.5MB and unpacked in 2-3 seconds.
Unpacking "alarm-zaurus-c3x00-minimal-rootfs-october2015.tar.xz" took at least 10 minutes, and it is 129MB.
I think it should be posted clearly somewhere that one needs the archive with "rootfs" in the filename.

This leads to another question. Do I need either of these 2 archives? "linux-4.2.3-c3x00-v0.3.tar.xz" or "linux-3.11.3-c3x00.tar.xz"

Thank you
Jon

Hi Jon,

the minimal rootfs includes already kernel linux-4.2.3-c3x00. So you will not need the other archives.
I thought https://github.com/danboid/ZALARM-install covers the install process pretty much in detail.
Let us know what steps were not clear and I am sure danboid or me can modify the instructions.

Cheers!
Gemini-PDA (Stock Android) / LG Nexus 5 (Sailfish OS) / Nokia N9 (MeeGo/Harmattan)
Sharp Zaurus C3100 (Borzoi) - Void Linux (voidz) Kernel 5.0.0 - Hardware (Buffalo CF LAN, DLink 660 CF WiFi, ASIX AX88772 USB Ethernet)

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #357 on: December 17, 2015, 02:09:10 am »
Quote from: daalnroti
Hi Jon,

the minimal rootfs includes already kernel linux-4.2.3-c3x00. So you will not need the other archives.
I thought https://github.com/danboid/ZALARM-install covers the install process pretty much in detail.
Let us know what steps were not clear and I am sure danboid or me can modify the instructions.

Cheers!
I think my problem was I started with the instructions in post 117. Installing to SD card. The archive linked in that post doesn't have the full directory structure. "ArchLinuxARM-armv5-latest.tar.gz"
I got confused and started looking around and then found the other 2 archives mentioned above, which I now realize only contain kernels and modules.
It was awhile later that I found "alarm-zaurus-c3x00-minimal-rootfs-october2015.tar.xz" with the complete filesystem, then everything worked as expected.

Thanks for putting up with me, I get things confused sometimes.

Thank you,
Jon
« Last Edit: December 17, 2015, 02:43:47 am by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

greguu

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 396
    • View Profile
    • http://github.com/greguu
Archlinuxarm On C3x00
« Reply #358 on: December 17, 2015, 02:21:05 am »
Quote from: Jon_J
Quote from: daalnroti
Hi Jon,

the minimal rootfs includes already kernel linux-4.2.3-c3x00. So you will not need the other archives.
I thought https://github.com/danboid/ZALARM-install covers the install process pretty much in detail.
Let us know what steps were not clear and I am sure danboid or me can modify the instructions.

Cheers!
I think my problem was I started with the instructions in post 117. Installing to SD card. The archive linked in that post doesn't have the full directory structure. "ArchLinuxARM-armv5-latest.tar.gz"
I got confused and started looking around and then found the other 2 archives mentioned above, which I now realize only contain kernels and modules.
It was awhile later that I found "alarm-zaurus-c3x00-minimal-rootfs-october2015.tar.xz" with the complete filesystem, then everything worked as expected.

Thank you,
Jon

No worries,

good to have another user here. Welcome!

Are your CF/USB network devices recognized correctly under ALARM ?

Cheers!
Gemini-PDA (Stock Android) / LG Nexus 5 (Sailfish OS) / Nokia N9 (MeeGo/Harmattan)
Sharp Zaurus C3100 (Borzoi) - Void Linux (voidz) Kernel 5.0.0 - Hardware (Buffalo CF LAN, DLink 660 CF WiFi, ASIX AX88772 USB Ethernet)

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #359 on: December 17, 2015, 02:38:37 am »
Hi  daalnroti,
My 2 USB to ethernet adapters both work in ArchLinuxARM
====================
Linksys USB200M 10/100 Ethernet Adapter
Device 006 ID 13b1:0018
driver, Asix
Needs a powered hub, I tried with and without powered hub.
====================
Belkin Components F5D5050 100Mbps Ethernet
Device 002 ID 050d:0121
driver (dmesg shows driver is Pegasus)
This one works fine without a powered hub. It just lit up as soon as I logged in.
====================
I haven't got my Socket Rugged 10/100 card working yet. It seems to be using pcnet_cs and spits out a lot of errors in dmesg.
In dmesg it says it is NE2000 compliant, but we know it is not. I 'll try to copy the dmesg errors to a file and post them here.
Code: [Select]
[   61.099123] pcmcia_socket pcmcia_socket0: pccard: PCMCIA card inserted into slot 0
[   61.102534] pcmcia 0.0: pcmcia: registering new device pcmcia0.0 (IRQ: 217)
[   61.530586] pcnet_cs 0.0 eth0: NE2000 Compatible:
[   61.530650] io 0xc4860300, irq 217, auto xcvr, hw_addr 00:c0:1b:07:d5:3a
[   61.920598] NET: Registered protocol family 17
[   62.249062] ------------[ cut here ]------------
[   62.249182] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:303 dev_watchdog+0x200/0x28c()
[   62.249204] NETDEV WATCHDOG: eth0 (pcnet_cs): transmit queue 0 timed out
[   62.249219] Modules linked in: af_packet pcnet_cs 8390 ads7846 pxaficp_ir sch_fq_codel ip_tables x_tables ipv6 autofs4
[   62.249346] CPU: 0 PID: 0 Comm: swapper Not tainted 4.2.3-c3x00 #1
[   62.249362] Hardware name: SHARP Borzoi
[   62.249460] [] (unwind_backtrace) from [] (show_stack+0x10/0x14)
[   62.249513] [] (show_stack) from [] (warn_slowpath_common+0x84/0xac)
[   62.249551] [] (warn_slowpath_common) from [] (warn_slowpath_fmt+0x2c/0x3c)
[   62.249589] [] (warn_slowpath_fmt) from [] (dev_watchdog+0x200/0x28c)
[   62.249644] [] (dev_watchdog) from [] (call_timer_fn.isra.33+0x20/0x94)
[   62.249683] [] (call_timer_fn.isra.33) from [] (run_timer_softirq+0x1e4/0x264)
[   62.249725] [] (run_timer_softirq) from [] (__do_softirq+0xdc/0x214)
[   62.249762] [] (__do_softirq) from [] (irq_exit+0x84/0xec)
[   62.249799] [] (irq_exit) from [] (__handle_domain_irq+0x98/0xcc)
[   62.249835] [] (__handle_domain_irq) from [] (ichp_handle_irq+0x28/0x30)
[   62.249872] [] (ichp_handle_irq) from [] (__irq_svc+0x40/0x6c)
[   62.249894] Exception stack(0xc0597f68 to 0xc0597fb0)
[   62.249928] 7f60:                   00000001 60000093 c05a4048 60000013 c0596000 c0598090
[   62.249965] 7f80: c05a3774 c0598020 c058341c c3ffcac0 a05821c4 00000000 00000000 c0597fb0
[   62.249991] 7fa0: c000aa8c c000aa98 60000013 ffffffff
[   62.250028] [] (__irq_svc) from [] (arch_cpu_idle+0x2c/0x34)
[   62.250079] [] (arch_cpu_idle) from [] (cpu_startup_entry+0xec/0x154)
[   62.250156] [] (cpu_startup_entry) from [] (start_kernel+0x2f0/0x350)
[   62.250178] ---[ end trace 757a62bf32918edd ]---

Jon
« Last Edit: December 17, 2015, 03:11:00 am by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers