OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio

IPB

Welcome Guest ( Log In | Register )

2 Pages V   1 2 >  
Reply to this topicStart new topic
> Linux Kernel 4.9-rc3, Experimental Kernel Build for Sharp Zaurus C3x00
greguu
post Oct 30 2016, 04:34 PM
Post #1





Group: Moderators
Posts: 374
Joined: 14-November 05
From: New Zealand
Member No.: 8,535



Linux Kernel 4.9-rc3

Download here : https://github.com/greguu/linux-4.9-rc3-c3x...leases/tag/v0.2

CODE
Experimental Kernel for Sharp Zaurus C3x00 series
-------------------------------------------------

-       boot.cfg is example only for use with kexecboot.
        You will need to adjust your root= accordingly

-       The is an experimental release. Please post issues or suggestions on OESF.org/forum


v0.2 Change Log

-       Set USB power level to 180mA (not sure this actually works)

-       Reverted PCMCIA regulator additions by moving soc_common.c/h to 4.6.7 version

v0.1 Change Log

-       SPI PXA2xx driver was reverted to 4.6.7 version

-       IPV6, ALSA and some filesystems are modules again instead of compiled into the kernel

-       F2FS was added

-       SECCOMP enabled as required by systemd

-       Online charging may work again. This needs some testing.
        Replug the power cord after a boot brings the charging LED on


Cheers!
Go to the top of the page
 
+Quote Post
Varti
post Oct 31 2016, 12:33 AM
Post #2





Group: Admin
Posts: 934
Joined: 30-April 08
From: Italy
Member No.: 21,713



Well done! Glad that at the end you have managed to fix that FB problem.

Varti
Go to the top of the page
 
+Quote Post
p0c
post Oct 31 2016, 10:25 AM
Post #3





Group: Members
Posts: 3
Joined: 31-October 16
Member No.: 795,594



After having my Zaurus dust away for years I refound this forum again - totally stoked to see there's still ongoing community development! Thanks to all you guys, I hope to give something back myself these coming months. I was thinking of writing some blog posts or so smile.gif

So far no issues running your updated kernel, apart from the following maybe not specific to your kernel:

- My CF port seems to work when I have a device in the port at boot, but otherwise it doesn't register anything (no kernel logging at least). Any clue as to why? Am I failing to load some kernel module?
Edit: For some reason nothing gets logged, but the device does register events. Compiled pcmciautils (seems not to be part of the standard kernel anymore) which allowed me to "insert" my wireless CF card.
- Kexecboot first searches all devices for kernels / boot.cfgs. This takes about 2 minutes, and slows down the booting significantly. Is there a way to just specify that it should boot from the first HD partitions rather than checking everything?
- Upon inserting my wireless USB dongle I get the following warning: usb 1-2: rejected 1 configuration due to insufficient available bus power. I overrode the safety mechanism: /sys/bus/usb/devices/usb1-2/bConfigurationValue which puts the interface up, but it seems to go down when trying to scan for networks. Any idea? Dongle is a Realtek RTL8192CU. Is the Zaurus just not powerful enough?
- Haven't looked into the keymap yet to see what's wrong, but I noticed that capital c "C" doesn't work.
Edit: Actually a lot of keys seems to be mapped wrong. I will try to fix this and provide an updated keymap.

Any Wifi dongle / CF card that you can recommend? I have an old Planex GW-CF11X which makes my zaurus kernel panic and requires loading firmware each time I want to use it.. I'm also considering doing the harddrive upgrade!

Warm greetings!
Go to the top of the page
 
+Quote Post
greguu
post Oct 31 2016, 01:18 PM
Post #4





Group: Moderators
Posts: 374
Joined: 14-November 05
From: New Zealand
Member No.: 8,535



QUOTE(p0c @ Oct 31 2016, 07:25 PM) *
After having my Zaurus dust away for years I refound this forum again - totally stoked to see there's still ongoing community development! Thanks to all you guys, I hope to give something back myself these coming months. I was thinking of writing some blog posts or so smile.gif

