* JFFS2 root-fs
2008-03-26 17:02 Xilin Temac Timer ? khollan
@ 2008-03-31 14:33 ` Georg Schardt
0 siblings, 0 replies; 3+ messages in thread
From: Georg Schardt @ 2008-03-31 14:33 UTC (permalink / raw)
To: linuxppc-embedded
Hi all,
i ask this questions a few months ago but i still have no solution for
my problem :(
i try to boot linux with a root-fs from flash. i create a jffs2-image,
download it to flash and
the u-boot "ls" shows me all my files, so i think all is right with the
image.
BUT, the kernel hangs after mounting the rootfs:
[ 0.572527] physmap platform flash device: 00400000 at 04000000
[ 0.579205] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
[ 0.586062] Amd/Fujitsu Extended Query Table at 0x0041
[ 0.591456] number of CFI chips: 1
[ 0.594973] cfi_cmdset_0002: Disabling erase-suspend-program due to
code brokenness.
[ 0.602916] 4 cmdlinepart partitions found on MTD device physmap-flash.0
[ 0.609759] Creating 4 MTD partitions on "physmap-flash.0":
[ 0.615454] 0x00000000-0x00010000 : "env"
[ 0.619599] mtd: Giving out device 0 to env
[ 0.628166] 0x00010000-0x00030000 : "uboot"
[ 0.632563] mtd: Giving out device 1 to uboot
[ 0.641172] 0x00030000-0x00160000 : "kernel"
[ 0.645744] mtd: Giving out device 2 to kernel
[ 0.654372] 0x00160000-0x00400000 : "fs"
[ 0.658604] mtd: Giving out device 3 to fs
[ 0.666992] block2mtd: version $Revision: 1.30 $
[ 0.673341] mice: PS/2 mouse device common for all mice
[ 0.679193] TCP cubic registered
[ 0.683016] NET: Registered protocol family 1
[ 0.687619] NET: Registered protocol family 17
[ 0.696556] MTDSB: dev_name "/dev/root"
[ 0.700723] MTDSB: path_lookup() returned 0, inode c02ec290
[ 0.706515] MTDSB: New superblock for device 3 ("fs")
[ 2.386543] VFS: Mounted root (jffs2 filesystem).
[ 2.392022] Freeing unused kernel memory: 76k init
[ 2.397182] Warning: unable to open an initial console.
[ 2.416877] Kernel panic - not syncing: No init found. Try passing
init= option to kernel.
[ 2.427312] Rebooting in 180 seconds..
It seems to me, that the kernel does not find ANY file. because the
/dev/console file is in the image, but the initial console is not found too
any ideas and hints are appreciated
regars
georg
-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Jülich GmbH
52425 Jülich
Sitz der Gesellschaft: Jülich
Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Bärbel Brumme-Bothe
Geschäftsführung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: JFFS2 root-fs
@ 2008-03-31 17:23 Sugathan, Rupesh
2008-04-01 6:07 ` Georg Schardt
0 siblings, 1 reply; 3+ messages in thread
From: Sugathan, Rupesh @ 2008-03-31 17:23 UTC (permalink / raw)
To: Georg Schardt; +Cc: linuxppc-embedded
=20
It seems to me, that the kernel does not find ANY file. because the
/dev/console file is in the image, but the initial console is not found
too
1) You should probably unpack and mount the jffs2 image on your host
directory to ensure that you see all files in place.=20
2) Check to see if your designated flash partition can hold all of your
jffs2 image.
Were you able to use the 'same' rootfs in any other way (nfs mount or
ramdisk) on the target?
Thanks
--
Rupesh Sugathan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: JFFS2 root-fs
2008-03-31 17:23 JFFS2 root-fs Sugathan, Rupesh
@ 2008-04-01 6:07 ` Georg Schardt
0 siblings, 0 replies; 3+ messages in thread
From: Georg Schardt @ 2008-04-01 6:07 UTC (permalink / raw)
To: linuxppc-embedded
Sugathan, Rupesh schrieb:
>
> It seems to me, that the kernel does not find ANY file. because the
> /dev/console file is in the image, but the initial console is not found
> too
>
> 1) You should probably unpack and mount the jffs2 image on your host
> directory to ensure that you see all files in place.
>
i see all the files with the u-boot jffs2 commands, but will try to
mount the jffs image on the host
> 2) Check to see if your designated flash partition can hold all of your
> jffs2 image.
>
yes, its big enough
> Were you able to use the 'same' rootfs in any other way (nfs mount or
> ramdisk) on the target?
>
i will try this
Thanks
Georg
> Thanks
> --
> Rupesh Sugathan
>
>
-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Jülich GmbH
52425 Jülich
Sitz der Gesellschaft: Jülich
Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Bärbel Brumme-Bothe
Geschäftsführung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-04-01 6:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-31 17:23 JFFS2 root-fs Sugathan, Rupesh
2008-04-01 6:07 ` Georg Schardt
-- strict thread matches above, loose matches on Subject: below --
2008-03-26 17:02 Xilin Temac Timer ? khollan
2008-03-31 14:33 ` JFFS2 root-fs Georg Schardt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox