NetBSD Problem Report #59680
From www@netbsd.org Tue Sep 30 18:55:12 2025
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)
key-exchange X25519 server-signature RSA-PSS (2048 bits)
client-signature RSA-PSS (2048 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 665401A9239
for <gnats-bugs@gnats.NetBSD.org>; Tue, 30 Sep 2025 18:55:12 +0000 (UTC)
Message-Id: <20250930185511.3E3FD1A923C@mollari.NetBSD.org>
Date: Tue, 30 Sep 2025 18:55:11 +0000 (UTC)
From: yuri.honegger@icloud.com
Reply-To: yuri.honegger@icloud.com
To: gnats-bugs@NetBSD.org
Subject: Add Device Tree Support for armv5
X-Send-Pr-Version: www-1.0
>Number: 59680
>Category: port-arm
>Synopsis: Add Device Tree Support for armv5
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: port-arm-maintainer
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Sep 30 19:00:01 +0000 2025
>Closed-Date: Thu Oct 09 06:35:53 +0000 2025
>Last-Modified: Thu Oct 09 06:35:53 +0000 2025
>Originator: Yuri Honegger
>Release: 11.99.2
>Organization:
>Environment:
>Description:
There is no support for device trees (FDT) on armv5 boards. I've been working on adding support and have been told to open a bug here.
See: https://mail-index.netbsd.org/port-arm/2025/09/27/msg009420.html
>How-To-Repeat:
>Fix:
I've prepared the following patch:
github link: https://github.com/NetBSD/src/compare/trunk...recursivetree:netbsd-src:armv5-fdt-upstreamable-v2
patch: https://github.com/NetBSD/src/compare/trunk...recursivetree:netbsd-src:armv5-fdt-upstreamable-v2.patch
There are two parts to it:
- the general changes required to boot an armv5 CPU using device trees. This adds a GENERIC_V5 configuration, the MMU initialization code and some ifdefs around platform-specific stuff.
- device tree based drivers for the NXP i.MX23 SOC on the olinuxino board. I've used this board for development because it is an armv5 board already supported by NetBSD. For now, I've only converted the absolute minimum to boot NetBSD (interrupt and timer drivers).
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: skrll@NetBSD.org
State-Changed-When: Thu, 09 Oct 2025 06:35:53 +0000
State-Changed-Why:
https://mail-index.netbsd.org/source-changes/2025/10/09/msg158486.html
(forget to add PR details to the commit.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.