NetBSD Problem Report #58109
From www@netbsd.org Wed Apr 3 21:24:26 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id DDF141A9239
for <gnats-bugs@gnats.NetBSD.org>; Wed, 3 Apr 2024 21:24:25 +0000 (UTC)
Message-Id: <20240403212424.264DD1A923B@mollari.NetBSD.org>
Date: Wed, 3 Apr 2024 21:24:24 +0000 (UTC)
From: lloyd@must-have-coffee.gen.nz
Reply-To: lloyd@must-have-coffee.gen.nz
To: gnats-bugs@NetBSD.org
Subject: Add a DTS file for the ALINX AX7021B Zynq based board
X-Send-Pr-Version: www-1.0
>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:/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.
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.