[PATCH] ARM: Multi PBL: Fix image calculation for certain toolchains

Roland Hieber r.hieber at pengutronix.de
Tue Sep 18 00:34:17 PDT 2018


On Mon, Sep 17, 2018 at 05:30:56PM +0200, perachet7 at gmail.com wrote:
> Hello Sascha,
> 
> Thank you for this patch. Happy to test it here on rk3188 (radxa rock pro).
> 
> Using bb v2018.09.0. Applied your patches below. CONFIG_PBL_RELOCATABLE is 
> fixed in menuconfig. Common config:
> 
> grep RELOCAT .config
> CONFIG_PBL_RELOCATABLE=y
> CONFIG_RELOCATABLE=y
> 
> Built using this script:
> 
> export ARCH=arm
> #export CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf-
> export CROSS_COMPILE=/opt/OSELAS.Toolchain-2018.02.0/arm-v7m-eabi/gcc-7.3.1-
> newlib-2.5.0-binutils-2.30/bin/arm-v7m-eabi-

Not sure if this is intentional – you are using thre ARMv7-M toolchain
here but as far as I understand, your could use the ARMv7-A variant
(arm-v7a-linux-gnueabi/hf) for the rk3188.

 - Roland

-- 
Roland Hieber                     | r.hieber at pengutronix.de     |
Pengutronix e.K.                  | https://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim | Phone: +49-5121-206917-5086 |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list