Feels wrote: ↑Wed Aug 03, 2022 8:09 pm
Did you test it on XU4, right? I have downloaded armv7.img and bootloader using your links and did "dd" to sd-card. After approximately 20 secs getting blue light still and LAN light diode blinking but then it gets still, assume no more packets exchange. Odriod box was not appeared at network.
It was tested and is currently running on an XU4. The boot log above is from the original test on an XU4. FYI, I found the same situation with the system led on a running system, red and blue solid and the NIC’s amber led on solid. There was some flashing during the boot loader phase but after the kernel started it was on solid until I remotely logged in. After I logged out the amber led went back to being on solid.
I have attached the boot loader from my working system for you to try if you want. It has the wrong partition table but we can work around that. It is based on the following information and commands, same as the original posted boot loader.
Code: Select all
ODROID-XU3/XU4:
SPL (BL1/BL2) 1 - 62
U-boot executable 63 - 718
U-boot environment 1231 - 1262
1st partition 3072
Code: Select all
hominoid@neanderthal:~$ sudo sfdisk -l /dev/sdb
Disk /dev/sdb: 59.49 GiB, 63864569856 bytes, 124735488 sectors
Disk model: Card Reader
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 32768 196607 163840 80M c W95 FAT32 (LBA)
/dev/sdb2 196608 124735487 124538880 59.4G a9 NetBSD
Code: Select all
hominoid@neanderthal:~/Work/NetBSD$ sudo dd if=/dev/sdb of=NetBSD-bootloader20220803.bin bs=512 count=32767
32767+0 records in
32767+0 records out
16776704 bytes (17 MB, 16 MiB) copied, 0.822444 s, 20.4 MB/s
Use the following commands to replace the boot strap and boot loader on an sdcard that has the arm7.img that was previously written to it.
To restore the bootloader and skip restoring the partition table
dd if=NetBSD-bootloader20220803.bin of=/dev/sdb bs=512 skip=1 seek=1
To restore the bootstrap code to the first sector:
dd if=NetBSD-bootloader20220803.bin of=/dev/sdb bs=446 count=1
The above two commands executed on a sdcard that has the arm7.img already burned on to it should create a bootable image. This is basically what I did for the boot loader that I originally posted. Because of my workflow I also had recorded the arm7.img partition table and then wrote it to the bootloader file so that it was correct for the arm7.img file when the original partition table was over written. And for completeness, I used the the following commands to read and write the partition table to create the first boot loader with the correct partition table for the distributed arm7.img file.
sudo sfdisk -d /dev/sdb > ./partition-table.txt
Code: Select all
hominoid@neanderthal:~/Work/NetBSD$ cat partition_table.txt
label: dos
label-id: 0x00000000
device: /dev/sdb
unit: sectors
/dev/sdb1 : start= 32768, size= 163840, type=c, bootable
/dev/sdb2 : start= 458752, size= 124276736, type=a9
sudo sfdisk /dev/sdb < ./partition-table.txt
One thing to note is that the creds.txt only works for the first initial boot. Also, it did get an IP address automatically and I was able to log into the account created. Interestingly, as I said earlier, the amber NIC light was on solid until I remotely logged in and then I saw some occasional NIC led flashes.
Code: Select all
hominoid@neanderthal:~$ ssh hominoid@192.168.0.195
Password for hominoid@armv7:
Last login: Tue Aug 2 04:54:29 2022 from 192.168.0.103
NetBSD 9.2 (GENERIC) #0: Wed May 12 13:15:55 UTC 2021
Welcome to NetBSD!
armv7$ date
Wed Aug 3 15:01:29 UTC 2022
armv7$ uname -a
NetBSD armv7 9.2 NetBSD 9.2 (GENERIC) #0: Wed May 12 13:15:55 UTC 2021 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC evbarm
armv7$
Boot Log
Code: Select all
>> NetBSD/evbarm efiboot (arm), Revision 1.13 (Wed May 12 13:15:55 UTC 2021)
Press return to boot now, any other key for boot prompt
booting netbsd - starting in 0 seconds.
6744836+2068632+1388392 [403602+461280+481068]=0xb05038
[ 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 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.2 (GENERIC) #0: Wed May 12 13:15:55 UTC 2021
[ 1.0000000] mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC
[ 1.0000000] total memory = 2026 MB
[ 1.0000000] avail memory = 1995 MB
[ 1.0000000] running cgd selftest aes-xts-256 aes-xts-512 done
[ 1.0000000] armfdt0 (root)
[ 1.0000000] simplebus0 at armfdt0: Hardkernel Odroid XU4
[ 1.0000000] simplebus1 at simplebus0
[ 1.0000000] simplebus2 at simplebus1
[ 1.0000000] cpus0 at simplebus0
[ 1.0000000] simplebus3 at simplebus0
[ 1.0000000] cpu0 at cpus0: Cortex-A7 r0p3 (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] cpu4 at cpus0
[ 1.0000000] cpufreqdt4 at cpu4
[ 1.0000000] gic0 at simplebus1: GIC
[ 1.0000000] armgic0 at gic0: Generic Interrupt Controller, 256 sources (247 valid)
[ 1.0000000] armgic0: 16 Priorities, 224 SPIs, 7 PPIs, 16 SGIs
[ 1.0000000] syscon0 at simplebus1: System Controller Registers
[ 1.0000000] syscon1 at simplebus1: System Controller Registers
[ 1.0000000] exyointr0 at simplebus1 @ 0x10440000: interrupt combiner
[ 1.0000000] exyopctl0 at simplebus1 pinctrl @ 0x14010000
[ 1.0000000] gpio0 at exyopctl0 (gpa0): 8 pins
[ 1.0000000] gpio1 at exyopctl0 (gpa1): 6 pins
[ 1.0000000] gpio2 at exyopctl0 (gpa2): 8 pins
[ 1.0000000] gpio3 at exyopctl0 (gpb0): 5 pins
[ 1.0000000] gpio4 at exyopctl0 (gpb1): 5 pins
[ 1.0000000] gpio5 at exyopctl0 (gpb2): 4 pins
[ 1.0000000] gpio6 at exyopctl0 (gpb3): 8 pins
[ 1.0000000] gpio7 at exyopctl0 (gpb4): 2 pins
[ 1.0000000] gpio8 at exyopctl0 (gph0): 4 pins
[ 1.0000000] mct0 at simplebus1: Exynos SoC multi core timer (64 bits)
[ 1.0000060] armgtmr1 at mct0: Generic Timer (24000 kHz, virtual)
[ 1.0000060] armgtmr1: interrupting on irq 27
[ 1.0102365] exyopctl1 at simplebus1 pinctrl @ 0x13400000
[ 1.0102365] gpio9 at exyopctl1 (gpy7): 8 pins
[ 1.0102365] gpio10 at exyopctl1 (gpx0): 8 pins
[ 1.0102365] gpio11 at exyopctl1 (gpx1): 8 pins
[ 1.0102365] gpio12 at exyopctl1 (gpx2): 8 pins
[ 1.0102365] gpio13 at exyopctl1 (gpx3): 8 pins
[ 1.0102365] exyopctl2 at simplebus1 pinctrl @ 0x13410000
[ 1.0102365] gpio14 at exyopctl2 (gpc0): 8 pins
[ 1.0102365] gpio15 at exyopctl2 (gpc1): 8 pins
[ 1.0102365] gpio16 at exyopctl2 (gpc2): 7 pins
[ 1.0102365] gpio17 at exyopctl2 (gpc3): 4 pins
[ 1.0102365] gpio18 at exyopctl2 (gpc4): 2 pins
[ 1.0102365] gpio19 at exyopctl2 (gpd1): 8 pins
[ 1.0102365] gpio20 at exyopctl2 (gpy0): 6 pins
[ 1.0102365] gpio21 at exyopctl2 (gpy1): 4 pins
[ 1.0102365] gpio22 at exyopctl2 (gpy2): 6 pins
[ 1.0102365] gpio23 at exyopctl2 (gpy3): 8 pins
[ 1.0102365] gpio24 at exyopctl2 (gpy4): 8 pins
[ 1.0102365] gpio25 at exyopctl2 (gpy5): 8 pins
[ 1.0102365] gpio26 at exyopctl2 (gpy6): 8 pins
[ 1.0102365] exyopctl3 at simplebus1 pinctrl @ 0x03860000
[ 1.0102365] gpio27 at exyopctl3 (gpz): 7 pins
[ 1.0102365] exyopctl4 at simplebus1 pinctrl @ 0x14000000
[ 1.0102365] gpio28 at exyopctl4 (gpe0): 8 pins
[ 1.0102365] gpio29 at exyopctl4 (gpe1): 2 pins
[ 1.0102365] gpio30 at exyopctl4 (gpf0): 6 pins
[ 1.0102365] gpio31 at exyopctl4 (gpf1): 8 pins
[ 1.0102365] gpio32 at exyopctl4 (gpg0): 8 pins
[ 1.0102365] gpio33 at exyopctl4 (gpg1): 8 pins
[ 1.0102365] gpio34 at exyopctl4 (gpg2): 2 pins
[ 1.0102365] gpio35 at exyopctl4 (gpj4): 4 pins
[ 1.0102365] exy5422clk0 at simplebus1: Exynos5422 Clock Controller
[ 1.0102365] expwm0 at simplebus1: PWM
[ 1.0102365] exuart0 at simplebus1
[ 1.0102365] exuart0: interrupting on GIC irq 83
[ 1.0102365] exuart1 at simplebus1
[ 1.0102365] exuart1: interrupting on GIC irq 84
[ 1.0102365] exuart2 at simplebus1: console
[ 1.0102365] exuart2: interrupting on GIC irq 85
[ 1.0102365] exuart3 at simplebus1
[ 1.0102365] exuart3: interrupting on GIC irq 86
[ 1.0102365] exusbdrdphy0 at simplebus1: USB DRD PHY
[ 1.0102365] exusbdrdphy1 at simplebus1: USB DRD PHY
[ 1.0102365] exusbphy0 at simplebus1: USB2 PHY
[ 1.0102365] /soc/amba/pdma@121a0000 at simplebus2 not configured
[ 1.0102365] /soc/amba/pdma@121b0000 at simplebus2 not configured
[ 1.0102365] /soc/i2c@12ca0000 at simplebus1 not configured
[ 1.0102365] /soc/power-domain@100440c0 at simplebus1 not configured
[ 1.0102365] /soc/sysmmu@14640000 at simplebus1 not configured
[ 1.0102365] /soc/sysmmu@14680000 at simplebus1 not configured
[ 1.0102365] /soc/dp-video-phy at simplebus1 not configured
[ 1.0102365] /soc/sysmmu@10a60000 at simplebus1 not configured
[ 1.0102365] /soc/sysmmu@10a70000 at simplebus1 not configured
[ 1.0102365] /soc/power-domain@100440e0 at simplebus1 not configured
[ 1.0102365] /soc/audss-clock-controller@3810000 at simplebus1 not configured
[ 1.0102365] /soc/power-domain@10044060 at simplebus1 not configured
[ 1.0102365] /soc/sysmmu@11200000 at simplebus1 not configured
[ 1.0102365] /soc/sysmmu@11210000 at simplebus1 not configured
[ 1.0102365] mmcpwrseq0 at simplebus0: eMMC hardware reset provider
[ 1.0102365] /soc/amba/adma@3880000 at simplebus2 not configured
[ 1.0102365] /soc/i2s@3830000 at simplebus1 not configured
[ 1.0102365] /soc/mipi-video-phy at simplebus1 not configured
[ 1.0102365] exyoi2c0 at simplebus1 @ 0x12c80000
[ 1.0102365] exyoi2c0: interrupting on GIC irq 90
[ 1.0102365] iic0 at exyoi2c0: I2C bus
[ 1.0102365] /soc/hdmi@14530000 at simplebus1 not configured
[ 1.0102365] /soc/sysmmu@14650000 at simplebus1 not configured
[ 1.0102365] /soc/sysmmu@11d40000 at simplebus1 not configured
[ 1.0102365] /soc/power-domain@10044000 at simplebus1 not configured
[ 1.0102365] /soc/sysmmu@13e80000 at simplebus1 not configured
[ 1.0102365] /soc/sysmmu@13e90000 at simplebus1 not configured
[ 1.0102365] /soc/power-domain@10044120 at simplebus1 not configured
[ 1.0102365] /soc/sysmmu@12880000 at simplebus1 not configured
[ 1.0102365] /soc/sysmmu@128c0000 at simplebus1 not configured
[ 1.0102365] /soc/sysmmu@12890000 at simplebus1 not configured
[ 1.0102365] /soc/sysmmu@128d0000 at simplebus1 not configured
[ 1.0102365] /soc/sysmmu@128a0000 at simplebus1 not configured
[ 1.0102365] /soc/sysmmu@128e0000 at simplebus1 not configured
[ 1.0102365] /soc/sysmmu@11f10000 at simplebus1 not configured
[ 1.0102365] /soc/sysmmu@11f20000 at simplebus1 not configured
[ 1.0102365] /soc/opp_table2 at simplebus1 not configured
[ 1.0102365] /soc/nocp@10ca1000 at simplebus1 not configured
[ 1.0102365] /soc/nocp@10ca1400 at simplebus1 not configured
[ 1.0102365] /soc/nocp@10ca1800 at simplebus1 not configured
[ 1.0102365] /soc/nocp@10ca1c00 at simplebus1 not configured
[ 1.0102365] /soc/opp_table3 at simplebus1 not configured
[ 1.0102365] /soc/bus_wcore at simplebus1 not configured
[ 1.0102365] /soc/opp_table4 at simplebus1 not configured
[ 1.0102365] /soc/opp_table5 at simplebus1 not configured
[ 1.0102365] /soc/opp_table6 at simplebus1 not configured
[ 1.0102365] /soc/opp_table7 at simplebus1 not configured
[ 1.0102365] /soc/opp_table8 at simplebus1 not configured
[ 1.0102365] /soc/opp_table9 at simplebus1 not configured
[ 1.0102365] /soc/opp_table10 at simplebus1 not configured
[ 1.0102365] /soc/opp_table11 at simplebus1 not configured
[ 1.0102365] /soc/opp_table12 at simplebus1 not configured
[ 1.0102365] /soc/opp_table13 at simplebus1 not configured
[ 1.0102365] /soc/opp_table14 at simplebus1 not configured
[ 1.0102365] /soc/opp_table15 at simplebus1 not configured
[ 1.0102365] /soc/opp_table16 at simplebus1 not configured
[ 1.0102365] /soc/tmu@10060000 at simplebus1 not configured
[ 1.0102365] pwmfan0 at simplebus0: PWM Fan (levels 0% 50% 66% 90%)
[ 1.0102365] /soc/tmu@10064000 at simplebus1 not configured
[ 1.0102365] /soc/tmu@10068000 at simplebus1 not configured
[ 1.0102365] /soc/tmu@1006c000 at simplebus1 not configured
[ 1.0102365] /soc/tmu@100a0000 at simplebus1 not configured
[ 1.0102365] /soc/cci@10d20000 at simplebus1 not configured
[ 1.0102365] /soc/opp_table1 at simplebus1 not configured
[ 1.0102365] /soc/opp_table0 at simplebus1 not configured
[ 1.0102365] /soc/memory-controller@12250000 at simplebus1 not configured
[ 1.0102365] /soc/rtc@101e0000 at simplebus1 not configured
[ 1.0102365] /soc/sss@10830000 at simplebus1 not configured
[ 1.0102365] /soc/rng@10830400 at simplebus1 not configured
[ 1.0102365] /soc/rng@10830600 at simplebus1 not configured
[ 1.0102365] /soc/g2d@10850000 at simplebus1 not configured
[ 1.0102365] armpmu0 at simplebus1: Performance Monitor Unit
[ 1.0102365] /soc/arm-a15-pmu at simplebus1 not configured
[ 1.0102365] /soc/watchdog@101d0000 at simplebus1 not configured
[ 1.0102365] xhci0 at simplebus1: DesignWare USB3 XHCI (rev. 2.00a)
[ 1.0102365] xhci0: interrupting on GIC irq 104
[ 1.0102365] usb0 at xhci0: USB revision 3.0
[ 1.0102365] usb1 at xhci0: USB revision 2.0
[ 1.0102365] xhci1 at simplebus1: DesignWare USB3 XHCI (rev. 2.00a)
[ 1.0102365] xhci1: interrupting on GIC irq 105
[ 1.0102365] usb2 at xhci1: USB revision 3.0
[ 1.0102365] usb3 at xhci1: USB revision 2.0
[ 1.0102365] ehci0 at simplebus1: Exynos EHCI
[ 1.0102365] ehci0: interrupting on GIC irq 103
[ 1.0102365] ehci0: 1 companion controller, 3 ports
[ 1.0102365] usb4 at ehci0: USB revision 2.0
[ 1.0102365] ohci0 at simplebus1: Exynos OHCI
[ 1.0102365] ohci0: interrupting on GIC irq 103
[ 1.0102365] ohci0: OHCI version 1.0, legacy support
[ 1.0102365] usb5 at ohci0: USB revision 1.0
[ 1.0102365] /soc/codec@11000000 at simplebus1 not configured
[ 1.0102365] dwcmmc0 at simplebus1: MHS (100000000 Hz)
[ 1.0102365] dwcmmc0: interrupting on GIC irq 107
[ 1.0102365] dwcmmc1 at simplebus1: MHS (100000000 Hz)
[ 1.0102365] dwcmmc1: interrupting on GIC irq 109
[ 1.0102365] /soc/power-domain@10044020 at simplebus1 not configured
[ 1.0102365] /soc/amba/mdma@10800000 at simplebus2 not configured
[ 1.0102365] /soc/adc@12d10000 at simplebus1 not configured
[ 1.0102365] /soc/cec@101b0000 at simplebus1 not configured
[ 1.0102365] /soc/mixer@14450000 at simplebus1 not configured
[ 1.0102365] /soc/rotator@11c00000 at simplebus1 not configured
[ 1.0102365] /soc/video-scaler@13e00000 at simplebus1 not configured
[ 1.0102365] /soc/video-scaler@13e10000 at simplebus1 not configured
[ 1.0102365] /soc/scaler@12800000 at simplebus1 not configured
[ 1.0102365] /soc/scaler@12810000 at simplebus1 not configured
[ 1.0102365] /soc/scaler@12820000 at simplebus1 not configured
[ 1.0102365] /soc/jpeg@11f50000 at simplebus1 not configured
[ 1.0102365] /soc/jpeg@11f60000 at simplebus1 not configured
[ 1.0102365] /soc/system-controller@10040000/syscon-poweroff at syscon1 not configured
[ 1.0102365] /soc/system-controller@10040000/syscon-reboot at syscon1 not configured
[ 1.0102365] /soc/bus_noc at simplebus1 not configured
[ 1.0102365] /soc/bus_fsys_apb at simplebus1 not configured
[ 1.0102365] /soc/bus_fsys at simplebus1 not configured
[ 1.0102365] /soc/bus_fsys2 at simplebus1 not configured
[ 1.0102365] /soc/bus_mfc at simplebus1 not configured
[ 1.0102365] /soc/bus_gen at simplebus1 not configured
[ 1.0102365] /soc/bus_peri at simplebus1 not configured
[ 1.0102365] /soc/bus_g2d at simplebus1 not configured
[ 1.0102365] /soc/bus_g2d_acp at simplebus1 not configured
[ 1.0102365] /soc/bus_jpeg at simplebus1 not configured
[ 1.0102365] /soc/bus_jpeg_apb at simplebus1 not configured
[ 1.0102365] /soc/bus_disp1_fimd at simplebus1 not configured
[ 1.0102365] /soc/bus_disp1 at simplebus1 not configured
[ 1.0102365] /soc/bus_gscl_scaler at simplebus1 not configured
[ 1.0102365] /soc/bus_mscl at simplebus1 not configured
[ 1.0102365] /sound at simplebus0 not configured
[ 1.0102365] /firmware@2073000 at simplebus0 not configured
[ 1.0102365] gpiokeys0 at simplebus0: power key
[ 1.0102365] /pwmleds at simplebus0 not configured
[ 1.0102365] /soc/chipid@10000000 at simplebus1 not configured
[ 1.0102365] /soc/sysram@2020000 at simplebus1 not configured
[ 1.0102365] mct0: interrupting on interrupt combiner group 23 intr 3
[ 1.0102365] cpu4: Cortex-A15 r2p3 (Cortex V7A core)
[ 1.0102365] cpu4: DC enabled IC enabled WB enabled LABT branch prediction enabled
[ 1.1616922] cpu4: 32KB/32B 2-way L1 VIPT Instruction cache
[ 1.1616922] cpu4: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
[ 1.1716844] cpu4: 512KB/64B 8-way write-through L2 PIPT Unified cache
[ 1.1816851] vfp4 at cpu4: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
[ 1.1816851] cpu1: Cortex-A15 r2p3 (Cortex V7A core)
[ 1.1916853] cpu1: DC enabled IC enabled WB enabled LABT branch prediction enabled
[ 1.2016867] cpu1: 32KB/32B 2-way L1 VIPT Instruction cache
[ 1.2016867] cpu1: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
[ 1.2116865] cpu1: 512KB/64B 8-way write-through L2 PIPT Unified cache
[ 1.2116865] vfp1 at cpu1: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
[ 1.2216886] cpu2: Cortex-A15 r2p3 (Cortex V7A core)
[ 1.2316878] cpu2: DC enabled IC enabled WB enabled LABT branch prediction enabled
[ 1.2316878] cpu2: 32KB/32B 2-way L1 VIPT Instruction cache
[ 1.2416893] cpu2: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
[ 1.2516892] cpu2: 512KB/64B 8-way write-through L2 PIPT Unified cache
[ 1.2516892] vfp2 at cpu2: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
[ 1.2616906] cpu3: Cortex-A15 r2p3 (Cortex V7A core)
[ 1.2716905] cpu3: DC enabled IC enabled WB enabled LABT branch prediction enabled
[ 1.2716905] cpu3: 32KB/32B 2-way L1 VIPT Instruction cache
[ 1.2816925] cpu3: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
[ 1.2816925] cpu3: 512KB/64B 8-way write-through L2 PIPT Unified cache
[ 1.2916919] vfp3 at cpu3: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
[ 1.3016933] cpufreqdt0: couldn't acquire cpu-supply
[ 1.3016933] cpufreqdt1: couldn't acquire cpu-supply
[ 1.3154922] cpufreqdt2: couldn't acquire clock
[ 1.3216957] cpufreqdt3: couldn't acquire clock
[ 1.3216957] cpufreqdt4: couldn't acquire clock
[ 1.3216957] uhub0 at usb0: NetBSD (0000) xHCI root hub (0000), class 9/0, rev 3.00/1.00, addr 0
[ 1.3316978] uhub1 at usb1: NetBSD (0000) xHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 0
[ 1.3468612] uhub2 at usb2: NetBSD (0000) xHCI root hub (0000), class 9/0, rev 3.00/1.00, addr 0
[ 1.3516990] uhub3 at usb3: NetBSD (0000) xHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 0
[ 1.3641920] sdmmc0 at dwcmmc0
[ 1.3641920] sdmmc1 at dwcmmc1
[ 1.3717009] armpmu0: interrupting on GIC irq 192
[ 1.3717009] armpmu0: interrupting on GIC irq 193
[ 1.3717009] armpmu0: interrupting on GIC irq 194
[ 1.3841042] armpmu0: interrupting on GIC irq 195
[ 1.4217046] armpmu0: failed to distribute interrupt 1: 2
[ 1.4217046] uhub4 at usb4: NetBSD (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
[ 1.4317030] uhub5 at usb5: NetBSD (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
[ 1.4717076] dwcmmc0: host controller error, mint=0x00000006
[ 1.4717076] sdmmc0: direct I/O error 5, r=6 p=0xc352bf2c write
[ 1.4817090] dwcmmc0: host controller error, mint=0x00000006
[ 1.4817090] dwcmmc0: host controller error, mint=0x00000002
[ 1.4957554] dwcmmc0: host controller error, mint=0x00000002
[ 1.4957554] sdmmc0: sdmmc_mem_enable failed with error 5
[ 1.5017122] sdmmc0: couldn't enable card: 5
[ 1.5717157] sdmmc1: SD card status: 4-bit, C10, U3, V30, A2
[ 1.5717157] ld1 at sdmmc1: <0x03:0x5344:SN64G:0x80:0xf8dcbb4f:0x13c>
[ 1.5817161] ld1: 60906 MB, 7764 cyl, 255 head, 63 sec, 512 bytes/sect x 124735488 sectors
[ 1.5933404] ld1: 4-bit width, High-Speed/SDR25, 50.000 MHz
[ 2.9618115] uhub6 at uhub0 port 1: vendor 05e3 (0x5e3) product 0616 (0x616), class 9/0, rev 3.00/92.22, addr 1
[ 2.9728476] uhub7 at uhub1 port 1: GenesysLogic (0x5e3) USB2.0 Hub (0x610), class 9/0, rev 2.10/92.22, addr 2
[ 2.9818142] uhub7: multiple transaction translators
[ 3.3618386] WARNING: 7 errors while detecting hardware; check system log.
[ 3.3725411] boot device: ld1
[ 3.3725411] root on ld1a dumps on ld1b
[ 3.3818416] root file system type: ffs
[ 3.3818416] kern.module.path=/stand/evbarm/9.2/modules
[ 3.3943682] WARNING: no TOD clock present
[ 3.3943682] WARNING: using filesystem time
[ 3.4024506] WARNING: CHECK AND RESET THE DATE!
[ 3.6724581] ure0 at uhub3 port 1
[ 3.6824638] ure0: Realtek (0xbda) USB 10/100/1000 LAN (0x8153), rev 2.10/30.00, addr 1
[ 3.6824638] ure0: RTL8153 ver 5c20
[ 3.7524673] rgephy0 at ure0 phy 0: RTL8251 1000BASE-T media interface, rev. 0
[ 3.7624677] rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
[ 3.7724667] ure0: Ethernet address 00:1e:06:32:3b:14
Wed Aug 3 14:59:24 UTC 2022
Starting root file system check:
/dev/rld1a: file system is clean; not checking
fdisk: Cannot determine the number of heads
Not resizing /: already correct size
Starting file system checks:
/dev/rld1e: 229 files, 48492 free (12123 clusters)
Loaded entropy from /var/db/entropy-file.
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.
Starting mdnsd.
Building databases: dev, utmp, utmpx.
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.
Starting sshd.
Aug 3 14:59:32 armv7 ntpd[410]: error resolving pool 2.netbsd.pool.ntp.org: Temporary failure in name resolution (2)
Starting postfix.
Starting inetd.
Starting cron.
Wed Aug 3 14:59:35 UTC 2022
NetBSD/evbarm (armv7) (constty)
login: root
Aug 3 14:59:39 armv7 login: ROOT LOGIN (root) on tty constty
Last login: Tue Aug 2 04:53:08 2022 on 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 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.2 (GENERIC) #0: Wed May 12 13:15:55 UTC 2021
Welcome to NetBSD!
We recommend that you create a non-root account and use su(1) for root access.
armv7# date
Wed Aug 3 14:59:44 UTC 2022
armv7# uname -a
NetBSD armv7 9.2 NetBSD 9.2 (GENERIC) #0: Wed May 12 13:15:55 UTC 2021 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC evm
armv7#
I did these additional tests today.
Code: Select all
hominoid@neanderthal:~$ sudo dd if=/dev/zero of=/dev/sdb bs=512 count=32767
32767+0 records in
32767+0 records out
16776704 bytes (17 MB, 16 MiB) copied, 1.63839 s, 10.2 MB/s
Tried to boot and the xu4 would not boot.
Code: Select all
hominoid@neanderthal:~/Work/NetBSD$ dd if=armv7.img of=/dev/sdb bs=1M conv=sync
1164+0 records in
1164+0 records out
1220542464 bytes (1.2 GB, 1.1 GiB) copied, 75.1018 s, 16.3 MB/s
Tried to boot and the xu4 would not boot.
Code: Select all
hominoid@neanderthal:~/Work/NetBSD$ dd if=NetBSDv9.2-xu4bootloader.bin of=/dev/sdb
32767+0 records in
32767+0 records out
16776704 bytes (17 MB, 16 MiB) copied, 0.0463488 s, 362 MB/s
The system booted to NetBSD.
Tried the second method of extracting from NetBSD-bootloader20220803.bin just the bootstrap and boot loader and NOT the partition table.
Code: Select all
hominoid@neanderthal:~/Work/NetBSD$ sudo dd if=/dev/zero of=/dev/sdb bs=512 count=32767
[sudo] password for hominoid:
32767+0 records in
32767+0 records out
16776704 bytes (17 MB, 16 MiB) copied, 1.64669 s, 10.2 MB/s
Tried to boot and the xu4 would not boot.
Code: Select all
hominoid@neanderthal:~/Work/NetBSD$ dd if=armv7.img of=/dev/sdb bs=1M conv=sync
1164+0 records in
1164+0 records out
1220542464 bytes (1.2 GB, 1.1 GiB) copied, 0.538871 s, 2.3 GB/s
Tried to boot and the xu4 would not boot.
Code: Select all
hominoid@neanderthal:~/Work/NetBSD$ dd if=NetBSD-bootloader20220803.bin of=/dev/sdb bs=512 skip=1 seek=1
32766+0 records in
32766+0 records out
16776192 bytes (17 MB, 16 MiB) copied, 1.66525 s, 10.1 MB/s
Code: Select all
hominoid@neanderthal:~/Work/NetBSD$ dd if=NetBSD-bootloader20220803.bin of=/dev/sdb bs=446 count=1
1+0 records in
1+0 records out
446 bytes copied, 0.000169189 s, 2.6 MB/s
The system booted to NetBSD.
Based on what your saying and what I'm seeing, I have to suspect the system is booted. I saw the IP address on the system console while booting, I believe it was during the bootloader, which worked for me. One suggestion would be to go through this procedure and after waiting an appropriate time until the system can resize the root partition, pull the sdcard and stick into another system and see if the file system was expanded. It it did, then I have to conclude the system is booting and you have a network issue to resolve. You could also edit the NetBSD sdcard adding a static IP address to try in case it’s an IP assignment issue. As far as I can tell everything is working the way it is suppose to on this end with the files provided...at least for me.