ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] ltib config for memory map


From: Rajesh Tiru
Subject: Re: [Ltib] ltib config for memory map
Date: Mon, 23 Jun 2014 09:23:00 -0700

Thanks much Peter.. This is exactly what I was looking for...I'll update once I again after trying it out..

Thanks again for the quick response...


From: Peter Barada <address@hidden>
To: Peter Barada <address@hidden>; "address@hidden" <address@hidden>; address@hidden
Sent: Monday, June 23, 2014 11:37 AM
Subject: Re: [Ltib] ltib config for memory map

On 06/23/2014 11:07 AM, Peter Barada wrote:
On 06/23/2014 09:34 AM, Rajesh Tiru wrote:
Hi,

I am a bit new to the ltib. 
I've a custom LogicPD omap board based on ARM AM3703 with 256 MB ram and NAND 1GB.

My current bootargs is
nand-ecc=hw console=ttyO2,115200n8 address@hidden mpurate=600 i2c_bus=3,100 displ
ay=15 ignore_loglevel early_printk no_console_suspend mtdparts=omap2-nand.0:512k(x-loader),1664k(u-boot),384k(u-boot-env),5m(kernel),20m(ramdisk),-(fs) root=/dev/ram rw ramdisk_size=64000

and the mtd partitions are 
mtd0: 00080000 00020000 "x-loader"
mtd1: 001a0000 00020000 "u-boot"
mtd2: 00060000 00020000 "u-boot-env"
mtd3: 00500000 00020000 "kernel"
mtd4: 01400000 00020000 "ramdisk"
mtd5: 1e480000 00020000 "fs"

I am trying to increase the rootfs partition to be 30mb and the ramdisk size to 128k as my rootfs is increased.

When I changed the bootargs, the board failed to boot-up and complains about writing beyond.


I think from your description that the ramdisk you've built is now too large to fit into the ram set aside for it.  Aside from the previous change to increase the size of the ramdisk partition in NAND to 30MB, you can increase the amount of reserved kernel memory for it in u-boot by:

setenv ramdisksize 75000

which increases the memory for the ramdisk from ~64MB to ~75MB.  Again, "savenv" after updating ramdisksize will save the change for the next reboot...




-- 
Peter Barada
address@hidden



reply via email to

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