Support for BSD

Post Reply
arrigo
Posts: 5
Joined: Fri Jan 19, 2018 11:09 pm
languages_spoken: english,italian,french,spanish
Has thanked: 0
Been thanked: 0
Contact:

Support for BSD

Post by arrigo »

Hi,

I am looking at a number of ARM devices to replace low-usage Intel systems I have in data centres which I would like to move in-house and the ideal replacement would be the ODROID-HC2 with a suitable HDD or SDD (they are all mail servers or low/medium traffic web servers). Unfortunately one of the key requirements is that one of the BSDs is supported (FreeBSD/NetBSD/OpenBSD) and currently I do not see suitable images for them.

Does anyone run BSD on ODROID SBCs, in particular the ones with a SATA port?

Thank you,

Arrigo

crashoverride
Posts: 5172
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1
Has thanked: 0
Been thanked: 389 times
Contact:

Re: Support for BSD

Post by crashoverride »

On XU4, HC-x, MC-x you should be able to run FreeBSD (armv7) or any mainline linux kernel under the XEN hypervisor. I have not personally tested this but after installing XEN, any OS that supports it should be usable in a DOM-U and possibly even as DOM-0 on boards running "headless". There is no official support for this that I am aware of.

arrigo
Posts: 5
Joined: Fri Jan 19, 2018 11:09 pm
languages_spoken: english,italian,french,spanish
Has thanked: 0
Been thanked: 0
Contact:

Re: Support for BSD

Post by arrigo »

Running under Xen is not really ideal but could be an interim solution - does anyone know if Hardkernel has reached out to the BSD community? They are very actively porting to aarch64 (ARM64) with a solid Raspberry Pi 3 port and a growing PINE64 port. The Hardkernel hardware is rather more interesting, especially concerning NAS usage, where a dual-SATA HC4 so that you can run FreeBSD with ZFS would be ideal.

Is there any chance you could send demo hardware to the FreeBSD/OpenBSD people? They are all at FOSDEM if Hardkernel has any representation there.

elatllat
Posts: 1831
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2, C4, N2+, HC4
Has thanked: 57 times
Been thanked: 124 times
Contact:

Re: Support for BSD

Post by elatllat »

mouseless wrote:
...My personal favourite would also be the RK3399, but for different reasons:

This SOC has openBSD support.

Sure, this hasn't been mentioned much in this thread, but that is because there has never been much cooperation between HK and BSD. I'm sure if the proper booting software & licences would be provided, BSD support would be added quickly. OpenBSD even support the Raspberry 3, though it only runs on 1.2GHz/1GB RAM and 100Bit ethernet :cry:...
Odroid-N1 is using RK3399.

crashoverride might be correct even though I don't find this quote compelling;
crashoverride wrote:
mouseless wrote:I bet you yourself wouldn't want an odroid if linux there was only running inside a windows vm.
I am not the only one that you would lose that bet with. :D

These days, nobody runs BSD bare metal. Even "big metal" uses hypervisors now. In the case of a router or firewall, its preferred to run in a VM so that it can easily be maintained, monitored, security mitigated, restarted, etc. For any professional/business use, a VM is mandatory....

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

Re: Support for BSD

Post by rooted »

I agree, as long as the VM gives adequate performance I don't see any issue. I have that old school attitude of wanting to run the OS on 'bare metal' as well but VM's are the way to go for a lot of things that previously were done by dedicated hardware.

arrigo
Posts: 5
Joined: Fri Jan 19, 2018 11:09 pm
languages_spoken: english,italian,french,spanish
Has thanked: 0
Been thanked: 0
Contact:

Re: Support for BSD

Post by arrigo »

I'm very sorry but, as a security practitioner, running in a VM what I want to run securely is not an option. The underlying OS, i.e. Linux, does not give me the security guarantees I need for my application.

Nobody in their sane mind runs serious FreeBSD installations (e.g. database servers) in a VM, it would be quite stupid to run ZFS on anything but bare metal disks. I'm pretty sure that Netflix, which runs their whole service on FreeBSD, runs on bare metal…

So no, I am interested in running BSD bare-metal and not within a Linux VM. If this is of no interest I can look elsewhere, I am still trying to find replacements for my Intel servers and had considered the HC1 but I notice that competitors are also coming up with ARM-based boards which support SATA, some directly on-board, others via PCIe.

elatllat
Posts: 1831
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2, C4, N2+, HC4
Has thanked: 57 times
Been thanked: 124 times
Contact:

Re: Support for BSD

Post by elatllat »

I'll let you know how OpenBSD runs on the N1 whenever shipping gets it to me. I'll try the img / instructions here; https://www.openbsd.org/arm64.html

Ronaldleess
Posts: 60
Joined: Wed May 24, 2017 6:52 am
languages_spoken: english
ODROIDs: XU4 C1 C1+
Has thanked: 0
Been thanked: 0
Contact:

Re: Support for BSD

Post by Ronaldleess »