So far no issues running your updated kernel, apart from the following maybe not specific to your kernel:

- My CF port seems to work when I have a device in the port at boot, but otherwise it doesn't register anything (no kernel logging at least). Any clue as to why? Am I failing to load some kernel module?
Edit: For some reason nothing gets logged, but the device does register events. Compiled pcmciautils (seems not to be part of the standard kernel anymore) which allowed me to "insert" my wireless CF card.
- Kexecboot first searches all devices for kernels / boot.cfgs. This takes about 2 minutes, and slows down the booting significantly. Is there a way to just specify that it should boot from the first HD partitions rather than checking everything?
- Upon inserting my wireless USB dongle I get the following warning: usb 1-2: rejected 1 configuration due to insufficient available bus power. I overrode the safety mechanism: /sys/bus/usb/devices/usb1-2/bConfigurationValue which puts the interface up, but it seems to go down when trying to scan for networks. Any idea? Dongle is a Realtek RTL8192CU. Is the Zaurus just not powerful enough?
- Haven't looked into the keymap yet to see what's wrong, but I noticed that capital c "C" doesn't work.
Edit: Actually a lot of keys seems to be mapped wrong. I will try to fix this and provide an updated keymap.

Any Wifi dongle / CF card that you can recommend? I have an old Planex GW-CF11X which makes my zaurus kernel panic and requires loading firmware each time I want to use it.. I'm also considering doing the harddrive upgrade!

Warm greetings!


Hi p0c,

- In regards to the CF Card issue. I can confirm that the CF card does not get registered if not inserted at boot. Something to have a look at.

- The USB port does only supply 150mA, it can be tweaked to 180mA but may be unstable. The RTL8192CU works with powered HUB only I believe.

- Keymap should be loaded correctly at boot. Check vconsole.conf and make sure the keymap exists. There is a borzoi.gz that should fit all Cxx00 series ?

- Kexecboot delay. What Zaurus are you using and what version of Kexecboot ?

- CF WiFi some Ambicom and Dlink seem to be working fine.

Cheers!
Go to the top of the page
 
+Quote Post
greguu
post Oct 31 2016, 10:16 PM
Post #5





Group: Moderators
Posts: 374
Joined: 14-November 05
From: New Zealand
Member No.: 8,535



Please test the kernel 4.9-rc3-v0.2 release : https://github.com/greguu/linux-4.9-rc3-c3x...x00-v0.2.tar.xz

- USB power now 180mA (I do not know if that makes your RealTek USB WiFi work. My ASUS N10 Nano requires a powered USB hub.)

- Changed PCMCIA soc_common.c driver back to 4.6.7 version as newly added regulator support may be the cause. Tested fine. Please test, too.

NOTE : If you upgrade to the new kernel from 4.9-rc3-v0.1 you just need to replace the zImage as no modules were updated in this bugfix release.
Go to the top of the page
 
+Quote Post
p0c
post Nov 3 2016, 09:34 AM
Post #6





Group: Members
Posts: 3
Joined: 31-October 16
Member No.: 795,594



QUOTE
Please test the kernel 4.9-rc3-v0.2 release : https://github.com/greguu/linux-4.9-rc3-c3x...x00-v0.2.tar.xz

Have been testing now for a few days and did some cross compilation. I'm thinking of setting up a repository with all the packages, but I'm not sure if anyone else has any interest in the software I've added. So far no issues detected!

QUOTE
- USB power now 180mA (I do not know if that makes your RealTek USB WiFi work. My ASUS N10 Nano requires a powered USB hub.)

Unfortunately it didn't. I bought a Edimax nano USB adapter which supposedly has a very low draw, but the same happened. lsusb -v shows me a max powerdraw of 500 mA, so that's probably overkill. The CF cards you mentioned are very expensive, guess I have to consider those. My Planex card is horrible since it needs FW loading each time upon inserting.

QUOTE
- Changed PCMCIA soc_common.c driver back to 4.6.7 version as newly added regulator support may be the cause. Tested fine. Please test, too.

