[U-Boot] [PATCH v2] arm, at91: add axm extensions

Andreas Bießmann andreas.devel at googlemail.com
Fri Aug 21 15:45:04 CEST 2015


Hi Heiko,

On 08/18/2015 03:54 PM, Heiko Schocher wrote:
> add extensions for the axm board:
> - power on LED on power up
> - press both recovery buttons on power up to enter
>   recovery mode
> - detect 64 MiB and 128 MiB ramsize
> - PHY rest at reboot because of ATMEL bug
> - use siemens update concept
> - add axm default environment
> - set CONFIG_SPL_MAX_SIZE to 15k
> 
> Signed-off-by: Heiko Schocher <hs at denx.de>
> 
> ---
> 
> Changes in v2:
> - add comments from Andreas Biessmann:
>   - set stack into second sram segment
>   - fix some Coding Style issues
>   - reworked "suspect code indent" warning
>   - reworked update concept
>   - rebase against 0d339cf9a969f0c249713d3697e735184f1bd955
> 
>  board/siemens/taurus/taurus.c | 196 ++++++++++++++++++++++++++++++++++++++----
>  include/configs/taurus.h      |  70 ++++++++++++++-
>  2 files changed, 248 insertions(+), 18 deletions(-)


> diff --git a/include/configs/taurus.h b/include/configs/taurus.h
> index 2c9f5da..1a7e561 100644
> --- a/include/configs/taurus.h
> +++ b/include/configs/taurus.h

> @@ -182,8 +245,8 @@
>  /* Defines for SPL */
>  #define CONFIG_SPL_FRAMEWORK
>  #define CONFIG_SPL_TEXT_BASE		0x0
> -#define CONFIG_SPL_MAX_SIZE		(14 * 1024)
> -#define CONFIG_SPL_STACK		(16 * 1024)
> +#define CONFIG_SPL_MAX_SIZE		(31 * SZ_512)
> +#define	CONFIG_SPL_STACK		(ATMEL_BASE_SRAM1 + SZ_16K)

NAK, those two changes generate

---8<---
+arch/arm/lib/crt0.S:180: undefined reference to `SZ_16K'
+u-boot-spl.lds:57: undefined symbol `SZ_512' referenced in expression
--->8---

Sorry for the rash 'accepted' mail ...

Andreas


More information about the U-Boot mailing list