Re: KHADAS EDGE V booting hangs if I install UEFI instead of u-boot

Mark Millard <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>

On Aug 7, 2025, at 09:27, Mario Marietto <[email protected]> wrote:
> 
> I can't give an answer to your questions. They are too advanced. I can only tell you what I want to achieve. As you can see,the version of FreeBSD which works on the KHADAS Edge is based on the old 13.x branch. I want to use the 14.x branch.

[It may be that you have already tried what I suggest below.]

I'd recommend first getting the system working with 14.3-RELEASE
via just use of the serial console. Then using that context, with
14.3 already in place, to get the the video working.

I'd start with the working 13.0-RELEASE and disable use of
any video drivers (they depend on the kernel vintage's details),
booting without the video drivers. This may involved having
/boot/loader.conf indicate a serial-only context:

boot_multicons="NO"
boot_serial="YES"

and having booted with such in place.

Then, using just the serial console, do the a freebsd-update
upgrade sequence to 14.3-RELEASE. You may end up needing
to update the bootaa64.efi that is on the msdosfs file
system in efi/boot/ to be a copy of the more modern
14.3-RELEASE's /boot/loader.efi for aarch64.

Having booted 14.3-RELEASE, do some testing if things seem to
be working that do not involve video. If the serial console
context is broken, getting that working should be done before
dealing with getting video working.

Only after that context seems to be operational, start to deal
with getting video working for 14.3-RELEASE.

I'll note that I almost always run headless. And I've no clue
what the video context is like for the system you are using.

> But I don't have any patch that has been used to compile u-boot and or UEFI and / or the kernel. What I know for sure is that the KHADAS has the Rockchip RK3399 such as the RockPro64. So,what I tried was to place the sd card where I have installed FreeBSD 14.2 on the RockPro64 to the sd card slot of the KHADAS,to see what would have happened. What happened is that FreeBSD boots until the login prompt,but at a certain point,the screen starts to tremble. More or less at this point :
> 
> 
> . . .

===
Mark Millard
marklmi at yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.