Skip to content
Snippets Groups Projects
Commit 1374d88b authored by David Lechner's avatar David Lechner Committed by Tom Rini
Browse files

ARM: legoev3: increase flash image sizes


This increases the kernel image to 4M and the rootfs image to 10M.

It is getting hard to get a kernel image to fit in 3M.

Signed-off-by: default avatarDavid Lechner <david@lechnology.com>
parent 89d811ee
No related branches found
No related tags found
No related merge requests found
...@@ -14,8 +14,8 @@ see if there is a boot.scr file on the first FAT partition of the mmc. If there ...@@ -14,8 +14,8 @@ see if there is a boot.scr file on the first FAT partition of the mmc. If there
is, it will run the script and boot the kernel from the uImage file also in is, it will run the script and boot the kernel from the uImage file also in
the FAT partition. Otherwise, it will load a kernel and rootfs from the flash. the FAT partition. Otherwise, it will load a kernel and rootfs from the flash.
The kernel must be stored at address 0x50000 on the flash and have a maximum The kernel must be stored at address 0x50000 on the flash and have a maximum
size of 3MiB. The rootfs must be a squasfs image and stored at 0x350000 in the size of 4MiB. The rootfs must be a squasfs image and stored at 0x450000 in the
flash and have a maximum size of 9.3MiB. The flash starting at 0xCB0000 is flash and have a maximum size of 10MiB. The flash starting at 0xE50000 is
reserved for user data. reserved for user data.
Writing image to flash Writing image to flash
......
...@@ -164,7 +164,7 @@ ...@@ -164,7 +164,7 @@
"mmcargs=setenv bootargs mem=${memsize} console=${console} root=/dev/mmcblk0p2 rw rootwait lpj=747520\0" \ "mmcargs=setenv bootargs mem=${memsize} console=${console} root=/dev/mmcblk0p2 rw rootwait lpj=747520\0" \
"mmcboot=bootm ${loadaddr}\0" \ "mmcboot=bootm ${loadaddr}\0" \
"flashargs=setenv bootargs mem=${memsize} initrd=${filesysaddr},${filesyssize} root=/dev/ram0 rw rootfstype=squashfs console=${console} lpj=747520\0" \ "flashargs=setenv bootargs mem=${memsize} initrd=${filesysaddr},${filesyssize} root=/dev/ram0 rw rootfstype=squashfs console=${console} lpj=747520\0" \
"flashboot=sf probe 0; sf read ${loadaddr} 0x50000 0x300000; sf read ${filesysaddr} 0x350000 0x960000; bootm ${loadaddr}\0" \ "flashboot=sf probe 0; sf read ${loadaddr} 0x50000 0x400000; sf read ${filesysaddr} 0x450000 0xA00000; bootm ${loadaddr}\0" \
"loadimage=fatload mmc 0 ${loadaddr} uImage\0" \ "loadimage=fatload mmc 0 ${loadaddr} uImage\0" \
"loadbootscr=fatload mmc 0 ${bootscraddr} boot.scr\0" \ "loadbootscr=fatload mmc 0 ${bootscraddr} boot.scr\0" \
"bootscript=source ${bootscraddr}\0" \ "bootscript=source ${bootscraddr}\0" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment