Help - Search - Members - Calendar
Full Version: C3100 2.6 Kernel Tester Urgently Needed
OESF Forums > Distros, Development, and Model Specific Forums > Model Specific Forums > C1000/3x00 General discussions
rpurdie
I'm now written working support for the the C3000 (spitz) under 2.6 kernels and I'm told the kernel below correctly identifies the C1000 (akita) and uses its io expander correctly. I really need to know if this kernel correctly identifies the C3100 (Borzoi).

The tester just needs to take this image, flash it and report back if it correctly says Sharp Borzoi as the machine starts (/proc/cpuinfo will also report this). You don't specifically reflash your initrd/hdd but as far as I know only OE images support the 2.6 kernel so it won't boot very far. At this time I only need to know it correcly idenfities the machine so this doesn't matter.

http://www.rpsys.net/openzaurus/temp/zImage-akita

If you see Linux boot messages on the screen and it correctly identifies
the machine, that will be a successful test.

Without this being tested, I can't offer any further C3100 2.6 kernel development.

Thanks,

Richard
sylpil
Hello,
(Sorry for my bad english, french man!)

Im tested, and result message :
--- Zaurus CF uptader ---
MODEL:SL-C3100
ERROR:Invalid Model!
Please Reset

Désolé
rpurdie
QUOTE(sylpil @ Sep 5 2005, 11:31 PM)
Hello,
(Sorry for my bad english, french man!)

Im tested, and result message :
--- Zaurus CF uptader ---
MODEL:SL-C3100
ERROR:Invalid Model!
Please Reset

Désolé
*


That sounds like the wrong updater.sh is being used. Which one are you using?

Thanks,

Richard
sylpil
I used this one:
http://www.openzaurus.org/official/unstabl...3000/updater.sh

One needs another of them?
Which already?
rpurdie
QUOTE(sylpil @ Sep 5 2005, 11:55 PM)
I used this one: 
http://www.openzaurus.org/official/unstabl...3000/updater.sh

One needs another of them?
Which already?
*


Try this one:

http://www.rpsys.net/openzaurus/temp/updater.sh.borzoi

The one you linked to is only compatible with the C3000.

Just to add, if you can't see the machine name because it scolls too fast, note down what the mtd partitions it sees look like - this should tell me which machine the kernel things its running on.

Thanks,

Richard
Da_Blitz
i am a bit lost, i thoght the 2.6 porting efort was at http://www.orca.cx/zaurus/, so do we have 2 people working on ti or has it been migrated to somewhere else

i am kind of intrested as i have some plans for the 2.6 kernel and am waiting on a completely working kernel (ie with lcd/keyboar/sound)

also any eta? the site i mentioned hasent been updated in awhile
koen
QUOTE(Da_Blitz @ Sep 6 2005, 03:13 AM)
i am a bit lost, i thoght the 2.6 porting efort was at http://www.orca.cx/zaurus/, so do we have 2 people working on ti or has it been migrated to somewhere else

i am kind of intrested as i have some plans for the 2.6 kernel and am waiting on a completely working kernel (ie with lcd/keyboar/sound)

also any eta? the site i mentioned hasent been updated in awhile
*


http://rpsys.net/openzaurus/ has all the info and links on getting kernel 2.6 to run an zauri (collie, poodle, cxxx and c3xxx)
lardman
QUOTE
and am waiting on a completely working kernel (ie with lcd/keyboar/sound)

also any eta? the site i mentioned hasent been updated in awhile


It will, of course, happen faster if people volunteer to do testing & bug finding, etc.


Si
rpurdie
QUOTE(Da_Blitz @ Sep 6 2005, 03:13 AM)
i am a bit lost, i thoght the 2.6 porting efort was at http://www.orca.cx/zaurus/, so do we have 2 people working on ti or has it been migrated to somewhere else

i am kind of intrested as i have some plans for the 2.6 kernel and am waiting on a completely working kernel (ie with lcd/keyboar/sound)

also any eta? the site i mentioned hasent been updated in awhile
*


The company I work for (Openedhand Ltd) gave me a C3000 to "play" with and I've therefore assisted the 2.6 kernel port a bit. You can see the status on http://www.rpsys.net/openzaurus/

In summary, USB Client and Sound are missing. Battery measurement could use some debugging.
Da_Blitz
i was under the impersion that usb client was a pxa270 thing and not c3k specfic?, i know they have it working on a x50 (usbnet)

some other things that have shown up in the 2.6.13 kernel that my be of use, alsa ac97 support for pxa2xx's and pxa27x power support (throgh sysfs) (note i see the sound driver is i2c, i belive they added suport for that in 2.6.12 for the pxa's)

hope it helps, as for testers where do i sign up, i woudnt mind sound but that wont hold me back from doing testing
rpurdie
QUOTE(Da_Blitz @ Sep 7 2005, 01:10 AM)
i was under the impersion that usb client was a pxa270 thing and not c3k specfic?, i know they have it working on a x50 (usbnet)

some other things that have shown up in the 2.6.13 kernel that my be of use, alsa ac97 support for pxa2xx's and pxa27x power support (throgh sysfs) (note i see the sound driver is i2c, i belive they added suport for that in 2.6.12 for the pxa's)

