ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Ltib] NBOOT command and kernel boot


From: Tom Moulton
Subject: RE: [Ltib] NBOOT command and kernel boot
Date: Wed, 1 Aug 2007 09:08:37 -0500

Yes the MTD drivers are compiled in (ie have an '*' by them, not 'M' in ltib
menus)

I tried loading the kernel that I have in Flash and tftp'ing the DTB file
into memory and then did "bootm 1000000 - 2000000"

=> setenv ethact TSEC1
=> tftp 2000000 nand/mpc8313erdb.dtb
[snip]
=> run mtd_args
=> echo $bootargs
root=/dev/mtdblock6 rw rootfstype=jffs2
mtdparts=nand0:1m(u-boot),2M(kernel),-(jffs2)
=> bootm 1000000 - 2000000
=> nand read 1000000 kernel

NAND read: device 0 offset 0x100000, size 0x200000
 2097152 bytes read: OK
=> bootm 1000000 - 2000000

I used - for the file system since the bootargs had root= in it pointing to
NAND

And IT worked! But...

The filesystem had no extra space on it...

There must be an option I have set wrong because the size it reports is the
same as the partition size (0x1D00000) but the jffs2 file size is smaller
(0x1C38000) which would give me 800K free space...

Tom








reply via email to

[Prev in Thread] Current Thread [Next in Thread]