On Sun, Oct 14, 2018 at 10:07 PM Khem Raj <[email protected]> wrote: > > On Sun, Oct 14, 2018 at 12:24 PM Denys Dmytriyenko <[email protected]> wrote: > > > > On Sat, Oct 13, 2018 at 01:17:12AM -0700, Khem Raj wrote: > > > On Fri, Oct 12, 2018 at 8:00 PM Denys Dmytriyenko <[email protected]> wrote: > > > > > > > > There have been reports recently that am335x_beaglebone_config > > > > generates bad SPL. > > > > Until that is debugged and fixed, use generic am335x_evm_config that > > > > covers all > > > > AM335x platforms, including BeagleBone variants. > > > > > > > > > > it fails to link > > > > > > | arm-yoe-linux-gnueabi-ld.bfd: u-boot-spl section `.rodata' will not > > > fit in region `.sram' > > > | arm-yoe-linux-gnueabi-ld.bfd: region `.sram' overflowed by 5772 bytes > > > | make[2]: *** > > > [/mnt/a/yoe/build/tmp/work/beaglebone-yoe-linux-gnueabi/u-boot-ti-staging/2018.01+gitAUTOINC+2cc52408bf-r24/git/scripts/Makefile.spl:349: > > > spl/u-boot-spl] Error 1 > > > > FWIW, just built u-boot-ti-staging with gcc7 and gcc8 from oe-core, as well > > as > > Linaro gcc7 - no problems. > > My distro inherits poky policies, and on master it now inherits > hardening policies ( security flags) by defaults > do you happen to test poky ?
It seems I am not alone, there has been other reports of similar issues and some combos work some dont I have ported this patch http://e2e.ti.com/support/processors/f/791/t/733651?PROCESSOR-SDK-AM335X-MLO-and-U-boot-issues-u-boot-spl-section-rodata-will-not-fit-in-region-sram- and now my build problems are gone, Added couple of other patches on top for beaglebone, and now I can boot bbb using meta-ti BSP > > > > > > > > Signed-off-by: Denys Dmytriyenko <[email protected]> > > > > --- > > > > conf/machine/beaglebone.conf | 3 ++- > > > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > > > > > diff --git a/conf/machine/beaglebone.conf b/conf/machine/beaglebone.conf > > > > index 49edfd6..2514792 100644 > > > > --- a/conf/machine/beaglebone.conf > > > > +++ b/conf/machine/beaglebone.conf > > > > @@ -13,7 +13,8 @@ MACHINE_GUI_CLASS = "bigscreen" > > > > > > > > SERIAL_CONSOLE = "115200 ttyS0" > > > > > > > > -UBOOT_MACHINE = "am335x_boneblack_config" > > > > +# fall back on generic am335x_evm_config for now > > > > +#UBOOT_MACHINE = "am335x_boneblack_config" > > > > > > > > WKS_FILE = "sdimage-bootpart.wks" > > > > IMAGE_BOOT_FILES = "MLO u-boot.img" > > > > -- > > > > 2.7.4 > > > > > > > > -- > > > > _______________________________________________ > > > > meta-ti mailing list > > > > [email protected] > > > > https://lists.yoctoproject.org/listinfo/meta-ti -- _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
