Re: 2026-04-29-netbsd-raspi-aarch64.img
Jun Ebihara <[email protected]> Thu, 30 Apr 2026 10:25:41 +0900
| Newsgroups | gmane.os.netbsd.ports.arm |
|---|---|
| Message-ID | <CACntkkhS7aQKOpkjOu7_w35eSqun3O2pbK3pJFXTS_0b+fiA8w@mail.gmail.com> |
2026=E5=B9=B44=E6=9C=8829=E6=97=A5(=E6=B0=B4) 22:01 Jun Ebihara <[email protected]= o.jp>: > Topics: > - Raspberry Pi 4 support on aarch64 FDT boot (without ACPI) > https://mail-index.netbsd.org/port-arm/2026/03/19/msg009556.html https://github.com/tsutsui/netbsd-src/compare/trunk...rpi4-fdt-rev3 1. fdtbus: handle /chosen compatible "simple_bus" for Raspberry Pi 4 https://github.com/tsutsui/netbsd-src/commit/d874cf1d6cc6842761dc01b364009= 300dc688e45 Description: This commit addresses an issue where the Raspberry Pi 4 firmware (start4.elf) dynamically populates the /chosen node with a non-standard compatible string, "simple_bus". Key Detail: It extends the existing special-case handling in fdt_match() to recognize this string, preventing it from being treated as a generic simplebus while allowing children like simple-framebuffer to be properly enumerated. 2. aarch64/pmap: also prepare MD aarch64_mmap_flags() in PMAP_MI case https://github.com/tsutsui/netbsd-src/commit/89ba6090fe6d105494cc4d938ccb9= 1da2b9785bf Description: A fix to ensure the Machine Dependent (MD) function aarch64_mmap_flags() is prepared even in PMAP_MI (Machine Independent pmap) cases. Key Detail: It defines memory attributes for the AArch64 architecture, including WriteBack, WriteThru, NoCache, and Device modes, to correctly handle pmap flags. 3. bcm283x: skip bcmgenfb specific initialization in !bcmgenfb case https://github.com/tsutsui/netbsd-src/commit/84266741175d3bacd55d286e3d14e= f38c2a3e426 Description: This commit fixes an issue where incorrect BGR colors appeared on the Raspberry Pi 4. Key Detail: It introduces a check (rpi_genfb_is_bcmgenfb) to skip bcmgenfb-specific initialization when the system is instead using simplefb with FDT properties for its display setup. 4. evbarm/conf: add bcm2838pcie and bcm2838rng for Raspberry Pi 4B https://github.com/tsutsui/netbsd-src/commit/2fcf08d60fb497627644955862f09= f1019293b30 Description: The addition of support for specific hardware components on the Raspberry Pi 4B within the `GENERIC64` configuration. Key Detail: It enables the bcm2838pcie (STB PCIe host controller) and bcm2838rng (Broadcom BCM2838 Random Number Generator) drivers. 5. aarch64: fix /dev/mem mmap cookie handling for MMIO devices https://github.com/tsutsui/netbsd-src/commit/628b13a357c0da159ba1577c93470= 20a05d522ee Description: This fix addresses a bug where /dev/mem mmap(2) calls on AArch64 could incorrectly map MMIO registers as normal cacheable memory. Key Detail: The code was adjusted to return PMAP_DEV_NP only when AArch64_MMAP bits are zero, the physical address is unmanaged, and the address resides within a devmap region. --=20 Jun Ebihara