[Bug 289006] sysutils/u-boot-khadas-edge-v : support for khadas-edge-v removed / bugged ?
Date: Fri, 22 Aug 2025 15:36:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289006
Bug ID: 289006
Summary: sysutils/u-boot-khadas-edge-v : support for
khadas-edge-v removed / bugged ?
Product: Ports & Packages
Version: Latest
Hardware: arm64
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: marietto2008@gmail.com
Hello to everyone.
I've upgraded FreeBSD 13 to 14.2-RELEASE on the Khadas Edge V and I've tested
two display that have a resolution of 720x720 and 480x480 from different brands
and I saw that as soon as I turn on the board,they work,I see the boot messages
running on the screens but from a precise moment they become black.
Instead,FreeBSD,or is better to say the version of u-boot used,is able to turn
on my large HDMI monitor,which has a
resolution of 1920x1080 pixels.
Since I'm building a FreeBSD modular phone, I want to use a small HDMI display
with a low resolution.
My question is : why u-boot (version 2020.07 patched,that you can find here :
https://personalbsd.org/download/u-boot-ports/
is able to turn on a monitor that has a resolution of 1920x1080 and it's not
able to turn on different HDMI displays that have a resolution of 720x720 and
480x480 ?
Probably there is the same problem as with rk356x boards. Hdmi / pixel clock is
to low for the hardwired pll values and/or edid fails and the hard wired 720p /
480p 16x9 fails. This is what the errors that I found on the log are telling :
i2s0: <Rockchip I2S> mem 0xff880000-0xff880fff irq 51 on ofwbus0
Cannot set frequency for clk: clkin_i2s, error: 34
Cannot set frequency for clk: xin24m, error: 34
i2s1: <Rockchip I2S> mem 0xff890000-0xff890fff irq 52 on ofwbus0
Cannot set frequency for clk: clkin_i2s, error: 34
Cannot set frequency for clk: xin24m, error: 34
i2s2: <Rockchip I2S> mem 0xff8a0000-0xff8a0fff irq 53 on ofwbus0
Cannot set frequency for clk: clkin_i2s, error: 34
Cannot set frequency for clk: xin24m, error: 34
Now,the defconfig files should have been located here:
/usr/ports/sysutils/u-boot-khadas-edge-v/work/u-boot-2025.07
but it's not there. I don't know if in the past it was there,but now the port
has been removed.
I don't think it will work the same if I use an upgraded version of U-boot.
I suspect that it will stop working. Because only that particular version of
u-boot has been patched to work,partially,with the HDMI screens. If I upgrade
u-boot I should make sure that the patches proposed for the version 2020.07 can
be applied.
And if u-boot will be upgraded to 2025,Im sure that those patches should be
rewritten.
I tried to boot all these images with the KHADAS EDGE-V :
FreeBSD-14.3-RELEASE-arm64-aarch64-memstick.img ;
FreeBSD-14.3-RELEASE-arm64-aarch64-PINEBOOK.img ;
FreeBSD-14.3-RELEASE-arm64-aarch64-PINE64.img ;
FreeBSD-14.3-RELEASE-arm64-aarch64-ROCK64.img ;
FreeBSD-14.3-RELEASE-arm64-aarch64-PINE64-LTS.img ;
FreeBSD-14.3-RELEASE-arm64-aarch64-ROCKPRO64.img ;
I can't make boot any of those images with any HDMI display. No one of these
are even able to turn on my HDMI 1920x1080 display. The port of
u-boot-khadas-edge-v does not exist. But the version of u-boot that work with a
large monitor is on the
personalBSD website and almost work. Almost because it does not work with lower
resolutions screens (480x480 and 720x720).
Why the code offered by the personalBSD website has not been accepted on
FreeBSD ? why I don't see any u-boot port for the KHADAS-EDGE-V board ?
Why I don't see any FreeBSD image dedicated to that board ?
Inside the personalBSD site there is a version of FreeBSD (13) / that I have
upgraded
to 14.2) that works on that board. But it is not offered by FreeBSD,but by an
external website. Why ?
--
You are receiving this mail because:
You are the assignee for the bug.