NetBSD on Odroid XU4/3

Post Reply
User avatar
Feels
Posts: 8
Joined: Fri Jul 22, 2022 10:41 pm
languages_spoken: english
ODROIDs: Odroid XU4,HC1/2,RPI3
Location: Kherson,Ukraine
Has thanked: 2 times
Been thanked: 1 time
Contact:

NetBSD on Odroid XU4/3

Post by Feels »

According to this thread viewtopic.php?f=96&t=29818&p=261935&hil ... sd#p261935 someone had success running NetBSD on XU4. i tried to follow a guide which posted by @mcharytoniuk but cant't find NetBSD-9-earmv7hf-odroid-xu3.img image file because it is not exist either on

Code: Select all

https://nycdn.netbsd.org/pub/arm/

or

Code: Select all

http://www.invisible.ca/arm/netbsd-9/202202231950Z/NetBSD-9-earmv7hf-202202231950Z-odroid-xu3.img.gz
Also tried current armv7.img available on NetBSD download page, no success, no blue light blinking.
Then i tried to put u-boot files with help of scipt sd_fusing.sh from u-boot-odroidxu3-v2012.07-20170610.tar.gz and had success with blue light blinking

Code: Select all

http://ftp.jp.freebsd.org/pub/NetBSD/misc/jmcneill/odroidxu4/

Code: Select all

uboot_odroid$ ls -l
-rwxr-xr-x 1 dem dem      15360 Jun 10  2017 bl1.bin.hardkernel
-rwxr-xr-x 1 dem dem      14592 Jun 10  2017 bl2.bin.hardkernel
-rwxr-xr-x 1 dem dem       1232 Jun 10  2017 sd_fusing.sh
-rwxr-xr-x 1 dem dem     262144 Jun 10  2017 tzsw.bin.hardkernel
-rwxr-xr-x 1 dem dem     277508 Jun 10  2017 u-boot.bin.hardkernel
I thought i had success and may access NetBSD with ssh, but LAN scan shows no odroid device.
Is anyone has working NetBSD-9-earmv7hf-odroid-xu3.img now?

User avatar
mad_ady
Posts: 10731
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4 (HC1, HC2), C1+, C2, C4 (HC4), N1, N2, H2, Go, Go Advance, M1
Location: Bucharest, Romania
Has thanked: 647 times
Been thanked: 934 times
Contact:

Re: NetBSD on Odroid XU4/3

Post by mad_ady »

You may need to attach a serial console (1.8V!) to see what's wrong. Note that xu4 and xu3 have two different nics.

You could also try to attach a usb ethernet device, maybe it works.

User avatar
Feels
Posts: 8
Joined: Fri Jul 22, 2022 10:41 pm
languages_spoken: english
ODROIDs: Odroid XU4,HC1/2,RPI3
Location: Kherson,Ukraine
Has thanked: 2 times
Been thanked: 1 time
Contact:

Re: NetBSD on Odroid XU4/3

Post by Feels »

Unfortunately i dont have UART module. Tried USB LAN, doesn't show connection light.

User avatar
rooted
Posts: 9548
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 761 times
Been thanked: 496 times
Contact:

Re: NetBSD on Odroid XU4/3

Post by rooted »

According to this page:

https://nycdn.netbsd.org/pub/NetBSD-dai ... STALL.html
32-bit SoCs supported by GENERIC kernels (ARMv7-A)
QEMU is also supported.

Allwinner A10, A13, A20, A32, A80, A83T, H3 (e.g. Cubieboard, OLinuXino, LeMaker Banana Pi...)
Amlogic S805 (e.g. ODROID-C1)
Broadcom BCM2836 (e.g. Raspberry Pi 2)
Samsung Exynos 5422 (e.g. ODROID-XU3/XU-4)
Texas Instruments AM335x and OMAP3 (e.g. BeagleBoard, BeagleBone Black...)
Xilinx Zynq (e.g. Zedboard, Parallella...)
NVIDIA Tegra K1
Which one of these downloads are you attempting to use?

https://wiki.netbsd.org/ports/evbarm/

User avatar
Feels
Posts: 8
Joined: Fri Jul 22, 2022 10:41 pm
languages_spoken: english
ODROIDs: Odroid XU4,HC1/2,RPI3
Location: Kherson,Ukraine
Has thanked: 2 times
Been thanked: 1 time
Contact:

Re: NetBSD on Odroid XU4/3

Post by Feels »

@rooted
I have used
https://cdn.netbsd.org/pub/NetBSD/NetBS ... mv7.img.gz

after your post tried
https://cdn.netbsd.org/pub/NetBSD/NetBS ... rmv7hf.iso

Same result - no blue light blinking.

User avatar
rooted
Posts: 9548
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 761 times
Been thanked: 496 times
Contact:

Re: NetBSD on Odroid XU4/3

Post by rooted »

The heartbeat LED is not guaranteed to work on BSD I can't imagine, without UART it's difficult to know what's happening if anything.

User avatar
Feels
Posts: 8
Joined: Fri Jul 22, 2022 10:41 pm
languages_spoken: english
ODROIDs: Odroid XU4,HC1/2,RPI3
Location: Kherson,Ukraine
Has thanked: 2 times
Been thanked: 1 time
Contact:

Re: NetBSD on Odroid XU4/3

Post by Feels »

Yes i know it is not guarantee. After some searches i found that u-boot files should be signed as well https://wiki.odroid.com/old_product/odr ... ing_u-boot
Sign in topic request viewtopic.php?f=98&t=6147
So it might be the u-boot files i used from http://ftp.jp.freebsd.org/pub/NetBSD/mi ... odroidxu4/ not signed by hardkernel therefore not working

User avatar
rooted
Posts: 9548
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 761 times
Been thanked: 496 times
Contact:

Re: NetBSD on Odroid XU4/3

Post by rooted »

That's a good find.

hominoid
Posts: 682
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, C4, XU4, MC1, N1, N2, N2+, HC4
Location: Lake Superior Basin, USA
Has thanked: 83 times
Been thanked: 295 times
Contact:

Re: NetBSD on Odroid XU4/3

Post by hominoid »

I have had the C2 and the XU4 running several years ago but if memory serves me correctly, at the time there was an issue with the XU4 that needed to be resolved for it to be usable. I never went back to try again.

The current list of supported 32bit boards shows the device tree file exynos5422-odoridxu4.dts so it should work as @rooted pointed out.

The current XU4 U-Boot for NetBSD 9.2 is in pkgsrc under sysutils. I would imagine the binary is available using pkg_add so there should be a compiled version out there as well but I did a quick search and didn’t see it.

The kernel blue led blink is supported in NetBSD so your attempt when you saw the blue led might have been working but ssh wasn’t configured. According to the release notes ssh server is enabled but needs some user configuration. See the heading Additional Info – ssh configuration

In case you didn’t see them, here are the instructions for building an image.

Also, the maintainers git which might provide additional information.
https://github.com/jaredmcneill/u-boot-odroid

Hope this helps.
These users thanked the author hominoid for the post:
Feels (Mon Aug 01, 2022 10:33 pm)

hominoid
Posts: 682
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, C4, XU4, MC1, N1, N2, N2+, HC4
Location: Lake Superior Basin, USA
Has thanked: 83 times
Been thanked: 295 times
Contact:

Re: NetBSD on Odroid XU4/3

Post by hominoid »

Here is the current official NetBSD XU4 u-boot binary.
http://netbsd.ftp.fu-berlin.de/pub/NetB ... .11nb3.tgz

