13 Jan, 2014

1 commit

  • The OneNAND SPL used on PXA is slightly obscure. Due to the OneNAND limitation,
    where we have only the first 1KiB of the OneNAND available upon power-up as a
    memory-mapped area, from which the CPU starts executing, we place only the most
    essential code into this first 1KiB . This code copies the rest of the SPL into
    SRAM and jumps to it. This code is stored in section .text.0 .

    The rest of the SPL is stored in section .text.1 . When running the OBJCOPY on
    the SPL, it will preserve only .text section, but the .text.0 and .text.1 are
    stripped away from the result, thus making the SPL binary empty. The patch adds
    additional -j parameters to the OBJCOPY for PXA during the SPL build, which will
    preserve the .text.0 and .text.1 sections.

    Moreover, this patch also adds missing functions into the .text.0 section, since
    otherwise the PXA270 with 1KiB-window OneNAND won't be able to boot.

    Signed-off-by: Marek Vasut
    Cc: Albert Aribaud
    Cc: Tom Rini

    Marek Vasut
     

11 Dec, 2013

1 commit


07 Dec, 2013

1 commit

  • Current LDS files /DISCARD/ a lot of sections when linking ELF
    files, causing diagnostic tools such as readelf or objdump to
    produce partial output. Keep all section at link stage, filter
    only at objcopy time so that .bin remains minimal.

    Signed-off-by: Albert ARIBAUD
    Reviewed-by: Benoît Thébaudeau

    Albert ARIBAUD
     

18 Nov, 2013

1 commit


01 Nov, 2013

1 commit


21 Oct, 2013

2 commits

  • This will be used by usb_lowlevel_init so it will
    no longer be used by only board specific functions.

    Move definition of enum usb_init_type higher in file
    so that it will be available for usb_low_level_init.

    Signed-off-by: Troy Kisky

    Troy Kisky
     
  • This commit unifies board-specific USB initialization implementations
    under one symbol (usb_board_init), declaration of which is available in
    usb.h.

    New API allows selective initialization of USB controllers whenever needed.

    Signed-off-by: Mateusz Zalega
    Signed-off-by: Kyungmin Park
    Reviewed-by: Lukasz Majewski
    Cc: Marek Vasut
    Cc: Lukasz Majewski

    Mateusz Zalega
     

24 Jul, 2013

1 commit


22 Jun, 2013

1 commit

  • Discard all .dynsym sections from linker scripts
    Remove all __dynsym_start definitions from linker scripts
    Remove all __dynsym_start references from the codebase

    Note: this touches include/asm-generic/sections.h, which
    is not ARM-specific, but actual uses of __dynsym_start
    are only in ARM, so this patch can safely go through
    the ARM repository.

    Signed-off-by: Albert ARIBAUD
    Tested-by: Lubomir Popov
    Tested-by: Jeroen Hofstee
    Reviewed-by: Benoît Thébaudeau

    Albert ARIBAUD
     

12 Apr, 2013

2 commits


19 Mar, 2013

1 commit

  • Albert's rework of the linker scripts conflicted with Simon's making
    everyone use __bss_end. We also had a minor conflict over
    README.scrapyard being added to in mainline and enhanced in
    u-boot-arm/master with proper formatting.

    Conflicts:
    arch/arm/cpu/ixp/u-boot.lds
    arch/arm/cpu/u-boot.lds
    arch/arm/lib/Makefile
    board/actux1/u-boot.lds
    board/actux2/u-boot.lds
    board/actux3/u-boot.lds
    board/dvlhost/u-boot.lds
    board/freescale/mx31ads/u-boot.lds
    doc/README.scrapyard
    include/configs/tegra-common.h

    Build tested for all of ARM and run-time tested on am335x_evm.

    Signed-off-by: Tom Rini

    Tom Rini
     

16 Mar, 2013

