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





On 30/10/2018 17:49, Alexander Nasonov wrote:
Alexander Nasonov wrote:
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.
If I also copy u-boot.dtb, I can boot netbsd.ub like this:

Zynq> fatload mmc 0 0x100000 netbsd.ub
7118124 bytes read in 406 ms (16.7 MiB/s)

normally u-boot has a kernel_addr_r variable so this can be done with

fatload mmc 0 ${kernel_addr_r} netbsd.ub

Zynq> fatload mmc 0 0x800000 u-boot.dtb
8524 bytes read in 19 ms (437.5 KiB/s)

The kernel config (please add to GENERIC) should build the supported boards. Add zynq-zybo-z7.dts to

https://nxr.netbsd.org/xref/src/sys/arch/evbarm/conf/GENERIC#141

This will generate a zynq-zybo-z7.dtb for use with

fatload mmc 0 ${fdt_addr_r} zynq-zybo-z7.dtb

and

bootm ${kernel_addr_r} - ${fdt_addr_r}


but I see that FDTisation is still to be done from the rest of the output.

Nick


Home | Main Index | Thread Index | Old Index