01 Nov, 2013

1 commit


07 Sep, 2013

1 commit

  • For most boards which define CONFIG_SPL_PAD_TO,
    it is defined in config header files.
    Currently, there exists only one exception, cam_enc_4xx board.

    This patch moves CONFIG_SPL_PAD_TO definition
    from board/ait/cam_enc_4xx/config.mk
    to include/configs/cam_enc_4xx.h.

    With this modification, we can delete a glue code
    in the top level config.mk:

    ifneq ($(CONFIG_SPL_PAD_TO),)
    CPPFLAGS += -DCONFIG_SPL_PAD_TO=$(CONFIG_SPL_PAD_TO)
    endif

    Signed-off-by: Masahiro Yamada
    Cc: Heiko Schocher

    Masahiro Yamada
     

24 Jul, 2013

1 commit


22 Jun, 2013

2 commits


01 Jun, 2013

1 commit

  • This patch is essentially an update of u-boot MTD subsystem to
    the state of Linux-3.7.1 with exclusion of some bits:

    - the update is concentrated on NAND, no onenand or CFI/NOR/SPI
    flashes interfaces are updated EXCEPT for API changes.

    - new large NAND chips support is there, though some updates
    have got in Linux-3.8.-rc1, (which will follow on top of this patch).

    To produce this update I used tag v3.7.1 of linux-stable repository.

    The update was made using application of relevant patches,
    with changes relevant to U-Boot-only stuff sticked together
    to keep bisectability. Then all changes were grouped together
    to this patch.

    Signed-off-by: Sergey Lapin
    [scottwood@freescale.com: some eccstrength and build fixes]
    Signed-off-by: Scott Wood

    Sergey Lapin
     

14 Apr, 2013

1 commit


13 Apr, 2013

1 commit


12 Apr, 2013

1 commit


29 Mar, 2013

1 commit

  • Selecting menu items is currently done in menu_interactive_choice()
    by reading the user input strings from standard input.

    Extend menu_interactive_choice() to support user defined function
    for selecting menu items. This function and its argument can be
    specified when creating the menu.

    Signed-off-by: Pali Rohár
    Signed-off-by: Anatolij Gustschin

    Pali Rohár
     

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
     

20 Dec, 2012

1 commit

  • This was already used by some SPL targets, and allows the pad amount to
    be specified by board config headers rather than only in makefile
    fragments.

    Also supply a pad-to of zero if the variable is undefined. It works
    without this, but this avoids relying on undocumented behavior.

    Signed-off-by: Scott Wood
    Signed-off-by: Kim Phillips

    Scott Wood
     

22 Oct, 2012

1 commit


28 Mar, 2012

2 commits

  • - change CONFIG_ENV_RANGE to contain 2 nand erase blocks,
    one for bad block reserve.
    - remove from the envvariable "img_writeramdisk" the
    ubifsmount command, as it is not needed.
    - erase the hole mtd partition containing u-boot
    - save environment variable "dvn_app_vers" and "dvn_boot_vers"
    only after installing the new image.
    changes requested from Marek Vasut:
    - arm, davinci: fix eldk-4.2 warnings for cam_enc_4xx board
    - get rid of run_command2 usage
    needed since patch:
    commit 009dde1955583e306cf904c864068f3acb0db499
    Author: Simon Glass
    Date: Tue Feb 14 19:59:20 2012 +0000

    Rename run_command2() to run_command()
    is now in mainline.
    - add CONFIG_SPL_LIBGENERIC_SUPPORT support
    - remove CONFIG_CMD_PXE support
    - fix warning:
    cam_enc_4xx.c: In function 'menu_handle':
    cam_enc_4xx.c:609: warning: dereferencing type-punned pointer
    will break strict-aliasing rules
    - fix error:
    arm-linux-ld: u-boot-spl: Not enough room for program headers,
    try linking with -N

    Signed-off-by: Heiko Schocher
    Cc: Marek Vasut
    Cc: Tom Rini
    Cc: Fletzer Martin
    Cc: Wolfgang Denk

    Heiko Schocher
     
  • To avoid a conflict with common/cmd_bootm.c's 'images' (which is
    exposed as part of the Linux SPL series), rename the board-specific
    'images' to 'imgs'.

    Cc: Heiko Schocher
    Signed-off-by: Tom Rini
    Acked-by: Heiko Schocher
    Tested-by: Heiko Schocher

    Tom Rini
     

12 Feb, 2012

1 commit

  • - CONFIG_SYS_MMC_ENV_DEV, needed if environment on mmc
    - wait for 1 second timer in board_late_init() only, if
    timer is running.
    - add UBI/UBIFS support
    - add FIT images support
    - menu support
    - U-Boot max size now 0xa0000
    - SPL now Block 0 page 0
    - new MTD partitioning
    0x00000000 SPL
    0x00020000 UBL-Header
    0x00040000 UBL-Header
    0x00060000 UBL-Header
    0x00080000 UBoot (0xa0000(U-Boot length) + 0x60000(3 spare blocks))
    0x00180000 ENV- Variablen (1)
    0x001a0000 ENV- Variablen (2)
    0x001c0000 ENV- Variablen (reserved for Bad Block)
    0x001e0000 ENV- Variablen (reserved for Bad Block)
    0x00200000 UBI-Device

    UBI Volumes:
    „default“: contain environment-default values
    „rootfs1“: UBIFS root-fs (1); contain linux kernel image
    „rootfs2“: UBIFS root-fs (2); contain linux kernel image
    „data-ro“: UBIFS data (read only)
    „data-rw“: UBIFS data (read/write)

    - new environment variables:
    - app_reset
    (this is only passed per cmdline to linux)
    - dvn_app_vers
    string from ramdisk description contained in the
    FIT image
    - dvn_boot_vers
    string from ubootimage description contained in the
    FIT image
    - saveparms, restoreparms, restoretmpparms, savetmpparms
    helper for saving network parameter.
    - ubiargs
    set ubi kernel cmdlinargs for booting with a ubifs rootfs
    - ubi_ubi boot with reading kernel image from ubifs, and
    use a ubifs as rootfs

    Signed-off-by: Heiko Schocher
    Cc: Sandeep Paulraj
    Cc: Tom Rini
    Cc: Albert ARIBAUD
    Cc: Mike Frysinger
    Cc: Wolfgang Denk

    Heiko Schocher
     

07 Dec, 2011

1 commit


04 Nov, 2011

1 commit

  • - DM368 SOC
    - booting with spl not with UBL from TI
    - before loading u-boot from NAND into RAM, test
    the RAM with the post memory test. If error
    is found, switch all LEDs on and halt system.
    - SPI Flash
    Dataflash Typ: M25PE80
    - Ethernet DM9161BI
    - MMC
    - USB

    Signed-off-by: Heiko Schocher
    Cc: Sandeep Paulraj
    Cc: Albert ARIBAUD
    Cc: Igor Grinberg
    Signed-off-by: Sandeep Paulraj

    Heiko Schocher