1. 11 9月, 2013 8 次提交
  2. 06 9月, 2013 2 次提交
  3. 05 9月, 2013 3 次提交
  4. 04 9月, 2013 4 次提交
  5. 03 9月, 2013 3 次提交
  6. 01 9月, 2013 4 次提交
  7. 31 8月, 2013 12 次提交
    • H
      ARM: mxs: rename function that sets AUTO_RESTART flag · 6f6059e0
      Hector Palacios 提交于
      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: NHector Palacios <hector.palacios@digi.com>
      6f6059e0
    • S
      ARM: Congatec: README update · 518501da
      SARTRE Leo 提交于
      README: U-boot works both on SPI-NOR and SDcard
      Signed-off-by: NLeo Sartre <lsartre@adeneo-embedded.com>
      Acked-by: NOtavio Salvador <otavio@ossystems.com.br>
      518501da
    • M
      tools: mxsboot: Staticize functions · 62d40d14
      Marek Vasut 提交于
      Make remaining non-static functions static and the same for vars.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Stefano Babic <sbabic@denx.de>
      62d40d14
    • M
      tools: Sort lists of files in Makefile · a5f746f3
      Marek Vasut 提交于
      Fix the lists of files so they are in order again.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Tom Rini <trini@ti.com>
      Cc: Stefano Babic <sbabic@denx.de>
      a5f746f3
    • M
      ARM: mxs: tools: Add mkimage support for MXS bootstream · bce88370
      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/SbFileFormatSigned-off-by: NMarek Vasut <marex@denx.de>
      Cc: Tom Rini <trini@ti.com>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Otavio Salvador <otavio@ossystems.com.br>
      bce88370
    • S
      imx: add status reporting for HAB status · b83c709e
      Stefano Babic 提交于
      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: NStefano Babic <sbabic@denx.de>
      b83c709e
    • S
      tools: add support for setting the CSF into imximage · 0187c985
      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: NStefano Babic <sbabic@denx.de>
      0187c985
    • S
      tools: add padding of data image file for imximage · 01390aff
      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: NStefano Babic <sbabic@denx.de>
      01390aff
    • S
      tools: add variable padding of data image in mkimage · 9bac0bb3
      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: NStefano Babic <sbabic@denx.de>
      9bac0bb3
    • S
      tools: dynamically allocate imx_header in imximage · 377e367a
      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 <= Initial Load Region Size.
      
      Previously struct imx_header was always 4096 bytes and was
      not dealing correctly with the Image Vector Table Offset.
      
      Now, the memory allocation looks for e.g. SD boot like this
      
       Storage   u-boot.imx                             RAM
       Device
      
       00000000                                         177ff000 <--------------
                                                                               |
       00000400  00000000  d1 00 20 40 IVT.header       177ff400 <-------      |
       00000404  00000004  00 00 80 17 IVT.entry        177ff404 -----------   |
       00000408  00000008  00 00 00 00 IVT.reserved1    177ff408        |  |   |
       0000040C  0000000C  2c f4 7f 17 IVT.dcd          177ff40C ------ |  |   |
       00000410  00000010  20 f4 7f 17 IVT.boot         177ff410 ---- | |  |   |
       00000414  00000014  00 f4 7f 17 IVT.self         177ff414 --------  |   |
       00000418  00000018  00 00 00 00 IVT.csf          177ff418    | |    |   |
       0000041C  0000001C  00 00 00 00 IVT.reserved2    177ff41C    | |    |   |
       00000420  00000020  00 f0 7f 17 BootData.start   177ff420 <--- |    | ---
       00000424  00000024  00 60 03 00 BootData.length  177ff424      |    |
       00000428  00000028  00 00 00 00 BootData.plugin  177ff428      |    |
       0000042C  0000002C  d2 03 30 40 DCD.header       177ff42C <-----    |
       ...                                                                 |
       00001000  00000c00  13 00 00 ea U-Boot Start     17800000 <----------
      
      While at it also remove the unused #define HEADER_OFFSET.
      Signed-off-by: NStefano Babic <sbabic@denx.de>
      377e367a
    • S
      tools: rename mximage_flash_offset to imximage_ivt_offset · 3150f92c
      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: NStefano Babic <sbabic@denx.de>
      3150f92c
    • S
      tools: imx_header should not include flash_offset · 4655d40f
      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: NStefano Babic <sbabic@denx.de>
      4655d40f
  8. 29 8月, 2013 1 次提交
  9. 28 8月, 2013 3 次提交