hope it helps, as for testers where do i sign up, i woudnt mind sound but that wont hold me back from doing testing
*


Yes, a usb client for the pxa27x exists in hh.org and we can probably use it. It has several bugs which is why I've put off importing it into the 2.6 kernel - I don't like importing known faulty code as I'll just get complaints.

As for sound, we don't use ac97 but use I2S instead - no mainline support for that. There is a known good I2C driver for the PXA around but it is also not in mainline. We have the kernel patched to add that as the c7x0 already uses it. For cxx00, someone just needs to import the 2.4 Sharp code, clean it up and we'd have an OSS driver. I'd prefer we went one step further and converted both it and the c7x0 driver to alsa though.

Both issues are easily solved, they just need someone to spend time on them. Any help is welcome - kernels/images can be generated from OE.

At the moment, I'm busy pushing some of the cxx00 changes into mainline Linux so we don't have a massive patchset to maintain. I'm also trying to fix the 2.6 images OE is generating as there are a few issues with them. Once this is done, I'll get back to enhacning the kernel.
Da_Blitz
i find its very easy to get confused when it comes to maintaing branches of the mainline, i assume the 2.6 hh.org code is 2.6.0? and not the latest.

i am really waiting for it to go mainline so i can whip a couple of things up for a project i am working on, look foward to a new feed of pxa270 optimised programs. in the meantime i must really get oe up and running

i havent done any kernel/alsa stuff before but i might take a look at the i2c stuff, i wouldnt expect to get much out of me but i have delt with i2c busses and eeproms on micro controlers before, seems like a good chance to learn some new skills

is there a mailing list about as i seem to be going off topic
koen
QUOTE(Da_Blitz @ Sep 7 2005, 12:10 PM)
i find its very easy to get confused when it comes to maintaing branches of the mainline, i assume the 2.6 hh.org code is 2.6.0? and not the latest.
*


hh.org is 2.6.12 + some updates
Mickeyl
QUOTE(Da_Blitz @ Sep 7 2005, 04:10 AM)
is there a mailing list about as i seem to be going off topic


kernel-discuss@handhelds.org is where the Zaurus, iPAQ, Toshiba, etc. kernel developers hang out. kernel-discuss@handhelds.org is _not_ just about the hh.org tree, it's especially about discussing what needs to do to get our PDA/WebPad etc. patches into mainline.
martinbogo
Richard,

Since I have a good NAND flash image to restore (just in case), Ill give it a test here.

-Martin
martinbogo
Well, the kernel does boot. The console messages fly by in PORTRAIT mode though, and I don't have a way to scroll back through the messages. What I really should have had is a serial console running ... -sigh-

In any case, the kernel panics with an expected "Kernel panic - not syncing: no init found. Try passing init= option to kernel."

There are a lot of "Bad eraseblock xxx at 0x00000000" where xxx are numbers like 938, 985 and the memory ranges look like 0x7540000 and 0x7b20000 etc.. etc..

I did see messages like "spitz_pci_setpower: on"

Pressing the power button results in :

power.c: device-level power management is not supported uet
power: requesting system suspend


In any case, here is my attempt to type what's on the screen---->