Works now!
Go to the top of the page
 
+Quote Post
Varti
post Nov 3 2016, 09:45 AM
Post #7





Group: Admin
Posts: 934
Joined: 30-April 08
From: Italy
Member No.: 21,713



QUOTE(p0c @ Nov 3 2016, 06:34 PM) *
After having my Zaurus dust away for years I refound this forum again - totally stoked to see there's still ongoing community development! Thanks to all you guys, I hope to give something back myself these coming months. I was thinking of writing some blog posts or so

Looking forward for your blog posts. I have opened a thread to share all the recent Zaurus related blogs and webpages I find during my web searches, I can add your blog there: https://www.oesf.org/forum/index.php?showtopic=34461

QUOTE
Have been testing now for a few days and did some cross compilation. I'm thinking of setting up a repository with all the packages, but I'm not sure if anyone else has any interest in the software I've added. So far no issues detected!

Please do, there are a few Alarmz users here that might be interested in some of your ports!

Varti
Go to the top of the page
 
+Quote Post
NORI
post Nov 3 2016, 04:36 PM
Post #8





Group: Members
Posts: 5
Joined: 2-November 16
From: Tokyo
Member No.: 795,717



rolleyes.gif

Dear Greguu,

Thank you.
I tried the new kernel on my C3100, and successfully have boot.
Also thank you for the new rootfs.
I installed and now 'pacman -Syu' works.
I also installed xfce4 and saw the same problem discussed here 1 year ago. The x server displays 480x640 rotated, and the keymap is not good. Though zaurus memory is limited, I think X is favored from user's point of view. I'lll check the X configuration.

I briefly checked the battery indicator LED(orange), and it seems to change according to charging status.


QUOTE(greguu @ Oct 31 2016, 09:34 AM) *
Linux Kernel 4.9-rc3

Download here : https://github.com/greguu/linux-4.9-rc3-c3x...leases/tag/v0.2

CODE
Experimental Kernel for Sharp Zaurus C3x00 series
-------------------------------------------------

-       boot.cfg is example only for use with kexecboot.
        You will need to adjust your root= accordingly

-       The is an experimental release. Please post issues or suggestions on OESF.org/forum


v0.2 Change Log

-       Set USB power level to 180mA (not sure this actually works)

-       Reverted PCMCIA regulator additions by moving soc_common.c/h to 4.6.7 version

v0.1 Change Log

-       SPI PXA2xx driver was reverted to 4.6.7 version

-       IPV6, ALSA and some filesystems are modules again instead of compiled into the kernel

-       F2FS was added

-       SECCOMP enabled as required by systemd

-       Online charging may work again. This needs some testing.
        Replug the power cord after a boot brings the charging LED on


Cheers!
Go to the top of the page
 
+Quote Post
greguu
post Nov 3 2016, 08:33 PM
Post #9





Group: Moderators
Posts: 374
Joined: 14-November 05
From: New Zealand
Member No.: 8,535



QUOTE(NORI @ Nov 4 2016, 01:36 AM) *
rolleyes.gif

Dear Greguu,

Thank you.
I tried the new kernel on my C3100, and successfully have boot.
Also thank you for the new rootfs.
I installed and now 'pacman -Syu' works.
I also installed xfce4 and saw the same problem discussed here 1 year ago. The x server displays 480x640 rotated, and the keymap is not good. Though zaurus memory is limited, I think X is favored from user's point of view. I'lll check the X configuration.

I briefly checked the battery indicator LED(orange), and it seems to change according to charging status.


Hi NORI,

thanks for the feedback. Happy to have more users.

Xorg and keymap : https://www.oesf.org/forum/index.php?showto...st&p=282236
Xorg rotation : https://www.oesf.org/forum/index.php?showto...st&p=282112
Xorg and touchscreen : https://www.oesf.org/forum/index.php?showto...st&p=282202

Try flubox or similiar. They are faster than XFCE.

Cheers!
Go to the top of the page
 
+Quote Post
greguu
post Nov 3 2016, 08:40 PM
Post #10





