Re: Newer kernel (3.5?) for GTA02: suggested kernel config?

2013-09-12 Thread Kim Vandry

On 2013-09-11 12:47, Ed Kapitein wrote:

On 09/11/2013 04:42 PM, Kim Vandry wrote:

Hello,

SNIP
  Uncompressing Linux... done, booting the kernel.
[0.575000] Kernel panic - not syncing: VFS: Unable to mount root
fs on unknown-block(0,0)

Qi claims to be setting the command line as follows:

loglevel=2 console=tty0 console=ttySAC2,115200 init=/sbin/init ro
mtdparts=physmap-flash:-(nor);neo1973-nand:0x0004(qi),0x0004(depr-ub-env),0x0080(kernel),0x000a(depr),0x0004(identity-ext2),0x0f6a(rootfs)
 rootfstype=jffs2 root=/dev/mtdblock6


 SNIP

Hi Phil,

What did you flash to the nand partition? Qtmoko? What version?

It might be a UBI fs instead of a jffs2

The kernel is somehow not liking its root filesystem ;-)


It's jffs2, but I'm pretty sure the kernel doesn't even get to look at 
it, because it's trying to open unknown-block(0,0) instead of 
/dev/mtdblock6. That tells me it's not receiving the command line that 
Qi sent, because that command line contains root=/dev/mtdblock6.


-kv

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Newer kernel (3.5?) for GTA02: suggested kernel config?

2013-09-11 Thread Kim Vandry

Hello,

(Apologies if this comes as a duplicate. The first version exceeded the 
mailing list's message maximum size.)


I would like to upgrade a collection of GTA02s currently running kernel 
2.6.29 (old!) and 2.6.34 to something newer.


I thought 3.5 would be a good choice: I heard that Dennis GNUtoo had it 
working... but I can't even get started!


I am using the om-gta02/3.5/master branch from 
git://github.com/shr-distribution/linux.git (currently at 7b0ccb3) but I 
couldn't find any sample kernel configuration files.


I tried to adapt the kernel configuration file we already used to the 
new version, but I must have done something wrong because the kernel 
doesn't even receive its command line from the bootloader. Without a 
valid command line, the kernel doesn't get far:


  Uncompressing Linux... done, booting the kernel.
[0.575000] Kernel panic - not syncing: VFS: Unable to mount root fs 
on unknown-block(0,0)


Qi claims to be setting the command line as follows:

loglevel=2 console=tty0 console=ttySAC2,115200 init=/sbin/init ro 
mtdparts=physmap-flash:-(nor);neo1973-nand:0x0004(qi),0x0004(depr-ub-env),0x0080(kernel),0x000a(depr),0x0004(identity-ext2),0x0f6a(rootfs) 
 rootfstype=jffs2 root=/dev/mtdblock6


I have attached the configuration file I am trying to use. Does anyone
have an example of a better one?

Thanks

-kv


config-3.5.0.gz
Description: GNU Zip compressed data
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Newer kernel (3.5?) for GTA02: suggested kernel config?

2013-09-11 Thread Ed Kapitein

On 09/11/2013 04:42 PM, Kim Vandry wrote:

Hello,

SNIP
  Uncompressing Linux... done, booting the kernel.
[0.575000] Kernel panic - not syncing: VFS: Unable to mount root 
fs on unknown-block(0,0)


Qi claims to be setting the command line as follows:

loglevel=2 console=tty0 console=ttySAC2,115200 init=/sbin/init ro 
mtdparts=physmap-flash:-(nor);neo1973-nand:0x0004(qi),0x0004(depr-ub-env),0x0080(kernel),0x000a(depr),0x0004(identity-ext2),0x0f6a(rootfs) 
 rootfstype=jffs2 root=/dev/mtdblock6



SNIP

Hi Phil,

What did you flash to the nand partition? Qtmoko? What version?

It might be a UBI fs instead of a jffs2

The kernel is somehow not liking its root filesystem ;-)

Kind regards,
Ed



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community