NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
misc/58109: Add a DTS file for the ALINX AX7021B Zynq based board
>Number: 58109
>Category: misc
>Synopsis: Add a DTS file for the ALINX AX7021B Zynq based board
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Apr 03 21:25:00 +0000 2024
>Originator: Lloyd Parkes
>Release: current
>Organization:
Must Have Coffee
>Environment:
NetBSD armv7 10.99.10 NetBSD 10.99.10 (GENERIC) #3: Mon Apr 1 11:12:36 NZDT 2024 lloyd%kudzu.must-have-coffee.gen.nz@localhost:/vol/build/zybo2/objdir.evbearmv7hf-el/sys/arch/evbarm/compile/GENERIC evbarm
>Description:
NetBSD won't boot on an ALINX AX7021B because it doesn't have a suitable FDT.
>How-To-Repeat:
Run the following commands in U-Boot.
setenv bootargs root=ld0a
fatload mmc 0 $kernel_addr_r netbsd-GENERIC.ub
fatload mmc 0 $fdt_addr_r dtb/ax7021b.dtb
bootm $kernel_addr_r - $fdt_addr_r
or
setenv bootargs root=ld0a
fatload mmc 0 $kernel_addr_r netbsd-GENERIC.ub
bootm $kernel_addr_r -
>Fix:
Apply the following two patches
https://www.must-have-coffee.gen.nz/lloyd/sys-dtb-arm-Makefile.patch
https://www.must-have-coffee.gen.nz/lloyd/distrib-sets-lists-dtb.patch
Add the following file to src/sys/arch/arm/dts/
https://www.must-have-coffee.gen.nz/lloyd/ax7021b.dts
These patches add the new .dts file to the DTS list and the resulting .dtb file to the dtb mtree sets. I used "make update-sets" to regenerate the file lists.
Home |
Main Index |
Thread Index |
Old Index