Re: Update to main-n247723-6329ca325e02 based on OPi+2E (armv7): lots of "aw_nmi0: Invalid #interrupt-cells" and such

Emmanuel Vadot <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
On Sun, 4 Jul 2021 23:39:13 -0700
Mark Millard via freebsd-arm <[email protected]> wrote:

> The boot got the console messages below:
> 
> . . .
> ccu_h3ng0: <Allwinner H3/H5 Clock Control Unit NG> mem 0x1c20000-0x1c203ff on simplebus0
> ccu_sun8i_r0: <Allwinner SUN8I_R Clock Control Unit NG> mem 0x1f01400-0x1f014ff on simplebus0
> ccu_de20: <Allwinner DE2 Clock Control Unit> mem 0x1000000-0x100ffff on simplebus0
> gic0: <ARM Generic Interrupt Controller> mem 0x1c81000-0x1c81fff,0x1c82000-0x1c83fff,0x1c84000-0x1c85fff,0x1c86000-0x1c87fff irq 43 on simplebus0
> gic0: pn 0x1, arch 0x2, rev 0x1, implementer 0x43b irqs 160
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1c20800-0x1c20bff irq 23,24 on simplebus0
> gpio0: cannot allocate device resources
> device_attach: gpio0 attach returned 6
> aw_nmi0: <Allwinner NMI Controller> mem 0x1f00c00-0x1f00fff irq 48 on simplebus0
> iichb0: <Allwinner Integrated I2C Bus Controller> mem 0x1f02400-0x1f027ff irq 50 on simplebus0
> iicbus0: <OFW I2C bus> on iichb0
> sy8106a0: <Silergy SY8106A regulator> at addr 0xca on iicbus0
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1f02c00-0x1f02fff irq 51 on simplebus0
> aw_nmi0: Invalid #interrupt-cells
> gpio0: cannot allocate device resources
> device_attach: gpio0 attach returned 6
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1c20800-0x1c20bff irq 23,24 on simplebus0
> aw_nmi0: Invalid #interrupt-cells
> gpio0: cannot allocate device resources
> device_attach: gpio0 attach returned 6
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1f02c00-0x1f02fff irq 51 on simplebus0
> aw_nmi0: Invalid #interrupt-cells
> gpio0: cannot allocate device resources
> device_attach: gpio0 attach returned 6
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1c20800-0x1c20bff irq 23,24 on simplebus0
> aw_nmi0: Invalid #interrupt-cells
> gpio0: cannot allocate device resources
> device_attach: gpio0 attach returned 6
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1f02c00-0x1f02fff irq 51 on simplebus0
> aw_nmi0: Invalid #interrupt-cells
> gpio0: cannot allocate device resources
> device_attach: gpio0 attach returned 6
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1c20800-0x1c20bff irq 23,24 on simplebus0
> aw_nmi0: Invalid #interrupt-cells
> gpio0: cannot allocate device resources
> device_attach: gpio0 attach returned 6
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1f02c00-0x1f02fff irq 51 on simplebus0
> aw_nmi0: Invalid #interrupt-cells
> gpio0: cannot allocate device resources
> device_attach: gpio0 attach returned 6
> generic_timer0: <ARMv7 Generic Timer> irq 4,5,6,7 on ofwbus0
> Timecounter "ARM MPCore Timecounter" frequency 24000000 Hz quality 1000
> Event timer "ARM MPCore Eventtimer" frequency 24000000 Hz quality 1000
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1c20800-0x1c20bff irq 23,24 on simplebus0
> aw_nmi0: Invalid #interrupt-cells
> gpio0: cannot allocate device resources
> device_attach: gpio0 attach returned 6
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1f02c00-0x1f02fff irq 51 on simplebus0
> aw_nmi0: Invalid #interrupt-cells
> gpio0: cannot allocate device resources
> device_attach: gpio0 attach returned 6
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1c20800-0x1c20bff irq 23,24 on simplebus0
> aw_nmi0: Invalid #interrupt-cells
> gpio0: cannot allocate device resources
> device_attach: gpio0 attach returned 6
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1f02c00-0x1f02fff irq 51 on simplebus0
> aw_nmi0: Invalid #interrupt-cells
> gpio0: cannot allocate device resources
> device_attach: gpio0 attach returned 6
> aw_syscon0: <Allwinner syscon> mem 0x1c00000-0x1c00fff on simplebus0
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1c20800-0x1c20bff irq 23,24 on simplebus0
> aw_nmi0: Invalid #interrupt-cells
> gpio0: cannot allocate device resources
> device_attach: gpio0 attach returned 6
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1f02c00-0x1f02fff irq 51 on simplebus0
> aw_nmi0: Invalid #interrupt-cells
> gpio0: cannot allocate device resources
> device_attach: gpio0 attach returned 6
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1c20800-0x1c20bff irq 23,24 on simplebus0
> aw_nmi0: Invalid #interrupt-cells
> gpio0: cannot allocate device resources
> device_attach: gpio0 attach returned 6
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1f02c00-0x1f02fff irq 51 on simplebus0
> aw_nmi0: Invalid #interrupt-cells
> gpio0: cannot allocate device resources
> device_attach: gpio0 attach returned 6
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1c20800-0x1c20bff irq 23,24 on simplebus0
> aw_nmi0: Invalid #interrupt-cells
> gpio0: cannot allocate device resources
> device_attach: gpio0 attach returned 6
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1f02c00-0x1f02fff irq 51 on simplebus0
> aw_nmi0: Invalid #interrupt-cells
> gpio0: cannot allocate device resources
> device_attach: gpio0 attach returned 6
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1c20800-0x1c20bff irq 23,24 on simplebus0
> aw_nmi0: Invalid #interrupt-cells
> gpio0: cannot allocate device resources
> device_attach: gpio0 attach returned 6
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1f02c00-0x1f02fff irq 51 on simplebus0
> aw_nmi0: Invalid #interrupt-cells
> gpio0: cannot allocate device resources
> device_attach: gpio0 attach returned 6
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1c20800-0x1c20bff irq 23,24 on simplebus0
> aw_nmi0: Invalid #interrupt-cells
> gpio0: cannot allocate device resources
> device_attach: gpio0 attach returned 6
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1f02c00-0x1f02fff irq 51 on simplebus0
> aw_nmi0: Invalid #interrupt-cells
> gpio0: cannot allocate device resources
> device_attach: gpio0 attach returned 6
> aw_sid0: <Allwinner Secure ID Controller> mem 0x1c14000-0x1c143ff on simplebus0
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1c20800-0x1c20bff irq 23,24 on simplebus0
> aw_nmi0: Invalid #interrupt-cells
> gpio0: cannot allocate device resources
> device_attach: gpio0 attach returned 6
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1f02c00-0x1f02fff irq 51 on simplebus0
> aw_nmi0: Invalid #interrupt-cells
> gpio0: cannot allocate device resources
> device_attach: gpio0 attach returned 6
> awusbphy0: <Allwinner USB PHY> mem 0x1c19400-0x1c1942b,0x1c1a800-0x1c1a803,0x1c1b800-0x1c1b803,0x1c1c800-0x1c1c803,0x1c1d800-0x1c1d803 on simplebus0
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1c20800-0x1c20bff irq 23,24 on simplebus0
> aw_nmi0: Invalid #interrupt-cells
> gpio0: cannot allocate device resources
> device_attach: gpio0 attach returned 6
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1f02c00-0x1f02fff irq 51 on simplebus0
> aw_nmi0: Invalid #interrupt-cells
> gpio0: cannot allocate device resources
> device_attach: gpio0 attach returned 6
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1c20800-0x1c20bff irq 23,24 on simplebus0
> aw_nmi0: Invalid #interrupt-cells
> gpio0: cannot allocate device resources
> device_attach: gpio0 attach returned 6
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1f02c00-0x1f02fff irq 51 on simplebus0
> aw_nmi0: Invalid #interrupt-cells
> gpio0: cannot allocate device resources
> device_attach: gpio0 attach returned 6
> . . .
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1c20800-0x1c20bff irq 23,24 on simplebus0
> aw_nmi0: Invalid #interrupt-cells
> gpio0: cannot allocate device resources
> device_attach: gpio0 attach returned 6
> . . .
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1f02c00-0x1f02fff irq 51 on simplebus0
> aw_nmi0: Invalid #interrupt-cells
> gpio0: cannot allocate device resources
> device_attach: gpio0 attach returned 6
> 
> 
> For reference:
> 
> # uname -apKU
> FreeBSD OPiP2E_RPi2v11 14.0-CURRENT FreeBSD 14.0-CURRENT #6 main-n247723-6329ca325e02-dirty: Sun Jul  4 21:27:55 PDT 2021     root@CA72_16Gp_ZFS:/usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/sys/GENERIC-NODBG-CA7  arm armv7 1400024 1400024
> 
> This is not a context with the notice:
> 
> WARNING: DTB version is 5.10 while kernel expects 5.13, please update the DTB in the ESP
> 
> 5.13 dtb materials are in place.
> 
> ===
> Mark Millard
> marklmi at yahoo.com
> ( dsl-only.net went
> away in early 2018-Mar)
> 
> 

 Thanks for the report.
 Fixed in 48687f733fdbbe4b7085aa88a70194c39b44bd9b

-- 
Emmanuel Vadot <[email protected]> <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.