User avatar
Feels
Posts: 8
Joined: Fri Jul 22, 2022 10:41 pm
languages_spoken: english
ODROIDs: Odroid XU4,HC1/2,RPI3
Location: Kherson,Ukraine
Has thanked: 2 times
Been thanked: 1 time
Contact:

Re: NetBSD on Odroid XU4/3

Post by Feels »

@hominoid, i have created creds.txt on ms-dos partition, does not working. Anyway i don't see odroid box appeared within network, so ssh is not a core issue.
Also i tried u-boot 5.5 MiB you have suggested instead u-boot.bin.hardkernel 269.8 Kib from that package http://ftp.jp.freebsd.org/pub/NetBSD/mi ... odroidxu4/
no changes and blue light also exists.

hominoid
Posts: 682
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, C4, XU4, MC1, N1, N2, N2+, HC4
Location: Lake Superior Basin, USA
Has thanked: 83 times
Been thanked: 295 times
Contact:

Re: NetBSD on Odroid XU4/3

Post by hominoid »

Feels wrote:
Mon Aug 01, 2022 11:24 pm
@hominoid, i have created creds.txt on ms-dos partition, does not working. Anyway i don't see odroid box appeared within network, so ssh is not a core issue.
Also i tried u-boot 5.5 MiB you have suggested instead u-boot.bin.hardkernel 269.8 Kib from that package http://ftp.jp.freebsd.org/pub/NetBSD/mi ... odroidxu4/
no changes and blue light also exists.
I did a quick try this weekend and did not have any success either. Not sure what is going on but if I get a chance I'll try again in the near future and let you know if I have any luck.

hominoid
Posts: 682
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, C4, XU4, MC1, N1, N2, N2+, HC4
Location: Lake Superior Basin, USA
Has thanked: 83 times
Been thanked: 295 times
Contact:

Re: NetBSD on Odroid XU4/3

Post by hominoid »

FYI, I remember in the past the XU4 would boot but It failed the filesystem resize and fsck. At the time I was on the netbsd mailing list and asked about it and one of the devs thought it might be a driver bug. So it would start to boot in the past but never made it to a login.

hominoid
Posts: 682
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, C4, XU4, MC1, N1, N2, N2+, HC4
Location: Lake Superior Basin, USA
Has thanked: 83 times
Been thanked: 295 times
Contact:

Re: NetBSD on Odroid XU4/3

Post by hominoid »

