Author Topic: Archlinuxarm On C3x00  (Read 93416 times)

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Archlinuxarm On C3x00
« Reply #135 on: October 14, 2015, 06:01:21 pm »
Quote from: danboid
Thanks daalnroti!

I'll experiment with the speed settings tomorrow and report back.

xf86-video-fbdev works under Arch but the screen is in the wrong orientation (which I'm sure can be fixed with a xrandr command and/or an xorg.conf file) and I have no idea how to configure the touchscreen with is not calibrated currently. The good news is suspend seems to work fine under both X and the console by default.

As I've already said, I don't think I'll really be using X much but I'm still interested to see if we can get it working properly.

I'll be glad to help test out X and getting it working as I'd like to have it if possible...

 
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/

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #136 on: October 14, 2015, 06:19:54 pm »
The X keymap needs some work too. As it stands I can't type a forward slash and other important  characters like * and _ . I expect we'll be able  to borrow the xorg.conf and keymap etc from pdaXrom or another X-based Z distro.

I'm sure you'll get it running eventually Mark but I can't really add anything to what daal and I have already told you about the pitfalls of uncompressing and installing Arch on the Z.
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

greguu

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 433
    • View Profile
    • http://github.com/greguu
Archlinuxarm On C3x00
« Reply #137 on: October 14, 2015, 07:43:43 pm »
Quote from: danboid
Thanks daalnroti!

I'll experiment with the speed settings tomorrow and report back.

xf86-video-fbdev works under Arch but the screen is in the wrong orientation (which I'm sure can be fixed with a xrandr command and/or an xorg.conf file) and I have no idea how to configure the touchscreen with is not calibrated currently. The good news is suspend seems to work fine under both X and the console by default.

As I've already said, I don't think I'll really be using X much but I'm still interested to see if we can get it working properly.

TOUCHSCREEN : I guess we need to port the touch screen calibration tool from pdaxroom. It was outdated back then already, maybe there is another way to calibrate now.

XORG ROTATE : this can be done via a command line parameter I think and also via xorg.conf

SPEED : this will be done via cpufreq but not sure the 624 will work, never tried.
Gemini-PDA (Sailfish X and Android) / LG Nexus 5 (Android 11) / 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: 433
    • View Profile
    • http://github.com/greguu
Archlinuxarm On C3x00
« Reply #138 on: October 14, 2015, 07:44:36 pm »
Quote from: danboid
The X keymap needs some work too. As it stands I can't type a forward slash and other important  characters like * and _ . I expect we'll be able  to borrow the xorg.conf and keymap etc from pdaXrom or another X-based Z distro.

I'm sure you'll get it running eventually Mark but I can't really add anything to what daal and I have already told you about the pitfalls of uncompressing and installing Arch on the Z.

I can have a look on my debian partition, I used xorg there and may have keymap too.
Gemini-PDA (Sailfish X and Android) / LG Nexus 5 (Android 11) / 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)

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Archlinuxarm On C3x00
« Reply #139 on: October 14, 2015, 09:37:57 pm »
Quote from: danboid
The X keymap needs some work too. As it stands I can't type a forward slash and other important  characters like * and _ . I expect we'll be able  to borrow the xorg.conf and keymap etc from pdaXrom or another X-based Z distro.

I'm sure you'll get it running eventually Mark but I can't really add anything to what daal and I have already told you about the pitfalls of uncompressing and installing Arch on the Z.

Understand, danboid.....thanks....

Quote from: daalnroti
Quote from: danboid
Thanks daalnroti!

I'll experiment with the speed settings tomorrow and report back.

xf86-video-fbdev works under Arch but the screen is in the wrong orientation (which I'm sure can be fixed with a xrandr command and/or an xorg.conf file) and I have no idea how to configure the touchscreen with is not calibrated currently. The good news is suspend seems to work fine under both X and the console by default.

As I've already said, I don't think I'll really be using X much but I'm still interested to see if we can get it working properly.

TOUCHSCREEN : I guess we need to port the touch screen calibration tool from pdaxroom. It was outdated back then already, maybe there is another way to calibrate now.

XORG ROTATE : this can be done via a command line parameter I think and also via xorg.conf

SPEED : this will be done via cpufreq but not sure the 624 will work, never tried.

Quote from: daalnroti
Quote from: danboid
The X keymap needs some work too. As it stands I can't type a forward slash and other important  characters like * and _ . I expect we'll be able  to borrow the xorg.conf and keymap etc from pdaXrom or another X-based Z distro.

I'm sure you'll get it running eventually Mark but I can't really add anything to what daal and I have already told you about the pitfalls of uncompressing and installing Arch on the Z.

I can have a look on my debian partition, I used xorg there and may have keymap too.

Thanks, daalnroti.....
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/

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Archlinuxarm On C3x00
« Reply #140 on: October 14, 2015, 11:16:25 pm »
Quote
06. Copy kernel "zImage-3.11.3-c3x00" and "boot.cfg" from my git hub to /mnt/sdarch/boot

Noticed in the there's two zImage-3.11.3-c3x00 files when I untarred '3.11.3-c3x00.tar.xz'.

One file has '-arch' at the end of the filename and was created after the other one.

Any reason to use one or the other?

Thanks.
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: 433
    • View Profile
    • http://github.com/greguu
Archlinuxarm On C3x00
« Reply #141 on: October 14, 2015, 11:20:46 pm »
Quote from: ArchiMark
Quote
06. Copy kernel "zImage-3.11.3-c3x00" and "boot.cfg" from my git hub to /mnt/sdarch/boot

Noticed in the there's two zImage-3.11.3-c3x00 files when I untarred '3.11.3-c3x00.tar.xz'.

One file has '-arch' at the end of the filename and was created after the other one.

Any reason to use one or the other?

Thanks.



the latest release has only one zImage. Please use the latest release : https://github.com/greguu/linux-3.11.3-borz...leases/tag/v0.4
Gemini-PDA (Sailfish X and Android) / LG Nexus 5 (Android 11) / 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)

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Archlinuxarm On C3x00
« Reply #142 on: October 14, 2015, 11:24:32 pm »
Quote from: daalnroti
Quote from: ArchiMark
Quote
06. Copy kernel "zImage-3.11.3-c3x00" and "boot.cfg" from my git hub to /mnt/sdarch/boot

Noticed in the there's two zImage-3.11.3-c3x00 files when I untarred '3.11.3-c3x00.tar.xz'.

One file has '-arch' at the end of the filename and was created after the other one.

Any reason to use one or the other?

Thanks.



the latest release has only one zImage. Please use the latest release : https://github.com/greguu/linux-3.11.3-borz...leases/tag/v0.4


Oops, thanks.....thought I had done that....  
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/

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Archlinuxarm On C3x00
« Reply #143 on: October 14, 2015, 11:55:34 pm »
On step 10.....  

Question....

10. Download keymap file from github , borzoi.map.gz

as root :
Code: [Select]
       cd /mnt/sdarch/usr/share/kbd/keymaps
       mkdir zaurus
       cp /home/yourusername/borzoi.map.gz /mnt/sdarch/usr/share/kbd/keymaps/zaurus

Don't you need to uncompress the map?
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: 433
    • View Profile
    • http://github.com/greguu
Archlinuxarm On C3x00
« Reply #144 on: October 15, 2015, 12:00:15 am »
nope
Gemini-PDA (Sailfish X and Android) / LG Nexus 5 (Android 11) / 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)

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #145 on: October 15, 2015, 02:26:57 pm »
I've just spent all afternoon experimenting with wifi. I haven't made any real progress but I still wanted to share my findings for anyone else interested in zALARM wifi.

