January 15, 2023

NetBSD on the Orange Pi - NetBSD 9.3 first boot

U-Boot SPL 2018.11 (Jul 02 2022 - 01:48:15 +0000)
DRAM: 1024 MiB
Trying to boot from MMC1


U-Boot 2018.11nb4 (Jul 02 2022 - 01:48:15 +0000) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi Plus 2E
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
Loading Environment from FAT... Unable to use mmc 1:1... In:    serial
Out:   serial
Err:   serial
Net:   phy interface7
eth0: ethernet@1c30000
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0
USB2:   USB EHCI 1.00
USB3:   USB OHCI 1.0
USB4:   USB EHCI 1.00
USB5:   USB OHCI 1.0
USB6:   USB EHCI 1.00
USB7:   USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 2 for devices... 1 USB Device(s) found
scanning bus 4 for devices... 1 USB Device(s) found
scanning bus 6 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
201 bytes read in 1 ms (196.3 KiB/s)
## Executing script at 43100000
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
29820 bytes read in 6 ms (4.7 MiB/s)
Found EFI removable media binary efi/boot/bootarm.efi
Scanning disks on usb...
Disk usb0 not ready
Disk usb1 not ready
Disk usb2 not ready
Disk usb3 not ready
Scanning disks on mmc...
MMC Device 2 not found
MMC Device 3 not found
Found 19 disks
185456 bytes read in 12 ms (14.7 MiB/s)
## Starting EFI application at 42000000 ...

