* [U-Boot] [PATCH] ARM: AM33XX: Fix build error
@ 2012-04-11 9:48 Prabhakar Lad
2012-04-11 15:10 ` Tom Rini
0 siblings, 1 reply; 3+ messages in thread
From: Prabhakar Lad @ 2012-04-11 9:48 UTC (permalink / raw)
To: u-boot
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
Signed-off-by: Prabhakar Lad <prabhakar.csengg@gmail.com>
Cc: Tom Rini <trini@ti.com>
Cc: Chandan Nath <chandan.nath@ti.com>
---
include/configs/am335x_evm.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index d0fbc88..5c23ee4 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -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
--
1.7.4.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] ARM: AM33XX: Fix build error
2012-04-11 9:48 [U-Boot] [PATCH] ARM: AM33XX: Fix build error Prabhakar Lad
@ 2012-04-11 15:10 ` Tom Rini
2012-04-12 5:45 ` Prabhakar Lad
0 siblings, 1 reply; 3+ messages in thread
From: Tom Rini @ 2012-04-11 15:10 UTC (permalink / raw)
To: u-boot
On 04/11/2012 02:48 AM, Prabhakar Lad wrote:
> 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
>
> Signed-off-by: Prabhakar Lad<prabhakar.csengg@gmail.com>
> Cc: Tom Rini<trini@ti.com>
> Cc: Chandan Nath<chandan.nath@ti.com>
Why are you building u-boot.ais for am335x? Thanks!
--
Tom
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] ARM: AM33XX: Fix build error
2012-04-11 15:10 ` Tom Rini
@ 2012-04-12 5:45 ` Prabhakar Lad
0 siblings, 0 replies; 3+ messages in thread
From: Prabhakar Lad @ 2012-04-12 5:45 UTC (permalink / raw)
To: u-boot
Hi Tom,
I misunderstood, that even AM335x can take .ais. Please ignore the
patch.
Thx,
--Prabhakar Lad
On Wed, Apr 11, 2012 at 8:40 PM, Tom Rini <trini@ti.com> wrote:
> On 04/11/2012 02:48 AM, Prabhakar Lad wrote:
>>
>> 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
>>
>> Signed-off-by: Prabhakar Lad<prabhakar.csengg@gmail.com>
>> Cc: Tom Rini<trini@ti.com>
>> Cc: Chandan Nath<chandan.nath@ti.com>
>
>
> Why are you building u-boot.ais for am335x? ?Thanks!
>
> --
> Tom
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-04-12 5:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-11 9:48 [U-Boot] [PATCH] ARM: AM33XX: Fix build error Prabhakar Lad
2012-04-11 15:10 ` Tom Rini
2012-04-12 5:45 ` Prabhakar Lad
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox