25 Nov, 2013

2 commits


18 Nov, 2013

1 commit


08 Nov, 2013

1 commit

  • In-tree build:
    - Do not create a symbolic link
    from include/asm to arch/${ARCH}/include/asm
    - Add ${SRCTREE}/arch/arm/include into the header search path

    Out-of-tree build:
    - Do not create a directory ${OBJTREE}/include2
    - Do not create a symbolic link
    from ${OBJTREE}/include2/asm to ${SRCTREE}/arch/${ARCH}/include/asm
    - Add ${SRCTREE}/arch/arm/include into the header search path

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

15 Oct, 2013

5 commits


11 Oct, 2013

1 commit

  • When a toolchain invocation fails, an exception is thrown but not caught
    which then aborts the entire toolchain detection process. To solve this,
    request that exceptions not be thrown, since the toolchain init code
    already error-checks the command result. This solves e.g.:

    - found '/usr/bin/winegcc'
    Traceback (most recent call last):
    ...
    Exception: Error running '/usr/bin/winegcc --version'

    Change-Id: I579c72ab3b021e38b14132893c3375ea257c74f0
    Signed-off-by: Stephen Warren
    Acked-by: Simon Glass
    Signed-off-by: Simon Glass
    (formatted to 80cols)

    Stephen Warren
     

02 Oct, 2013

3 commits


27 Sep, 2013

1 commit


20 Sep, 2013

3 commits


13 Sep, 2013

1 commit


12 Sep, 2013

2 commits


11 Sep, 2013

2 commits


07 Sep, 2013

3 commits


05 Sep, 2013

1 commit


04 Sep, 2013

1 commit


31 Aug, 2013

9 commits

  • Make remaining non-static functions static and the same for vars.

    Signed-off-by: Marek Vasut
    Cc: Fabio Estevam
    Cc: Stefano Babic

    Marek Vasut
     
  • Fix the lists of files so they are in order again.

    Signed-off-by: Marek Vasut
    Cc: Tom Rini
    Cc: Stefano Babic

    Marek Vasut
     
  • Add mkimage support for generating and verifying MXS bootstream.
    The implementation here is mostly a glue code between MXSSB v0.4
    and mkimage, but the long-term goal is to rectify this and merge
    MXSSB with mkimage more tightly. Once this code is properly in
    U-Boot, MXSSB shall be deprecated in favor of mkimage-mxsimage
    support.

    Note that the mxsimage generator needs libcrypto from OpenSSL, I
    therefore enabled the libcrypto/libssl unconditionally.

    MXSSB: http://git.denx.de/?p=mxssb.git;a=summary

    The code is based on research presented at:
    http://www.rockbox.org/wiki/SbFileFormat

    Signed-off-by: Marek Vasut
    Cc: Tom Rini
    Cc: Fabio Estevam
    Cc: Stefano Babic
    Cc: Otavio Salvador

    Marek Vasut
     
  • Add support for setting the CSF (Command Sequence File) pointer
    which is used for HAB (High Assurance Boot) in the imximage by
    adding e.g.

    CSF 0x2000

    in the imximage.cfg file.

    This will set the CSF pointer accordingly just after the padded
    data image area. The boot_data.length is adjusted with the
    value from the imximage.cfg config file.

    The resulting u-boot.imx can be signed with the FSL HAB tooling.
    The generated CSF block needs to be appended to the u-boot.imx.

    Signed-off-by: Stefano Babic

    Stefano Babic
     
  • Implement function vrec_header to be able to pad the final
    data image file according the what has been calculated for
    boot_data.length.

    Signed-off-by: Stefano Babic

    Stefano Babic
     
  • Use previously unused return value of function vrec_header
    to return a padding size to generic mkimage. This padding
    size is used in copy_files to pad with zeros after copying
    the data image.

    Signed-off-by: Stefano Babic

    Stefano Babic
     
  • Change to dynamically allocate the imx_header to correctly
    allocate the IVT, Boot Data and DCD at correct locations
    depending on the boot media.

    Also check that the Image Vector Table Offset + IVT +
    Boot Data + DCD

    Stefano Babic
     
  • This better reflects the naming from the Reference Manual
    as well as fits better since "flash" is not really applicabe
    for SATA.

    Signed-off-by: Stefano Babic

    Stefano Babic
     
  • Doing a make distclean; make mx6qsabresd_config; make
    and hexdump -C u-boot.imx | less

    ...
    00000360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    *
    000003f0 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 |................|
    ^^^^^^^^^^^
    00000400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    *
    00001000 13 00 00 ea 14 f0 9f e5 14 f0 9f e5 14 f0 9f e5 |...ê.ð.å.ð.å.ð.å|
    ...

    shows the flash_offset value being written into the final
    generated image, wich is not correct.

    Instead create flash_offset as static variable such that the
    generated image is "clean".

    00000360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    *
    00001000 13 00 00 ea 14 f0 9f e5 14 f0 9f e5 14 f0 9f e5 |...ê.ð.å.ð.å.ð.å|

    Signed-off-by: Stefano Babic

    Stefano Babic
     

28 Aug, 2013

1 commit

  • add support for the am335x based boards from siemens:

    dxr2:
    - DDR3 128MiB
    - NAND 256MiB
    - Ethernet with external Switch SMSC LAN9303
    - no PMIC
    - internal Watchdog
    - DFU support

    pxm2:
    - DDR2 512 MiB
    - NAND 1024 MiB
    - PMIC
    - PHY atheros ar803x
    - USB Host
    - internal Watchdog
    - DFU support

    rut:
    - DDR3 256 MiB
    - NAND 256 MiB
    - PMIC
    - PHY natsemi dp83630
    - external Watchdog
    - DFU support

    Signed-off-by: Heiko Schocher
    Signed-off-by: Roger Meier
    Signed-off-by: Samuel Egli
    Cc: Pascal Bach
    Cc: Tom Rini

    Heiko Schocher
     

27 Aug, 2013

1 commit


17 Aug, 2013

1 commit

  • Commit 669dfc2e adds libfdt_env.h to HOSTCPPFLAGS. It causes stdio.h
    to be included before _GNU_SOURCE is defined in C files. On some old hosts
    some prototypes are protected by #ifdef __USE_GNU, which is set when
    _GNU_SOURCE is defined.

    Signed-off-by: York Sun
    Acked-by: Simon Glass

    York Sun
     

10 Aug, 2013

1 commit