NetBSD/evbarm efiboot (arm), Revision 1.13 (Thu Aug  4 15:30:37 UTC 2022)
Press return to boot now, any other key for boot prompt
booting netbsd - starting in 0 seconds.
6757004+2071896+1385128 [404132+462448+482622]=0xb15cec
EHCI failed to shut down host controller.
EHCI failed to shut down host controller.
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, 2004, 2005,
[   1.0000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
[   1.0000000]     2018, 2019, 2020, 2021, 2022
[   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 9.3 (GENERIC) #0: Thu Aug  4 15:30:37 UTC 2022
[   1.0000000]  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC
[   1.0000000] total memory = 1024 MB
[   1.0000000] avail memory = 1003 MB
[   1.0000000] running cgd selftest aes-xts-256 aes-xts-512 done
[   1.0000000] armfdt0 (root)
[   1.0000000] simplebus0 at armfdt0: Xunlong Orange Pi Plus 2E
[   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: 32KB/32B 2-way L1 VIPT Instruction cache
[   1.0000000] cpu0: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
[   1.0000000] cpu0: 512KB/64B 8-way write-through L2 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
[   1.0000000] cpufreqdt1 at cpu1
[   1.0000000] cpu2 at cpus0
[   1.0000000] cpufreqdt2 at cpu2
[   1.0000000] cpu3 at cpus0
[   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.0000060] sun8ih3ccu0 at simplebus1: H3 CCU
[   1.0000060] sun8ih3rccu0 at simplebus1: H3 PRCM CCU
[   1.0000060] sunxigpio0 at simplebus1: PIO
[   1.0000060] gpio0 at sunxigpio0: 94 pins
[   1.0000060] sunxigpio0: interrupting on GIC irq 43
[   1.0000060] sunxigpio1 at simplebus1: PIO
[   1.0000060] gpio1 at sunxigpio1: 12 pins
[   1.0000060] sunxigpio1: interrupting on GIC irq 77
[   1.0000060] sunxisramc0 at simplebus1: SRAM Controller
[   1.0000060] sun6idma0 at simplebus1: DMA controller (12 channels)
[   1.0000060] sun6idma0: interrupting on GIC irq 82
[   1.0000060] connector0 at simplebus0: HDMI connector
[   1.0000060] com0 at simplebus1: ns16550a, working fifo
[   1.0000060] com0: console
[   1.0000060] com0: interrupting on GIC irq 32
[   1.0000060] sunxisid0 at simplebus1: Security ID EFUSE
[   1.0000060] fregulator0 at simplebus0: vcc3v3
[   1.0000060] fregulator1 at simplebus0: usb0-vbus
[   1.0000060] fregulator2 at simplebus0: gmac-3v3
[   1.0000060] fregulator3 at simplebus0: vcc3v0
[   1.0000060] fregulator4 at simplebus0: vcc5v0
[   1.0000060] sunxiusbphy0 at simplebus1: USB PHY
[   1.0000060] /soc/clock@1000000 at simplebus1 not configured
[   1.0000060] /soc/mixer@1100000 at simplebus1 not configured
[   1.0000060] /soc/lcd-controller@1c0c000 at simplebus1 not configured
[   1.0000060] /soc/hdmi@1ee0000 at simplebus1 not configured
[   1.0000060] sunxirtc0 at simplebus1: RTC
[   1.0000060] emac0 at simplebus1: EMAC
[   1.0000060] emac0: Ethernet address 02:81:b3:9c:e0:c9
[   1.0000060] emac0: interrupting on GIC irq 114
[   1.0000060] emac0: no PHY found!
[   1.0000060] h3codec0 at simplebus1: H3 Audio Codec (analog part)
[   1.0000060] /soc/hdmi-phy@1ef0000 at simplebus1 not configured
[   1.0000060] /opp_table0 at simplebus0 not configured
[   1.0000060] sunxitwi0 at simplebus1: Marvell TWSI controller
[   1.0000060] sunxitwi0: interrupting on GIC irq 76
[   1.0000060] iic0 at sunxitwi0: I2C bus
[   1.0000060] sy8106a0 at iic0 addr 0x65: Silergy SY8106A regulator
[   1.0000060] /display-engine at simplebus0 not configured
[   1.0000060] sunximmc0 at simplebus1: SD/MMC controller
[   1.0000060] sunximmc0: interrupting on GIC irq 92
[   1.0000060] sunximmc1 at simplebus1: SD/MMC controller
[   1.0000060] sunximmc1: interrupting on GIC irq 93
[   1.0000060] sunximmc2 at simplebus1: SD/MMC controller
[   1.0000060] sunximmc2: interrupting on GIC irq 94
[   1.0000060] motg0 at simplebus1: 'otg' mode not supported
[   1.0000060] ehci0 at simplebus1: EHCI
[   1.0000060] ehci0: interrupting on GIC irq 104
[   1.0000060] ehci0: 1 companion controller, 1 port
[   1.0000060] usb0 at ehci0: USB revision 2.0
[   1.0000060] ohci0 at simplebus1: OHCI
[   1.0000060] ohci0: interrupting on GIC irq 105
[   1.0000060] ohci0: OHCI version 1.0
[   1.0000060] usb1 at ohci0: USB revision 1.0
[   1.0000060] ehci1 at simplebus1: EHCI
[   1.0000060] ehci1: interrupting on GIC irq 106
[   1.0000060] ehci1: 1 companion controller, 1 port
[   1.0000060] usb2 at ehci1: USB revision 2.0
[   1.0000060] ohci1 at simplebus1: OHCI
[   1.0000060] ohci1: interrupting on GIC irq 107
[   1.0000060] ohci1: OHCI version 1.0
[   1.0000060] usb3 at ohci1: USB revision 1.0
[   1.0000060] ehci2 at simplebus1: EHCI
[   1.0000060] ehci2: interrupting on GIC irq 108
[   1.0000060] ehci2: 1 companion controller, 1 port
[   1.0000060] usb4 at ehci2: USB revision 2.0
[   1.0000060] ohci2 at simplebus1: OHCI
[   1.0000060] ohci2: interrupting on GIC irq 109
[   1.0000060] ohci2: OHCI version 1.0
[   1.0000060] usb5 at ohci2: USB revision 1.0
[   1.0000060] ehci3 at simplebus1: EHCI
[   1.0000060] ehci3: interrupting on GIC irq 110
[   1.0000060] ehci3: 1 companion controller, 1 port
[   1.0000060] usb6 at ehci3: USB revision 2.0
[   1.0000060] ohci3 at simplebus1: OHCI
[   1.0000060] ohci3: interrupting on GIC irq 111
[   1.0000060] ohci3: OHCI version 1.0
[   1.0000060] usb7 at ohci3: USB revision 1.0
[   1.0000060] sunxiwdt0 at simplebus1: Watchdog
[   1.0000060] sunxiwdt0: default watchdog period is 16 seconds
[   1.0000060] sunxicodec0 at simplebus1: H3 Audio Codec
[   1.0000060] audio0 at sunxicodec0: playback, capture, full duplex, independent
[   1.0000060] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback
[   1.0000060] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for recording
[   1.0000060] spkr0 at audio0: PC Speaker (synthesized)
[   1.0000060] wsbell at spkr0 not configured
[   1.0000060] /soc/ir@1f02000 at simplebus1 not configured
[   1.0000060] /soc/gpu@1c40000 at simplebus1 not configured
[   1.0000060] sunxithermal0 at simplebus1: Thermal sensor controller
[   1.0000060] sunxithermal0: interrupting on GIC irq 63
[   1.0000060] sunxithermal0: cpu: alarm 90C hyst 15C shut 105C
[   1.0000060] psci0 at simplebus0: PSCI 0.1
[   1.0000060] gpioleds0 at simplebus0: orangepi:green:pwr orangepi:red:status
[   1.0000060] gpiokeys0 at simplebus0: sw4
[   1.0000060] sunxitimer0 at simplebus1: Timer
[   1.0000060] /soc/video-codec@1c0e000 at simplebus1 not configured
[   1.0000060] cpu3: Cortex-A7 r0p5 (Cortex V7A core)
[   1.0000060] cpu3: DC enabled IC enabled WB enabled LABT branch prediction enabled
[   1.8014645] cpu3: 32KB/32B 2-way L1 VIPT Instruction cache
[   1.8014645] cpu3: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
[   1.8114526] cpu3: 512KB/64B 8-way write-through L2 PIPT Unified cache
[   1.8214529] vfp3 at cpu3: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
[   1.8214529] cpu2: Cortex-A7 r0p5 (Cortex V7A core)
[   1.8314526] cpu2: DC enabled IC enabled WB enabled LABT branch prediction enabled
[   1.8414535] cpu2: 32KB/32B 2-way L1 VIPT Instruction cache
[   1.8414535] cpu2: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
[   1.8514530] cpu2: 512KB/64B 8-way write-through L2 PIPT Unified cache
[   1.8514530] vfp2 at cpu2: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
[   1.8614538] cpu1: Cortex-A7 r0p5 (Cortex V7A core)
[   1.8714534] cpu1: DC enabled IC enabled WB enabled LABT branch prediction enabled
[   1.8714534] cpu1: 32KB/32B 2-way L1 VIPT Instruction cache
[   1.8814537] cpu1: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
[   1.8914537] cpu1: 512KB/64B 8-way write-through L2 PIPT Unified cache
[   1.8914537] vfp1 at cpu1: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
[   1.9114566] sdmmc0 at sunximmc0
[   1.9218335] sdmmc1 at sunximmc1
[   1.9218335] sdmmc2 at sunximmc2
[   1.9418353] uhub0 at usb1: NetBSD (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
[   1.9518329] uhub1 at usb2: NetBSD (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
[   1.9618339] uhub2 at usb0: NetBSD (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
[   1.9749673] uhub3 at usb7: NetBSD (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
[   1.9818352] uhub4 at usb3: NetBSD (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
[   1.9918348] uhub5 at usb4: NetBSD (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
[   2.0018350] uhub6 at usb5: NetBSD (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
[   2.0018350] uhub7 at usb6: NetBSD (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
[   2.0818375] ld2 at sdmmc2: <0x15:0x0100:8WPD3R:0x00:0xa43aee17:0x000>
[   2.0918378] ld2: 7456 MB, 3787 cyl, 64 head, 63 sec, 512 bytes/sect x 15269888 sectors
[   2.0918378] ld2: 8-bit width, DDR52, 64 MB cache, 52.000 MHz
[   2.1118383] sdmmc0: SD card status: 4-bit, C10, A1
[   2.1118383] ld0 at sdmmc0: <0x03:0x5344:SB16G:0x80:0xdbdd3ecd:0x143>
[   2.1254531] ld0: 15193 MB, 7717 cyl, 64 head, 63 sec, 512 bytes/sect x 31116288 sectors
[   2.1318385] ld0: 4-bit width, High-Speed/SDR25, 50.000 MHz
[   2.1518385] sdmmc1: 4-bit width, 50.000 MHz
[   2.1518385] sdmmc1: MAX_BLK_SIZE1 = 512
[   2.1518385] (manufacturer 0x24c, product 0xf179, standard function interface code 0x7) at sdmmc1 function 1 not configured
[   2.7218492] WARNING: 1 error while detecting hardware; check system log.
[   2.7418501] boot device: ld0
[   2.7418501] root on ld0a dumps on ld0b
[   2.7518505] root file system type: ffs
[   2.7518505] kern.module.path=/stand/evbarm/9.3/modules
[   2.7618507] WARNING: clock lost 8251 days
[   2.7618507] WARNING: using filesystem time
[   2.7742267] WARNING: CHECK AND RESET THE DATE!
Thu Aug  4 19:04:04 UTC 2022
Starting root file system check:
/dev/rld0a: file system is clean; not checking
fdisk: Cannot determine the number of heads
Not resizing /: already correct size
Starting file system checks:
/dev/rld0e: 229 files, 48364 free (12091 clusters)
random_seed: /var/db/entropy-file: Not present
Setting tty flags.
Setting sysctl variables:
ddb.onpanic: 1 -> 0
Starting network.
Hostname: armv7
IPv6 mode: host
Configuring network interfaces:.
Adding interface aliases:.
Waiting for DAD to complete for statically configured addresses...
Starting dhcpcd.
no valid interfaces found
Starting mdnsd.
Building databases: dev, utmp, utmpx, services.
Starting syslogd.
Mounting all file systems...
Clearing temporary files.
Updating fontconfig cache: done.
Creating a.out runtime link editor directory cache.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
Starting virecover.
Starting devpubd.
Starting local daemons:.
Updating motd.
Starting ntpd.
Aug  4 19:04:34 armv7 ntpd[371]: error resolving pool 2.netbsd.pool.ntp.org: Temporary failure in name resolution (2)
ssh-keygen: 1024 SHA256:nrQnH0PRuXBdyBwYdyQLLz5NQAiGoR3lhEpsSnBBUlM root@armv7 (DSA)
ssh-keygen: 521 SHA256:EOHveTHl4q1evSHkWhRk7mm2iIpBJmDnE8SYslXHLmw root@armv7 (ECDSA)
ssh-keygen: 256 SHA256:F9f0Qfg3fN3BXhBgdoWJeLWnEiNXRlqb8urulM1tBE4 root@armv7 (ED25519)
ssh-keygen: 3072 SHA256:c8yjX7u2s6HvthIaj14JUahv72exCf1D7vEpWK1jEdo root@armv7 (RSA)
Starting sshd.
postfix: rebuilding /etc/mail/aliases (missing /etc/mail/aliases.db)
Starting postfix.
Starting inetd.
Starting cron.
Thu Aug  4 19:04:43 UTC 2022

NetBSD/evbarm (armv7) (constty)

login: root
Aug  4 19:04:53 armv7 login: ROOT LOGIN (root) on tty constty
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
    2018, 2019, 2020, 2021, 2022
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 9.3 (GENERIC) #0: Thu Aug  4 15:30:37 UTC 2022

Welcome to NetBSD!

We recommend that you create a non-root account and use su(1) for root access.
armv7# ifconfig -a
lo0: flags=0x8049 mtu 33176
        inet6 ::1/128 flags 0x20
        inet6 fe80::1%lo0/64 flags 0x0 scopeid 0x1
        inet 127.0.0.1/8 flags 0x0
armv7# Aug  4 19:05:39 armv7 ntpd[371]: error resolving pool 2.netbsd.pool.ntp.org: Temporary failure in name resolution (2)
Aug  4 19:06:44 armv7 ntpd[371]: error resolving pool 2.netbsd.pool.ntp.org: Temporary failure in name resolution (2)
Aug  4 19:05:39 armv7 ntpd[371]: error resolving pool 2.netbsd.pool.ntp.org: Temporary failure in name resolution (2)




Feedback? Questions? Drop me a line!

Tom's Computer Info / tom@mmto.org