ARM: AM33XX: Fix build error
PATCH 1/1 ARM: AM33XX: Fix build error
Fix build error while building the .ais image from the SPL image and u-boot.bin, The --pad-to option expects a complete number which was currentlty (46 * 1024), appropriately fixed it to 47104.
arm-none-linux-gnueabi-objcopy --gap-fill=0xff -I binary \ --pad-to="(46 * 1024)" -O binary \ spl/u-boot-spl.ais spl/u-boot-spl-pad.ais
arm-none-linux-gnueabi-objcopy: --pad-to: bad number: (46 * 1024)
make: *** [u-boot.ais] Error 1
--- include/configs/am335x_evm.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
include/configs/am335x_evm.h +1 -1
@@ -127,7 +127,7 @@/* Defines for SPL */ #define CONFIG_SPL #define CONFIG_SPL_TEXT_BASE 0x402F0400 -#define CONFIG_SPL_MAX_SIZE (46 * 1024) +#define CONFIG_SPL_MAX_SIZE 47104#define CONFIG_SPL_STACK LOW_LEVEL_SRAM_STACK#define CONFIG_SPL_BSS_START_ADDR 0x80000000
Signature · 1 line
1.7.4.1
PATCH 1/1 ARM: AM33XX: Fix build error
Quoted 7 lines · Prabhakar Lad
Fix build error while building the .ais image from the SPL image and u-boot.bin, The --pad-to option expects a complete number which was currentlty (46 * 1024), appropriately fixed it to 47104.
arm-none-linux-gnueabi-objcopy --gap-fill=0xff -I binary \ --pad-to="(46 * 1024)" -O binary \ spl/u-boot-spl.ais spl/u-boot-spl-pad.ais
Quoted 6 lines
arm-none-linux-gnueabi-objcopy: --pad-to: bad number: (46 * 1024)
make: *** [u-boot.ais] Error 1Signed-off-by Prabhakar Lad<[email protected]>Cc Tom Rini<[email protected]>Cc Chandan Nath<[email protected]>
Why are you building u-boot.ais for am335x? Thanks!
Signature · 1 line
Tom
PATCH 1/1 ARM: AM33XX: Fix build error
Hi Tom,
I misunderstood, that even AM335x can take .ais. Please ignore the patch.
Thx,
--Prabhakar Lad
Quoted 21 lines · Tom Rini
Quoted 11 lines · Prabhakar Lad
Fix build error while building the .ais image from the SPL image and u-boot.bin, The --pad-to option expects a complete number which was currentlty (46 * 1024), appropriately fixed it to 47104.
arm-none-linux-gnueabi-objcopy --gap-fill=0xff -I binary \
? ? ? ? ? ? ? ? ? ? ? ?--pad-to="(46 * 1024)" -O binary \
? ? ? ? ? ? ? ? ? ? ? ?spl/u-boot-spl.ais spl/u-boot-spl-pad.ais arm-none-linux-gnueabi-objcopy: --pad-to: bad number: (46 * 1024)
make: *** [u-boot.ais] Error 1Quoted 3 lines
Signed-off-by Prabhakar Lad<[email protected]>Cc Tom Rini<[email protected]>Cc Chandan Nath<[email protected]>Why are you building u-boot.ais for am335x? ?Thanks!
--
Tom