Creating 3 MTD partitions on "sharpsl-nand":
0x00000000-0x00700000 : "System Area"
Charge LED On
0x00700000-0x2700000 : "Root Filesystem"
0x02700000-0x8000000 : "Home Filesystem"
NET: Registered protocol family 2
spitz_mci_setpower: on
spitz_mci_setpower: on
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 ( order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Probing IDE interface ide0...
mmcblk0: mmc0:a95c SD128 123008KiB
mmcblk0: p1
hda: HMS360604D5CF00, CFA DISK drive
ide0 at 0xc4820000-0xc4820007,0xc482000e on irq 138
hda: max request size: 128KiB
hda: 7999488 sectors (4095 MB) w/128KiB Cache, CHS=7936/16/63
hda: cache flushes supported
hda: hda1 hda2 hda3
ide-cs: hda: Vcc = 3.3, Vpp = 0.0
hda: hda1 hda2 hda3
EXT3-fs: mounted filesystem with ordered data mode.
VFS: mounted root (ext3 filesystem) readonly.
Freeing init memory: 76K
kjournald starting. Commit interval 5 seconds
Warning: unable to open an initial console
Kernel panic - not syncing: No init found. Try passing init = option to kernel.

And with that ... my typing hand wants to fall off. T-t-t-t-t-t-hhats all folks.

-Martin
rpurdie
QUOTE(martinbogo @ Sep 9 2005, 08:49 AM)
Well, the kernel does boot.  The console messages fly by in PORTRAIT mode though, and I don't have a way to scroll back through the messages.  What I really should have had is a serial console running ... -sigh-
*


Portrait is to be expected on these devices as the framebuffer doesn't support hardware rotation like the c7x0s. Someone needs to add software rotate to fbcon. Its a low priority for me at the moment but will happen. opie/gpe already have software rotation so its not a problem.

QUOTE(martinbogo @ Sep 9 2005, 08:49 AM)
In any case, the kernel panics with an expected "Kernel panic - not syncing: no init found.  Try passing init= option to kernel."
*


Yes, that's expected as your microdrive won't have a /sbin/init. If it had, it would probably happily boot from it!

QUOTE(martinbogo @ Sep 9 2005, 08:49 AM)
There are a lot of "Bad eraseblock xxx at 0x00000000" where xxx are numbers like 938, 985 and the memory ranges look like 0x7540000 and 0x7b20000 etc.. etc..
*


I need to add a fix for that on Borzoi as it suffers the mtd virtual block problem. This has reminded me, thanks!

QUOTE(martinbogo @ Sep 9 2005, 08:49 AM)
I did see messages like "spitz_pci_setpower: on"
*


That's it trying to power the MMC/SD slot which is good.

QUOTE(martinbogo @ Sep 9 2005, 08:49 AM)
Pressing the power button results in :

power.c: device-level power management is not supported uet
power: requesting system suspend
*


That's normal for 2.6 kernels. I'll remove the first message at some point as its annoying/confusing.

QUOTE(martinbogo @ Sep 9 2005, 08:49 AM)
In any case, here is my attempt to type what's on the screen---->

Creating 3 MTD partitions on "sharpsl-nand":
0x00000000-0x00700000 : "System Area"
Charge LED On
0x00700000-0x2700000 : "Root Filesystem"
0x02700000-0x8000000 : "Home Filesystem"
NET: Registered protocol family 2
spitz_mci_setpower: on
spitz_mci_setpower: on
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 ( order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Probing IDE interface ide0...
mmcblk0: mmc0:a95c SD128 123008KiB
mmcblk0: p1
hda: HMS360604D5CF00, CFA DISK drive
ide0 at 0xc4820000-0xc4820007,0xc482000e on irq 138
hda: max request size: 128KiB
hda: 7999488 sectors (4095 MB) w/128KiB Cache, CHS=7936/16/63
hda: cache flushes supported
hda: hda1 hda2 hda3
ide-cs: hda: Vcc = 3.3, Vpp = 0.0
hda: hda1 hda2 hda3
EXT3-fs: mounted filesystem with ordered data mode.
VFS: mounted root (ext3 filesystem) readonly.
Freeing init memory: 76K
kjournald starting.  Commit interval 5 seconds
Warning: unable to open an initial console
Kernel panic - not syncing: No init found.  Try passing init = option to kernel.

And with that ... my typing hand wants to fall off.  T-t-t-t-t-t-hhats all folks.

-Martin
*


And this tells me everything I need to know. It can only have printed that if it correctly identified the machine as a Borzoi. Thanks for testing and you can look forward to 2.6 kernels on this device. We might even have 2.6 kernels+images for akita, spitz and borzoi for OZ 3.5.4 (perhaps unofficially).

I can't tell you how much I needed that test report and the results are near perfect! Thanks smile.gif
martinbogo
My pleasure. As we speak, the NAND flash backup of my OZ 3.5.3 image is going back onto the little beast. If you would be so kind, how long would it take you to create a bootable OZ 3.5.3 image + 2.6?

Oh .. tip for those who might not know. If you need to boot into single-user with a backup ROM kernel, you can use the following procedure on a Borzoi (and Spitz as well):

Slide battery switch <OFF>
remove battery, wait about 30 seconds
Press and HOLD <D><B>
slide battery switch <ON> (do NOT release <D><B>!!!!)
press power switch (do NOT release <D><B>!!!!)
machine will boot single-user mode, with kernel 2.4.20 and present a login prompt

You may use user "zaurus" or "root", assuming the flash disk image is intact.
martinbogo
Richard,

Didn't Ken L. get similar results back on Aug 30th?

-Martin
rpurdie
QUOTE(martinbogo @ Sep 9 2005, 09:37 AM)
Richard,

Didn't Ken L. get similar results back on Aug 30th? 

-Martin
*


He tested akita (C1000), you've tested the C3100 and I have a C3000. I now know detection of each model works. You'll notice you were using the same kernel as the C1000 yet they did different things wink.gif
rpurdie
QUOTE(martinbogo @ Sep 9 2005, 09:23 AM)
My pleasure.  As we speak, the NAND flash backup of my OZ 3.5.3 image is going back onto the little beast.  If you would be so kind, how long would it take you to create a bootable OZ 3.5.3 image + 2.6? 

*


I have bootable OZ-3.5.4-pre + 2.6 here now although there is at least one serious bug. I wouldn't bother trying OZ-3.5.3 as none of the model specifics are in the OE metadata from that era.

I'm in the process of rewriting almost all the kernel patches. Once this is done, I might have time to make some kernels+images available.

Richard
martinbogo
Eeeexxxcceeelllleeeeent. In the meantime, I'm going to take a look at Sharp's OSS sound driver code, take a gander at the I2S code, and see what's involved in getting sound on the Borzoi as a going concern.


Rewriting the patches eh? Sounds like you're going to push even more of them back into the mainline kernel then, which is a good thing for maintainability.

Buenas Noches!
-Martin
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.