diff options
author | Soeren Moch <smoch@web.de> | 2020-08-27 22:52:46 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-10-02 15:42:36 +0300 |
commit | 0f3e2942c9e01b5dfc01f3dabe0e2f2ab8fd8b84 (patch) | |
tree | bb4f809b432389960ae44ec3e97d608ff59c8a72 | |
parent | bb9f59f6a2804c40eb7cf91523e815e9d9ad4932 (diff) | |
download | u-boot-0f3e2942c9e01b5dfc01f3dabe0e2f2ab8fd8b84.tar.xz |
board: tbs2910: Use recommended distroboot addresses
According to doc/README.distro fdt_addr must not be set when DTB is not
available from hardware. So remove this entry.
Use address 32MB above the start of DRAM for kernel_addr_r. This way
we likely can avoid the self-relocation of the compressed kernel image
before it decompresses to offset 0x8000 from start of DRAM.
Use address 128MB above the start of DRAM for fdt_addr_r, since this is
the maximum location for the end of the kernel. So we avoid overwriting
the DTB.
Use 512k above that for ramdisk_addr_r. This should be enough for the
DTB, rest of DRAM can be used for initrd.
Place boot script / extlinux.conf at offset 0 / 1MB from start of DRAM.
This space is available for processing in U-Boot.
Signed-off-by: Soeren Moch <smoch@web.de>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | include/configs/tbs2910.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/include/configs/tbs2910.h b/include/configs/tbs2910.h index 8092b9edfb..b05034945e 100644 --- a/include/configs/tbs2910.h +++ b/include/configs/tbs2910.h @@ -85,13 +85,12 @@ "bootm 0x10800000 0x10d00000\0" \ "console=ttymxc0\0" \ "fan=gpio set 92\0" \ - "fdt_addr=0x13000000\0" \ - "fdt_addr_r=0x13000000\0" \ + "fdt_addr_r=0x18000000\0" \ "fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0" \ - "kernel_addr_r=0x10008000\0" \ - "pxefile_addr_r=0x10008000\0" \ - "ramdisk_addr_r=0x18000000\0" \ - "scriptaddr=0x14000000\0" \ + "kernel_addr_r=0x12000000\0" \ + "pxefile_addr_r=0x10100000\0" \ + "ramdisk_addr_r=0x18080000\0" \ + "scriptaddr=0x10000000\0" \ "set_con_serial=setenv stdout serial; " \ "setenv stderr serial\0" \ "set_con_hdmi=setenv stdout serial,vidconsole; " \ |