11 Sep, 2013

4 commits


06 Sep, 2013

2 commits


05 Sep, 2013

3 commits


04 Sep, 2013

4 commits


03 Sep, 2013

3 commits


01 Sep, 2013

4 commits


31 Aug, 2013

12 commits

  • The AUTO_RESTART flag of HW_RTC_PERSISTENT0 register will
    power up the chip automatically 180ms after power down.
    This bit must be enabled by the boot loader to ensure the
    target can start upon hardware reset or watchdog reset
    even when powered from a battery.

    Currently the function named 'mxs_power_clear_auto_restart()'
    is setting this flag although the 'clear' in its name suggest
    the opposite.

    This patch renames the function to 'mxs_power_set_auto_restart()'
    and removes the comment about EVK revision A which was confusing
    because the function indeed was setting the flag.

    Signed-off-by: Hector Palacios

    Hector Palacios
     
  • README: U-boot works both on SPI-NOR and SDcard

    Signed-off-by: Leo Sartre
    Acked-by: Otavio Salvador

    SARTRE Leo
     
  • 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 functions to report the HAB (High Assurance Boot) status
    of e.g. i.MX6 CPUs.

    This is taken from

    git://git.freescale.com/imx/uboot-imx.git branch imx_v2009.08_3.0.35_4.0.0
    cpu/arm_cortexa8/mx6/generic.c
    include/asm-arm/arch-mx6/mx6_secure.h

    Signed-off-by: Stefano Babic

    Stefano Babic
     
  • 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
     

30 Aug, 2013

3 commits


29 Aug, 2013

1 commit


28 Aug, 2013

4 commits