Where does that KERNCONF come from? I do not see it in /usr/src/sys/arm64/conf
KERNCONF=GENERIC-VCHIQ file is created from the D37878 review patch file.
reviews.freebsd.org
Hello, You want HDMI audio out from TV speakers on your BCM2711 Raspberry Pi 4B,3B, 400? add 3 patch files to update the kernel source code. make buildworld -DNO_CLEAN ; make buildkernel KERNCONF=GENERIC-VCHIQ -DNO_CLEAN
Will this work on a BCM2712 Raspi5? I do not know until you with a Raspi5 test these 3 patch files on your kernel build. Let us know the results, please. Watching YouTube videos on your HDMI input connected TV at 42" or 55" is very satisfying to view.
ls -lh /usr/ghost14/ghostbsd-src/sys/arm64/conf
-rw-r--r-- 1 root wheel 432B Jan 19 07:25 DEFAULTS
-rw-r--r-- 1 root wheel 1.2K Jan 19 07:25 GENERIC
-rw-r--r-- 1 root wheel 55B Jan 19 07:25 GENERIC-KASAN
-rw-r--r-- 1 root wheel 417B Jan 19 07:25 GENERIC-MMCCAM
-rw-r--r-- 1 root wheel 821B Jan 19 07:25 GENERIC-UP
-rw-r--r-- 1 root wheel 338B Jan 20 01:47 GENERIC-VCHIQ
-rw-r--r-- 1 root wheel 0B Jan 20 01:47 GENERIC-VCHIQ.orig
cat GENERIC-VCHIQ
#
# GENERIC-VCHIQ
#
# Custom kernel for arm64 plus VCHIQ
#
# $FreeBSD$
#NO_UNIVERSE
include GENERIC
ident GENERIC-VCHIQ
device vchiq
# If you want to have any chance of compiling this in a RPI Zero 2
# uncomment the stuff below
# nomakeoptions DEBUG
# nomakeoptions WITH_CTF
# nooptions DDB_CTF
# makeoptions MALLOC_PRODUCTION=1
What's the status now? Can we boot a desktop environment? Bhyve for ARM? Wireless networking?
The SDIO support is in the FreeBSD code. The OpenBSD or NETBSD wifi driver for the 43455 chip has not been ported. Bhyve for ARM64, not tried nor tested. NGINX works, Poudriere works. Thunderbird email works. What package or application do you wish to see work?
http://ghostbsdarm64.hopto.org/packages/Ghost14_5G_selfbuilt_raspi4b_Feb7_1.img This image has GENERIC-VCHIQ sound already compiled inside and is tested to work! I am typing this reply on this machine running GhostBSD-Arm64 Jan22_0.img file. I also made script files to create a bootable ZFS USB SSD with GhostBSD-Arm64 and XFCE 4.18 desktop. Start with Downloading this 700Mbyte image, decompress
Code:
fetch http://ghostbsdarm64.hopto.org/packages/Ghost14_5g_selfbuilt_raspi4b_Jan22_0.img.xz
xz --decompress --keep --verbose Ghost14*.img.xz
dd if=Ghost14*.img of=/dev/da1 bs=1m conv=sync status=progress
gpart resize -i 3 -a 4k -s 80G da1 # resize the 3rd partition UFS type to 80Gbytes, or use -s 12G
growfs da1p3 # grow file size in expanded partition performed above
Boot on your Raspi4B SBC from a USB flash drive.
pkg install mpg123
mpg123 *.mp3 # see if sound plays on your HDMI TV Audio speakers.
For Raspi4B use, Read through this blog post.
https://ghostbsd-arm64.blogspot.com/2023/12/how-to-install-ghostbsd-arm64-into-usb.html
Setup Desktop Environment, XFCE
Code:
pkg install xorg xfce xfce4-goodies lightdm abiword dia tree
Will setup XFCE Desktop
View: https://www.youtube.com/watch?v=1VpVvsVbT-g&pp=ygUYZnJlZWJzZCAxNCB4ZmNlIGluc3RhbGwg
AgileDevArt FreeBSD XFCE Install
View: https://www.youtube.com/watch?v=ObQTHyvcdQ0&pp=ygUYZnJlZWJzZCAxNCB4ZmNlIGluc3RhbGwg
RoboNuggie FreeBSD 13.1 XFCE install
https://vermaden.wordpress.com/tag/xfce/ XFCE setup
https://mabufs.com/blog/freebsd-xinitrc Xinitrc contents for various Desktop Environment Like Cinanmon, Lumina DE, fluxbox