[Bug 268068] sysutils/u-boot-rock-pi-4 - support for rock-pi-4se?

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 08 Dec 2022 15:05:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268068

--- Comment #7 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Jon Theil Nielsen from comment #6)

As for adding rockchip/rk3399-rock-pi-4b.dts to a Makefile goes . . .

Looking for where my Rock64 example is listed in source files:
(I have multiple source trees, thus the "main-src" instead of
just src)

# grep -r rk3328-rock64 /usr/main-src/ | more
/usr/main-src/sys/modules/dtb/rockchip/Makefile:       
rockchip/rk3328-rock64.dts \
/usr/main-src/sys/contrib/device-tree/src/arm64/rockchip/rk3328-rock-pi-e.dts:
* Based on ./rk3328-rock64.dts, which is

So /usr/src/sys/modules/dtb/rockchip/Makefile looks to be where you
would add a line to the existing list of dts files in that Makefile,
the line looking like:

        rockchip/rk3399-rock-pi-4b.dts \

(no whitespace after the "\", just the end of the line).
The white space at the line start is a tab character.

With that in place, a build install sequence should put in place a:

/boot/dtb/rockchip/rk3399-rock-pi-4b.dtb

for you to then copy to the msdosfs under/as:

dtb/rockchip/rk3399-rock-pi-4b.dtb

-- 
You are receiving this mail because:
You are the assignee for the bug.