NetBSD on Odroid XU4/3

Post Reply
User avatar
Feels
Posts: 10
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: 10956
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: 996 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: 10
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: 9723
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 767 times
Been thanked: 526 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: 10
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: 9723
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 767 times
Been thanked: 526 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: 10
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: 9723
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 767 times
Been thanked: 526 times
Contact:

Re: NetBSD on Odroid XU4/3

Post by rooted »

That's a good find.

hominoid
Posts: 722
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, C4, XU4, MC1, N1, N2, N2+, HC4, M1, H2, H3+
Location: Lake Superior Basin, USA
Has thanked: 100 times
Been thanked: 327 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: 722
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, C4, XU4, MC1, N1, N2, N2+, HC4, M1, H2, H3+
Location: Lake Superior Basin, USA
Has thanked: 100 times
Been thanked: 327 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: 10
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: 722
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, C4, XU4, MC1, N1, N2, N2+, HC4, M1, H2, H3+
Location: Lake Superior Basin, USA
Has thanked: 100 times
Been thanked: 327 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: 722
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, C4, XU4, MC1, N1, N2, N2+, HC4, M1, H2, H3+
Location: Lake Superior Basin, USA
Has thanked: 100 times
Been thanked: 327 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: 722
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, C4, XU4, MC1, N1, N2, N2+, HC4, M1, H2, H3+
Location: Lake Superior Basin, USA
Has thanked: 100 times
Been thanked: 327 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 20 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: 10
    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: 722
    Joined: Tue Feb 28, 2017 3:55 am
    languages_spoken: english
    ODROIDs: C2, C4, XU4, MC1, N1, N2, N2+, HC4, M1, H2, H3+
    Location: Lake Superior Basin, USA
    Has thanked: 100 times
    Been thanked: 327 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 16 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: 722
    Joined: Tue Feb 28, 2017 3:55 am
    languages_spoken: english
    ODROIDs: C2, C4, XU4, MC1, N1, N2, N2+, HC4, M1, H2, H3+
    Location: Lake Superior Basin, USA
    Has thanked: 100 times
    Been thanked: 327 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: 10
    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: 722
    Joined: Tue Feb 28, 2017 3:55 am
    languages_spoken: english
    ODROIDs: C2, C4, XU4, MC1, N1, N2, N2+, HC4, M1, H2, H3+
    Location: Lake Superior Basin, USA
    Has thanked: 100 times
    Been thanked: 327 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: 722
    Joined: Tue Feb 28, 2017 3:55 am
    languages_spoken: english
    ODROIDs: C2, C4, XU4, MC1, N1, N2, N2+, HC4, M1, H2, H3+
    Location: Lake Superior Basin, USA
    Has thanked: 100 times
    Been thanked: 327 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# 
    
    These users thanked the author hominoid for the post:
    odroid (Mon Aug 08, 2022 8:58 am)

    User avatar
    Feels
    Posts: 10
    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 »

    All right I was able to boot and use NetBSD 9.3 on odroid HC1, but not on XU4. Instead of burning u-boot manually found recently that NetBSD-9-earmv7hf-202208121500Z-odroid-xu3.img was added on https://nycdn.netbsd.org/pub/arm/ (while writing this message again missed. Uploaded to gdrive https://drive.google.com/file/d/1moib94 ... sp=sharing in case wish to try it ).
    Tried it on XU4 and no ssh access, just to test tried it on HC1 and it worked I had SSH access.

    Code: Select all

    
    armv7# date
    Tue Aug 16 13:49:16 UTC 2022
    armv7# dmesg
    [     1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    [     1.000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
    [     1.000000]     2018, 2019, 2020, 2021, 2022
    [     1.000000]     The NetBSD Foundation, Inc.  All rights reserved.
    [     1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
    [     1.000000]     The Regents of the University of California.  All rights reserved.
    
    [     1.000000] NetBSD 9.3_STABLE (GENERIC) #0: Mon Aug  8 17:19:03 UTC 2022
    [     1.000000]         mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC
    [     1.000000] total memory = 2026 MB
    [     1.000000] avail memory = 1995 MB
    [     1.000000] timecounter: Timecounters tick every 10.000 msec
    [     1.000000] running cgd selftest aes-xts-256 aes-xts-512 done
    [     1.000000] armfdt0 (root)
    [     1.000000] simplebus0 at armfdt0: Hardkernel Odroid HC1
    [     1.000000] simplebus1 at simplebus0
    [     1.000000] simplebus2 at simplebus1
    [     1.000000] cpus0 at simplebus0
    [     1.000000] simplebus3 at simplebus0
    [     1.000000] cpu0 at cpus0: Cortex-A7 r0p3 (Cortex V7A core)
    [     1.000000] cpu0: DC enabled IC enabled WB enabled LABT branch prediction enabled
    [     1.000000] cpu0: 32KB/32B 2-way L1 VIPT Instruction cache
    [     1.000000] cpu0: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
    [     1.000000] cpu0: 512KB/64B 8-way write-through L2 PIPT Unified cache
    [     1.000000] vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
    [     1.000000] cpufreqdt0 at cpu0
    [     1.000000] cpu1 at cpus0
    [     1.000000] cpufreqdt1 at cpu1
    [     1.000000] cpu2 at cpus0
    [     1.000000] cpufreqdt2 at cpu2
    [     1.000000] cpu3 at cpus0
    [     1.000000] cpufreqdt3 at cpu3
    [     1.000000] cpu4 at cpus0
    [     1.000000] cpufreqdt4 at cpu4
    [     1.000000] gic0 at simplebus1: GIC
    [     1.000000] armgic0 at gic0: Generic Interrupt Controller, 256 sources (247 valid)
    [     1.000000] armgic0: 16 Priorities, 224 SPIs, 7 PPIs, 16 SGIs
    [     1.000000] syscon0 at simplebus1: System Controller Registers
    [     1.000000] syscon1 at simplebus1: System Controller Registers
    [     1.000000] exyointr0 at simplebus1 @ 0x10440000: interrupt combiner
    [     1.000000] exyopctl0 at simplebus1 pinctrl @ 0x14010000 
    [     1.000000] gpio0 at exyopctl0 (gpa0): 8 pins
    [     1.000000] gpio1 at exyopctl0 (gpa1): 6 pins
    [     1.000000] gpio2 at exyopctl0 (gpa2): 8 pins
    [     1.000000] gpio3 at exyopctl0 (gpb0): 5 pins
    [     1.000000] gpio4 at exyopctl0 (gpb1): 5 pins
    [     1.000000] gpio5 at exyopctl0 (gpb2): 4 pins
    [     1.000000] gpio6 at exyopctl0 (gpb3): 8 pins
    [     1.000000] gpio7 at exyopctl0 (gpb4): 2 pins
    [     1.000000] gpio8 at exyopctl0 (gph0): 4 pins
    [     1.000000] mct0 at simplebus1: Exynos SoC multi core timer (64 bits)
    [     1.000000] timecounter: Timecounter "MCT" frequency 24000000 Hz quality 400
    [     1.000006] armgtmr1 at mct0: Generic Timer (24000 kHz, virtual)
    [     1.000006] armgtmr1: interrupting on irq 27
    [     1.000006] armgtmr1: cp15 CNT_FRQ not set
    [     1.000006] timecounter: Timecounter "armgtmr1" frequency 24000000 Hz quality 500
    [     1.010237] exyopctl1 at simplebus1 pinctrl @ 0x13400000 
    [     1.010237] gpio9 at exyopctl1 (gpy7): 8 pins
    [     1.010237] gpio10 at exyopctl1 (gpx0): 8 pins
    [     1.010237] gpio11 at exyopctl1 (gpx1): 8 pins
    [     1.010237] gpio12 at exyopctl1 (gpx2): 8 pins
    [     1.010237] gpio13 at exyopctl1 (gpx3): 8 pins
    [     1.010237] exyopctl2 at simplebus1 pinctrl @ 0x13410000 
    [     1.010237] gpio14 at exyopctl2 (gpc0): 8 pins
    [     1.010237] gpio15 at exyopctl2 (gpc1): 8 pins
    [     1.010237] gpio16 at exyopctl2 (gpc2): 7 pins
    [     1.010237] gpio17 at exyopctl2 (gpc3): 4 pins
    [     1.010237] gpio18 at exyopctl2 (gpc4): 2 pins
    [     1.010237] gpio19 at exyopctl2 (gpd1): 8 pins
    [     1.010237] gpio20 at exyopctl2 (gpy0): 6 pins
    [     1.010237] gpio21 at exyopctl2 (gpy1): 4 pins
    [     1.010237] gpio22 at exyopctl2 (gpy2): 6 pins
    [     1.010237] gpio23 at exyopctl2 (gpy3): 8 pins
    [     1.010237] gpio24 at exyopctl2 (gpy4): 8 pins
    [     1.010237] gpio25 at exyopctl2 (gpy5): 8 pins
    [     1.010237] gpio26 at exyopctl2 (gpy6): 8 pins
    [     1.010237] exyopctl3 at simplebus1 pinctrl @ 0x03860000 
    [     1.010237] gpio27 at exyopctl3 (gpz): 7 pins
    [     1.010237] exyopctl4 at simplebus1 pinctrl @ 0x14000000 
    [     1.010237] gpio28 at exyopctl4 (gpe0): 8 pins
    [     1.010237] gpio29 at exyopctl4 (gpe1): 2 pins
    [     1.010237] gpio30 at exyopctl4 (gpf0): 6 pins
    [     1.010237] gpio31 at exyopctl4 (gpf1): 8 pins
    [     1.010237] gpio32 at exyopctl4 (gpg0): 8 pins
    [     1.010237] gpio33 at exyopctl4 (gpg1): 8 pins
    [     1.010237] gpio34 at exyopctl4 (gpg2): 2 pins
    [     1.010237] gpio35 at exyopctl4 (gpj4): 4 pins
    [     1.010237] exy5422clk0 at simplebus1: Exynos5422 Clock Controller
    [     1.010237] expwm0 at simplebus1: PWM
    [     1.010237] exuart0 at simplebus1
    [     1.010237] exuart0: interrupting on GIC irq 83
    [     1.010237] exuart1 at simplebus1
    [     1.010237] exuart1: interrupting on GIC irq 84
    [     1.010237] exuart2 at simplebus1: console
    [     1.010237] exuart2: interrupting on GIC irq 85
    [     1.010237] exuart3 at simplebus1
    [     1.010237] exuart3: interrupting on GIC irq 86
    [     1.010237] exusbdrdphy0 at simplebus1: USB DRD PHY
    [     1.010237] exusbdrdphy1 at simplebus1: USB DRD PHY
    [     1.010237] exusbphy0 at simplebus1: USB2 PHY
    [     1.010237] /soc/amba/pdma@121a0000 at simplebus2 not configured
    [     1.010237] /soc/amba/pdma@121b0000 at simplebus2 not configured
    [     1.010237] /soc/i2c@12ca0000 at simplebus1 not configured
    [     1.010237] /soc/power-domain@100440c0 at simplebus1 not configured
    [     1.010237] /soc/sysmmu@14640000 at simplebus1 not configured
    [     1.010237] /soc/sysmmu@14680000 at simplebus1 not configured
    [     1.010237] /soc/dp-video-phy at simplebus1 not configured
    [     1.010237] /soc/sysmmu@10a60000 at simplebus1 not configured
    [     1.010237] /soc/sysmmu@10a70000 at simplebus1 not configured
    [     1.010237] /soc/power-domain@100440e0 at simplebus1 not configured
    [     1.010237] /soc/power-domain@10044060 at simplebus1 not configured
    [     1.010237] /soc/sysmmu@11200000 at simplebus1 not configured
    [     1.010237] /soc/sysmmu@11210000 at simplebus1 not configured
    [     1.010237] /soc/audss-clock-controller@3810000 at simplebus1 not configured
    [     1.010237] /soc/amba/adma@3880000 at simplebus2 not configured
    [     1.010237] /soc/mipi-video-phy at simplebus1 not configured
    [     1.010237] /soc/sysmmu@14650000 at simplebus1 not configured
    [     1.010237] /soc/sysmmu@11d40000 at simplebus1 not configured
    [     1.010237] /soc/power-domain@10044000 at simplebus1 not configured
    [     1.010237] /soc/sysmmu@13e80000 at simplebus1 not configured
    [     1.010237] /soc/sysmmu@13e90000 at simplebus1 not configured
    [     1.010237] /soc/power-domain@10044120 at simplebus1 not configured
    [     1.010237] /soc/sysmmu@12880000 at simplebus1 not configured
    [     1.010237] /soc/sysmmu@128c0000 at simplebus1 not configured
    [     1.010237] /soc/sysmmu@12890000 at simplebus1 not configured
    [     1.010237] /soc/sysmmu@128d0000 at simplebus1 not configured
    [     1.010237] /soc/sysmmu@128a0000 at simplebus1 not configured
    [     1.010237] /soc/sysmmu@128e0000 at simplebus1 not configured
    [     1.010237] /soc/sysmmu@11f10000 at simplebus1 not configured
    [     1.010237] /soc/sysmmu@11f20000 at simplebus1 not configured
    [     1.010237] /soc/opp_table2 at simplebus1 not configured
    [     1.010237] /soc/nocp@10ca1000 at simplebus1 not configured
    [     1.010237] /soc/nocp@10ca1400 at simplebus1 not configured
    [     1.010237] /soc/nocp@10ca1800 at simplebus1 not configured
    [     1.010237] /soc/nocp@10ca1c00 at simplebus1 not configured
    [     1.010237] /soc/opp_table3 at simplebus1 not configured
    [     1.010237] /soc/bus_wcore at simplebus1 not configured
    [     1.010237] /soc/opp_table4 at simplebus1 not configured
    [     1.010237] /soc/opp_table5 at simplebus1 not configured
    [     1.010237] /soc/opp_table6 at simplebus1 not configured
    [     1.010237] /soc/opp_table7 at simplebus1 not configured
    [     1.010237] /soc/opp_table8 at simplebus1 not configured
    [     1.010237] /soc/opp_table9 at simplebus1 not configured
    [     1.010237] /soc/opp_table10 at simplebus1 not configured
    [     1.010237] /soc/opp_table11 at simplebus1 not configured
    [     1.010237] /soc/opp_table12 at simplebus1 not configured
    [     1.010237] /soc/opp_table13 at simplebus1 not configured
    [     1.010237] /soc/opp_table14 at simplebus1 not configured
    [     1.010237] /soc/opp_table15 at simplebus1 not configured
    [     1.010237] /soc/opp_table16 at simplebus1 not configured
    [     1.010237] /soc/tmu@10060000 at simplebus1 not configured
    [     1.010237] /soc/tmu@10064000 at simplebus1 not configured
    [     1.010237] /soc/tmu@10068000 at simplebus1 not configured
    [     1.010237] /soc/tmu@1006c000 at simplebus1 not configured
    [     1.010237] /soc/tmu@100a0000 at simplebus1 not configured
    [     1.010237] /soc/cci@10d20000 at simplebus1 not configured
    [     1.010237] /soc/opp_table1 at simplebus1 not configured
    [     1.010237] /soc/opp_table0 at simplebus1 not configured
    [     1.010237] /soc/memory-controller@12250000 at simplebus1 not configured
    [     1.010237] /soc/rtc@101e0000 at simplebus1 not configured
    [     1.010237] /soc/sss@10830000 at simplebus1 not configured
    [     1.010237] /soc/rng@10830400 at simplebus1 not configured
    [     1.010237] /soc/rng@10830600 at simplebus1 not configured
    [     1.010237] /soc/g2d@10850000 at simplebus1 not configured
    [     1.010237] armpmu0 at simplebus1: Performance Monitor Unit
    [     1.010237] /soc/arm-a15-pmu at simplebus1 not configured
    [     1.010237] /soc/watchdog@101d0000 at simplebus1 not configured
    [     1.010237] xhci0 at simplebus1: DesignWare USB3 XHCI (rev. 2.00a)
    [     1.010237] xhci0: interrupting on GIC irq 104
    [     1.010237] xhci0: xHCI version 1.0
    [     1.010237] usb0 at xhci0: USB revision 3.0
    [     1.010237] usb1 at xhci0: USB revision 2.0
    [     1.010237] xhci1 at simplebus1: DesignWare USB3 XHCI (rev. 2.00a)
    [     1.010237] xhci1: interrupting on GIC irq 105
    [     1.010237] xhci1: xHCI version 1.0
    [     1.010237] usb2 at xhci1: USB revision 3.0
    [     1.010237] usb3 at xhci1: USB revision 2.0
    [     1.010237] ehci0 at simplebus1: Exynos EHCI
    [     1.010237] ehci0: interrupting on GIC irq 103
    [     1.010237] ehci0: EHCI version 1.0
    [     1.010237] ehci0: 1 companion controller, 3 ports
    [     1.010237] usb4 at ehci0: USB revision 2.0
    [     1.010237] ohci0 at simplebus1: Exynos OHCI
    [     1.010237] ohci0: interrupting on GIC irq 103
    [     1.010237] ohci0: OHCI version 1.0, legacy support
    [     1.010237] usb5 at ohci0: USB revision 1.0
    [     1.010237] /soc/codec@11000000 at simplebus1 not configured
    [     1.010237] dwcmmc0 at simplebus1: MHS (100000000 Hz)
    [     1.010237] dwcmmc0: interrupting on GIC irq 109
    [     1.010237] /soc/power-domain@10044020 at simplebus1 not configured
    [     1.010237] /soc/amba/mdma@10800000 at simplebus2 not configured
    [     1.010237] /soc/adc@12d10000 at simplebus1 not configured
    [     1.010237] /soc/rotator@11c00000 at simplebus1 not configured
    [     1.010237] /soc/video-scaler@13e00000 at simplebus1 not configured
    [     1.010237] /soc/video-scaler@13e10000 at simplebus1 not configured
    [     1.010237] /soc/scaler@12800000 at simplebus1 not configured
    [     1.010237] /soc/scaler@12810000 at simplebus1 not configured
    [     1.010237] /soc/scaler@12820000 at simplebus1 not configured
    [     1.010237] /soc/jpeg@11f50000 at simplebus1 not configured
    [     1.010237] /soc/jpeg@11f60000 at simplebus1 not configured
    [     1.010237] /soc/system-controller@10040000/syscon-poweroff at syscon1 not configured
    [     1.010237] /soc/system-controller@10040000/syscon-reboot at syscon1 not configured
    [     1.010237] /soc/bus_noc at simplebus1 not configured
    [     1.010237] /soc/bus_fsys_apb at simplebus1 not configured
    [     1.010237] /soc/bus_fsys at simplebus1 not configured
    [     1.010237] /soc/bus_fsys2 at simplebus1 not configured
    [     1.010237] /soc/bus_mfc at simplebus1 not configured
    [     1.010237] /soc/bus_gen at simplebus1 not configured
    [     1.010237] /soc/bus_peri at simplebus1 not configured
    [     1.010237] /soc/bus_g2d at simplebus1 not configured
    [     1.010237] /soc/bus_g2d_acp at simplebus1 not configured
    [     1.010237] /soc/bus_jpeg at simplebus1 not configured
    [     1.010237] /soc/bus_jpeg_apb at simplebus1 not configured
    [     1.010237] /soc/bus_disp1_fimd at simplebus1 not configured
    [     1.010237] /soc/bus_disp1 at simplebus1 not configured
    [     1.010237] /soc/bus_gscl_scaler at simplebus1 not configured
    [     1.010237] /soc/bus_mscl at simplebus1 not configured
    [     1.010237] /firmware@2073000 at simplebus0 not configured
    [     1.010237] /pwmleds at simplebus0 not configured
    [     1.010237] /soc/chipid@10000000 at simplebus1 not configured
    [     1.010237] /soc/sysram@2020000 at simplebus1 not configured
    [     1.010237] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
    [     1.010237] mct0: interrupting on interrupt combiner group 23 intr 3
    [     1.010237] cpu4: Cortex-A15 r2p3 (Cortex V7A core)
    [     1.010237] cpu4: DC enabled IC enabled WB enabled LABT branch prediction enabled
    [     1.965986] cpu4: 32KB/32B 2-way L1 VIPT Instruction cache
    [     1.965986] cpu4: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
    [     1.975976] cpu4: 512KB/64B 8-way write-through L2 PIPT Unified cache
    [     1.985978] vfp4 at cpu4: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
    [     1.985978] cpu2: Cortex-A15 r2p3 (Cortex V7A core)
    [     1.995978] cpu2: DC enabled IC enabled WB enabled LABT branch prediction enabled
    [     2.005979] cpu2: 32KB/32B 2-way L1 VIPT Instruction cache
    [     2.005979] cpu2: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
    [     2.015979] cpu2: 512KB/64B 8-way write-through L2 PIPT Unified cache
    [     2.015979] vfp2 at cpu2: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
    [     2.025981] cpu3: Cortex-A15 r2p3 (Cortex V7A core)
    [     2.035980] cpu3: DC enabled IC enabled WB enabled LABT branch prediction enabled
    [     2.035980] cpu3: 32KB/32B 2-way L1 VIPT Instruction cache
    [     2.045981] cpu3: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
    [     2.055982] cpu3: 512KB/64B 8-way write-through L2 PIPT Unified cache
    [     2.055982] vfp3 at cpu3: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
    [     2.065983] cpu1: Cortex-A15 r2p3 (Cortex V7A core)
    [     2.075983] cpu1: DC enabled IC enabled WB enabled LABT branch prediction enabled
    [     2.075983] cpu1: 32KB/32B 2-way L1 VIPT Instruction cache
    [     2.085985] cpu1: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
    [     2.085985] cpu1: 512KB/64B 8-way write-through L2 PIPT Unified cache
    [     2.095984] vfp1 at cpu1: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
    [     2.105986] cpufreqdt0: autoconfiguration error: couldn't acquire cpu-supply
    [     2.105986] cpufreqdt1: autoconfiguration error: couldn't acquire cpu-supply
    [     2.119776] cpufreqdt2: autoconfiguration error: couldn't acquire clock
    [     2.125988] cpufreqdt3: autoconfiguration error: couldn't acquire clock
    [     2.125988] cpufreqdt4: autoconfiguration error: couldn't acquire clock
    [     2.125988] uhub0 at usb0: NetBSD (0000) xHCI root hub (0000), class 9/0, rev 3.00/1.00, addr 0
    [     2.135990] uhub0: 1 port with 1 removable, self powered
    [     2.135990] uhub1 at usb1: NetBSD (0000) xHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 0
    [     2.151146] uhub1: 1 port with 1 removable, self powered
    [     2.151146] uhub2 at usb2: NetBSD (0000) xHCI root hub (0000), class 9/0, rev 3.00/1.00, addr 0
    [     2.155992] uhub2: 1 port with 1 removable, self powered
    [     2.155992] uhub3 at usb3: NetBSD (0000) xHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 0
    [     2.168476] uhub3: 1 port with 1 removable, self powered
    [     2.168476] sdmmc0 at dwcmmc0
    [     2.168476] armpmu0: interrupting on GIC irq 192
    [     2.176239] armpmu0: interrupting on GIC irq 193
    [     2.176239] armpmu0: interrupting on GIC irq 194
    [     2.176239] armpmu0: interrupting on GIC irq 195
    [     2.226243] armpmu0: autoconfiguration error: failed to distribute interrupt 1: 2
    [     2.226243] uhub4 at usb4: NetBSD (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
    [     2.236242] uhub4: 3 ports with 3 removable, self powered
    [     2.236242] uhub5 at usb5: NetBSD (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
    [     2.246243] uhub5: 3 ports with 3 removable, self powered
    [     2.276249] IPsec: Initialized Security Association Processing.
    [     2.286248] sdmmc0: SD card status: 4-bit, C10, U1
    [     2.286248] ld0 at sdmmc0: <0x74:0x4a60:USD  :0x20:0x67e032db:0x108>
    [     2.299801] ld0: 30255 MB, 7683 cyl, 128 head, 63 sec, 512 bytes/sect x 61962240 sectors
    [     2.307858] ld0: 4-bit width, High-Speed/SDR25, 50.000 MHz
    [     3.797960] ure0 at uhub3 port 1
    [     3.797960] ure0: Realtek (0xbda) USB 10/100/1000 LAN (0x8153), rev 2.10/30.00, addr 1
    [     3.808717] ure0: RTL8153 ver 5c20
    [     3.867966] rgephy0 at ure0 phy 0: RTL8251 1000BASE-T media interface, rev. 0
    [     3.878334] rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
    [     3.887970] ure0: Ethernet address 00:1e:06:36:78:ac
    [     3.887970] WARNING: 6 errors while detecting hardware; check system log.
    [     3.899687] boot device: ld0
    [     3.908074] root on ld0a dumps on ld0b
    [     3.918075] root file system type: ffs
    [     3.918075] kern.module.path=/stand/evbarm/9.3/modules
    [     3.930457] WARNING: no TOD clock present
    [     3.930457] WARNING: using filesystem time
    [     3.938526] WARNING: CHECK AND RESET THE DATE!
    
    
    
    
    
    So i'm upset, currently no idea what's wrong with my XU4. Tried also to set static IP on HC1 and then booted image on XU4, not helped.

    hominoid
    Posts: 722
    Joined: Tue Feb 28, 2017 3:55 am
    languages_spoken: english
    ODROIDs: C2, C4, XU4, MC1, N1, N2, N2+, HC4, M1, H2, H3+
    Location: Lake Superior Basin, USA
    Has thanked: 100 times
    Been thanked: 327 times
    Contact:

    Re: NetBSD on Odroid XU4/3

    Post by hominoid »

    Don't be to upset, your making progress...When I get to this point in a problem I usually want to take a step back for a basic sanity check. I’m sure you considered that the xu4 may have a failed LAN or cable problem. Trying the HK ubuntu server image to verify that it all still works would be one of my first steps at this point. If it does, then networking is the next logical area and I have an idea that might explain the circumstance. When I was looking at the kernel messages earlier in the troubleshooting, there was a reference to DAD.

    Code: Select all

    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…
    Not knowing what that was, I looked it up quickly to learn that it stood for Duplicate Address Detection. If I understood what I briefly read, DAD could and would remove a static or dhcp address if a duplicate was found on the network, without notice and with no log entries. You end up with no network so this could produce the same symptoms your seeing now. Is it possible that the address is being removed from the system because DAD detects a duplicate address on the network somewhere? What I read was referring to IP addresses but duplicate MAC addresses would be a problem too.

    FYI, I did try the image on your goggle drive and it worked fine. It uses the same versions for the bootstrap and loader as the uploaded ones.

    User avatar
    Feels
    Posts: 10
    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 »

    I have rechecked box with Debian Bullsie image from viewtopic.php?f=96&t=44932 and it's fine, booted and network access via ssh also ok.
    BTW i have XU4Q e.g. without fan https://wiki.odroid.com/odroid-xu4/hard ... k_xu4_xu4q it might be the problem, because as i know this variant little downgraded version of XU4.

    Code: Select all

    root@odroid-bullseye:/# 
    
    4: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
        link/ether 00:1e:06:36:5f:eb brd ff:ff:ff:ff:ff:ff
        inet 192.168.1.236/24 brd 192.168.1.255 scope global dynamic eth0
           valid_lft 85822sec preferred_lft 85822sec
        inet6 fe80::21e:6ff:fe36:5feb/64 scope link 
           valid_lft forever preferred_lft forever
    
    
    
    root@odroid-bullseye:/# cat /var/log/messages 
    Jun 17 21:55:09 localhost kernel: [    0.000000] Booting Linux on physical CPU 0x100
    Jun 17 21:55:09 localhost kernel: [    0.000000] Linux version 5.18.10-armmp-lpae (root@loki) (gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #exynos SMP PREEMPT Sun Jul 10 16:01:27 UTC 2022
    Jun 17 21:55:09 localhost kernel: [    0.000000] CPU: ARMv7 Processor [410fc073] revision 3 (ARMv7), cr=10c5387d
    Jun 17 21:55:09 localhost kernel: [    0.000000] CPU: div instructions available: patching division code
    Jun 17 21:55:09 localhost kernel: [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    Jun 17 21:55:09 localhost kernel: [    0.000000] OF: fdt: Machine model: Hardkernel Odroid XU4
    Jun 17 21:55:09 localhost kernel: [    0.000000] earlycon: exynos4210 at MMIO 0x12c20000 (options '115200n8')
    Jun 17 21:55:09 localhost kernel: [    0.000000] printk: bootconsole [exynos4210] enabled
    Jun 17 21:55:09 localhost kernel: [    0.000000] Memory policy: Data cache writealloc
    Jun 17 21:55:09 localhost kernel: [    0.000000] cma: Reserved 96 MiB at 0xb8800000
    Jun 17 21:55:09 localhost kernel: [    0.000000] Samsung CPU ID: 0xe5422001
    
    

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

    Re: NetBSD on Odroid XU4/3

    Post by rooted »

    It's not a downgrade at all, it's just silent. Exactly same device.

    User avatar
    mad_ady
    Posts: 10956
    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: 996 times
    Contact:

    Re: NetBSD on Odroid XU4/3

    Post by mad_ady »

    Hmm, any way to get the mac of the nic while running bsd? If it can't access the burned-in mac, it might load something whacky like 00:00:00:00:00:00...

    hominoid
    Posts: 722
    Joined: Tue Feb 28, 2017 3:55 am
    languages_spoken: english
    ODROIDs: C2, C4, XU4, MC1, N1, N2, N2+, HC4, M1, H2, H3+
    Location: Lake Superior Basin, USA
    Has thanked: 100 times
    Been thanked: 327 times
    Contact:

    Re: NetBSD on Odroid XU4/3

    Post by hominoid »

    After thinking about it awhile I don’t have any great suggestions for you right now. What I believe we know:
    • NetBSD Image is good
      NetBSD can get IP from dhcp server or use static address
      NetBSD SSH works
      Your XU4 hardware is good
      Your HC1 running NetBSD is accessible on your network
    The problem would appear to be something unique to your XU4 on your network. The only thing that is unique that I can think of is the MAC and IP address. Since I’m not a network engineer, my less then eloquent approach would be to stage a separate network with just the XU4 and the machine that will be used to ssh. I keep a old router/gateway around for these types of tasks. This would prove what I think we know and imo, may point to another network appliance or system causing the problem. Maybe one of the network engineers or someone with stronger networking skills has a better suggestion on how to proceed at this point.

    Danielsan
    Posts: 93
    Joined: Thu Dec 27, 2018 5:52 am
    languages_spoken: english
    ODROIDs: Odroid-XU4 | Odroid-HC4
    Has thanked: 32 times
    Been thanked: 4 times
    Contact:

    Re: NetBSD on Odroid XU4/3

    Post by Danielsan »

    The topic is too fragmented to follow... But I already read it twice.

    I do not understand the part about u-boot, I usually just dumb-flash the ISO and I already discovered that is not always the correct procedure... 🤯

    I'd like to install NetBSD on the emmc, is there any guide or instruction I can follow? 🙏

    Thanks,

    D.

    hominoid
    Posts: 722
    Joined: Tue Feb 28, 2017 3:55 am
    languages_spoken: english
    ODROIDs: C2, C4, XU4, MC1, N1, N2, N2+, HC4, M1, H2, H3+
    Location: Lake Superior Basin, USA
    Has thanked: 100 times
    Been thanked: 327 times
    Contact:

    Re: NetBSD on Odroid XU4/3

    Post by hominoid »

    Danielsan wrote:
    Fri Nov 18, 2022 6:21 am
    The topic is too fragmented to follow... But I already read it twice.

    I do not understand the part about u-boot, I usually just dumb-flash the ISO and I already discovered that is not always the correct procedure... 🤯

    I'd like to install NetBSD on the emmc, is there any guide or instruction I can follow? 🙏

    Thanks,

    D.
    You can learn about U-Boot here and you can find a copy of the official NetBSD XU4/XU3 image at https://nycdn.netbsd.org/pub/arm/ . If you use the NetBSD image you will not need to do anything but flash it using what ever tool(etcher, usbimager, dd etc) you normally use and it should boot in your XU4. I don't know if it supports emmc, you'll have to try it. The official image was not available at the time of the op so one was made using the armhf generic image and a valid uboot as demonstrated above.

    Danielsan
    Posts: 93
    Joined: Thu Dec 27, 2018 5:52 am
    languages_spoken: english
    ODROIDs: Odroid-XU4 | Odroid-HC4
    Has thanked: 32 times
    Been thanked: 4 times
    Contact:

    Re: NetBSD on Odroid XU4/3

    Post by Danielsan »

    hominoid wrote:
    Fri Nov 18, 2022 7:55 am
    You can learn about U-Boot here and you can find a copy of the official NetBSD XU4/XU3 image at https://nycdn.netbsd.org/pub/arm/ . If you use the NetBSD image you will not need to do anything but flash it using what ever tool(etcher, usbimager, dd etc) you normally use and it should boot in your XU4. I don't know if it supports emmc, you'll have to try it. The official image was not available at the time of the op so one was made using the armhf generic image and a valid uboot as demonstrated above.
    I found this article where is explained how to install an ISO (Batocera I guess) on emmc over the XU4...

    https://www.icode.com/how-to-flash-emmc ... droid-xu4/

    Based on this article I should flash the SD and then I should "DD" it on the emmc... And magic happens!

    So far looks feasible... Then I am going to install NetBSD on the SD first!

    However a newer pebcak is buzzing in my head... Does NetBSD on the UX4 support a graphic desktop environment? 🤔

    Danielsan
    Posts: 93
    Joined: Thu Dec 27, 2018 5:52 am
    languages_spoken: english
    ODROIDs: Odroid-XU4 | Odroid-HC4
    Has thanked: 32 times
    Been thanked: 4 times
    Contact:

    Re: NetBSD on Odroid XU4/3

    Post by Danielsan »

    Not sure how much is related but I found also this guide:

    https://cdn.netbsd.org/pub/NetBSD/NetBS ... STALL.html

    Danielsan
    Posts: 93
    Joined: Thu Dec 27, 2018 5:52 am
    languages_spoken: english
    ODROIDs: Odroid-XU4 | Odroid-HC4
    Has thanked: 32 times
    Been thanked: 4 times
    Contact:

    Re: NetBSD on Odroid XU4/3

    Post by Danielsan »

    I flashed (twice) the ISO with Etcher but it won't boot: solid blue and red; I wonder if I should use DD instead... 😞

    hominoid
    Posts: 722
    Joined: Tue Feb 28, 2017 3:55 am
    languages_spoken: english
    ODROIDs: C2, C4, XU4, MC1, N1, N2, N2+, HC4, M1, H2, H3+
    Location: Lake Superior Basin, USA
    Has thanked: 100 times
    Been thanked: 327 times
    Contact:

    Re: NetBSD on Odroid XU4/3

    Post by hominoid »

    Both lights should be on, the blue light is not set to flash on netbsd. Have you tried to ssh to the device? Did you setup the creds.txt as indicated in this thread? There are two boots involved for a fresh load. The first resizes the filesystem and then it reboots to use the expanded filesystem. So, after waiting enough time you can also check to see if the filesystem was expanded using another machine and if it is, then your XU4 booted.

    Danielsan
    Posts: 93
    Joined: Thu Dec 27, 2018 5:52 am
    languages_spoken: english
    ODROIDs: Odroid-XU4 | Odroid-HC4
    Has thanked: 32 times
    Been thanked: 4 times
    Contact:

    Re: NetBSD on Odroid XU4/3

    Post by Danielsan »

    hominoid wrote:
    Sat Nov 19, 2022 1:58 am
    Both lights should be on...
    I have the board connected to monitor waiting for video signal... Unless the hdmi doesn't work and I am totally got this wrong... :oops:

    hominoid
    Posts: 722
    Joined: Tue Feb 28, 2017 3:55 am
    languages_spoken: english
    ODROIDs: C2, C4, XU4, MC1, N1, N2, N2+, HC4, M1, H2, H3+
    Location: Lake Superior Basin, USA
    Has thanked: 100 times
    Been thanked: 327 times
    Contact:

    Re: NetBSD on Odroid XU4/3

    Post by hominoid »

    The frame buffer is not implemented so you'll get no signal out HDMI. This is a minimal or server image, ssh or UART console only, no GUI.

    Danielsan
    Posts: 93
    Joined: Thu Dec 27, 2018 5:52 am
    languages_spoken: english
    ODROIDs: Odroid-XU4 | Odroid-HC4
    Has thanked: 32 times
    Been thanked: 4 times
    Contact:

    Re: NetBSD on Odroid XU4/3

    Post by Danielsan »

    hominoid wrote:
    Sat Nov 19, 2022 3:26 am
    The frame buffer is not implemented so you'll get no signal out HDMI. This is a minimal or server image, ssh or UART console only, no GUI.
    No way... You wanna make me cry... 😭

    Jokes aside... What I actually needs is a VNC connection to it, do you believe I could establish a remote desktop connection to it or am I under a sever attack of pebcakness?

    Thanks!

    hominoid
    Posts: 722
    Joined: Tue Feb 28, 2017 3:55 am
    languages_spoken: english
    ODROIDs: C2, C4, XU4, MC1, N1, N2, N2+, HC4, M1, H2, H3+
    Location: Lake Superior Basin, USA
    Has thanked: 100 times
    Been thanked: 327 times
    Contact:

    Re: NetBSD on Odroid XU4/3

    Post by hominoid »

    I don't know, but if it is possible, it will require a deep dive by you.
    These users thanked the author hominoid for the post:
    Danielsan (Mon Nov 21, 2022 3:44 pm)

    Danielsan
    Posts: 93
    Joined: Thu Dec 27, 2018 5:52 am
    languages_spoken: english
    ODROIDs: Odroid-XU4 | Odroid-HC4
    Has thanked: 32 times
    Been thanked: 4 times
    Contact:

    Re: NetBSD on Odroid XU4/3

    Post by Danielsan »

    hominoid wrote:
    Sat Nov 19, 2022 7:52 am
    I don't know, but if it is possible, it will require a deep dive by you.
    I got the VNC connection but it looks like the packages are very old or not existent... Firefox is still at 52 for instance, and crashes...

    Core aren't fully used, I can see only core from 0-5 but shouldn't be 4 big-endian and 4 little-endian?

    Looks like I had unrealistic expectations to use it as daily driver remote desktop... :cry:
    These users thanked the author Danielsan for the post:
    hominoid (Mon Nov 21, 2022 11:47 pm)

    Danielsan
    Posts: 93
    Joined: Thu Dec 27, 2018 5:52 am
    languages_spoken: english
    ODROIDs: Odroid-XU4 | Odroid-HC4
    Has thanked: 32 times
    Been thanked: 4 times
    Contact:

    Re: NetBSD on Odroid XU4/3

    Post by Danielsan »

    I can't find the source but I stepped into an article that explains that from the Exynos 5422, NetBSD Arm7 has access only on 4 cores (perhaps the little) that's why I can see only 5 cores instead of 8. So far has been funny but honestly the support is very lacking and unfortunately it can't be used as daily driver. I got working almost everything, swap, ssh, vnc, double network, etc... But there are some limitations that are a breaking point, like for instance: 3 cores missing; frame buffer missing; zswap/zram technology missing (although many consider md an alternative workaround).

    Long-story-short: I don't believe I can squeeze up all the board power-horse with NetBSD and this is a total shame because I was really liking it! 😩

    hominoid
    Posts: 722
    Joined: Tue Feb 28, 2017 3:55 am
    languages_spoken: english
    ODROIDs: C2, C4, XU4, MC1, N1, N2, N2+, HC4, M1, H2, H3+
    Location: Lake Superior Basin, USA
    Has thanked: 100 times
    Been thanked: 327 times
    Contact:

    Re: NetBSD on Odroid XU4/3

    Post by hominoid »

    I agree, it would be nice to have the port further along with the FB working. I have played around with the C2 port in the past because it was further along. As indicated earlier, at the time, the XU4 didn't even boot completely so some progress is being made.
    These users thanked the author hominoid for the post:
    Danielsan (Wed Nov 23, 2022 6:55 am)

    Post Reply

    Return to “Other OS”

    Who is online

    Users browsing this forum: No registered users and 2 guests