Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Results of more testing on Orange PI zero/one boards
On Tue, 2023-09-12 at 00:08 +0200, Manuel Bouyer wrote:
>
> Good catch, removing the sun8i-h3.dtsi could do it
> Forcing the okay status on the mmc shouldn't be needed because the
> sun8i-h3-orangepi-one.dts file does it.
>
> So maybe sun8i-h3-orangepi-one.dts should just be deleted from
> src/sys/arch/arm/dts/ and let the build pick up the one from
> src/sys/external
> instead.
>
OK, I tried Manuel's idea and removed /usr/src/sys/arch/arm/dts/sun8i-
h3-orangepi-one.dts from a fresh checkout of current. The resulting
image (with the u-boot code added) boots up fine:
9246392+2531932+1400228 [460681+558144+606456]=0xe2d404
boot: failed to open /var/db/entropy-file: No such file or directory
EHCI failed to shut down host controller.
EHCI failed to shut down host controller.
[ 1.0000000] NetBSD/evbarm (fdt) booting ...
[ 1.0000000] [ Kernel symbol table missing! ]
[ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2003,
[ 1.0000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
2012, 2013,
[ 1.0000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021,
2022, 2023
[ 1.0000000] The NetBSD Foundation, Inc. All rights reserved.
[ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.0000000] The Regents of the University of California. All
rights reserved.
[ 1.0000000] NetBSD 10.99.8 (GENERIC) #0: Tue Sep 12 11:28:07 BST
2023
[ 1.0000000] root%cruncher.anduin.org.uk@localhost:/usr/obj/arm7/sys/arch/evba
rm/compile/GENERIC
[ 1.0000000] total memory = 512 MB
[ 1.0000000] avail memory = 484 MB
[ 1.0000000] armfdt0 (root)
[ 1.0000000] simplebus0 at armfdt0: Xunlong Orange Pi One
[ 1.0000000] simplebus1 at simplebus0
[ 1.0000000] simplebus2 at simplebus0
[ 1.0000000] cpus0 at simplebus0
[ 1.0000000] simplebus3 at simplebus0
[ 1.0000000] cpu0 at cpus0: Cortex-A7 r0p5 (Cortex V7A core)
[ 1.0000000] cpu0: DC enabled IC enabled WB enabled LABT branch
prediction enabled
[ 1.0000000] cpu0: L1 32KB/32B 2-way (512 set) VIPT Instruction cache
[ 1.0000000] cpu0: L1 32KB/64B 4-way (128 set) write-back-locking-C
PIPT Data cache
[ 1.0000000] cpu0: L2 512KB/64B 8-way (1024 set) write-through PIPT
Unified cache
[ 1.0000000] vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN
propagation, denormals
[ 1.0000000] cpufreqdt0 at cpu0
[ 1.0000000] cpu1 at cpus0: Cortex-A7 r0p5 (Cortex V7A core)
[ 1.0000000] cpu1: DC enabled IC enabled WB enabled LABT branch
prediction enabled
[ 1.0000000] cpu1: L1 32KB/32B 2-way (512 set) VIPT Instruction cache
[ 1.0000000] cpu1: L1 32KB/64B 4-way (128 set) write-back-locking-C
PIPT Data cache
[ 1.0000000] cpu1: L2 512KB/64B 8-way (1024 set) write-through PIPT
Unified cache
[ 1.0000000] vfp1 at cpu1: NEON MPE (VFP 3.0+), rounding, NaN
propagation, denormals
[ 1.0000000] cpufreqdt1 at cpu1
[ 1.0000000] cpu2 at cpus0: Cortex-A7 r0p5 (Cortex V7A core)
[ 1.0000000] cpu2: DC enabled IC enabled WB enabled LABT branch
prediction enabled
[ 1.0000000] cpu2: L1 32KB/32B 2-way (512 set) VIPT Instruction cache
[ 1.0000000] cpu2: L1 32KB/64B 4-way (128 set) write-back-locking-C
PIPT Data cache
[ 1.0000000] cpu2: L2 512KB/64B 8-way (1024 set) write-through PIPT
Unified cache
[ 1.0000000] vfp2 at cpu2: NEON MPE (VFP 3.0+), rounding, NaN
propagation, denormals
[ 1.0000000] cpufreqdt2 at cpu2
[ 1.0000000] cpu3 at cpus0: Cortex-A7 r0p5 (Cortex V7A core)
[ 1.0000000] cpu3: DC enabled IC enabled WB enabled LABT branch
prediction enabled
[ 1.0000000] cpu3: L1 32KB/32B 2-way (512 set) VIPT Instruction cache
[ 1.0000000] cpu3: L1 32KB/64B 4-way (128 set) write-back-locking-C
PIPT Data cache
[ 1.0000000] cpu3: L2 512KB/64B 8-way (1024 set) write-through PIPT
Unified cache
[ 1.0000000] vfp3 at cpu3: NEON MPE (VFP 3.0+), rounding, NaN
propagation, denormals
[ 1.0000000] cpufreqdt3 at cpu3
[ 1.0000000] gic0 at simplebus1: GIC
[ 1.0000000] armgic0 at gic0: Generic Interrupt Controller, 160
sources (150 valid)
[ 1.0000000] armgic0: 16 Priorities, 128 SPIs, 7 PPIs, 15 SGIs
[ 1.0000000] fclock0 at simplebus2: 24000000 Hz fixed clock (osc24M)
[ 1.0000000] fclock1 at simplebus2: 32768 Hz fixed clock (ext_osc32k)
[ 1.0000000] gtmr0 at simplebus0: Generic Timer
[ 1.0000000] gtmr0: interrupting on GIC irq 27
[ 1.0000000] armgtmr0 at gtmr0: Generic Timer (24000 kHz, virtual)
[ 1.0000040] sun8ih3ccu0 at simplebus1: H3 CCU
[ 1.0000040] sunxinmi0 at simplebus1: R_INTC, NMI IRQ 32
[ 1.0000040] sun8ih3rccu0 at simplebus1: H3 PRCM CCU
[ 1.0000040] sunxigpio0 at simplebus1: PIO
[ 1.0000040] gpio0 at sunxigpio0: 94 pins
[ 1.0000040] sunxigpio0: interrupting on GIC irq 43
[ 1.0000040] sunxigpio1 at simplebus1: PIO
[ 1.0000040] gpio1 at sunxigpio1: 12 pins
[ 1.0000040] sunxigpio1: interrupting on GIC irq 77
[ 1.0000040] sunxisramc0 at simplebus1: SRAM Controller
[ 1.0000040] sun6idma0 at simplebus1: DMA controller (12 channels)
[ 1.0000040] sun6idma0: interrupting on GIC irq 82
[ 1.0000040] connector0 at simplebus0: HDMI connector
[ 1.0000040] sunxisid0 at simplebus1: Security ID EFUSE
[ 1.0000040] gregulator0 at simplebus0: vdd-cpux
[ 1.0000040] com0 at simplebus1: DesignWare APB UART, 64-byte FIFO
[ 1.0000040] com0: console
[ 1.0000040] com0: interrupting on GIC irq 32
[ 1.0000040] fregulator0 at simplebus0: vcc3v3
[ 1.0000040] fregulator1 at simplebus0: usb0-vbus
[ 1.0000040] fregulator2 at simplebus0: vcc3v0
[ 1.0000040] fregulator3 at simplebus0: vcc5v0
[ 1.0000040] sunxiusbphy0 at simplebus1: USB PHY
[ 1.0000040] /soc/clock@1000000 at simplebus1 not configured
[ 1.0000040] /soc/mixer@1100000 at simplebus1 not configured
[ 1.0000040] /soc/lcd-controller@1c0c000 at simplebus1 not configured
[ 1.0000040] dwhdmi0 at simplebus1: HDMI TX
[ 1.0000040] dwhdmi0: couldn't find PHY
[ 1.0000040] sunxirtc0 at simplebus1: RTC
[ 1.0000040] emac0 at simplebus1: EMAC
[ 1.0000040] emac0: Ethernet address 02:81:5f:ed:f6:44
[ 1.0000040] emac0: interrupting on GIC irq 114
[ 1.0000040] ukphy0 at emac0 phy 1: OUI 0x0088a0, model 0x0000, rev.
0
[ 1.0000040] ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
auto
[ 1.0000040] h3codec0 at simplebus1: H3 Audio Codec (analog part)
[ 1.0000040] /soc/hdmi-phy@1ef0000 at simplebus1 not configured
[ 1.0000040] /soc/dram-controller@1c62000 at simplebus1 not
configured
[ 1.0000040] /gpu-opp-table at simplebus0 not configured
[ 1.0000040] /opp_table0 at simplebus0 not configured
[ 1.0000040] sunxithermal0 at simplebus1: Thermal sensor controller
[ 1.0000040] sunxithermal0: interrupting on GIC irq 63
[ 1.0000040] sunxithermal0: cpu: alarm 90C hyst 15C shut 105C
[ 1.0000040] /display-engine at simplebus0 not configured
[ 1.0000040] sunximmc0 at simplebus1: SD/MMC controller
[ 1.0000040] sunximmc0: interrupting on GIC irq 92
[ 1.0000040] /soc/mailbox@1c17000 at simplebus1 not configured
[ 1.0000040] motg0 at simplebus1: 'otg' mode not supported
[ 1.0000040] ehci0 at simplebus1: EHCI
[ 1.0000040] ehci0: interrupting on GIC irq 104
[ 1.0000040] ehci0: 1 companion controller, 1 port
[ 1.0000040] usb0 at ehci0: USB revision 2.0
[ 1.0000040] ohci0 at simplebus1: OHCI
[ 1.0000040] ohci0: interrupting on GIC irq 105
[ 1.0000040] ohci0: OHCI version 1.0
[ 1.0000040] usb1 at ohci0: USB revision 1.0
[ 1.0000040] ehci1 at simplebus1: EHCI
[ 1.0000040] ehci1: interrupting on GIC irq 106
[ 1.0000040] ehci1: 1 companion controller, 1 port
[ 1.0000040] usb2 at ehci1: USB revision 2.0
[ 1.0000040] ohci1 at simplebus1: OHCI
[ 1.0000040] ohci1: interrupting on GIC irq 107
[ 1.0000040] ohci1: OHCI version 1.0
[ 1.0000040] usb3 at ohci1: USB revision 1.0
[ 1.0000040] sunxiwdt0 at simplebus1: Watchdog
[ 1.0000040] sunxiwdt0: default watchdog period is 16 seconds
[ 1.0000040] /soc/deinterlace@1400000 at simplebus1 not configured
[ 1.0000040] sun8icrypto0 at simplebus1: Crypto Engine
[ 1.0000040] sun8icrypto0: interrupting on GIC irq 126
[ 1.0000040] sun8icrypto0: AES-128 self-test initiated
[ 1.0000040] sun8icrypto0: AES-128 self-test passed
[ 1.0000040] /soc/gpu@1c40000 at simplebus1 not configured
[ 1.0000040] psci0 at simplebus0: PSCI 0.1
[ 1.0000040] armpmu0 at simplebus0: Performance Monitor Unit
[ 1.0000040] gpioleds0 at simplebus0: orangepi:green:pwr
orangepi:red:status
[ 1.0000040] gpiokeys0 at simplebus0: sw4
[ 1.0000040] /soc/timer@1c20c00 at simplebus1 not configured
[ 1.0000040] /soc/video-codec@1c0e000 at simplebus1 not configured
[ 1.0000040] cpufreqdt0: rate: 1008.000 MHz, 1200000 uV
[ 1.0494734] sdmmc0 at sunximmc0
[ 1.0594597] armpmu0: interrupting on GIC irq 152
[ 1.0694645] armpmu0: interrupting on GIC irq 153
[ 1.0794588] armpmu0: interrupting on GIC irq 154
[ 1.0794588] armpmu0: interrupting on GIC irq 155
[ 1.0994586] uhub0 at usb1: NetBSD (0x0000) OHCI root hub (0x0000),
class 9/0, rev 1.00/1.00, addr 1
[ 1.1094609] uhub1 at usb3: NetBSD (0x0000) OHCI root hub (0x0000),
class 9/0, rev 1.00/1.00, addr 1
[ 1.1228795] uhub2 at usb2: NetBSD (0x0000) EHCI root hub (0x0000),
class 9/0, rev 2.00/1.00, addr 1
[ 1.1294636] uhub3 at usb0: NetBSD (0x0000) EHCI root hub (0x0000),
class 9/0, rev 2.00/1.00, addr 1
[ 1.1394626] WARNING: system needs entropy for security; see
entropy(7)
[ 1.1694667] sdmmc0: SD card status: 4-bit, C10
[ 1.1799367] ld0 at sdmmc0: <0x12:0x3456:SD:0x00:0x0000000d:0x117>
[ 1.1799367] ld0: 7624 MB, 3872 cyl, 64 head, 63 sec, 512 bytes/sect
x 15613952 sectors
[ 1.1994699] ld0: 4-bit width, High-Speed/SDR25, 50.000 MHz
[ 1.6494836] swwdog0: software watchdog initialized
[ 1.6694860] boot device: ld0
[ 1.6794857] root on ld0a dumps on ld0b
[ 1.6894860] root file system type: ffs
[ 1.6994877] kern.module.path=/stand/evbarm/10.99.8/modules
[ 1.6994877] WARNING: preposterous TOD clock time
[ 1.7094884] WARNING: using filesystem time
[ 1.7141682] WARNING: CHECK AND RESET THE DATE!
Tue Sep 12 10:52:58 UTC 2023
Ethernet works as expected. I suggest this change is committed to
current and pulled up to NetBSD 10.
One important point which should be addressed. If a dts pulls in a dtsi
file and that file doesn't exist then this is not reported and the dtb
generation process continues. I think I noticed this when messing about
trying to get the rpi zero 2 w dtb to build. This seems wrong and is
likely to end up causing problems in the future. Maybe a pre-scan to
check the components exist should be done before using the dtc command
during the build.
I will have a look at the networking problem on the Orange Pi zero
later..
Thanks for the speedy suggestions and help.
Cheers,
Dave
Home |
Main Index |
Thread Index |
Old Index