Group: Moderators
Posts: 374
Joined: 14-November 05
From: New Zealand
Member No.: 8,535



QUOTE(p0c @ Nov 3 2016, 06:34 PM) *
QUOTE
Please test the kernel 4.9-rc3-v0.2 release : https://github.com/greguu/linux-4.9-rc3-c3x...x00-v0.2.tar.xz

Have been testing now for a few days and did some cross compilation. I'm thinking of setting up a repository with all the packages, but I'm not sure if anyone else has any interest in the software I've added. So far no issues detected!

QUOTE
- USB power now 180mA (I do not know if that makes your RealTek USB WiFi work. My ASUS N10 Nano requires a powered USB hub.)

Unfortunately it didn't. I bought a Edimax nano USB adapter which supposedly has a very low draw, but the same happened. lsusb -v shows me a max powerdraw of 500 mA, so that's probably overkill. The CF cards you mentioned are very expensive, guess I have to consider those. My Planex card is horrible since it needs FW loading each time upon inserting.

QUOTE
- Changed PCMCIA soc_common.c driver back to 4.6.7 version as newly added regulator support may be the cause. Tested fine. Please test, too.

Works now!


Hi p0c,

sure, share your packages. What did you compile ? Just start a new thread about custom packages and tell us all about it.

I was thinking about creating a github wiki page and users can contribute to that. How-To's etc.

You can also share your packages via github and your PKGBUILD files. You got a github account ?

Yes, USB power is a limitation. There was a hack for the C1000 I think that tapped the power from the unused CF slot. I can not find the link.

Cheers!
Go to the top of the page
 
+Quote Post
NORI
post Nov 4 2016, 02:19 PM
Post #11





Group: Members
Posts: 5
Joined: 2-November 16
From: Tokyo
Member No.: 795,717



Hi Greguu,

Thank you for replying me.

I used the Xmodmap you indicated, and noticed that Fn+'-'->'@', Fn+'/'->'<', Fn+'.'->'>' key combination does not work.
I added Fn+'c'-> @, Fn+'n'-> '<', Fn+'m' -> '>' lines to the Xmodmap, attached.
Hoping this helps somebody.

NORI,

QUOTE(greguu @ Nov 4 2016, 01:33 PM) *
Hi NORI,

thanks for the feedback. Happy to have more users.

Xorg and keymap : https://www.oesf.org/forum/index.php?showto...st&p=282236
Xorg rotation : https://www.oesf.org/forum/index.php?showto...st&p=282112
Xorg and touchscreen : https://www.oesf.org/forum/index.php?showto...st&p=282202

Try flubox or similiar. They are faster than XFCE.

Cheers!

Attached File(s)
Attached File  Xmodmap.gz ( 1.02K ) Number of downloads: 103
 
Go to the top of the page
 
+Quote Post
greguu
post Nov 5 2016, 07:38 PM
Post #12





Group: Moderators
Posts: 374
Joined: 14-November 05
From: New Zealand
Member No.: 8,535



QUOTE(NORI @ Nov 4 2016, 11:19 PM) *
Hi Greguu,

Thank you for replying me.

I used the Xmodmap you indicated, and noticed that Fn+'-'->'@', Fn+'/'->'<', Fn+'.'->'>' key combination does not work.
I added Fn+'c'-> @, Fn+'n'-> '<', Fn+'m' -> '>' lines to the Xmodmap, attached.
Hoping this helps somebody.

NORI,

QUOTE(greguu @ Nov 4 2016, 01:33 PM) *
Hi NORI,

thanks for the feedback. Happy to have more users.

Xorg and keymap : https://www.oesf.org/forum/index.php?showto...st&p=282236
Xorg rotation : https://www.oesf.org/forum/index.php?showto...st&p=282112
Xorg and touchscreen : https://www.oesf.org/forum/index.php?showto...st&p=282202

Try flubox or similiar. They are faster than XFCE.

Cheers!



Great! Thanks.
Go to the top of the page
 
+Quote Post
NORI
post Nov 11 2016, 02:56 AM
Post #13