http://www.netbsd.org/~jmcneill/odroidxu4.txt

So, Mr Jared has the XU4 booting to multi-user with NetBSD. The guy is amazing. I haven't seen anything more about this however; so there must be some stumbling block. Maybe the exynos ethersphere is too tightly controlled with NDA etc.

That's what makes me think that a BSD port to Rockchip / Odroid N1 is more likely, more quickly, since there already is a port for a previous version.
I am The Umbrella Man

Seb
Posts: 9
Joined: Sun Jul 16, 2017 3:36 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Support for BSD

Post by Seb »

I'm also interested in seeing FreeBSD run on these devices. Have you tried cross-compiling from an FreeBSD/amd64 system? That's probably your best bet. I'm using a server, running FreeBSD on bare metal funnily enough... currently in the middle of `svn checkout svn://svn.freebsd.org/base/head src`... gah, so boring. Eh, I could run it on this machine, but then I probably can't watch youtube while I'm running it.

If anyone here has tried something, what went wrong? Maybe we can help... I only ever successfully failed at porting the dark mod to armv7... but let's see...

I'm going to go ahead and assume 0x90800000 is our `loadaddr` -- <https://github.com/hardkernel/u-boot/co ... d7adf6d445>... so if you're following this guide you'll want to use `make buildworld TARGET_ARCH=armv7 UBLDR_LOADADDR=0x90800000 __MAKE_CONF=/dev/null srcconf=/dev/null -j6` (revise -j6) instead of `make buildworld TARGET_ARCH=armv6` and okay my world is BUILDING. So boring!

Welp, I'm going to watch youtube... I'll report back when I have details to share.

S199pWa1k9r
Posts: 3
Joined: Mon Jan 21, 2019 5:09 pm
languages_spoken: english
ODROIDs: ORDOID-HC2
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Support for BSD

Post by S199pWa1k9r »

Hi...
I'm trying to boot FreeBSD on ODRIOD-HC2, but so far unsuccessfully ...

Code: Select all

U-Boot 2018.11 (Jan 10 2019 - 13:55:24 +0300) for ODROID-HC1/HC2

CPU:   Exynos5422 @ 800 MHz
Model: Odroid XU3 based on EXYNOS5422
Board: Odroid XU3 based on EXYNOS5422
Type:  hc1
DRAM:  2 GiB
MMC:   EXYNOS DWMMC: 0, EXYNOS DWMMC: 2
Loading Environment from MMC... Card did not respond to voltage select!
*** Warning - No block device, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
Hit any key to stop autoboot:  2  1  0 
MMC Device 1 not found
no mmc device at slot 1
Card did not respond to voltage select!
switch to partitions #0, OK
mmc2 is current device
Scanning mmc 2:1...
Found EFI removable media binary efi/boot/bootarm.efi
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Card did not respond to voltage select!
Scanning disk mmc@12200000.blk...
Disk mmc@12200000.blk not ready
Scanning disk mmc@12220000.blk...
Found 3 disks
106292 bytes read in 14 ms (7.2 MiB/s)
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
## Starting EFI application at 42000000 ...

>> FreeBSD EFI boot block
   Loader path: /boot/loader.efi

   Initializing modules: ZFS UFS
   Load Path: /\efi\boot\bootarm.efi
   Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(2)/SD(0)/HD(1,0x01,0,0x81f,0xfff0)
   Probing 3 block devices.....* done
    ZFS found no pools
    UFS found 1 partition
Consoles: EFI console  
|/FreeBSD/arm EFI loader, Revision 1.1

   Command line arguments: l
   EFI version: 2.70
   EFI Firmware: Das U-Boot (rev 8216.4352)
   Console: efi (0)
   Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(2)/SD(0)/HD(2,0x01,0,0x10c00,0x1bdc00)
Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(2)/SD(0)/HD(2,0x01,0,0x10c00,0x1bdc00)
Setting currdev to disk0p2:
Loading /boot/defaults/loader.conf
Loading Kernel and Modules (Ctrl-C to Abort)
.
/boot/kernel/kernel text=0x56a4e4 data=0x53274+0x5188c syms=[0x4+0x61480+0x4+0x847f2]
/boot/dtb/exynos5422-odroidhc1.dtb size=0xf112

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel] in 4 seconds... 
Booting [/boot/kernel/kernel] in 3 seconds... 
Booting [/boot/kernel/kernel] in 2 seconds... 
Booting [/boot/kernel/kernel] in 1 second... 
Booting [/boot/kernel/kernel]...               
Using DTB from loaded file '/boot/dtb/exynos5422-odroidhc1.dtb'.
Kernel entry at 0xae800180...
Kernel args: (null)
modulep: 0xc0716000
relocation_offset 0
Someone already tried it?

tenox
Posts: 4
Joined: Tue May 07, 2019 2:36 pm
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Support for BSD

Post by tenox »


tenox
Posts: 4
Joined: Tue May 07, 2019 2:36 pm
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Support for BSD

Post by tenox »

