Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Cortex-A9 boot problems with d-cache on Zynq



Lloyd Parkes wrote:
> Hi all,
> My goals are:
> 	..
> 	2) Document and/or implement in pkgsrc-wip the latest version of u-boot with ZYBO support
> 	..

Current version of u-boot in pkgsrc isn't new enough to have support for
Zybo Z7 boards. I updated it to 2018.09 and skipped 3 failing patches
as they seemed to be irrelevant for my setup.

The new version of u-boot builds without any problems but it gives me
too many files and I'm not sure which ones to pick. I followed ikwzm's
recommendation [1] and I could boot netbsd.bin with 'fatload mmc 0
0x100000 netbsd.bin; go 0x100000' but I still don't understand this
choice of boot files.

[1] https://github.com/ikwzm/FPGA-SoC-U-Boot-ZYBO-Z7 the last section

A patch that creates sysutils/u-boot-zynq-zybo-z7 in pkgsrc is attached.

-- 
Alex
--- /dev/null	2018-10-30 16:14:06.470693190 +0000
+++ sysutils/u-boot-zynq-zybo-z7/Makefile	2018-10-30 16:14:01.415623649 +0000
@@ -0,0 +1,7 @@
+# $NetBSD$
+
+UBOOT_TARGET=		zynq-zybo-z7
+UBOOT_CONFIG=		zynq_zybo_z7_defconfig
+UBOOT_BIN=		u-boot u-boot.img spl/boot.bin
+
+.include "../../sysutils/u-boot/u-boot-arm.mk"
--- /dev/null	2018-10-30 16:14:06.470693190 +0000
+++ sysutils/u-boot-zynq-zybo-z7/PLIST	2018-10-30 15:01:59.390969988 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+share/u-boot/zynq-zybo-z7/boot.bin
+share/u-boot/zynq-zybo-z7/u-boot
+share/u-boot/zynq-zybo-z7/u-boot.img
--- /dev/null	2018-10-30 16:14:06.470693190 +0000
+++ sysutils/u-boot-zynq-zybo-z7/DESCR	2018-10-30 12:11:37.987004790 +0000
@@ -0,0 +1,5 @@
+U-Boot is a bootloader for embedded boards based on PowerPC, ARM, MIPS and
+several other processors, which can be installed in a boot ROM and used to
+initialize and test the hardware or to download and run application code.
+
+This package provides U-Boot for Digilent Zybo Z7 development boards.


Home | Main Index | Thread Index | Old Index