[U-Boot] T1040RDB u-boot chain load u-boot
Chris Packham
judge.packham at gmail.com
Thu Jun 7 21:19:40 UTC 2018
On Thu, Jun 7, 2018 at 10:46 PM Nicolae Rosia
<nicolae.rosia.oss at gmail.com> wrote:
<snip>
> Scenario 4:
> Remove RAMBOOT_PBL from defconfig:
> -CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL"
> +CONFIG_SYS_EXTRA_OPTIONS="SPL_FSL_PBL"
>
> This results in a binary that is more than 3GB (??????)
>
> Scenario 4.1:
> I noticed that CONFIG_SYS_TEXT_BASE affects the size of binary so I
> thought I can fix this by placing it near RAM end, 4 GB - 8 MB:
> -CONFIG_SYS_TEXT_BASE=0x30001000
> +CONFIG_SYS_TEXT_BASE=0xFF800000
> -CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL"
> +CONFIG_SYS_EXTRA_OPTIONS="SPL_FSL_PBL"
>
> but the size of u-boot.bin is ~249 MB
That's probably because there's some other fixed address in use
(probably the reset vector). You'll want to adjust that address to
match your new location or maybe use something like
SKIP_LOW_LEVEL_INIT assuming powerpc has such a thing.
More information about the U-Boot
mailing list