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: Stuart Hughes
Subject: RE: [Ltib] NBOOT command and kernel boot
Date: Wed, 01 Aug 2007 16:11:21 +0100

Hi Tom,

Can you try applying this patch to bin/Ltibutils.pm, I think this may
make the filesystem padding option work in LTIB (look in Target Image
Generation / Options / Allocate extra space (Kbytes)

If not, try modifying the lines that get patched by the attachment (the
mkfs.jffs2 line).  Maybe the options are not exactly right.

Regards, Stuart

On Wed, 2007-08-01 at 09:08 -0500, Tom Moulton wrote:
> 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
> 
> 
> 
> 

Attachment: jffs2-pad.patch
Description: Text Data


reply via email to

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