Skip to contentSkip to conversation

2.6.31 won't boot from nand (c7x0 and tosa)

DISCUSSION Andrea Adami 2 participants 2 messages Oct 28, 2009 – Oct 29, 2009 4 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

Forwarded conversation
Subject: 2.6.31 won't boot from nand (c7x0 and tosa)
------------------------

From: *Andrea Adami* <[email protected]>
Date: Mon, Oct 26, 2009 at 8:52 AM
To: Dmitry Eremin-Solenikov <[email protected]>, Stanislav Brabec < [email protected]>, [email protected], - Cortez - <[email protected]>, Yuri Bushmelev <[email protected]>

Hello,

I spent some hours compiling various *vanilla* flavours of 2.6.31 for c7x0, up to 2.6.31.3.
The kernel boots just fine from SD/CF using kexec(boot) but hangs immediately if launched from nand.

I double-checked the .config and I'm sure I've had the same mtd options as in 2.6, so it should just boot...
Last lines on console are from bootloader: *** Jumping to Linux *** and then nothing...no leds activity nor reboot after flash.

What's interesting is that Tosa too doesn't boot from nand with this kernel, so possibly is the same issue.
Any idea, any floating patch?

Regards

Andrea

----------
From: *Pavel Machek* <[email protected]>
Date: Mon, Oct 26, 2009 at 8:58 AM
To: Andrea Adami <[email protected]>

I'm using kexec, exclusively :-(.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek<http://www.livejournal.com/%7Epavelmachek>
(cesky, pictures)
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html<http://atrey.karlin.mff.cuni.cz/%7Epavel/picture/horses/blog.html>

----------
From: *- Cortez -* <[email protected]>
Date: Mon, Oct 26, 2009 at 9:23 AM
To: Andrea Adami <[email protected]>

Hi Andrea,

I had no time to look into this yesterday, but browsing through the mailing list I find:

http://www.spinics.net/lists/arm-kernel/msg75900.html
http://www.spinics.net/lists/arm-kernel/msg75829.html

I hope one of these help ;-)

Cheers,
cortez

----------
From: *Stanislav Brabec* <[email protected]>
Date: 2009/10/26
To: Andrea Adami <[email protected]>
Cc: Dmitry Eremin-Solenikov <[email protected]>, [email protected], - Cortez - <[email protected]>, Yuri Bushmelev <[email protected]>

Few days ago I sent a patch called "Zaurus: Fix NAND Flash OOB layout for Borzoi". Maybe something similar affects Tosa. However quick look into the code does not show any apparent problem.

Old implementation: Only driver in drivers/mtd/nand/sharpsl.c.

New implementation: Platform definition + drivers/mtd/nand/sharpsl.c.

In my case it attempted to boot, but I seen lots of NAND errors on the beginning of the boot.

--
Stanislav Brabec
http://www.penguin.cz/~utx/zaurus <http://www.penguin.cz/%7Eutx/zaurus>

----------
From: *Andrea Adami* <[email protected]>
Date: Mon, Oct 26, 2009 at 3:09 PM
To: Stanislav Brabec <[email protected]>

Not here on c7x0, if I copy the kexecboot-kernel on SD/CF and boot from there it seems to find and respect the mtd partitions...

I personally did not test on tosa: Yuri said tosa boots with 2.6.30 but not 2.6.31.
I'll have to try with 2.6.30 on c7x0 too.

Regards

Andrea

----------
From: *Yuri Bushmelev* <[email protected]>
Date: Tue, Oct 27, 2009 at 5:33 PM
To: Andrea Adami <[email protected]>
Cc: Dmitry Eremin-Solenikov <[email protected]>, Stanislav Brabec < [email protected]>, [email protected], - Cortez - <[email protected]>

I've tested .31 on tosa some time ago. Kernel booting just hangs in the middle.

BTW, what about create some group on google or project on linuxtogo to connect all active zaurus users and developers. We are still have some unresolved troubles (power management for clamshells, wifi for tosa). IMHO, it would be great thing for collaboration.

--
Yuri Bushmelev

----------
From: *Stanislav Brabec* <[email protected]>
Date: Tue, Oct 27, 2009 at 10:21 PM
To: Yuri Bushmelev <[email protected]>
Cc: Andrea Adami <[email protected]>, Dmitry Eremin-Solenikov < [email protected]>, [email protected], - Cortez - <[email protected]>

It may be an useful idea. Especially if there will be any way to contact other people that may be able to test patch on other devices.

Do you think that it makes sense to create a git tree for Zaurus (probably based on Eric's tree + Eric's fix tree) and then push tested stuff? (Well, I am not yet so familiar with git.)

I am thinking about yet another project: Matchbox2. The original site is dead, maintainers don't respond and I push each fix as a patch directly to OE. It already works nicely on my Zaurus.

________________________________________________________________________
Stanislav Brabec
http://www.penguin.cz/~utx <http://www.penguin.cz/%7Eutx>, ICQ 116020046, xmpp:[email protected] <xmpp%[email protected]>

----------
From: *Pavel Machek* <[email protected]>
Date: Wed, Oct 28, 2009 at 10:44 PM
To: Stanislav Brabec <[email protected]>
Cc: Yuri Bushmelev <[email protected]>, Andrea Adami < [email protected]>, Dmitry Eremin-Solenikov <[email protected]>, - Cortez - <[email protected]>

Yes, something like that would be cool.
Well, if the ammount of outstanding patches gets big and if someone is willing to maintain it, why not, but for now, I guess using Eric's tree makes sense.

#5 lore raw

Dnia czwartek, 29 października 2009 o 00:05:59 Andrea Adami napisał(a):

I think that mailinglist for kernel hacking would be indeed good. But what about using [email protected] for it? I do not know who maintain that ML but worth ask? Now there are nearly no discussions there.

GIT tree on git.linuxtogo.org would be also good. There are mobile- linux/kernel.git, thesing/collie.git so next one should fit.

So... in past there was kernel-discuss ML on handhelds.org where all ports were discussed. I think that making new one focused on Zaurus would be too specific as some work done for collie fits also simpad guys.

Regards,

Signature · 3 lines
JID:      [email protected]
Website:  http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz