From: David Lechner <david@lechnology.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/5] ARM: legoev3: increase flash image sizes
Date: Sat, 19 May 2018 23:25:03 -0500 [thread overview]
Message-ID: <20180520042507.22058-2-david@lechnology.com> (raw)
In-Reply-To: <20180520042507.22058-1-david@lechnology.com>
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: David Lechner <david@lechnology.com>
---
board/lego/ev3/README | 4 ++--
include/configs/legoev3.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/board/lego/ev3/README b/board/lego/ev3/README
index 1a50ca9d03..a356373249 100644
--- a/board/lego/ev3/README
+++ b/board/lego/ev3/README
@@ -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
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
-size of 3MiB. The rootfs must be a squasfs image and stored at 0x350000 in the
-flash and have a maximum size of 9.3MiB. The flash starting at 0xCB0000 is
+size of 4MiB. The rootfs must be a squasfs image and stored at 0x450000 in the
+flash and have a maximum size of 10MiB. The flash starting at 0xE50000 is
reserved for user data.
Writing image to flash
diff --git a/include/configs/legoev3.h b/include/configs/legoev3.h
index 542b8f072c..812fd0c14a 100644
--- a/include/configs/legoev3.h
+++ b/include/configs/legoev3.h
@@ -164,7 +164,7 @@
"mmcargs=setenv bootargs mem=${memsize} console=${console} root=/dev/mmcblk0p2 rw rootwait lpj=747520\0" \
"mmcboot=bootm ${loadaddr}\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" \
"loadbootscr=fatload mmc 0 ${bootscraddr} boot.scr\0" \
"bootscript=source ${bootscraddr}\0" \
--
2.17.0
next prev parent reply other threads:[~2018-05-20 4:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-20 4:25 [U-Boot] [PATCH 0/5] ARM: legoev3: updates David Lechner
2018-05-20 4:25 ` David Lechner [this message]
2018-06-06 11:15 ` [U-Boot] [U-Boot,1/5] ARM: legoev3: increase flash image sizes Tom Rini
2018-05-20 4:25 ` [U-Boot] [PATCH 2/5] ARM: legoev3: Move UART enable to early init David Lechner
2018-06-06 11:15 ` [U-Boot] [U-Boot, " Tom Rini
2018-05-20 4:25 ` [U-Boot] [PATCH 3/5] ARM: legoev3: disable networking David Lechner
2018-06-06 11:15 ` [U-Boot] [U-Boot,3/5] " Tom Rini
2018-05-20 4:25 ` [U-Boot] [PATCH 4/5] ARM: legoev3: remove unused configuration options David Lechner
2018-06-06 11:15 ` [U-Boot] [U-Boot, " Tom Rini
2018-05-20 4:25 ` [U-Boot] [PATCH 5/5] ARM: legoev3: update boot script to load uEnv.txt and .dtb David Lechner
2018-06-06 11:15 ` [U-Boot] [U-Boot, " Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180520042507.22058-2-david@lechnology.com \
--to=david@lechnology.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox