[U-Boot] [PATCH] Set ramdisk_addr_r to a higher address location on meson-gxbb.
Tom Rini
trini at konsulko.com
Wed Apr 12 21:35:10 UTC 2017
On Wed, Apr 12, 2017 at 02:28:05PM -0700, Vagrant Cascadian wrote:
> Set ramdisk_addr_r to 0x20000000, otherwise it may conflict with
> kernel_addr_r location (0x01080000) with a moderately large kernel.
>
> Signed-off-by: Vagrant Cascadian <vagrant at debian.org>
> ---
>
> include/configs/meson-gxbb-common.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/configs/meson-gxbb-common.h b/include/configs/meson-gxbb-common.h
> index cc2b5b61d4..32602cb7c2 100644
> --- a/include/configs/meson-gxbb-common.h
> +++ b/include/configs/meson-gxbb-common.h
> @@ -48,7 +48,7 @@
> "scriptaddr=0x1f000000\0" \
> "kernel_addr_r=0x01080000\0" \
> "pxefile_addr_r=0x01080000\0" \
> - "ramdisk_addr_r=0x10000000\0" \
> + "ramdisk_addr_r=0x20000000\0" \
We also need to start setting bootm_size. Quoting myself from
include/configs/ti_armv7_common.h:
/*
* We setup defaults based on constraints from the Linux kernel, which should
* also be safe elsewhere. We have the default load at 32MB into DDR (for
* the kernel), FDT above 128MB (the maximum location for the end of the
* kernel), and the ramdisk 512KB above that (allowing for hopefully never
* seen large trees). We say all of this must be within the first 256MB
* as that will normally be within the kernel lowmem and thus visible via
* bootm_size and we only run on platforms with 256MB or more of memory.
*/
...
"bootm_size=0x10000000\0" \
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170412/961fb2fa/attachment.sig>
More information about the U-Boot
mailing list