14 Apr, 2015

23 commits


13 Apr, 2015

4 commits


12 Apr, 2015

1 commit

  • Since commit 79d75d752717 (ARM: move -march=* and -mtune= options to
    arch/arm/Makefile), all the Tegra boards are broken because the SPL
    is built for ARMv7.

    Insert Tegra-specific code to arch/arm/Makefile to set compiler
    flags for an earlier ARM architecture.

    Note:
    The v1 patch for commit 79d75d752717 *was* correct when it was
    submitted. Notice it was originally written for multi .config
    configuration where Kconfig set CONFIG_CPU_V7/CONFIG_CPU_ARM720T for
    Tegra U-Boot Main/SPL, respectively. But, until it was merged into
    the mainline, commit e02ee2548afe (kconfig: switch to single .config
    configuration) had been already applied there.

    Signed-off-by: Masahiro Yamada
    Reported-by: Stephen Warren
    Reported-by: Jan Kiszka
    Tested-by: Jan Kiszka

    Masahiro Yamada
     

11 Apr, 2015

3 commits


10 Apr, 2015

9 commits

  • This consolidates the flash settings for the Integrator
    and activates the new ARM flash image support for them
    so images can be loaded by name from flash.

    Reviewed-by: Tom Rini
    Signed-off-by: Linus Walleij

    Linus Walleij
     
  • This modifies the vexpress64 Juno configuration so that
    it will by default load and boot a kernel and a device tree
    from the images stored in the NOR flash. When we are
    at it, also define the proper command line for the Juno and
    indicate that the USB stick (/dev/sda1) is the default
    root file system.

    Reviewed-by: Tom Rini
    Signed-off-by: Linus Walleij

    Linus Walleij
     
  • The ARM reference designs all use a special flash image format
    that stores a footer (two versions exist) at the end of the last
    erase block of the image in flash memory.

    Version one of the footer is indicated by the magic number
    0xA0FFFF9F at 12 bytes before the end of the flash block and
    version two is indicated by the magic number 0x464F4F54 0x464C5348
    (ASCII for "FLSHFOOT") in the very last 8 bytes of the erase block.

    This command driver implements support for both versions of the
    AFS images (the name comes from the Linux driver in drivers/mtd/afs.c)
    and makes it possible to list images and load an image by name into
    the memory with these commands:

    afs - lists flash contents
    afs load - loads image to address indicated in the image
    afs load - loads image to a specified address

    This image scheme is used on the ARM Integrator family, ARM
    Versatile family, ARM RealView family (not yet supported in U-Boot)
    and ARM Versatile Express family up to and including the new
    Juno board for 64 bit development.

    Reviewed-by: Tom Rini
    Signed-off-by: Linus Walleij

    Linus Walleij
     
  • Tom Rini
     
  • Tom Rini
     
  • The ubi check command is expected to not fail and just check whether
    a volume exist or not. Currently, when a volume does not exist, the
    command fails which leads to an error:
    "exit not allowed from main input shell."

    Use 1 to indicate that a volume does not exist. This allows to use
    ubi check in an if statement, e.g.
    if ubi check rootfs; then; echo "exists"; else; echo "not there"; fi

    Stefan Agner
     
  • This is important to have entry point in the beginning of .text section
    because it allows simple loading and execution of U-Boot.

    For example pre-bootloader loads U-Boot in memory starting from offset
    0x81000000 and then just jumps to the same address.

    Otherwise pre-bootloader would need to find-out where entry-point is. In
    its turn if it deals with binary image of U-Boot there's no way for
    pre-bootloader to get required value.

    Signed-off-by: Alexey Brodkin

    Alexey Brodkin
     
  • This function should not return a value.

    Signed-off-by: Simon Glass
    Acked-by: Thomas Chou

    Simon Glass
     
  • Work_92105 from Work Microwave is an LPC3250-
    based board with the following features:
    - 64MB or 128MB SDR DRAM
    - 1 GB SLC NAND, managed through MLC controller.
    - Ethernet
    - Ethernet + PHY SMSC8710
    - I2C:
    - EEPROM (24M01-compatible)
    - RTC (DS1374-compatible)
    - Temperature sensor (DS620)
    - DACs (2 x MAX518)
    - SPI (through SSP interface)
    - Port expander MAX6957
    - LCD display (HD44780-compatible), controlled
    through the port expander and DACs

    This board has SPL support, and uses the LPC32XX boot
    image format.

    Signed-off-by: Albert ARIBAUD (3ADEV)

    Albert ARIBAUD \(3ADEV\)