|
From: | Peter Barada |
Subject: | Re: [Ltib] ltib config for memory map |
Date: | Mon, 23 Jun 2014 11:07:14 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
On 06/23/2014 09:34 AM, Rajesh Tiru
wrote:
Rajesh, 0)Your questiosn are more u-boot related (i.e. unrelated to LTIB) but here's some answers 1) You can change the partition layout in u-boot via "setenv mtdparts 'mtdparts=...' where the <...> is what mtdparts expects. In your case (assuming you want to size the ramdisk partition to 30MB since I don't understand exactly what you mean by "rootfs") so the command would be: setenv mtdparts 'mtdparts=omap2-nand.0:512k(x-loader),1664k(u-boot),384k(u-boot-env),5m(kernel),30m(ramdisk),-(fs)' Note that this increases the size of the 'ramdisk' partition by 10MB at the expense of the size of the 'fs' partition. After you'll want to "savenv" to save the u-boot environment change into NAND so the next time you boot it remembers that change. 2) Yes, any changes you make to the rootfs when you boot with the ramdisk rootfs will be lost on reboot. If you want to make changes in the rootfs that will persist across reboots, I'd highly suggest you switch to using YAFS2 as the rootfs and burn/boot using that. Logic provides documentation in its User Guide you should have on how to do this (as you look to be running Logic's U-boot). Hope this helps. -- Peter Barada address@hidden |
[Prev in Thread] | Current Thread | [Next in Thread] |