NetBSD/sys/external/gpl2/dts
dyoung 7c4812b990 Add a device tree for the Red Pitaya SDRlab 122-16.
To boot NetBSD on the 122-16, copy the .dtb built from
zynq-red-pitays-122-16.dts, the first-stage bootloader (called
boot.bin) and U-Boot that came with the 122-16 and a kernel image,
netbsd.ub, built for earmv7hf to an MS-DOS partition on an
MBR-partitioned SD card.  At the U-Boot prompt, "Zynq> ", type these
commands:

i2c dev 0
eeprom read 0 0x50 0 0x1804 0x400
env import -b 0 0x400 hw_rev serial ethaddr
setenv bootargs "root=ld0a"
fatload mmc 0 0x01f00000 device~1.dtb
fatload mmc 0 0x02000000 netbsd.ub
fdt addr 0x01f00000
fdt set /axi/ethernet@e000b000 local-mac-address $ethaddr
bootm 0x02000000 - 0x01f00000

Note that the ethernet PHY will not attach unless you have applied
the patches from Lloyd Parkes in kern/58083.
2024-05-04 02:21:48 +00:00
..
dist Add a device tree for the Red Pitaya SDRlab 122-16. 2024-05-04 02:21:48 +00:00
README
dts2netbsd

README

$NetBSD: README,v 1.1 2017/06/16 21:45:05 jmcneill Exp $

The headers in this directory are mostly either GPLv2 or GPLv2/X11 dual
licensed. To be safe, DO NOT include dt-bindings headers from kernel sources.

These headers are only meant to be used when generating .dtb files from .dts
sources.