Group: Members
Posts: 5
Joined: 2-November 16
From: Tokyo
Member No.: 795,717



My status I'd like to report.

I'm running the new kernel and rootfs on C3000, thanks to Greguu.

I hustled X for some time, and found current X is too demanding to Zaurus.

I'm now comfortable with Emacs in fbcon. I used fbterm and uim-fep to enable Japanese input and output. W3m is used for web-browsing. Networking I'm using is Planex USB ethernet dongle.

Next, I wanted to self-compile various packages including kernel, but again it is demanding too.

Woom, it was casual to develop software on Zaurus on Qtopia. (I heard so. I am new to Zaurus since this April.) There still remains many old software on the Internet around. Almost all of them stops update since around 2009... Linux system have grown up to huge from those days. I once hastled with linux on PowerPC Macintoshes.

My aim is to study the (self-) software builds on the fly, and finally to write a new program myself everywhere. Before all, I must catch up the Arch system. I installed Arch into my laptop and am looking around how Arch world be.

Regards,
NORI,
Go to the top of the page
 
+Quote Post
greguu
post Nov 11 2016, 08:41 PM
Post #14





Group: Moderators
Posts: 374
Joined: 14-November 05
From: New Zealand
Member No.: 8,535



QUOTE(greguu @ Nov 12 2016, 05:36 AM) *
QUOTE(NORI @ Nov 11 2016, 11:56 AM) *
My status I'd like to report.

I'm running the new kernel and rootfs on C3000, thanks to Greguu.

I hustled X for some time, and found current X is too demanding to Zaurus.

I'm now comfortable with Emacs in fbcon. I used fbterm and uim-fep to enable Japanese input and output. W3m is used for web-browsing. Networking I'm using is Planex USB ethernet dongle.

Next, I wanted to self-compile various packages including kernel, but again it is demanding too.

Woom, it was casual to develop software on Zaurus on Qtopia. (I heard so. I am new to Zaurus since this April.) There still remains many old software on the Internet around. Almost all of them stops update since around 2009... Linux system have grown up to huge from those days. I once hastled with linux on PowerPC Macintoshes.

My aim is to study the (self-) software builds on the fly, and finally to write a new program myself everywhere. Before all, I must catch up the Arch system. I installed Arch into my laptop and am looking around how Arch world be.

Regards,
NORI,


Hi NORI,

thanks for your feedback. Arch gives you a lot of flexibility and has most packages compiled already.

You can use the AUR https://aur.archlinux.org/ on your Zaurus to compile missing packages, also look at ABS (Arch Build System) https://wiki.archlinux.org/index.php/Arch_Build_System

Yes, Xorg is not really usable on the Zaurus anymore. You can make it work using dwm, awesome or other lightweight minimal window managers, but running firefox or chrome is out of the question. Netsurf browser may be ok on Xorg?

If you want to compile a kernel, use the ArchLinuxARM toolchain from their website and install it on a ArchLinux x86 computer. You can then compile your kernel without using the Zaurus. Get the source from my github.

You can compile native on the Zaurus using ArchLinux ARM but you will need a 128-256M swap partition and make sure you compile with "make -j1" only. Depending on the source, it will take some time, hours or days.

Also look a the cross compile guide on ArchLinuxARM, you can set it up so that the zaurus does only post processing and the x86 the actual compilation. This helps a lot !
https://archlinuxarm.org/wiki/Distcc_Cross-Compiling


If you like to save some memory and work in console only, check my recent post about using minirc and busybox for init instead of systemd. https://www.oesf.org/forum/index.php?showtopic=34484


mata ne!
Go to the top of the page
 
+Quote Post
HRH_H_Crab
post Apr 16 2017, 01:14 PM
Post #15





Group: Members
Posts: 37
Joined: 29-August 06
Member No.: 11,035



I got a forum account that still works, and a couple of Zaurus' with kexecboot and fairly recent (4.0+) Kernels. I'll try and get one of them running with this if I can and will report back...
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th November 2019 - 08:42 AM