Up until now I've been using Arch's netctl tool to connect to wifi but netctl doesn't let you adjust the rate of the connection and you can't set it within its wifi profile files. I was unable to test networkmanager until I got my USB ethernet as it has about 25 deps and I wasn't willing to install all that manually. I gave nmtui a quick go but  no sooner had I started it up to try to configure my connection the wifi driver / kernel started repeatedly printing an error that I didn't make a note of.

I have been able to manually establish a wifi connection without using netctl by  following this guide:

http://linuxcommando.blogspot.co.uk/2013/1...fi-network.html

but the resultant connection gives me the same errors as netctl does.

I have tried using both iw and iwconfig to configure the rate but neither seem to work for libertas_cs. The iw command to set the rate is something like:

Code: [Select]
iw wlan0 set bitrates legacy-2.4 12 18 24
but for that I get an error like `operation not supported (-95)` whereas the iwconfig equivent would be something like

Code: [Select]
iwconfig wlan0 rate 5.5M fixed
but that tells me

Code: [Select]
SET failed on devic wlan0; Operation not supported
So far I've had no luck changing the rate but I'm sure there are other connection or driver settings I can try adjusting that could help. Turning off WPA isn't really an option - I will be using WPA(2) with all wifi connections I use and I know there's nothing wrong with the router or the connection itself as my laptop and phone connect to it fine.
« Last Edit: October 15, 2015, 02:29:22 pm by danboid »
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

