1. 28 5月, 2016 1 次提交
  2. 26 5月, 2016 2 次提交
  3. 25 5月, 2016 9 次提交
  4. 24 5月, 2016 6 次提交
    • M
      ARM: zynq: Simplify zynq configuration · ad5b5801
      Michal Simek 提交于
      Extending Kconfig for adding new platform is a lot of work
      for nothing. Setting SYS_CONFIG_NAME directly in Kconfig and
      remove all dependencies on TARGET_ZYNQ_* options including SPL.
      As a side-effect it also remove custom init folder for ps7_init_gpl.*
      files. Folder is chosen based on device-tree file.
      Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
      ad5b5801
    • M
      ARM64: zynqmp: Add SPL support support · e6a9ed04
      Michal Simek 提交于
      Support RAM and MMC boot mode in SPL also with SPL_FIT images.
      
      In MMC boot mode two boot options are available:
      1) Boot flow with ATF(EL3) and full U-Boot(EL2):
       aarch64-linux-gnu-objcopy -O binary bl31.elf bl31.bin
       mkimage -A arm64 -O linux -T kernel -C none -a 0xfffe5000 -e 0xfffe5000
       -d bl31.bin atf.ub
       cp spl/boot.bin <sdcard fat partition>
       cp atf.ub <sdcard fat partition>
       cp u-boot.bin <sdcard fat partition>
      
      2) Boot flow with full U-Boot(EL3):
       cp spl/boot.bin <sdcard>
       cp u-boot*.img <sdcard>
      
      3) emmc boot mode
       dd if=/dev/zero of=sd.img bs=1024 count=1024
       parted sd.img mktable msdos
       parted sd.img mkpart p fat32 0% 100%
       kpartx -a sd.img
       mkfs.vfat /dev/mapper/loop0p1
       mount /dev/mapper/loop0p1 /mnt/
       cp spl/boot.bin /mnt
       cp u-boot.img /mnt
       cp u-boot.bin /mnt
       cp atf.ub /mnt
       umount /dev/mapper/loop0p1
       kpartx -d sd.img
       cp sd.img /tftpboot/
      
       and program it via u-boot
       tftpb 10000 sd.img
       mmcinfo
       mmc write 10000 0 $filesize
       mmc rescan
       mmc part
       ls mmc 0
      
      psu_init() function contains low level SoC setup generated for every HW
      design by Xilinx design tools. xil_io.h is only supporting file to fix
      all dependencies from tools. The same solution was used on Xilinx Zynq.
      
      The patch also change CONFIG_SYS_INIT_SP_ADDR to the end of OCM which
      stays at the same location all the time.
      Bootrom expects starting address to be at 0xfffc0000 that's why this
      address is SPL_TEXT_BASE.
      Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
      e6a9ed04
    • M
      ARM64: zynqmp: Add support for reading MAC from eeprom · 6919b4bf
      Michal Simek 提交于
      Add support for on board eeprom with programmed MAC for using in u-boot
      to have uniq address for every board.
      Most of the time uniq MAC address is on a label on the board.
      If address is not programmed use these command to program it.
      
      On zcu102:
      ZynqMP> mm.b 0
      00000000: 00 ? 00
      00000001: a0 ? 0a
      00000002: 35 ? 35
      00000003: 02 ? 02
      00000004: 00 ? ef
      00000005: 00 ? 67
      00000006: 00 ? q
      i2c dev 5
      i2c write 0 54 20 6
      i2c md 54 20
      Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
      6919b4bf
    • W
      board: sama5d2_xplained: change SDHCI GCK's clock source to UPLL · c043d8d8
      Wenyou Yang 提交于
      Change the clock source of the SDHCI's generated clock from PLLA to
      UPLL clock to align to Linux driver.
      Signed-off-by: NWenyou Yang <wenyou.yang@atmel.com>
      Reviewed-by: NAndreas Bießmann <andreas@biessmann.org>
      c043d8d8
    • W
      board: atmel: sama5d2_xplained: fix the missing pin config of SDMMC0 · a9c89bf1
      Wenyou Yang 提交于
      Fix the missing pin config of the SDMMC0 interface.
      Signed-off-by: NWenyou Yang <wenyou.yang@atmel.com>
      Reviewed-by: NAndreas Bießmann <andreas@biessmann.org>
      a9c89bf1
    • W
      board: atmel: add SAMA5D2 PTC Engineering board · 9989c156
      Wenyou Yang 提交于
      The board supports following features:
       - Boot media support: NAND Flash/SPI Flash
       - Support ethernet
       - Support USB mass storage
      Signed-off-by: NWenyou Yang <wenyou.yang@atmel.com>
      Reviewed-by: NAndreas Bießmann <andreas@biessmann.org>
      9989c156
  5. 23 5月, 2016 3 次提交
  6. 21 5月, 2016 5 次提交
  7. 20 5月, 2016 2 次提交
  8. 18 5月, 2016 10 次提交
  9. 17 5月, 2016 2 次提交