1. 08 10月, 2019 2 次提交
  2. 05 10月, 2019 2 次提交
  3. 24 9月, 2019 1 次提交
  4. 20 9月, 2019 1 次提交
  5. 11 9月, 2019 1 次提交
    • M
      rockchip, Makefile: add idbloader.img target · 1b0a936b
      Matwey V. Kornilov 提交于
      Many Rockchip platforms require the same u-boot deploy procedure
      when TPL and SPL both enabled.
      
      The following examples are taken from doc/README.rockchip
      and board/theobroma-systems/lion_rk3368/README:
      
      RK3288:
      
        ./tools/mkimage -n rk3288 -T rksd -d ./tpl/u-boot-tpl.bin out
        cat ./spl/u-boot-spl-dtb.bin >> out
        sudo dd if=out of=/dev/mmcblk0 seek=64
      
      RK3328:
      
        ./tools/mkimage -n rk3328 -T rksd -d ./tpl/u-boot-tpl.bin idbloader.img
        cat ./spl/u-boot-spl.bin >> idbloader.img
        sudo dd if=idbloader.img of=/dev/mmcblk0 seek=64
      
      RK3368:
      
        ./tools/mkimage -n rk3368 -T rksd -d tpl/u-boot-tpl.bin spl-3368.img
        cat spl/u-boot-spl-dtb.bin >> spl-3368.img
        dd if=spl-3368.img of=/dev/sdb seek=64
      
      RK3399:
      
        ./tools/mkimage -n rk3399 -T rksd -d ./tpl/u-boot-tpl-dtb.bin out
        cat ./spl/u-boot-spl-dtb.bin >> out
        sudo dd if=out of=/dev/sdc seek=64
      
      Here, we introduce generic idbloader.img target
      which is the TPL image followed by the SPL binary.
      Signed-off-by: NMatwey V. Kornilov <matwey.kornilov@gmail.com>
      Reviewed-by: NKever Yang <kever.yang@rock-chips.com>
      1b0a936b
  6. 05 9月, 2019 1 次提交
  7. 31 8月, 2019 2 次提交
  8. 27 8月, 2019 1 次提交
  9. 26 8月, 2019 2 次提交
  10. 14 8月, 2019 1 次提交
  11. 30 7月, 2019 3 次提交
  12. 29 7月, 2019 1 次提交
  13. 25 7月, 2019 1 次提交
  14. 10 7月, 2019 1 次提交
    • M
      arm64: add an option to switch visibility of CONFIG_SYS_INIT_SP_BSS_OFFSET · 382de4a7
      Masahiro Yamada 提交于
      By default, CONFIG_SYS_INIT_SP_BSS_OFFSET was made invisible by not
      giving a prompt to it.
      
      The only way to define it is to hard-code an extra entry in SoC/board
      Kconfig, like arch/arm/mach-tegra/tegra{186,210}/Kconfig.
      
      Add a prompt to it in order to allow defconfig files to specify the
      value of CONFIG_SYS_INIT_SP_BSS_OFFSET.
      
      With this, CONFIG_SYS_INIT_SP_BSS_OFFSET would become always visible.
      So, we need a new bool option to turn it off by default.
      
      I move the 'default 524288' to the common place. This value is not too
      big, but is big enough to avoid the overwrap of DT in most platforms.
      If 512KB is not a suitable choice for your platform, you can change it
      from your defconfig or menuconfig etc.
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Acked-by: NStephen Warren <swarren@nvidia.com>
      382de4a7
  15. 09 7月, 2019 1 次提交
  16. 26 6月, 2019 3 次提交
    • J
      rockchip: rk3399: Get bl31.elf via BL31 · 96070460
      Jagan Teki 提交于
      Right now rockchip platform need to copy bl31.elf into u-boot
      source directory to make use of building u-boot.itb.
      
      So, add environment variable BL31 like Allwinner SoC so-that the
      bl31.elf would available via BL31.
      
      If the builds are not exporting BL31 env, the make_fit_atf.py
      explicitly create dummy bl31.elf in u-boot root directory to
      satisfy travis builds and it will show the warning on console as
      
       WARNING: BL31 file bl31.elf NOT found, resulting binary is non-functional
       WARNING: Please read Building section in doc/README.rockchip
      
      Note, that the dummy bl31 files were created during not exporting
      BL31 case would be removed via clean target in Makefile.
      Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
      96070460
    • J
      Makefile: clean bl31_*.bin · cc2cf690
      Jagan Teki 提交于
      Rockchip platform has its python script that would generate various
      bl31_*bin for creating u-boot.itb file by taking bl31.elf as input.
      
      These bl31_*.bin files are generated in u-boot root directory and
      have no rule to clean it up. so add support for it by adding in
      command entry of clean target in Makefile.
      Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
      Reviewed-by: NKever Yang <kever.yang@rock-chips.com>
      cc2cf690
    • J
      Makefile: clean image.map · 8f06f0ce
      Jagan Teki 提交于
      binman tools for creating single image build will create image.map
      at the end, which has information about binman image node details.
      
      current u-boot, is unable to clean this image.map so add a command
      entry in clean target in Makefile.
      Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
      Reviewed-by: NKever Yang <kever.yang@rock-chips.com>
      8f06f0ce
  17. 20 6月, 2019 1 次提交
    • B
      doc: Remove duplicated documentation directory · 656d8da9
      Breno Matheus Lima 提交于
      Commit ad7061ed ("doc: Move device tree bindings documentation to
       doc/device-tree-bindings") moved all device tree binding documentation
      to doc/device-tree-bindings directory.
      
      The current U-Boot project still have two documentation directories:
      
      - doc/
      - Documentation/
      
      Move all documentation and sphinx files to doc directory so all content
      can be in a common place.
      Signed-off-by: NBreno Lima <breno.lima@nxp.com>
      656d8da9
  18. 13 6月, 2019 2 次提交
  19. 11 6月, 2019 2 次提交
  20. 07 6月, 2019 4 次提交
    • S
      spl: add overall SPL size check · 2577015d
      Simon Goldschmidt 提交于
      This adds a size check for SPL that can dynamically check generated
      SPL binaries (including devicetree) for a size limit that ensures
      this image plus global data, heap and stack fit in initial SRAM.
      
      Since some of these sizes are not available to make, a new host tool
      'spl_size_limit' is added that dumps the resulting maximum size for
      an SPL binary to stdout. This tool is used in toplevel Makefile to
      implement the size check on SPL binaries.
      Signed-off-by: NSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
      2577015d
    • H
      configs: define CONFIG_SPL_SIZE_LIMIT · 0a0f2314
      Heinrich Schuchardt 提交于
      A new configuration variable CONFIG_SPL_SIZE_LIMIT is introduced to define
      the board specific maximum size for the SPL file.
      
      Use Makefile function size_check() to implement the test.
      
      Depending on the size of CONFIG_SPL_SIZE_LIMIT an error like the following
      is thrown:
      
      spl/u-boot-spl.bin exceeds file size limit:
        limit:  30720 bytes
        actual: 33426 bytes
        excess: 2706 bytes
      make: *** [Makefile:1663: spl/u-boot-spl.bin] Error 1
      Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
      0a0f2314
    • H
      imx: move BOARD_SIZE_CHECK to main Makefile · 219dee7e
      Heinrich Schuchardt 提交于
      We currently have duplicate definitions for BOARD_SIZE_CHECK in Makefile
      and arch/arm/mach-imx/Makefile.
      
      Move the board size check from arch/arm/mach-imx/Makefile to Makefile.
      
      Depending on the value of CONFIG_BOARD_SIZE_LIMIT an error like an error
      like the following is thrown:
      
      u-boot-dtb.imx exceeds file size limit:
        limit:  503696 bytes
        actual: 509720 bytes
        excess: 6024 bytes
      make: *** [Makefile:1051: u-boot-dtb.imx] Error 1
      Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
      Reviewed-by: NFabio Estevam <festevam@gmail.com>
      219dee7e
    • H
      Makefile: reusable function for BOARD_SIZE_CHECK · b275030e
      Heinrich Schuchardt 提交于
      Carve out function size_check from macro BOARD_SIZE_CHECK. This will allow
      us to reuse the function for other file size checks.
      
      Depending on the value of CONFIG_BOARD_SIZE_LIMIT an error like the
      following is thrown:
      
      u-boot-dtb.img exceeds file size limit:
        limit:  409516 bytes
        actual: 444346 bytes
        excess: 34830 bytes
      make: *** [Makefile:1212: u-boot-dtb.img] Error 1
      Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
      b275030e
  21. 28 5月, 2019 1 次提交
  22. 22 5月, 2019 1 次提交
    • M
      ARM: rmobile: Add recovery SPL for R-Car Gen3 · 5602330d
      Marek Vasut 提交于
      Build an SPL which can be started via SCIF download mode on R-Car Gen3
      and allows loading and executing U-Boot uImage with the next stage code.
      This is also useful for starting e.g. ATF BL2, which inits the hardware
      and returns to the U-Boot SPL, which can then load e.g. U-Boot proper.
      
      The H3, M3-W, M3-N SoCs have plenty of SRAM for storing the U-Boot SPL
      while the payload, e.g. ATF BL2, executes, so there is no problem here.
      
      However, E3 and D3 have much less SRAM, hence the loader uses a trick
      where it copies itself beyond the area used by BL2 and executes from
      there. That area is 32kiB large and not enough to hold U-Boot SPL, BSS,
      stack and malloc area, so the later two are placed at +0x4000 offset
      from start of SRAM, another area not used by ATF BL2. To make things
      even more complicated, the SCIF loader cannot load to the upper 32kiB
      of the SRAM directly, hence the copying approach.
      Signed-off-by: NMarek Vasut <marek.vasut+renesas@gmail.com>
      Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
      5602330d
  23. 20 5月, 2019 1 次提交
  24. 19 5月, 2019 1 次提交
  25. 16 5月, 2019 1 次提交
  26. 10 5月, 2019 2 次提交