S199pWa1k9r wrote:
Mon Jan 21, 2019 5:31 pm
Hi...
I'm trying to boot FreeBSD on ODRIOD-HC2, but so far unsuccessfully ...
Someone already tried it?
Can you tell more how you created a boot image for this?
These users thanked the author tenox for the post:
S199pWa1k9r (Wed Jul 03, 2019 5:17 am)

escalade
Posts: 276
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 15 times
Been thanked: 127 times
Contact:

Re: Support for BSD

Post by escalade »

arrigo wrote:
Mon Feb 12, 2018 3:20 am
I'm very sorry but, as a security practitioner, running in a VM what I want to run securely is not an option. The underlying OS, i.e. Linux, does not give me the security guarantees I need for my application.
Which security guarantees is this?
Nobody in their sane mind runs serious FreeBSD installations (e.g. database servers) in a VM, it would be quite stupid to run ZFS on anything but bare metal disks. I'm pretty sure that Netflix, which runs their whole service on FreeBSD, runs on bare metal…
You know that you can give virtualized systems direct access to block devices right? Netflix runs virtualized, just like any serious datacenter.
Maintainer of RetroELEC (XU4 / OGA / x86_64)

elatllat
Posts: 1831
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2, C4, N2+, HC4
Has thanked: 57 times
Been thanked: 124 times
Contact:

Re: Support for BSD

Post by elatllat »

escalade, BSD has had a history of significantly fewer security problems than any other operating system. As that may be it's only virtue ( until RedoxOS matures ) virtualizing it on a production server seems pointless.

( Netflix is shipping NGINX, FreeBSD nodes on custom hardware to ISPs not using virtualized Data Centers )

The other advantage to BSD is the relitivly slow moving, small code base which makes it easyer to do things like squeeze 90 Gbps from a previously 40 Gbps box (not an option in a VM).

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

Re: Support for BSD

Post by hominoid »

tenox wrote:
Tue May 07, 2019 2:38 pm
NetBSD works... https://www.invisible.ca/arm/2019050614 ... xu3.img.gz
I'm not sure this is correct...yet. Did you actually get an XU4 to boot? Last month I tried images for the XU4 over several weeks and none of them booted to a login. Most of the time the kernel would go into a boot loop. I have been following their ARM developer mailing list and have not seen any references to the XU4 image either but I'll try the XU4 image again this weekend. I did have success with the Odroid-C2 image and it seemed stable across several kernel updates as report in this thread.

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

Re: Support for BSD

Post by hominoid »

Well I did try the latest NetBSD XU4 image on a SD card and eMMC over the weekend. On the SD card it hangs trying to resize the files system on the first boot. Even disabling the resize did not help, it still hung. The eMMC image didn't make it that far.

Code: Select all

>> NetBSD/evbarm EFI Boot (arm), Revision 1.9 (Fri May 10 09:42:46 UTC 2019) (from NetBSD 8.99.39)
Press return to boot now, any other key for boot prompt
booting netbsd - starting in 5 seconds. 