greguu

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 433
    • View Profile
    • http://github.com/greguu
Archlinuxarm On C3x00
« Reply #146 on: October 15, 2015, 03:46:00 pm »
Quote from: danboid
I've just spent all afternoon experimenting with wifi. I haven't made any real progress but I still wanted to share my findings for anyone else interested in zALARM wifi.

Up until now I've been using Arch's netctl tool to connect to wifi but netctl doesn't let you adjust the rate of the connection and you can't set it within its wifi profile files. I was unable to test networkmanager until I got my USB ethernet as it has about 25 deps and I wasn't willing to install all that manually. I gave nmtui a quick go but  no sooner had I started it up to try to configure my connection the wifi driver / kernel started repeatedly printing an error that I didn't make a note of.

I have been able to manually establish a wifi connection without using netctl by  following this guide:

http://linuxcommando.blogspot.co.uk/2013/1...fi-network.html

but the resultant connection gives me the same errors as netctl does.

I have tried using both iw and iwconfig to configure the rate but neither seem to work for libertas_cs. The iw command to set the rate is something like:

Code: [Select]
iw wlan0 set bitrates legacy-2.4 12 18 24
but for that I get an error like `operation not supported (-95)` whereas the iwconfig equivent would be something like

Code: [Select]
iwconfig wlan0 rate 5.5M fixed
but that tells me

Code: [Select]
SET failed on devic wlan0; Operation not supported
So far I've had no luck changing the rate but I'm sure there are other connection or driver settings I can try adjusting that could help. Turning off WPA isn't really an option - I will be using WPA(2) with all wifi connections I use and I know there's nothing wrong with the router or the connection itself as my laptop and phone connect to it fine.

After connecting, can you ping your router or does the connection not work at all ?

WPA2 : disabling WPA/2 temporarily would help to find out if your issue is related to WPA/2 and wpa_supplicant with that card.

KERNEL : I have uploaded a pre release of a vanilla kernel 4.2.3. It seems to boot, but I had not time to test or add any patches. Possibly LEDs do not work, USB is 150mA only and no ALARM logo. However test your WiFi with it.

NOTE :  libertas firmware not included.

https://github.com/greguu/linux-4.2.3-c3x00...leases/tag/v0.1
Gemini-PDA (Sailfish X and Android) / LG Nexus 5 (Android 11) / 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)

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #147 on: October 15, 2015, 03:57:51 pm »
Wow! A bang up-to-date kernel for the Z!

I might install that tonight but I'm not doing any more wifi tests today - there's only so much I can handle in a day!

Fingers crossed - thanks d!
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #148 on: October 15, 2015, 04:06:18 pm »
Why is so little firmware included with your kernels but not none?
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

greguu

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 433
    • View Profile
    • http://github.com/greguu
Archlinuxarm On C3x00
« Reply #149 on: October 15, 2015, 04:17:20 pm »
Quote from: danboid
Why is so little firmware included with your kernels but not none?

I guess by default the kernel scripts install only the modules supported by drivers enabled in the kernel .config file

The source has plenty more firmwares but these do not get installed because the drivers are not included in this kernel.

However I can force this with "make firmware" and "make "firmware_install"

Libertas firmware is not included in the source tar ball and does not get installed automatically. No sure why, maybe a licensing issue.

I have updated the 4.2.3 v0.1 tar ball to include all firmwares, just in case.
Gemini-PDA (Sailfish X and Android) / LG Nexus 5 (Android 11) / 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)