05 Aug, 2015

1 commit

  • Currently to flash u-boot image onto NAND or SPI NOR flash, very first
    time user need to use Code Composer Studio (CCS). This is cumbersome for
    an user not familiar with CCS. This patch add simpler procedure using
    uart boot mode for K2 EVMs.

    When UART bootmode is set and board is rebooted, the ROM boot loader
    transfers the image at the beginning of the internal RAM. After the
    transfer is complete the boot-loader sets the PC to the first internal RAM
    address 0x0c000000. The u-boot.bin is linked to the address 0x0c001000.

    In order to use the u-boot.bin as an image for UART download, we need to
    add 4K zeros prefix that act as 1K NOP instructions before reaching
    0xc001000.

    Signed-off-by: Vitaly Andrianov
    Signed-off-by: Lokesh Vutla
    Acked-by: Murali Karicheri
    Tested-by: Murali Karicheri

    Vitaly Andrianov
     

15 Jul, 2015

1 commit


09 Jul, 2015

1 commit

  • -fdelete-null-pointer-checks flag controls global dataflow analyses and
    eliminate useless checks for null pointers; It assume that if a pointer is
    checked after it has already been dereferenced, it cannot be null.
    This flag is enabled by default.

    gcc v4.9 has more optimizations added to this option. Hence it is very
    aggressive with GCC v4.9 series. Add -fno-delete-null-pointer-checks to
    disable the optimization

    Signed-off-by: Rohit Dharmakan
    Signed-off-by: Prabhakar Kushwaha

    Prabhakar Kushwaha
     

30 Jun, 2015

1 commit


09 Jun, 2015

1 commit


28 May, 2015

2 commits

  • Since 741e58e0fc8e (Create a .cfg file containing the CONFIG options
    used to build), all the Blackfin boards fail to build if the parallel
    (-j) option is passed.

    $ make -s bf506f-ezkit_defconfig
    #
    # configuration written to .config
    #
    $ make -j8 CROSS_COMPILE=bfin-elf-
    scripts/kconfig/conf --silentoldconfig Kconfig
    CHK include/config.h
    UPD include/config.h
    GEN include/autoconf.mk
    GEN include/autoconf.mk.dep
    CHK include/config/uboot.release
    CHK include/generated/timestamp_autogenerated.h
    UPD include/generated/timestamp_autogenerated.h
    CFG u-boot.cfg
    include/asm-offsets.h:3:43: fatal error:
    generated/generic-asm-offsets.h: No such file or directory
    compilation terminated.
    make: *** [u-boot.cfg] Error 1

    When parsing header files for defined CONFIG options, DO_DEPS_ONLY
    must be defined to exclude generated headers that might not have
    been available yet.

    Signed-off-by: Masahiro Yamada
    Reviewed-by: Simon Glass

    Masahiro Yamada
     
  • Define U_BOOT_TZ alongside U_BOOT_TIME and U_BOOT_DATE and use it to
    include the timezone in the version output.

    Acked-by: Simon Glass
    Signed-off-by: Chris Packham

    Chris Packham
     

21 May, 2015

1 commit


15 May, 2015

1 commit

  • This commit introduces the implementation of dm regulator API.
    Device tree support allows for auto binding. And by the basic
    uclass operations, it allows to driving the devices in a common
    way. For detailed informations, please look into the header file.

    Core files:
    - drivers/power/regulator-uclass.c - provides regulator common functions api
    - include/power/regulator.h - define all structures required by the regulator

    Changes:
    - new uclass-id: UCLASS_REGULATOR
    - new config: CONFIG_DM_REGULATOR

    Signed-off-by: Przemyslaw Marczak
    Acked-by: Simon Glass

    Przemyslaw Marczak
     

10 May, 2015

1 commit


06 May, 2015

1 commit


19 Apr, 2015

3 commits


14 Apr, 2015

1 commit


13 Apr, 2015

1 commit


10 Apr, 2015

1 commit

  • 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\)
     