*********SD*****************
>> NetBSD/evbarm EFI Boot (arm), Revision 1.9 (Fri May 10 09:42:46 UTC 2019) (from NetBSD 8.99.39)
Press return to boot now, any other key for boot prompt
booting netbsd - starting in 0 seconds.     
7272704+1526932+1651564 [194935+448288+451769]=0xb03c5c
[   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 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 8.99.39 (GENERIC) #0: Fri May 10 09:42:46 UTC 2019
[   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] 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] cpu5 at cpus0
[   1.0000000] cpufreqdt5 at cpu5
[   1.0000000] cpu6 at cpus0
[   1.0000000] cpufreqdt6 at cpu6
[   1.0000000] cpu7 at cpus0
[   1.0000000] cpufreqdt7 at cpu7
[   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 pinctl @ 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.0005610] armgtmr1 at mct0: ARM Generic Timer (24000 kHz)
[   1.0005610] armgtmr1: interrupting on irq 27
[   1.0103614] exyopctl1 at simplebus1 pinctl @ 0x13400000 
[   1.0103614] gpio9 at exyopctl1 (gpy7): 8 pins
[   1.0103614] gpio10 at exyopctl1 (gpx0): 8 pins
[   1.0103614] gpio11 at exyopctl1 (gpx1): 8 pins
[   1.0103614] gpio12 at exyopctl1 (gpx2): 8 pins
[   1.0103614] gpio13 at exyopctl1 (gpx3): 8 pins
[   1.0103614] exyopctl2 at simplebus1 pinctl @ 0x13410000 
[   1.0103614] gpio14 at exyopctl2 (gpc0): 8 pins
[   1.0103614] gpio15 at exyopctl2 (gpc1): 8 pins
[   1.0103614] gpio16 at exyopctl2 (gpc2): 7 pins
[   1.0103614] gpio17 at exyopctl2 (gpc3): 4 pins
[   1.0103614] gpio18 at exyopctl2 (gpc4): 2 pins
[   1.0103614] gpio19 at exyopctl2 (gpd1): 8 pins
[   1.0103614] gpio20 at exyopctl2 (gpy0): 6 pins
[   1.0103614] gpio21 at exyopctl2 (gpy1): 4 pins
[   1.0103614] gpio22 at exyopctl2 (gpy2): 6 pins
[   1.0103614] gpio23 at exyopctl2 (gpy3): 8 pins
[   1.0103614] gpio24 at exyopctl2 (gpy4): 8 pins
[   1.0103614] gpio25 at exyopctl2 (gpy5): 8 pins
[   1.0103614] gpio26 at exyopctl2 (gpy6): 8 pins
[   1.0103614] exyopctl3 at simplebus1 pinctl @ 0x03860000 
[   1.0103614] gpio27 at exyopctl3 (gpz): 7 pins
[   1.0103614] exyopctl4 at simplebus1 pinctl @ 0x14000000 
[   1.0103614] gpio28 at exyopctl4 (gpe0): 8 pins
[   1.0103614] gpio29 at exyopctl4 (gpe1): 2 pins
[   1.0103614] gpio30 at exyopctl4 (gpf0): 6 pins
[   1.0103614] gpio31 at exyopctl4 (gpf1): 8 pins
[   1.0103614] gpio32 at exyopctl4 (gpg0): 8 pins
[   1.0103614] gpio33 at exyopctl4 (gpg1): 8 pins
[   1.0103614] gpio34 at exyopctl4 (gpg2): 2 pins
[   1.0103614] gpio35 at exyopctl4 (gpj4): 4 pins
[   1.0103614] exy5422clk0 at simplebus1: Exynos5422 Clock Controller
[   1.0103614] expwm0 at simplebus1: PWM
[   1.0103614] exusbdrdphy0 at simplebus1: USB DRD PHY
[   1.0103614] exusbdrdphy1 at simplebus1: USB DRD PHY
[   1.0103614] exusbphy0 at simplebus1: USB2 PHY
[   1.0103614] /soc/amba/pdma@121a0000 at simplebus2 not configured
[   1.0103614] /soc/amba/pdma@121b0000 at simplebus2 not configured
[   1.0103614] /soc/i2c@12ca0000 at simplebus1 not configured
[   1.0103614] /soc/power-domain@100440c0 at simplebus1 not configured
[   1.0103614] /soc/sysmmu@14640000 at simplebus1 not configured
[   1.0103614] /soc/sysmmu@14680000 at simplebus1 not configured
[   1.0103614] /soc/dp-video-phy at simplebus1 not configured
[   1.0103614] /soc/sysmmu@10a60000 at simplebus1 not configured
[   1.0103614] /soc/sysmmu@10a70000 at simplebus1 not configured
[   1.0103614] /soc/power-domain@100440e0 at simplebus1 not configured
[   1.0103614] /soc/audss-clock-controller@3810000 at simplebus1 not configured
[   1.0103614] /soc/power-domain@10044060 at simplebus1 not configured
[   1.0103614] /soc/sysmmu@11200000 at simplebus1 not configured
[   1.0103614] /soc/sysmmu@11210000 at simplebus1 not configured
[   1.0103614] mmcpwrseq0 at simplebus0: eMMC hardware reset provider
[   1.0103614] /soc/amba/adma@3880000 at simplebus2 not configured
[   1.0103614] /soc/i2s@3830000 at simplebus1 not configured
[   1.0103614] /soc/mipi-video-phy at simplebus1 not configured
[   1.0103614] exyoi2c0 at simplebus1 @ 0x12c80000
[   1.0103614] exyoi2c0: interrupting on GIC irq 90
[   1.0103614] iic0 at exyoi2c0: I2C bus
[   1.0103614] /soc/hdmi@14530000 at simplebus1 not configured
[   1.0103614] /soc/sysmmu@14650000 at simplebus1 not configured
[   1.0103614] /soc/sysmmu@11d40000 at simplebus1 not configured
[   1.0103614] /soc/power-domain@10044000 at simplebus1 not configured
[   1.0103614] /soc/sysmmu@13e80000 at simplebus1 not configured
[   1.0103614] /soc/sysmmu@13e90000 at simplebus1 not configured
[   1.0103614] /soc/power-domain@10044120 at simplebus1 not configured
[   1.0103614] /soc/sysmmu@12880000 at simplebus1 not configured
[   1.0103614] /soc/sysmmu@128c0000 at simplebus1 not configured
[   1.0103614] /soc/sysmmu@12890000 at simplebus1 not configured
[   1.0103614] /soc/sysmmu@128d0000 at simplebus1 not configured
[   1.0103614] /soc/sysmmu@128a0000 at simplebus1 not configured
[   1.0103614] /soc/sysmmu@128e0000 at simplebus1 not configured
[   1.0103614] /soc/sysmmu@11f10000 at simplebus1 not configured
[   1.0103614] /soc/sysmmu@11f20000 at simplebus1 not configured
[   1.0103614] /soc/opp_table2 at simplebus1 not configured
[   1.0103614] /soc/nocp@10ca1000 at simplebus1 not configured
[   1.0103614] /soc/nocp@10ca1400 at simplebus1 not configured
[   1.0103614] /soc/nocp@10ca1800 at simplebus1 not configured
[   1.0103614] /soc/nocp@10ca1c00 at simplebus1 not configured
[   1.0103614] /soc/opp_table3 at simplebus1 not configured
[   1.0103614] /soc/bus_wcore at simplebus1 not configured
[   1.0103614] /soc/opp_table4 at simplebus1 not configured
[   1.0103614] /soc/opp_table5 at simplebus1 not configured
[   1.0103614] /soc/opp_table6 at simplebus1 not configured
[   1.0103614] /soc/opp_table7 at simplebus1 not configured
[   1.0103614] /soc/opp_table8 at simplebus1 not configured
[   1.0103614] /soc/opp_table9 at simplebus1 not configured
[   1.0103614] /soc/opp_table10 at simplebus1 not configured
[   1.0103614] /soc/opp_table11 at simplebus1 not configured
[   1.0103614] /soc/opp_table12 at simplebus1 not configured
[   1.0103614] /soc/opp_table13 at simplebus1 not configured
[   1.0103614] /soc/opp_table14 at simplebus1 not configured
[   1.0103614] /soc/opp_table15 at simplebus1 not configured
[   1.0103614] /soc/opp_table16 at simplebus1 not configured
[   1.0103614] /soc/tmu@10060000 at simplebus1 not configured
[   1.0103614] pwmfan0 at simplebus0: PWM Fan (levels 0% 50% 66% 90%)
[   1.0103614] /soc/tmu@10064000 at simplebus1 not configured
[   1.0103614] /soc/tmu@10068000 at simplebus1 not configured
[   1.0103614] /soc/tmu@1006c000 at simplebus1 not configured
[   1.0103614] /soc/tmu@100a0000 at simplebus1 not configured
[   1.0103614] /soc/cci@10d20000 at simplebus1 not configured
[   1.0103614] /soc/opp_table1 at simplebus1 not configured
[   1.0103614] /soc/opp_table0 at simplebus1 not configured
[   1.0103614] /soc/memory-controller@12250000 at simplebus1 not configured
[   1.0103614] exuart0 at simplebus1
[   1.0103614] exuart0: interrupting on GIC irq 83
[   1.0103614] exuart1 at simplebus1
[   1.0103614] exuart1: interrupting on GIC irq 84
[   1.0103614] exuart2 at simplebus1: console
[   1.0103614] exuart2: interrupting on GIC irq 85
[   1.0103614] exuart3 at simplebus1
[   1.0103614] exuart3: interrupting on GIC irq 86
[   1.0103614] /soc/rtc@101e0000 at simplebus1 not configured
[   1.0103614] /soc/sss@10830000 at simplebus1 not configured
[   1.0103614] /soc/rng@10830400 at simplebus1 not configured
[   1.0103614] /soc/rng@10830600 at simplebus1 not configured
[   1.0103614] /soc/g2d@10850000 at simplebus1 not configured
[   1.0103614] armpmu0 at simplebus1: Performance Monitor Unit
[   1.0103614] /soc/arm-a15-pmu at simplebus1 not configured
[   1.0103614] /soc/watchdog@101d0000 at simplebus1 not configured
[   1.0103614] xhci0 at simplebus1: DesignWare USB3 XHCI (rev. 2.00a)
[   1.0103614] xhci0: interrupting on GIC irq 104
[   1.0103614] usb0 at xhci0: USB revision 3.0
[   1.0103614] usb1 at xhci0: USB revision 2.0
[   1.0103614] xhci1 at simplebus1: DesignWare USB3 XHCI (rev. 2.00a)
[   1.0103614] xhci1: interrupting on GIC irq 105
[   1.0103614] usb2 at xhci1: USB revision 3.0
[   1.0103614] usb3 at xhci1: USB revision 2.0
[   1.0103614] ehci0 at simplebus1: Exynos EHCI
[   1.0103614] ehci0: interrupting on GIC irq 103
[   1.0103614] ehci0: 1 companion controller, 3 ports
[   1.0103614] usb4 at ehci0: USB revision 2.0
[   1.0103614] ohci0 at simplebus1: Exynos OHCI
[   1.0103614] ohci0: interrupting on GIC irq 103
[   1.0103614] ohci0: OHCI version 1.0, legacy support
[   1.0103614] usb5 at ohci0: USB revision 1.0
[   1.0103614] /soc/codec@11000000 at simplebus1 not configured
[   1.0103614] dwcmmc0 at simplebus1: MHS (100000000 Hz)
[   1.0103614] dwcmmc0: interrupting on GIC irq 107
[   1.0103614] dwcmmc1 at simplebus1: MHS (100000000 Hz)
[   1.0103614] dwcmmc1: interrupting on GIC irq 109
[   1.0103614] /soc/power-domain@10044020 at simplebus1 not configured
[   1.0103614] /soc/amba/mdma@10800000 at simplebus2 not configured
[   1.0103614] /soc/adc@12d10000 at simplebus1 not configured
[   1.0103614] /soc/cec@101b0000 at simplebus1 not configured
[   1.0103614] /soc/mixer@14450000 at simplebus1 not configured
[   1.0103614] /soc/rotator@11c00000 at simplebus1 not configured
[   1.0103614] /soc/video-scaler@13e00000 at simplebus1 not configured
[   1.0103614] /soc/video-scaler@13e10000 at simplebus1 not configured
[   1.0103614] /soc/scaler@12800000 at simplebus1 not configured
[   1.0103614] /soc/scaler@12810000 at simplebus1 not configured
[   1.0103614] /soc/scaler@12820000 at simplebus1 not configured
[   1.0103614] /soc/jpeg@11f50000 at simplebus1 not configured
[   1.0103614] /soc/jpeg@11f60000 at simplebus1 not configured
[   1.0103614] /soc/system-controller@10040000/syscon-poweroff at syscon1 not configured
[   1.0103614] /soc/system-controller@10040000/syscon-reboot at syscon1 not configured
[   1.0103614] /soc/bus_noc at simplebus1 not configured
[   1.0103614] /soc/bus_fsys_apb at simplebus1 not configured
[   1.0103614] /soc/bus_fsys at simplebus1 not configured
[   1.0103614] /soc/bus_fsys2 at simplebus1 not configured
[   1.0103614] /soc/bus_mfc at simplebus1 not configured
[   1.0103614] /soc/bus_gen at simplebus1 not configured
[   1.0103614] /soc/bus_peri at simplebus1 not configured
[   1.0103614] /soc/bus_g2d at simplebus1 not configured
[   1.0103614] /soc/bus_g2d_acp at simplebus1 not configured
[   1.0103614] /soc/bus_jpeg at simplebus1 not configured
[   1.0103614] /soc/bus_jpeg_apb at simplebus1 not configured
[   1.0103614] /soc/bus_disp1_fimd at simplebus1 not configured
[   1.0103614] /soc/bus_disp1 at simplebus1 not configured
[   1.0103614] /soc/bus_gscl_scaler at simplebus1 not configured
[   1.0103614] /soc/bus_mscl at simplebus1 not configured
[   1.0103614] /sound at simplebus0 not configured
[   1.0103614] /firmware@2073000 at simplebus0 not configured
[   1.0103614] gpiokeys0 at simplebus0: power key
[   1.0103614] /pwmleds at simplebus0 not configured
[   1.0103614] /soc/chipid@10000000 at simplebus1 not configured
[   1.0103614] /soc/sysram@2020000 at simplebus1 not configured
[   1.0103614] mct0: interrupting on interrupt combiner group 23 intr 3
[   1.0103614] cpu4: Cortex-A15 r2p3 (Cortex V7A core)
[   1.0103614] cpu4: DC enabled IC enabled WB enabled LABT branch prediction enabled
[   1.6906107] cpu4: 32KB/32B 2-way L1 VIPT Instruction cache
[   1.6906107] cpu4: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
[   1.7006027] cpu4: 512KB/64B 8-way write-through L2 PIPT Unified cache
[   1.7106035] vfp4 at cpu4: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
[   1.7106035] cpu6: Cortex-A15 r2p3 (Cortex V7A core)
[   1.7206042] cpu6: DC enabled IC enabled WB enabled LABT branch prediction enabled
[   1.7306045] cpu6: 32KB/32B 2-way L1 VIPT Instruction cache
[   1.7306045] cpu6: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
[   1.7406052] cpu6: 512KB/64B 8-way write-through L2 PIPT Unified cache
[   1.7406052] vfp6 at cpu6: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
[   1.7506075] cpu3: Cortex-A7 r0p3 (Cortex V7A core)
[   1.7606082] cpu3: DC enabled IC enabled WB enabled LABT branch prediction enabled
[   1.7606082] cpu3: 32KB/32B 2-way L1 VIPT Instruction cache
[   1.7706091] cpu3: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
[   1.7806100] cpu3: 512KB/64B 8-way write-through L2 PIPT Unified cache
[   1.7806100] vfp3 at cpu3: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
[   1.7906110] cpu1: Cortex-A7 r0p3 (Cortex V7A core)
[   1.8006120] cpu1: DC enabled IC enabled WB enabled LABT branch prediction enabled
[   1.8006120] cpu1: 32KB/32B 2-way L1 VIPT Instruction cache
[   1.8106143] cpu1: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
[   1.8106143] cpu1: 512KB/64B 8-way write-through L2 PIPT Unified cache
[   1.8206136] vfp1 at cpu1: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
[   1.8306147] cpu2: Cortex-A7 r0p3 (Cortex V7A core)
[   1.8306147] cpu2: DC enabled IC enabled WB enabled LABT branch prediction enabled
[   1.8406154] cpu2: 32KB/32B 2-way L1 VIPT Instruction cache
[   1.8506166] cpu2: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
[   1.8506166] cpu2: 512KB/64B 8-way write-through L2 PIPT Unified cache
[   1.8606168] vfp2 at cpu2: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
[   1.8706198] cpu7: Cortex-A15 r2p3 (Cortex V7A core)
[   1.8706198] cpu7: DC enabled IC enabled WB enabled LABT branch prediction enabled
[   1.8806170] cpu7: 32KB/32B 2-way L1 VIPT Instruction cache
[   1.8806170] cpu7: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
[   1.8906187] cpu7: 512KB/64B 8-way write-through L2 PIPT Unified cache
[   1.9006187] vfp7 at cpu7: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
[   1.9106201] cpu5: Cortex-A15 r2p3 (Cortex V7A core)
[   1.9106201] cpu5: DC enabled IC enabled WB enabled LABT branch prediction enabled
[   1.9206205] cpu5: 32KB/32B 2-way L1 VIPT Instruction cache
[   1.9206205] cpu5: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
[   1.9306226] cpu5: 512KB/64B 8-way write-through L2 PIPT Unified cache
[   1.9406217] vfp5 at cpu5: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
[   1.9506245] cpufreqdt0: couldn't acquire cpu-supply
[   1.9506245] cpufreqdt1: couldn't acquire clock
[   1.9606246] cpufreqdt2: couldn't acquire clock
[   1.9606246] cpufreqdt3: couldn't acquire clock
[   1.9606246] cpufreqdt4: couldn't acquire cpu-supply
[   1.9738087] cpufreqdt5: couldn't acquire clock
[   1.9738087] cpufreqdt6: couldn't acquire clock
[   1.9831412] cpufreqdt7: couldn't acquire clock
[   1.9831412] armpmu0: interrupting on GIC irq 192
[   1.9831412] armpmu0: interrupting on GIC irq 193
[   1.9969978] armpmu0: interrupting on GIC irq 194
[   1.9969978] armpmu0: interrupting on GIC irq 195
[   2.0761889] uhub0 at usb0: NetBSD (0000) xHCI root hub (0000), class 9/0, rev 3.00/1.00, addr 0
[   2.0904912] uhub1 at usb1: NetBSD (0000) xHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 0
[   2.0961936] uhub2 at usb2: NetBSD (0000) xHCI root hub (0000), class 9/0, rev 3.00/1.00, addr 0
[   2.1061949] uhub3 at usb3: NetBSD (0000) xHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 0
[   2.1161920] sdmmc0 at dwcmmc0
[   2.1161920] sdmmc1 at dwcmmc1
[   2.3162095] uhub4 at usb5: NetBSD (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
[   2.3262097] uhub5 at usb4: NetBSD (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
[   2.3362100] sdmmc0: sdmmc_mem_enable failed with error 5
[   2.3462118] sdmmc0: couldn't enable card: 5
[   2.3662132] sdmmc1: SD card status: 4-bit, C10, U3
[   2.3765440] ld1 at sdmmc1: <0x27:0x5048:SD32G:0x30:0x010f59a1:0x0fc>
[   2.3765440] ld1: 30624 MB, 7777 cyl, 128 head, 63 sec, 512 bytes/sect x 62717952 sectors
[   2.3862153] ld1: 59128576 trailing sectors not covered by disklabel
[   2.3962168] ld1: 4-bit width, High-Speed/SDR25, 50.000 MHz
[   3.7063051] uhub3: port 1, device not enabled
[   3.7363084] uhub6 at uhub0 port 1: GenesysLogic (0x5e3) USB3.0 Hub (0x616), class 9/0, rev 3.00/22.23, addr 1
[   3.7463135] uhub7 at uhub1 port 1: GenesysLogic (0x5e3) USB2.0 Hub (0x610), class 9/0, rev 2.10/22.23, addr 2
[   3.7576368] uhub7: multiple transaction translators
[   4.6163700] ure0 at uhub3 port 1
[   4.6163700] ure0: Realtek (0xbda) USB 10/100/1000 LAN (0x8153), rev 2.10/30.00, addr 1
[   4.6263722] ure0: RTL8153 ver 5c20
[   4.6963765] ure0: Ethernet address 00:1e:06:30:a0:57
[   4.6963765] rgephy0 at ure0 phy 0: RTL8251 1000BASE-T media interface, rev. 0
[   4.7063776] rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
[   4.7163777] WARNING: 9 errors while detecting hardware; check system log.
[   4.7263784] ld1: 59128576 trailing sectors not covered by disklabel
[   4.7263784] boot device: ld1
[   4.7363799] ld1: 59128576 trailing sectors not covered by disklabel
[   4.7363799] root on ld1a dumps on ld1b
[   4.7463801] ld1: 59128576 trailing sectors not covered by disklabel
[   4.7463801] ld1: 59128576 trailing sectors not covered by disklabel
[   4.7563815] root file system type: ffs
[   4.7663822] kern.module.path=/stand/evbarm/8.99.39/modules
[   4.7763827] WARNING: no TOD clock present
[   4.7763827] WARNING: using filesystem time
[   4.7845182] WARNING: CHECK AND RESET THE DATE!
Fri May 10 15:00:48 UTC 2019
Starting root file system check:
/dev/rld1a: file system is clean; not checking
Growing ld1 MBR partition #1 (1528MB -> 30400MB)
Growing ld1 disklabel (1752MB -> 30624MB)
Resizing /
These users thanked the author hominoid for the post:
S199pWa1k9r (Wed Jul 03, 2019 4:01 am)

S199pWa1k9r
Posts: 3
Joined: Mon Jan 21, 2019 5:09 pm
languages_spoken: english
ODROIDs: ORDOID-HC2
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Support for BSD

Post by S199pWa1k9r »

Well I did try the latest NetBSD XU4 image on a SD card and eMMC over the weekend. On the SD card it hangs trying to resize the files system on the first boot. Even disabling the resize did not help, it still hung. The eMMC image didn't make it that fa
Replace sd card with a faster one

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

Re: Support for BSD

Post by hominoid »

S199pWa1k9r wrote:
Wed Jul 03, 2019 4:03 am
Well I did try the latest NetBSD XU4 image on a SD card and eMMC over the weekend. On the SD card it hangs trying to resize the files system on the first boot. Even disabling the resize did not help, it still hung. The eMMC image didn't make it that fa
Replace sd card with a faster one
I’m a little further along since my last post. I was able to get a XU4 to boot NetBSD to a login prompt. After the same SD card that I was running NetBSD on my C2 didn’t work, I tried several others and only a SanDisk Ultra 256GB would boot. After some configuration I started pkgsrc and I could not get through it without the XU4 hanging, seemingly related to SD card writes? (speculation). I posted the issue on the NetBSD ARM developers mailing list and after a brief exchange with one of the developers, they concurred with my suggestion that there may be a SD driver issue. I recently ordered some SanDisk Ultra 32GB SD cards to work with and at this time I need to check the current image again and see if anything has changed. When I can find some more time, I would also like to take a look at the SD and eMMC driver myself but hey, it’s summer!

tenox
Posts: 4
Joined: Tue May 07, 2019 2:36 pm
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Support for BSD

Post by tenox »

I want FreeBSD not NetBSD because of ZFS and I bet FreeNAS would be happy too. Can we make pressure on Hardkernel to support for FreeBSD somehow?

elatllat
Posts: 1831
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2, C4, N2+, HC4
Has thanked: 57 times
Been thanked: 124 times
Contact:

Re: Support for BSD

Post by elatllat »

tenox wrote:
Wed Jul 03, 2019 4:38 pm
I want FreeBSD not NetBSD because of ZFS and I bet FreeNAS would be happy too. Can we make pressure on Hardkernel to support for FreeBSD somehow?
Pressure FreeBSD (not Hardkernel)...The H2 is the SBC with the most RAM (ZFS likes RAM).

The N2 has 10x faster crypto than pi-4 (ZFS likes crypto) so once the USB issues are sorted it may be worth running BSD on.

XU4 may be less RoI than the other 2 SBCs.

tenox
Posts: 4
Joined: Tue May 07, 2019 2:36 pm
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Support for BSD

Post by tenox »

XU4 because of HC2 look at HC2 form factor. It's a perfect NAS.

How do I pressure FreeBSD?

S199pWa1k9r
Posts: 3
Joined: Mon Jan 21, 2019 5:09 pm
languages_spoken: english
ODROIDs: ORDOID-HC2
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Support for BSD

Post by S199pWa1k9r »

We need to persuade Mr Jared to patch FreeBSD as well as NetBSD for
ODROID-XU4/HC1/HC2
https://twitter.com/jmcwhatever
http://www.invisible.ca/

PayPal https://paypal.me/jmcwhatever

mcharytoniuk
Posts: 2
Joined: Sat Aug 08, 2020 2:33 am
languages_spoken: english
ODROIDs: H2,HC1
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Support for BSD

Post by mcharytoniuk »

Hey,

I wrote a tutorial on how to setup NetBSD on odroid XU4/HC1/HC2:
https://dev.to/mcharytoniuk/how-to-inst ... nners-3d67
These users thanked the author mcharytoniuk for the post:
odroid (Mon Aug 10, 2020 10:55 am)

User avatar
odroid
Site Admin
Posts: 35839
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1291 times
Been thanked: 905 times
Contact:

Re: Support for BSD

Post by odroid »

Thank you for the nice tutorial. :D

maverick
Posts: 8
Joined: Tue May 12, 2020 2:30 am
languages_spoken: english
ODROIDs: XU4, HC2 and C2
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Support for BSD

Post by maverick »

File an RFE (request for enhancement) on their bug tracker. That's the technical term for a feature request.

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 1 guest