Feels wrote:
Mon Aug 01, 2022 11:24 pm
@hominoid, i have created creds.txt on ms-dos partition, does not working. Anyway i don't see odroid box appeared within network, so ssh is not a core issue.
Also i tried u-boot 5.5 MiB you have suggested instead u-boot.bin.hardkernel 269.8 Kib from that package http://ftp.jp.freebsd.org/pub/NetBSD/mi ... odroidxu4/
no changes and blue light also exists.
For NetBSD 9.2 on the XU4. Use the image below and the attached fixed boot loader which contains u-boot-odroid-xu3-2018.11nb3.
https://cdn.netbsd.org/pub/NetBSD/NetBS ... mv7.img.gz
NetBSDv9.2-xu4bootloader.bin.zip
(330.43 KiB) Downloaded 4 times
    After decompressing the files use these commands to create a boot able image on an sdcard. I have not tried an emmc yet.

    Code: Select all

    dd if=armv7.img of=/dev/sdx bs=1M conv=sync
    dd if=NetBSDv9.2-xu4bootloader.bin of=/dev/sdx
    
    On first boot it took about 3 or 4 minutes to resize the 64GB Sdcard I was using before continuing to boot to a prompt on the console.
    Using the creds.txt file in the FAT partition worked for setting up a user for ssh access.

    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.0102375] exyopctl1 at simplebus1 pinctrl @ 0x13400000 
    [   1.0102375] gpio9 at exyopctl1 (gpy7): 8 pins
    [   1.0102375] gpio10 at exyopctl1 (gpx0): 8 pins
    [   1.0102375] gpio11 at exyopctl1 (gpx1): 8 pins
    [   1.0102375] gpio12 at exyopctl1 (gpx2): 8 pins
    [   1.0102375] gpio13 at exyopctl1 (gpx3): 8 pins
    [   1.0102375] exyopctl2 at simplebus1 pinctrl @ 0x13410000 
    [   1.0102375] gpio14 at exyopctl2 (gpc0): 8 pins
    [   1.0102375] gpio15 at exyopctl2 (gpc1): 8 pins
    [   1.0102375] gpio16 at exyopctl2 (gpc2): 7 pins
    [   1.0102375] gpio17 at exyopctl2 (gpc3): 4 pins
    [   1.0102375] gpio18 at exyopctl2 (gpc4): 2 pins
    [   1.0102375] gpio19 at exyopctl2 (gpd1): 8 pins
    [   1.0102375] gpio20 at exyopctl2 (gpy0): 6 pins
    [   1.0102375] gpio21 at exyopctl2 (gpy1): 4 pins
    [   1.0102375] gpio22 at exyopctl2 (gpy2): 6 pins
    [   1.0102375] gpio23 at exyopctl2 (gpy3): 8 pins
    [   1.0102375] gpio24 at exyopctl2 (gpy4): 8 pins
    [   1.0102375] gpio25 at exyopctl2 (gpy5): 8 pins
    [   1.0102375] gpio26 at exyopctl2 (gpy6): 8 pins
    [   1.0102375] exyopctl3 at simplebus1 pinctrl @ 0x03860000 
    [   1.0102375] gpio27 at exyopctl3 (gpz): 7 pins
    [   1.0102375] exyopctl4 at simplebus1 pinctrl @ 0x14000000 
    [   1.0102375] gpio28 at exyopctl4 (gpe0): 8 pins
    [   1.0102375] gpio29 at exyopctl4 (gpe1): 2 pins
    [   1.0102375] gpio30 at exyopctl4 (gpf0): 6 pins
    [   1.0102375] gpio31 at exyopctl4 (gpf1): 8 pins
    [   1.0102375] gpio32 at exyopctl4 (gpg0): 8 pins
    [   1.0102375] gpio33 at exyopctl4 (gpg1): 8 pins
    [   1.0102375] gpio34 at exyopctl4 (gpg2): 2 pins
    [   1.0102375] gpio35 at exyopctl4 (gpj4): 4 pins
    [   1.0102375] exy5422clk0 at simplebus1: Exynos5422 Clock Controller
    [   1.0102375] expwm0 at simplebus1: PWM
    [   1.0102375] exuart0 at simplebus1
    [   1.0102375] exuart0: interrupting on GIC irq 83
    [   1.0102375] exuart1 at simplebus1
    [   1.0102375] exuart1: interrupting on GIC irq 84
    [   1.0102375] exuart2 at simplebus1: console
    [   1.0102375] exuart2: interrupting on GIC irq 85
    [   1.0102375] exuart3 at simplebus1
    [   1.0102375] exuart3: interrupting on GIC irq 86
    [   1.0102375] exusbdrdphy0 at simplebus1: USB DRD PHY
    [   1.0102375] exusbdrdphy1 at simplebus1: USB DRD PHY
    [   1.0102375] exusbphy0 at simplebus1: USB2 PHY
    [   1.0102375] /soc/amba/pdma@121a0000 at simplebus2 not configured
    [   1.0102375] /soc/amba/pdma@121b0000 at simplebus2 not configured
    [   1.0102375] /soc/i2c@12ca0000 at simplebus1 not configured
    [   1.0102375] /soc/power-domain@100440c0 at simplebus1 not configured
    [   1.0102375] /soc/sysmmu@14640000 at simplebus1 not configured
    [   1.0102375] /soc/sysmmu@14680000 at simplebus1 not configured
    [   1.0102375] /soc/dp-video-phy at simplebus1 not configured
    [   1.0102375] /soc/sysmmu@10a60000 at simplebus1 not configured
    [   1.0102375] /soc/sysmmu@10a70000 at simplebus1 not configured
    [   1.0102375] /soc/power-domain@100440e0 at simplebus1 not configured
    [   1.0102375] /soc/audss-clock-controller@3810000 at simplebus1 not configured
    [   1.0102375] /soc/power-domain@10044060 at simplebus1 not configured
    [   1.0102375] /soc/sysmmu@11200000 at simplebus1 not configured
    [   1.0102375] /soc/sysmmu@11210000 at simplebus1 not configured
    [   1.0102375] mmcpwrseq0 at simplebus0: eMMC hardware reset provider
    [   1.0102375] /soc/amba/adma@3880000 at simplebus2 not configured
    [   1.0102375] /soc/i2s@3830000 at simplebus1 not configured
    [   1.0102375] /soc/mipi-video-phy at simplebus1 not configured
    [   1.0102375] exyoi2c0 at simplebus1 @ 0x12c80000
    [   1.0102375] exyoi2c0: interrupting on GIC irq 90
    [   1.0102375] iic0 at exyoi2c0: I2C bus
    [   1.0102375] /soc/hdmi@14530000 at simplebus1 not configured
    [   1.0102375] /soc/sysmmu@14650000 at simplebus1 not configured
    [   1.0102375] /soc/sysmmu@11d40000 at simplebus1 not configured
    [   1.0102375] /soc/power-domain@10044000 at simplebus1 not configured
    [   1.0102375] /soc/sysmmu@13e80000 at simplebus1 not configured
    [   1.0102375] /soc/sysmmu@13e90000 at simplebus1 not configured
    [   1.0102375] /soc/power-domain@10044120 at simplebus1 not configured
    [   1.0102375] /soc/sysmmu@12880000 at simplebus1 not configured
    [   1.0102375] /soc/sysmmu@128c0000 at simplebus1 not configured
    [   1.0102375] /soc/sysmmu@12890000 at simplebus1 not configured
    [   1.0102375] /soc/sysmmu@128d0000 at simplebus1 not configured
    [   1.0102375] /soc/sysmmu@128a0000 at simplebus1 not configured
    [   1.0102375] /soc/sysmmu@128e0000 at simplebus1 not configured
    [   1.0102375] /soc/sysmmu@11f10000 at simplebus1 not configured
    [   1.0102375] /soc/sysmmu@11f20000 at simplebus1 not configured
    [   1.0102375] /soc/opp_table2 at simplebus1 not configured
    [   1.0102375] /soc/nocp@10ca1000 at simplebus1 not configured
    [   1.0102375] /soc/nocp@10ca1400 at simplebus1 not configured
    [   1.0102375] /soc/nocp@10ca1800 at simplebus1 not configured
    [   1.0102375] /soc/nocp@10ca1c00 at simplebus1 not configured
    [   1.0102375] /soc/opp_table3 at simplebus1 not configured
    [   1.0102375] /soc/bus_wcore at simplebus1 not configured
    [   1.0102375] /soc/opp_table4 at simplebus1 not configured
    [   1.0102375] /soc/opp_table5 at simplebus1 not configured
    [   1.0102375] /soc/opp_table6 at simplebus1 not configured
    [   1.0102375] /soc/opp_table7 at simplebus1 not configured
    [   1.0102375] /soc/opp_table8 at simplebus1 not configured
    [   1.0102375] /soc/opp_table9 at simplebus1 not configured
    [   1.0102375] /soc/opp_table10 at simplebus1 not configured
    [   1.0102375] /soc/opp_table11 at simplebus1 not configured
    [   1.0102375] /soc/opp_table12 at simplebus1 not configured
    [   1.0102375] /soc/opp_table13 at simplebus1 not configured
    [   1.0102375] /soc/opp_table14 at simplebus1 not configured
    [   1.0102375] /soc/opp_table15 at simplebus1 not configured
    [   1.0102375] /soc/opp_table16 at simplebus1 not configured
    [   1.0102375] /soc/tmu@10060000 at simplebus1 not configured
    [   1.0102375] pwmfan0 at simplebus0: PWM Fan (levels 0% 50% 66% 90%)
    [   1.0102375] /soc/tmu@10064000 at simplebus1 not configured
    [   1.0102375] /soc/tmu@10068000 at simplebus1 not configured
    [   1.0102375] /soc/tmu@1006c000 at simplebus1 not configured
    [   1.0102375] /soc/tmu@100a0000 at simplebus1 not configured
    [   1.0102375] /soc/cci@10d20000 at simplebus1 not configured
    [   1.0102375] /soc/opp_table1 at simplebus1 not configured
    [   1.0102375] /soc/opp_table0 at simplebus1 not configured
    [   1.0102375] /soc/memory-controller@12250000 at simplebus1 not configured
    [   1.0102375] /soc/rtc@101e0000 at simplebus1 not configured
    [   1.0102375] /soc/sss@10830000 at simplebus1 not configured
    [   1.0102375] /soc/rng@10830400 at simplebus1 not configured
    [   1.0102375] /soc/rng@10830600 at simplebus1 not configured
    [   1.0102375] /soc/g2d@10850000 at simplebus1 not configured
    [   1.0102375] armpmu0 at simplebus1: Performance Monitor Unit
    [   1.0102375] /soc/arm-a15-pmu at simplebus1 not configured
    [   1.0102375] /soc/watchdog@101d0000 at simplebus1 not configured
    [   1.0102375] xhci0 at simplebus1: DesignWare USB3 XHCI (rev. 2.00a)
    [   1.0102375] xhci0: interrupting on GIC irq 104
    [   1.0102375] usb0 at xhci0: USB revision 3.0
    [   1.0102375] usb1 at xhci0: USB revision 2.0
    [   1.0102375] xhci1 at simplebus1: DesignWare USB3 XHCI (rev. 2.00a)
    [   1.0102375] xhci1: interrupting on GIC irq 105
    [   1.0102375] usb2 at xhci1: USB revision 3.0
    [   1.0102375] usb3 at xhci1: USB revision 2.0
    [   1.0102375] ehci0 at simplebus1: Exynos EHCI
    [   1.0102375] ehci0: interrupting on GIC irq 103
    [   1.0102375] ehci0: 1 companion controller, 3 ports
    [   1.0102375] usb4 at ehci0: USB revision 2.0
    [   1.0102375] ohci0 at simplebus1: Exynos OHCI
    [   1.0102375] ohci0: interrupting on GIC irq 103
    [   1.0102375] ohci0: OHCI version 1.0, legacy support
    [   1.0102375] usb5 at ohci0: USB revision 1.0
    [   1.0102375] /soc/codec@11000000 at simplebus1 not configured
    [   1.0102375] dwcmmc0 at simplebus1: MHS (100000000 Hz)
    [   1.0102375] dwcmmc0: interrupting on GIC irq 107
    [   1.0102375] dwcmmc1 at simplebus1: MHS (100000000 Hz)
    [   1.0102375] dwcmmc1: interrupting on GIC irq 109
    [   1.0102375] /soc/power-domain@10044020 at simplebus1 not configured
    [   1.0102375] /soc/amba/mdma@10800000 at simplebus2 not configured
    [   1.0102375] /soc/adc@12d10000 at simplebus1 not configured
    [   1.0102375] /soc/cec@101b0000 at simplebus1 not configured
    [   1.0102375] /soc/mixer@14450000 at simplebus1 not configured
    [   1.0102375] /soc/rotator@11c00000 at simplebus1 not configured
    [   1.0102375] /soc/video-scaler@13e00000 at simplebus1 not configured
    [   1.0102375] /soc/video-scaler@13e10000 at simplebus1 not configured
    [   1.0102375] /soc/scaler@12800000 at simplebus1 not configured
    [   1.0102375] /soc/scaler@12810000 at simplebus1 not configured
    [   1.0102375] /soc/scaler@12820000 at simplebus1 not configured
    [   1.0102375] /soc/jpeg@11f50000 at simplebus1 not configured
    [   1.0102375] /soc/jpeg@11f60000 at simplebus1 not configured
    [   1.0102375] /soc/system-controller@10040000/syscon-poweroff at syscon1 not configured
    [   1.0102375] /soc/system-controller@10040000/syscon-reboot at syscon1 not configured
    [   1.0102375] /soc/bus_noc at simplebus1 not configured
    [   1.0102375] /soc/bus_fsys_apb at simplebus1 not configured
    [   1.0102375] /soc/bus_fsys at simplebus1 not configured
    [   1.0102375] /soc/bus_fsys2 at simplebus1 not configured
    [   1.0102375] /soc/bus_mfc at simplebus1 not configured
    [   1.0102375] /soc/bus_gen at simplebus1 not configured
    [   1.0102375] /soc/bus_peri at simplebus1 not configured
    [   1.0102375] /soc/bus_g2d at simplebus1 not configured
    [   1.0102375] /soc/bus_g2d_acp at simplebus1 not configured
    [   1.0102375] /soc/bus_jpeg at simplebus1 not configured
    [   1.0102375] /soc/bus_jpeg_apb at simplebus1 not configured
    [   1.0102375] /soc/bus_disp1_fimd at simplebus1 not configured
    [   1.0102375] /soc/bus_disp1 at simplebus1 not configured
    [   1.0102375] /soc/bus_gscl_scaler at simplebus1 not configured
    [   1.0102375] /soc/bus_mscl at simplebus1 not configured
    [   1.0102375] /sound at simplebus0 not configured
    [   1.0102375] /firmware@2073000 at simplebus0 not configured
    [   1.0102375] gpiokeys0 at simplebus0: power key
    [   1.0102375] /pwmleds at simplebus0 not configured
    [   1.0102375] /soc/chipid@10000000 at simplebus1 not configured
    [   1.0102375] /soc/sysram@2020000 at simplebus1 not configured
    [   1.0102375] mct0: interrupting on interrupt combiner group 23 intr 3
    [   1.0102375] cpu1: Cortex-A15 r2p3 (Cortex V7A core)
    [   1.0102375] cpu1: DC enabled IC enabled WB enabled LABT branch prediction enabled
    [   1.1616584] cpu1: 32KB/32B 2-way L1 VIPT Instruction cache
    [   1.1616584] cpu1: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
    [   1.1716511] cpu1: 512KB/64B 8-way write-through L2 PIPT Unified cache
    [   1.1816516] vfp1 at cpu1: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
    [   1.1816516] cpu3: Cortex-A15 r2p3 (Cortex V7A core)
    [   1.1916521] cpu3: DC enabled IC enabled WB enabled LABT branch prediction enabled
    [   1.2016531] cpu3: 32KB/32B 2-way L1 VIPT Instruction cache
    [   1.2016531] cpu3: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
    [   1.2116532] cpu3: 512KB/64B 8-way write-through L2 PIPT Unified cache
    [   1.2116532] vfp3 at cpu3: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
    [   1.2216555] cpu2: Cortex-A15 r2p3 (Cortex V7A core)
    [   1.2316544] cpu2: DC enabled IC enabled WB enabled LABT branch prediction enabled
    [   1.2316544] cpu2: 32KB/32B 2-way L1 VIPT Instruction cache
    [   1.2416560] cpu2: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
    [   1.2516559] cpu2: 512KB/64B 8-way write-through L2 PIPT Unified cache
    [   1.2516559] vfp2 at cpu2: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
    [   1.2616574] cpu4: Cortex-A15 r2p3 (Cortex V7A core)
    [   1.2716573] cpu4: DC enabled IC enabled WB enabled LABT branch prediction enabled
    [   1.2716573] cpu4: 32KB/32B 2-way L1 VIPT Instruction cache
    [   1.2816592] cpu4: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
    [   1.2816592] cpu4: 512KB/64B 8-way write-through L2 PIPT Unified cache
    [   1.2916590] vfp4 at cpu4: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
    [   1.3016603] cpufreqdt0: couldn't acquire cpu-supply
    [   1.3016603] cpufreqdt1: couldn't acquire cpu-supply
    [   1.3154583] cpufreqdt2: couldn't acquire clock
    [   1.3216622] cpufreqdt3: couldn't acquire clock
    [   1.3216622] cpufreqdt4: couldn't acquire clock
    [   1.3216622] uhub0 at usb0: NetBSD (0000) xHCI root hub (0000), class 9/0, rev 3.00/1.00, addr 0
    [   1.3316642] uhub1 at usb1: NetBSD (0000) xHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 0
    [   1.3468366] uhub2 at usb2: NetBSD (0000) xHCI root hub (0000), class 9/0, rev 3.00/1.00, addr 0
    [   1.3516657] uhub3 at usb3: NetBSD (0000) xHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 0
    [   1.3641675] sdmmc0 at dwcmmc0
    [   1.3641675] sdmmc1 at dwcmmc1
    [   1.3716677] armpmu0: interrupting on GIC irq 192
    [   1.3716677] armpmu0: interrupting on GIC irq 193
    [   1.3716677] armpmu0: interrupting on GIC irq 194
    [   1.3840706] armpmu0: interrupting on GIC irq 195
    [   1.4216712] armpmu0: failed to distribute interrupt 1: 2
    [   1.4216712] uhub4 at usb4: NetBSD (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
    [   1.4316695] uhub5 at usb5: NetBSD (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
    [   1.4716745] dwcmmc0: host controller error, mint=0x00000006
    [   1.4716745] sdmmc0: direct I/O error 5, r=6 p=0xc352bf2c write
    [   1.4816755] dwcmmc0: host controller error, mint=0x00000006
    [   1.4816755] dwcmmc0: host controller error, mint=0x00000002
    [   1.4951246] dwcmmc0: host controller error, mint=0x00000002
    [   1.4951246] sdmmc0: sdmmc_mem_enable failed with error 5
    [   1.5016766] sdmmc0: couldn't enable card: 5
    [   1.5616813] sdmmc1: SD card status: 4-bit, C10, U3, V30, A2
    [   1.5616813] ld1 at sdmmc1: <0x03:0x5344:SN64G:0x80:0xf8dcbb4f:0x13c>
    [   1.5716880] ld1: 60906 MB, 7764 cyl, 255 head, 63 sec, 512 bytes/sect x 124735488 sectors
    [   1.5836537] ld1: 4-bit width, High-Speed/SDR25, 50.000 MHz
    [   2.9517788] uhub6 at uhub0 port 1: vendor 05e3 (0x5e3) product 0616 (0x616), class 9/0, rev 3.00/92.22, addr 1
    [   2.9717810] uhub7 at uhub1 port 1: GenesysLogic (0x5e3) USB2.0 Hub (0x610), class 9/0, rev 2.10/92.22, addr 2
    [   2.9817908] uhub7: multiple transaction translators
    [   3.0017904] ure0 at uhub3 port 1
    [   3.0017904] ure0: Realtek (0xbda) USB 10/100/1000 LAN (0x8153), rev 2.10/30.00, addr 1
    [   3.0117918] ure0: RTL8153 ver 5c20
    [   3.0717954] rgephy0 at ure0 phy 0: RTL8251 1000BASE-T media interface, rev. 0
    [   3.0817957] rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
    [   3.0917975] ure0: Ethernet address 00:1e:06:32:3b:14
    [   3.3618148] WARNING: 7 errors while detecting hardware; check system log.
    [   3.3725253] boot device: ld1
    [   3.3725253] root on ld1a dumps on ld1b
    [   3.3818179] root file system type: ffs
    [   3.3818179] kern.module.path=/stand/evbarm/9.2/modules
    [   3.3940573] WARNING: no TOD clock present
    [   3.3940573] WARNING: using filesystem time
    [   3.4021386] WARNING: CHECK AND RESET THE DATE!
    Tue Aug  2 04:25:07 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)
    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.
    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  2 04:25:14 armv7 ntpd[395]: error resolving pool 2.netbsd.pool.ntp.org: Temporary failure in name resolution (2)
    Starting postfix.
    Starting inetd.
    Starting cron.
    Tue Aug  2 04:25:18 UTC 2022
    
    NetBSD/evbarm (armv7) (constty)
    
    login: root
    Aug  2 04:25:58 armv7 login: ROOT LOGIN (root) on tty constty
    Last login: Tue Aug  2 04:25:00 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# 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# 
    
    FYI, At first boot the blue light is not on immediately but does come on solid after a short while when working correctly, it does not flash.

    User avatar
    Feels
    Posts: 8
    Joined: Fri Jul 22, 2022 10:41 pm
    languages_spoken: english
    ODROIDs: Odroid XU4,HC1/2,RPI3
    Location: Kherson,Ukraine
    Has thanked: 2 times
    Been thanked: 1 time
    Contact:

    Re: NetBSD on Odroid XU4/3

    Post by Feels »

    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.

    hominoid
    Posts: 682
    Joined: Tue Feb 28, 2017 3:55 am
    languages_spoken: english
    ODROIDs: C2, C4, XU4, MC1, N1, N2, N2+, HC4
    Location: Lake Superior Basin, USA
    Has thanked: 83 times
    Been thanked: 295 times
    Contact:

    Re: NetBSD on Odroid XU4/3

    Post by hominoid »

    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.
    NetBSD-bootloader20220803.bin.zip
    (330.43 KiB) Downloaded 4 times

    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.
    These users thanked the author hominoid for the post:
    odroid (Thu Aug 04, 2022 2:11 pm)

    hominoid
    Posts: 682
    Joined: Tue Feb 28, 2017 3:55 am
    languages_spoken: english
    ODROIDs: C2, C4, XU4, MC1, N1, N2, N2+, HC4
    Location: Lake Superior Basin, USA
    Has thanked: 83 times
    Been thanked: 295 times
    Contact:

    Re: NetBSD on Odroid XU4/3

    Post by hominoid »

    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.
    One other thought worth mentioning regarding the expansion of the file system. I noticed this entry in the NetBSD kernel log regarding the sdcard initialization. It did recognize the A2 card I’m running but is not running at the full capability of the interface, SDR104.

    Code: Select all

    [   1.4951246] sdmmc0: sdmmc_mem_enable failed with error 5
    [   1.5016766] sdmmc0: couldn't enable card: 5
    [   1.5616813] sdmmc1: SD card status: 4-bit, C10, U3, V30, A2
    [   1.5616813] ld1 at sdmmc1: <0x03:0x5344:SN64G:0x80:0xf8dcbb4f:0x13c>
    [   1.5716880] ld1: 60906 MB, 7764 cyl, 255 head, 63 sec, 512 bytes/sect x 124735488 sectors
    [   1.5836537] ld1: 4-bit width, High-Speed/SDR25, 50.000 MHz
    
    In running a cluster of XU4’s and MC1’s(32 nodes) over the years, I re-imaged sdcards instead of using an upgrade utility when change OS versions. Before moving all of them to SanDisk sdcards, many of the other brands I had tried were slow and unreliable. A large number(25% or more) would slow significantly(4MB/sec or less) in certain areas during writing and would take an unusually amount of time to finish for the capacity sdcard.

    If the sdcard your using is of low quality or has cells that are causing slowing writes, the NetBSD file system expansion could be taking a lot longer than the 3-4 minutes I mentioned above, especially considering that a slower sdcard interface is being used. I would not be surprised based on my experience, if it took 5-20 minutes or more to complete based on the interface speed and the condition and size of the sdcard. After the file system is resized the kernel reboots, so if the file system isn’t being resized, I would also suggest trying a longer wait time(30 minutes) during the initial boot sequence and then check again if it was indeed resized.

    User avatar
    Feels
    Posts: 8
    Joined: Fri Jul 22, 2022 10:41 pm
    languages_spoken: english
    ODROIDs: Odroid XU4,HC1/2,RPI3
    Location: Kherson,Ukraine
    Has thanked: 2 times
    Been thanked: 1 time
    Contact:

    Re: NetBSD on Odroid XU4/3

    Post by Feels »

    Tried to put NetBSD-bootloader20220803.bin to 16 Gb sd-card and 16 GB EMMC. So far had no success in discovering odroid box. Please correct me if i did something wrong.

    1. dd arm7.iso to sd-card

    Code: Select all

    $ sudo dd if=armv7.img of=/dev/sdb
    [sudo] password for dem: 
    2383872+0 records in
    2383872+0 records out
    1220542464 bytes (1.2 GB, 1.1 GiB) copied, 487.788 s, 2.5 MB/s
    $ sudo sync
    
    
    2. Checking image

    Code: Select all

    $ sudo sfdisk -l /dev/sdb
    [sudo] password for dem: 
    Disk /dev/sdb: 14.83 GiB, 15918432256 bytes, 31090688 sectors
    Disk model: STORAGE DEVICE  
    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 2383871 2187264   1G a9 NetBSD
    
    
    3. Downloaded new bootloader and flashed it to sd-card

    Code: Select all

    $ sudo 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, 0.0661522 s, 254 MB/s
    $ sudo sync
    $ sudo dd if=NetBSD-bootloader20220803.bin of=/dev/sdb bs=446 count=1
    1+0 records in
    1+0 records out
    446 bytes copied, 0.000522957 s, 853 kB/s
    $ sudo sync
    
    
    4. Powered on odroid and waited for 20 mins, then checked if image got expanded

    Code: Select all

    $ sudo sfdisk -l /dev/sdb
    [sudo] password for dem: 
    Disk /dev/sdb: 14.83 GiB, 15918432256 bytes, 31090688 sectors
    Disk model: STORAGE DEVICE  
    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 31090687 30894080 14.7G a9 NetBSD
    
    
    The only difference i found between sd-card and EMMC that on second one i got frequent LAN light blinking confirming packets exchange anyway the box not appeared at network.

    hominoid
    Posts: 682
    Joined: Tue Feb 28, 2017 3:55 am
    languages_spoken: english
    ODROIDs: C2, C4, XU4, MC1, N1, N2, N2+, HC4
    Location: Lake Superior Basin, USA
    Has thanked: 83 times
    Been thanked: 295 times
    Contact:

    Re: NetBSD on Odroid XU4/3

    Post by hominoid »

    Since the file system is expanded your system is booting and is most likely at a login prompt on the console, it reboots right after the file system expansion. I verified that dhcp is enabled by default in /etc/rc.local and I get an IP address from my dhcp server which I can also see at my router, both ipv4 and ipv6 addresses. The question is why your not getting an IP address. This is the problem that has to be solved imo. You do have a dhcp server on the network and verified it’s working?

    To change to a static IP add the following lines in the file/etc/rc.conf and comment out dhcpcd=YES. The defaultroute is your gateway if you have one.

    Code: Select all

    #dhcpcd=YES
    ifconfig_ure0="inet 192.168.0.196/24 netmask 255.255.255.0 media 100baseTX"
    defaultroute="192.168.0.1"
    dns_nameservers="8.8.8.8"
    FYI, I didn’t have any success trying to mount the UFS /root filesystem in linux. Regarding using an emmc, the one time I tried it didn't boot so I would stick with the sdcard for now.

    https://wiki.netbsd.org/tutorials/how_t ... der_linux/
    https://www.netbsd.org/docs/network/

    hominoid
    Posts: 682
    Joined: Tue Feb 28, 2017 3:55 am
    languages_spoken: english
    ODROIDs: C2, C4, XU4, MC1, N1, N2, N2+, HC4
    Location: Lake Superior Basin, USA
    Has thanked: 83 times
    Been thanked: 295 times
    Contact:

    Re: NetBSD on Odroid XU4/3

    Post by hominoid »

    NetBSD 9.3 was released yesterday and I can confirm that the above boot loaders work with the 9.3 release.

    Code: Select all

    >> 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
    [   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 = 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.0102371] exyopctl1 at simplebus1 pinctrl @ 0x13400000 
    [   1.0102371] gpio9 at exyopctl1 (gpy7): 8 pins
    [   1.0102371] gpio10 at exyopctl1 (gpx0): 8 pins
    [   1.0102371] gpio11 at exyopctl1 (gpx1): 8 pins
    [   1.0102371] gpio12 at exyopctl1 (gpx2): 8 pins
    [   1.0102371] gpio13 at exyopctl1 (gpx3): 8 pins
    [   1.0102371] exyopctl2 at simplebus1 pinctrl @ 0x13410000 
    [   1.0102371] gpio14 at exyopctl2 (gpc0): 8 pins
    [   1.0102371] gpio15 at exyopctl2 (gpc1): 8 pins
    [   1.0102371] gpio16 at exyopctl2 (gpc2): 7 pins
    [   1.0102371] gpio17 at exyopctl2 (gpc3): 4 pins
    [   1.0102371] gpio18 at exyopctl2 (gpc4): 2 pins
    [   1.0102371] gpio19 at exyopctl2 (gpd1): 8 pins
    [   1.0102371] gpio20 at exyopctl2 (gpy0): 6 pins
    [   1.0102371] gpio21 at exyopctl2 (gpy1): 4 pins
    [   1.0102371] gpio22 at exyopctl2 (gpy2): 6 pins
    [   1.0102371] gpio23 at exyopctl2 (gpy3): 8 pins
    [   1.0102371] gpio24 at exyopctl2 (gpy4): 8 pins
    [   1.0102371] gpio25 at exyopctl2 (gpy5): 8 pins
    [   1.0102371] gpio26 at exyopctl2 (gpy6): 8 pins
    [   1.0102371] exyopctl3 at simplebus1 pinctrl @ 0x03860000 
    [   1.0102371] gpio27 at exyopctl3 (gpz): 7 pins
    [   1.0102371] exyopctl4 at simplebus1 pinctrl @ 0x14000000 
    [   1.0102371] gpio28 at exyopctl4 (gpe0): 8 pins
    [   1.0102371] gpio29 at exyopctl4 (gpe1): 2 pins
    [   1.0102371] gpio30 at exyopctl4 (gpf0): 6 pins
    [   1.0102371] gpio31 at exyopctl4 (gpf1): 8 pins
    [   1.0102371] gpio32 at exyopctl4 (gpg0): 8 pins
    [   1.0102371] gpio33 at exyopctl4 (gpg1): 8 pins
    [   1.0102371] gpio34 at exyopctl4 (gpg2): 2 pins
    [   1.0102371] gpio35 at exyopctl4 (gpj4): 4 pins
    [   1.0102371] exy5422clk0 at simplebus1: Exynos5422 Clock Controller
    [   1.0102371] expwm0 at simplebus1: PWM
    [   1.0102371] exuart0 at simplebus1
    [   1.0102371] exuart0: interrupting on GIC irq 83
    [   1.0102371] exuart1 at simplebus1
    [   1.0102371] exuart1: interrupting on GIC irq 84
    [   1.0102371] exuart2 at simplebus1: console
    [   1.0102371] exuart2: interrupting on GIC irq 85
    [   1.0102371] exuart3 at simplebus1
    [   1.0102371] exuart3: interrupting on GIC irq 86
    [   1.0102371] exusbdrdphy0 at simplebus1: USB DRD PHY
    [   1.0102371] exusbdrdphy1 at simplebus1: USB DRD PHY
    [   1.0102371] exusbphy0 at simplebus1: USB2 PHY
    [   1.0102371] /soc/amba/pdma@121a0000 at simplebus2 not configured
    [   1.0102371] /soc/amba/pdma@121b0000 at simplebus2 not configured
    [   1.0102371] /soc/i2c@12ca0000 at simplebus1 not configured
    [   1.0102371] /soc/power-domain@100440c0 at simplebus1 not configured
    [   1.0102371] /soc/sysmmu@14640000 at simplebus1 not configured
    [   1.0102371] /soc/sysmmu@14680000 at simplebus1 not configured
    [   1.0102371] /soc/dp-video-phy at simplebus1 not configured
    [   1.0102371] /soc/sysmmu@10a60000 at simplebus1 not configured
    [   1.0102371] /soc/sysmmu@10a70000 at simplebus1 not configured
    [   1.0102371] /soc/power-domain@100440e0 at simplebus1 not configured
    [   1.0102371] /soc/audss-clock-controller@3810000 at simplebus1 not configured
    [   1.0102371] /soc/power-domain@10044060 at simplebus1 not configured
    [   1.0102371] /soc/sysmmu@11200000 at simplebus1 not configured
    [   1.0102371] /soc/sysmmu@11210000 at simplebus1 not configured
    [   1.0102371] mmcpwrseq0 at simplebus0: eMMC hardware reset provider
    [   1.0102371] /soc/amba/adma@3880000 at simplebus2 not configured
    [   1.0102371] /soc/i2s@3830000 at simplebus1 not configured
    [   1.0102371] /soc/mipi-video-phy at simplebus1 not configured
    [   1.0102371] exyoi2c0 at simplebus1 @ 0x12c80000
    [   1.0102371] exyoi2c0: interrupting on GIC irq 90
    [   1.0102371] iic0 at exyoi2c0: I2C bus
    [   1.0102371] /soc/hdmi@14530000 at simplebus1 not configured
    [   1.0102371] /soc/sysmmu@14650000 at simplebus1 not configured
    [   1.0102371] /soc/sysmmu@11d40000 at simplebus1 not configured
    [   1.0102371] /soc/power-domain@10044000 at simplebus1 not configured
    [   1.0102371] /soc/sysmmu@13e80000 at simplebus1 not configured
    [   1.0102371] /soc/sysmmu@13e90000 at simplebus1 not configured
    [   1.0102371] /soc/power-domain@10044120 at simplebus1 not configured
    [   1.0102371] /soc/sysmmu@12880000 at simplebus1 not configured
    [   1.0102371] /soc/sysmmu@128c0000 at simplebus1 not configured
    [   1.0102371] /soc/sysmmu@12890000 at simplebus1 not configured
    [   1.0102371] /soc/sysmmu@128d0000 at simplebus1 not configured
    [   1.0102371] /soc/sysmmu@128a0000 at simplebus1 not configured
    [   1.0102371] /soc/sysmmu@128e0000 at simplebus1 not configured
    [   1.0102371] /soc/sysmmu@11f10000 at simplebus1 not configured
    [   1.0102371] /soc/sysmmu@11f20000 at simplebus1 not configured
    [   1.0102371] /soc/opp_table2 at simplebus1 not configured
    [   1.0102371] /soc/nocp@10ca1000 at simplebus1 not configured
    [   1.0102371] /soc/nocp@10ca1400 at simplebus1 not configured
    [   1.0102371] /soc/nocp@10ca1800 at simplebus1 not configured
    [   1.0102371] /soc/nocp@10ca1c00 at simplebus1 not configured
    [   1.0102371] /soc/opp_table3 at simplebus1 not configured
    [   1.0102371] /soc/bus_wcore at simplebus1 not configured
    [   1.0102371] /soc/opp_table4 at simplebus1 not configured
    [   1.0102371] /soc/opp_table5 at simplebus1 not configured
    [   1.0102371] /soc/opp_table6 at simplebus1 not configured
    [   1.0102371] /soc/opp_table7 at simplebus1 not configured
    [   1.0102371] /soc/opp_table8 at simplebus1 not configured
    [   1.0102371] /soc/opp_table9 at simplebus1 not configured
    [   1.0102371] /soc/opp_table10 at simplebus1 not configured
    [   1.0102371] /soc/opp_table11 at simplebus1 not configured
    [   1.0102371] /soc/opp_table12 at simplebus1 not configured
    [   1.0102371] /soc/opp_table13 at simplebus1 not configured
    [   1.0102371] /soc/opp_table14 at simplebus1 not configured
    [   1.0102371] /soc/opp_table15 at simplebus1 not configured
    [   1.0102371] /soc/opp_table16 at simplebus1 not configured
    [   1.0102371] /soc/tmu@10060000 at simplebus1 not configured
    [   1.0102371] pwmfan0 at simplebus0: PWM Fan (levels 0% 50% 66% 90%)
    [   1.0102371] /soc/tmu@10064000 at simplebus1 not configured
    [   1.0102371] /soc/tmu@10068000 at simplebus1 not configured
    [   1.0102371] /soc/tmu@1006c000 at simplebus1 not configured
    [   1.0102371] /soc/tmu@100a0000 at simplebus1 not configured
    [   1.0102371] /soc/cci@10d20000 at simplebus1 not configured
    [   1.0102371] /soc/opp_table1 at simplebus1 not configured
    [   1.0102371] /soc/opp_table0 at simplebus1 not configured
    [   1.0102371] /soc/memory-controller@12250000 at simplebus1 not configured
    [   1.0102371] /soc/rtc@101e0000 at simplebus1 not configured
    [   1.0102371] /soc/sss@10830000 at simplebus1 not configured
    [   1.0102371] /soc/rng@10830400 at simplebus1 not configured
    [   1.0102371] /soc/rng@10830600 at simplebus1 not configured
    [   1.0102371] /soc/g2d@10850000 at simplebus1 not configured
    [   1.0102371] armpmu0 at simplebus1: Performance Monitor Unit
    [   1.0102371] /soc/arm-a15-pmu at simplebus1 not configured
    [   1.0102371] /soc/watchdog@101d0000 at simplebus1 not configured
    [   1.0102371] xhci0 at simplebus1: DesignWare USB3 XHCI (rev. 2.00a)
    [   1.0102371] xhci0: interrupting on GIC irq 104
    [   1.0102371] usb0 at xhci0: USB revision 3.0
    [   1.0102371] usb1 at xhci0: USB revision 2.0
    [   1.0102371] xhci1 at simplebus1: DesignWare USB3 XHCI (rev. 2.00a)
    [   1.0102371] xhci1: interrupting on GIC irq 105
    [   1.0102371] usb2 at xhci1: USB revision 3.0
    [   1.0102371] usb3 at xhci1: USB revision 2.0
    [   1.0102371] ehci0 at simplebus1: Exynos EHCI
    [   1.0102371] ehci0: interrupting on GIC irq 103
    [   1.0102371] ehci0: 1 companion controller, 3 ports
    [   1.0102371] usb4 at ehci0: USB revision 2.0
    [   1.0102371] ohci0 at simplebus1: Exynos OHCI
    [   1.0102371] ohci0: interrupting on GIC irq 103
    [   1.0102371] ohci0: OHCI version 1.0, legacy support
    [   1.0102371] usb5 at ohci0: USB revision 1.0
    [   1.0102371] /soc/codec@11000000 at simplebus1 not configured
    [   1.0102371] dwcmmc0 at simplebus1: MHS (100000000 Hz)
    [   1.0102371] dwcmmc0: interrupting on GIC irq 107
    [   1.0102371] dwcmmc1 at simplebus1: MHS (100000000 Hz)
    [   1.0102371] dwcmmc1: interrupting on GIC irq 109
    [   1.0102371] /soc/power-domain@10044020 at simplebus1 not configured
    [   1.0102371] /soc/amba/mdma@10800000 at simplebus2 not configured
    [   1.0102371] /soc/adc@12d10000 at simplebus1 not configured
    [   1.0102371] /soc/cec@101b0000 at simplebus1 not configured
    [   1.0102371] /soc/mixer@14450000 at simplebus1 not configured
    [   1.0102371] /soc/rotator@11c00000 at simplebus1 not configured
    [   1.0102371] /soc/video-scaler@13e00000 at simplebus1 not configured
    [   1.0102371] /soc/video-scaler@13e10000 at simplebus1 not configured
    [   1.0102371] /soc/scaler@12800000 at simplebus1 not configured
    [   1.0102371] /soc/scaler@12810000 at simplebus1 not configured
    [   1.0102371] /soc/scaler@12820000 at simplebus1 not configured
    [   1.0102371] /soc/jpeg@11f50000 at simplebus1 not configured
    [   1.0102371] /soc/jpeg@11f60000 at simplebus1 not configured
    [   1.0102371] /soc/system-controller@10040000/syscon-poweroff at syscon1 not configured
    [   1.0102371] /soc/system-controller@10040000/syscon-reboot at syscon1 not configured
    [   1.0102371] /soc/bus_noc at simplebus1 not configured
    [   1.0102371] /soc/bus_fsys_apb at simplebus1 not configured
    [   1.0102371] /soc/bus_fsys at simplebus1 not configured
    [   1.0102371] /soc/bus_fsys2 at simplebus1 not configured
    [   1.0102371] /soc/bus_mfc at simplebus1 not configured
    [   1.0102371] /soc/bus_gen at simplebus1 not configured
    [   1.0102371] /soc/bus_peri at simplebus1 not configured
    [   1.0102371] /soc/bus_g2d at simplebus1 not configured
    [   1.0102371] /soc/bus_g2d_acp at simplebus1 not configured
    [   1.0102371] /soc/bus_jpeg at simplebus1 not configured
    [   1.0102371] /soc/bus_jpeg_apb at simplebus1 not configured
    [   1.0102371] /soc/bus_disp1_fimd at simplebus1 not configured
    [   1.0102371] /soc/bus_disp1 at simplebus1 not configured
    [   1.0102371] /soc/bus_gscl_scaler at simplebus1 not configured
    [   1.0102371] /soc/bus_mscl at simplebus1 not configured
    [   1.0102371] /sound at simplebus0 not configured
    [   1.0102371] /firmware@2073000 at simplebus0 not configured
    [   1.0102371] gpiokeys0 at simplebus0: power key
    [   1.0102371] /pwmleds at simplebus0 not configured
    [   1.0102371] /soc/chipid@10000000 at simplebus1 not configured
    [   1.0102371] /soc/sysram@2020000 at simplebus1 not configured
    [   1.0102371] mct0: interrupting on interrupt combiner group 23 intr 3
    [   1.0102371] cpu4: Cortex-A15 r2p3 (Cortex V7A core)
    [   1.0102371] cpu4: DC enabled IC enabled WB enabled LABT branch prediction enabled
    [   1.1612338] cpu4: 32KB/32B 2-way L1 VIPT Instruction cache
    [   1.1612338] cpu4: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
    [   1.1712255] cpu4: 512KB/64B 8-way write-through L2 PIPT Unified cache
    [   1.1812267] vfp4 at cpu4: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
    [   1.1812267] cpu2: Cortex-A15 r2p3 (Cortex V7A core)
    [   1.1912271] cpu2: DC enabled IC enabled WB enabled LABT branch prediction enabled
    [   1.2012285] cpu2: 32KB/32B 2-way L1 VIPT Instruction cache
    [   1.2012285] cpu2: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
    [   1.2112282] cpu2: 512KB/64B 8-way write-through L2 PIPT Unified cache
    [   1.2112282] vfp2 at cpu2: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
    [   1.2212302] cpu1: Cortex-A15 r2p3 (Cortex V7A core)
    [   1.2312292] cpu1: DC enabled IC enabled WB enabled LABT branch prediction enabled
    [   1.2312292] cpu1: 32KB/32B 2-way L1 VIPT Instruction cache
    [   1.2412307] cpu1: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
    [   1.2512309] cpu1: 512KB/64B 8-way write-through L2 PIPT Unified cache
    [   1.2512309] vfp1 at cpu1: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
    [   1.2612324] cpu3: Cortex-A15 r2p3 (Cortex V7A core)
    [   1.2712321] cpu3: DC enabled IC enabled WB enabled LABT branch prediction enabled
    [   1.2712321] cpu3: 32KB/32B 2-way L1 VIPT Instruction cache
    [   1.2812342] cpu3: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
    [   1.2812342] cpu3: 512KB/64B 8-way write-through L2 PIPT Unified cache
    [   1.2912338] vfp3 at cpu3: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
    [   1.3012352] cpufreqdt0: couldn't acquire cpu-supply
    [   1.3012352] cpufreqdt1: couldn't acquire cpu-supply
    [   1.3150352] cpufreqdt2: couldn't acquire clock
    [   1.3212372] cpufreqdt3: couldn't acquire clock
    [   1.3212372] cpufreqdt4: couldn't acquire clock
    [   1.3212372] uhub0 at usb0: NetBSD (0000) xHCI root hub (0000), class 9/0, rev 3.00/1.00, addr 0
    [   1.3312392] uhub1 at usb1: NetBSD (0000) xHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 0
    [   1.3464026] uhub2 at usb2: NetBSD (0000) xHCI root hub (0000), class 9/0, rev 3.00/1.00, addr 0
    [   1.3512409] uhub3 at usb3: NetBSD (0000) xHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 0
    [   1.3637334] sdmmc0 at dwcmmc0
    [   1.3637334] sdmmc1 at dwcmmc1
    [   1.3712429] armpmu0: interrupting on GIC irq 192
    [   1.3712429] armpmu0: interrupting on GIC irq 193
    [   1.3712429] armpmu0: interrupting on GIC irq 194
    [   1.3836450] armpmu0: interrupting on GIC irq 195
    [   1.4212466] armpmu0: failed to distribute interrupt 1: 2
    [   1.4212466] uhub4 at usb4: NetBSD (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
    [   1.4312451] uhub5 at usb5: NetBSD (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
    [   1.4712495] dwcmmc0: host controller error, mint=0x00000006
    [   1.4712495] sdmmc0: direct I/O error 5, r=6 p=0xc352bf2c write
    [   1.4812512] dwcmmc0: host controller error, mint=0x00000006
    [   1.4812512] dwcmmc0: host controller error, mint=0x00000002
    [   1.4952193] dwcmmc0: host controller error, mint=0x00000002
    [   1.4952193] sdmmc0: sdmmc_mem_enable failed with error 5
    [   1.5012539] sdmmc0: couldn't enable card: 5
    [   1.5712582] sdmmc1: SD card status: 4-bit, C10, U3, V30, A2
    [   1.5712582] ld1 at sdmmc1: <0x03:0x5344:SN64G:0x80:0xf8dcbb4f:0x13c>
    [   1.5849623] ld1: 60906 MB, 7764 cyl, 255 head, 63 sec, 512 bytes/sect x 124735488 sectors
    [   1.5931060] ld1: 4-bit width, High-Speed/SDR25, 50.000 MHz
    [   2.9531990] uhub6 at uhub0 port 1: vendor 05e3 (0x5e3) product 0616 (0x616), class 9/0, rev 3.00/92.22, addr 1
    [   2.9832032] uhub7 at uhub1 port 1: GenesysLogic (0x5e3) USB2.0 Hub (0x610), class 9/0, rev 2.10/92.22, addr 2
    [   2.9950055] uhub7: multiple transaction translators
    [   2.9950055] ure0 at uhub3 port 1
    [   2.9950055] ure0: Realtek (0xbda) USB 10/100/1000 LAN (0x8153), rev 2.10/30.00, addr 1
    [   3.0032062] ure0: RTL8153 ver 5c20
    [   3.0632082] rgephy0 at ure0 phy 0: RTL8251 1000BASE-T media interface, rev. 0
    [   3.0732095] rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
    [   3.0832097] ure0: Ethernet address 00:1e:06:32:3b:14
    [   3.3532287] WARNING: 7 errors while detecting hardware; check system log.
    [   3.3638328] boot device: ld1
    [   3.3638328] root on ld1a dumps on ld1b
    [   3.3732328] root file system type: ffs
    [   3.3732328] kern.module.path=/stand/evbarm/9.3/modules
    [   3.3852975] WARNING: no TOD clock present
    [   3.3852975] WARNING: using filesystem time
    [   3.3933730] WARNING: CHECK AND RESET THE DATE!
    Thu Aug  4 19:07:06 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, 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.
    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  4 19:07:13 armv7 ntpd[395]: error resolving pool 2.netbsd.pool.ntp.org: Temporary failure in name resolution (2)
    Starting postfix.
    Starting inetd.
    Starting cron.
    Thu Aug  4 19:07:17 UTC 2022
    
    NetBSD/evbarm (armv7) (constty)
    
    login: root
    Aug  4 19:07:23 armv7 login: ROOT LOGIN (root) on tty constty
    Last login: Thu Aug  4 19:04:51 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, 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# 
    

    Post Reply

    Return to “Other OS”

    Who is online

    Users browsing this forum: No registered users and 3 guests