07 Apr, 2015

1 commit

  • Since the Kconfig conversion, config.mk has been included only when
    include/config/auto.conf is newer than the .config file.

    It causes build error if both files have the same time-stamps.
    It is actually possible because EXT* file systems have a 1s time-stamp
    resolution.

    The config.mk should be included when include/config/auto.conf is
    *not older* than the .config file.

    Signed-off-by: Masahiro Yamada
    Reported-by: Tom Rini
    Reported-by: York Sun
    Reported-by: Stephen Warren
    Reported-by: Matthew Gerlach
    Tested-by: Stephen Warren

    Masahiro Yamada
     

01 Apr, 2015

1 commit


28 Mar, 2015

2 commits


18 Mar, 2015

1 commit


04 Mar, 2015

1 commit


18 Feb, 2015

1 commit


17 Feb, 2015

1 commit

  • Commit a93648d197df48fa46dd55f925ff70468bd81c71 introduced linker generated
    lists for imagetool which is the base for some host tools (mkimage, dumpimage,
    et al.). Unfortunately some host tool chains do not support the used type of
    linker scripts. Therefore this commit broke these host-tools for them, namely
    FreeBSD and Darwin (OS/X).

    This commit tries to fix this. In order to have a clean distinction between host
    and embedded code space we need to introduce our own linker generated list
    instead of re-using the available linker_lists.h provided functionality. So we
    copy the implementation used in linux kernel script/mod/file2alias.c which has
    the very same problem (cause it is a host tool). This code also comes with an
    abstraction for Mach-O binary format used in Darwin systems.

    Signed-off-by: Andreas Bießmann
    Cc: Guilherme Maciel Ferreira

    Andreas Bießmann
     

10 Feb, 2015

1 commit


07 Feb, 2015

1 commit


06 Feb, 2015

1 commit


03 Feb, 2015

1 commit


30 Jan, 2015

1 commit

  • For boards which use multiple I2C devices, or for SOCs which support
    multiple boards, we might want to convert these to driver model at different
    times. At present this is difficult because we need to either use
    CONFIG_DM_I2C for a board or not.

    Add a compatibility layer which implements the old API, thus allowing a
    board to move to driver model for I2C without requiring that everything it
    uses is moved in the same commit.

    Signed-off-by: Simon Glass

    Simon Glass
     

29 Jan, 2015

1 commit

  • When build for Atmel related boards which support SPL,
    it will generate boot.bin, also clean when it when do
    "make clean" operation.

    Signed-off-by: Bo Shen
    Acked-by: Masahiro Yamada

    Bo Shen
     

12 Jan, 2015

1 commit


30 Dec, 2014

1 commit


19 Dec, 2014

3 commits


14 Dec, 2014

1 commit

  • Refactor u-boot.rom build rules by utilizing quiet_cmd_ and cmd_
    macros. Also make writing mrc.bin and pci option rom to u-boot.rom
    optional and remove mrc.bin from its dependent file list as not
    every x86 board port needs mrc binary blob.

    Signed-off-by: Bin Meng
    Acked-by: Simon Glass

    Bin Meng
     

12 Dec, 2014

2 commits

  • In SD boot, the magic number of u-boot image will be checked.
    For LS102xA, u-boot.bin doesn't have the magic number. So use
    u-boot.img which includes the magic number instead of u-boot.bin
    when producing u-boot-with-spl-pbl.bin.

    Signed-off-by: Alison Wang
    Reviewed-by: York Sun

    Alison Wang
     
  • For LS102xA, the size of spl/u-boot-spl.bin is variable.
    This patch adds the support to deal with the variable
    u-boot size in pblimage tool. It will be padded to 64
    byte boundary.

    Use pblimage_check_params() to add the specific operations
    for ARM, such as PBI CRC and END command and the calculation
    of pbl_cmd_initaddr.

    Signed-off-by: Alison Wang
    Reviewed-by: York Sun

    Alison Wang
     

09 Dec, 2014

1 commit