Support for Odroid XU4?

Hi,

How can one persuade / help FreeBSD get official support for some specific ARM board?

I would like to see a full support for Odroid XU4. This is because their HC2 product (XU4 based) is a perfect NAS hardware. I would love to run FreeBSD/ZFS on it.

Is there some form of a bounty or other process to get it kick started?

Thanks!
 
There are lots of people who wants stuff. Some even want to pay for stuff. However the one thing FreeBSD needs most is more developers - that is the only thing that can help accelerate development.
Still, very few of the people who wants something from FreeBSD wants to learn how to be a FreeBSD developer (in fairness, some do).

Curious that.
 
It's a quite old post, but I don't want to reopen a new one.

I am wondering, whether the FreeBSD-kernel would be able to boot on Odroid XU4 or is it not working at all?
Actually I configured/compiled a FreeBSD-kernel using the EXYNOS5420 configuration, but always stuck when the kernel actually should start (see attachment).

I had to modify the u-boot loader (README.odroid), and shift the first (msdos) partition by a few blocks, but the rest was a standard FreeBSD (13.0) image (apart from the kernel, of course).

Any ideas what I am missing?
 

Attachments

  • u-boot-log.txt
    9.5 KB · Views: 163
Thanks a lot.

Could you be more specific, which 2019 source codes you mean? 11.3, 11.4, 12.1 or older? Or which revision?
 
git switch stable/12

Here


root@honeycomb:/usr/src # ls -lsa sys/arm/samsung/exynos/
total 171
9 drwxr-xr-x 2 root wheel 29 May 15 15:37 .
1 drwxr-xr-x 3 root wheel 3 May 15 15:37 ..
5 -rw-r--r-- 1 root wheel 5184 May 15 15:37 chrome_ec_spi.c
5 -rw-r--r-- 1 root wheel 6388 May 15 15:37 chrome_ec.c
5 -rw-r--r-- 1 root wheel 1700 May 15 15:37 chrome_ec.h
13 -rw-r--r-- 1 root wheel 19201 May 15 15:37 chrome_kb.c
5 -rw-r--r-- 1 root wheel 3167 May 15 15:37 chrome_kb.h
9 -rw-r--r-- 1 root wheel 9060 May 15 15:37 exynos_uart.c
5 -rw-r--r-- 1 root wheel 5410 May 15 15:37 exynos_uart.h
9 -rw-r--r-- 1 root wheel 10842 May 15 15:37 exynos5_combiner.c
5 -rw-r--r-- 1 root wheel 1467 May 15 15:37 exynos5_combiner.h
5 -rw-r--r-- 1 root wheel 1855 May 15 15:37 exynos5_common.h
9 -rw-r--r-- 1 root wheel 9998 May 15 15:37 exynos5_ehci.c
9 -rw-r--r-- 1 root wheel 10826 May 15 15:37 exynos5_fimd.c
9 -rw-r--r-- 1 root wheel 10166 May 15 15:37 exynos5_i2c.c
5 -rw-r--r-- 1 root wheel 2804 May 15 15:37 exynos5_machdep.c
5 -rw-r--r-- 1 root wheel 3703 May 15 15:37 exynos5_mct.c
5 -rw-r--r-- 1 root wheel 3764 May 15 15:37 exynos5_mp.c
5 -rw-r--r-- 1 root wheel 1508 May 15 15:37 exynos5_mp.h
13 -rw-r--r-- 1 root wheel 20451 May 15 15:37 exynos5_pad.c
5 -rw-r--r-- 1 root wheel 1459 May 15 15:37 exynos5_pad.h
5 -rw-r--r-- 1 root wheel 4238 May 15 15:37 exynos5_pmu.c
5 -rw-r--r-- 1 root wheel 1447 May 15 15:37 exynos5_pmu.h
5 -rw-r--r-- 1 root wheel 5895 May 15 15:37 exynos5_spi.c
5 -rw-r--r-- 1 root wheel 7735 May 15 15:37 exynos5_usb_phy.c
9 -rw-r--r-- 1 root wheel 8447 May 15 15:37 exynos5_xhci.c
5 -rw-r--r-- 1 root wheel 908 May 15 15:37 files.exynos5
5 -rw-r--r-- 1 root wheel 131 May 15 15:37 std.exynos5250
5 -rw-r--r-- 1 root wheel 131 May 15 15:37 std.exynos5420
root@honeycomb:/usr/src #
 
Unfortunately, still no success.

Compiled a kernel using stable/12, but it still stops at the same position.

I was also trying to set the dtb-file (version of stable/12) manually by
load -t dtb exynos5422-odroidxu4.dtb
Alternatively I tried also exynos5422-odroidxu3.dtb, but no change.

Does it make sense to use an earlier version? Or could the version of bootarm.efi also interfere?
 
We do not see a single line of the system kernel output - this means that we have something wrong with the console driver or the definition of the console port in the DTS file.
It seems to me.
 
This was also one of my thoughts.

So I used the dtb-file from a working NetBSD-Image, but unfortunately without change. Actually a closer look reveilled that NetBSD and FreeBSD use the same dts-files.

So I does not seem to be the dtb/dts-file.
 
Last edited:
It's a quite old post, but I don't want to reopen a new one.

I am wondering, whether the FreeBSD-kernel would be able to boot on Odroid XU4 or is it not working at all?
Actually I configured/compiled a FreeBSD-kernel using the EXYNOS5420 configuration, but always stuck when the kernel actually should start (see attachment).

I had to modify the u-boot loader (README.odroid), and shift the first (msdos) partition by a few blocks, but the rest was a standard FreeBSD (13.0) image (apart from the kernel, of course).

Any ideas what I am missing
How to try run with uboot ? I tried run without result . I did "tip 115200 ucom1"
 
There are lots of people who wants stuff. Some even want to pay for stuff. However the one thing FreeBSD needs most is more developers - that is the only thing that can help accelerate development.
Still, very few of the people who wants something from FreeBSD wants to learn how to be a FreeBSD developer (in fairness, some do).

Curious that.
I find the porters-handbook not that easy.
 
Back
Top