Files
u-boot-tk1-som/include
Michal Simek e6a9ed04e7 ARM64: zynqmp: Add SPL support support
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: Michal Simek <michal.simek@xilinx.com>
2016-05-24 11:15:01 +02:00
..
2016-04-01 17:18:12 -04:00
2016-05-02 18:37:09 -04:00
2016-04-01 17:18:11 -04:00
2016-03-22 12:16:13 -04:00
2016-01-12 10:19:09 -07:00
2016-03-24 09:47:43 +01:00
2016-03-31 17:03:58 +02:00
2015-05-05 20:58:20 -06:00
2015-06-10 19:26:54 -06:00
2016-01-20 19:06:23 -07:00
2016-03-14 19:21:44 -04:00
2015-11-19 20:27:50 -07:00
2016-02-23 16:14:45 +05:30
2016-01-19 08:31:21 -05:00
2015-04-10 14:23:23 +02:00
2016-05-03 17:52:11 -05:00
2016-01-28 12:22:19 -06:00
2016-03-14 15:34:50 -06:00
2016-03-14 15:34:50 -06:00
2015-11-12 13:18:58 -05:00
2016-01-27 15:55:54 +01:00
2016-01-19 08:31:21 -05:00
2015-08-25 22:53:57 -05:00
2015-07-22 08:57:54 +02:00
2014-12-11 13:18:43 -07:00
2016-03-08 15:01:47 -05:00
2015-09-02 15:26:12 +02:00
2016-01-20 10:19:40 -05:00
2015-11-12 08:26:58 +08:00
2015-01-06 10:10:04 +02:00
2016-01-19 08:31:21 -05:00
2016-01-27 15:55:52 +01:00
2015-06-04 03:34:47 -06:00
2016-01-21 20:42:36 -07:00
2016-02-05 12:47:21 +08:00
2015-01-05 12:08:55 -05:00
2016-03-15 15:19:23 -04:00
2016-01-21 20:42:36 -07:00
2016-01-21 20:42:34 -07:00
2015-07-21 17:39:27 -06:00
2015-07-21 17:39:28 -06:00
2016-03-14 15:34:50 -06:00
2016-05-17 09:54:43 -06:00
2015-11-05 08:24:42 +01:00
2015-07-26 12:11:33 +02:00
2016-02-26 08:53:10 -07:00
2016-05-17 09:54:43 -06:00
2016-05-02 18:37:09 -04:00
2016-01-30 10:58:47 +01:00
2016-01-25 10:39:47 -05:00
2015-01-21 10:25:53 +01:00