1 commit

  • Note this is a tree-wide change affecting multiple architectures.

    At present we use __bss_start, but mostly __bss_end__. This seems
    inconsistent and in a number of places __bss_end is used instead.

    Change to use __bss_end for the BSS end symbol throughout U-Boot. This
    makes it possible to use the asm-generic/sections.h file on all
    archs.

    Signed-off-by: Simon Glass

    Simon Glass
     

13 Mar, 2013

1 commit

  • Many SPL linker scripts needlessly include linker lists (aka LGAs).
    Remove them whenever possible; keep it only in the seven am335x_evm
    variants (am335x_evm, am335x_evm_uart[1-5], am335x_evm_spiboot),
    where there is actual content in output section .u_boot_list.

    This commit keeps all u-boot.bin and u-boot-spl.bin in ARM targets
    byte-identical.

    Signed-off-by: Albert ARIBAUD

    Albert ARIBAUD
     

22 Oct, 2012

1 commit


16 Oct, 2012

1 commit


29 Mar, 2012

1 commit

  • Building for vpac270_ond_256 configuration fails:

    arch/arm/lib/libarm.o: In function `icache_disable':
    /home/ag/git/u-boot/arch/arm/lib/cache-cp15.c:156: multiple
    definition of `icache_disable'
    board/vpac270/libvpac270.o:/home/ag/git/u-boot/board/vpac270/onenand.c:65:
    first defined here
    arch/arm/lib/libarm.o: In function `dcache_disable':
    /home/ag/git/u-boot/arch/arm/lib/cache-cp15.c:188: multiple
    definition of `dcache_disable'
    board/vpac270/libvpac270.o:/home/ag/git/u-boot/board/vpac270/onenand.c:66:
    first defined here
    make[1]: *** [/home/ag/git/u-boot/spl/u-boot-spl] Error 1

    Signed-off-by: Anatolij Gustschin
    Cc: Marek Vasut
    Acked-by: Marek Vasut

    Anatolij Gustschin
     

07 Dec, 2011

3 commits


16 Nov, 2011

1 commit


16 Oct, 2011

1 commit

  • The top level Makefile does not do any recursion into subdirs when
    cleaning, so these clean/distclean targets in random arch/board dirs
    never get used. Punt them all.

    MAKEALL didn't report any errors related to this that I could see.

    Signed-off-by: Mike Frysinger

    Mike Frysinger
     

18 Nov, 2010

1 commit

  • Before this commit, weak symbols were not overridden by non-weak symbols
    found in archive libraries when linking with recent versions of
    binutils. As stated in the System V ABI, "the link editor does not
    extract archive members to resolve undefined weak symbols".

    This commit changes all Makefiles to use partial linking (ld -r) instead
    of creating library archives, which forces all symbols to participate in
    linking, allowing non-weak symbols to override weak symbols as intended.
    This approach is also used by Linux, from which the gmake function
    cmd_link_o_target (defined in config.mk and used in all Makefiles) is
    inspired.

    The name of each former library archive is preserved except for
    extensions which change from ".a" to ".o". This commit updates
    references accordingly where needed, in particular in some linker
    scripts.

    This commit reveals board configurations that exclude some features but
    include source files that depend these disabled features in the build,
    resulting in undefined symbols. Known such cases include:
    - disabling CMD_NET but not CMD_NFS;
    - enabling CONFIG_OF_LIBFDT but not CONFIG_QE.

    Signed-off-by: Sebastien Carlier

    Sebastien Carlier
     

20 Oct, 2010

6 commits


19 Oct, 2010

1 commit

  • The change is currently needed to be able to remove the board
    configuration scripting from the top level Makefile and replace it by
    a simple, table driven script.

    Moving this configuration setting into the "CONFIG_*" name space is
    also desirable because it is needed if we ever should move forward to
    a Kconfig driven configuration system.

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     

09 Aug, 2010

2 commits


15 Jul, 2010

1 commit

  • This patch adds support for the Voipac PXA270 board. The support includes:
    - Ethernet
    - USB
    - MMC
    - NOR Booting
    - OneNAND Booting
    - LCD
    - HDD

    Signed-off-by: Marek Vasut
    Acked-by: Scott Wood

    Marek Vasut