Posts

Showing posts with the label GhostBSD ARM64 port

building a FreeBSD 16.0 CURRENT image for Raspberry Pi 500 ( ie 5) Keyboard model

 https://www.aliexpress.com/item/1005010157378785.html  looking at 8 arm core board with 16gb dram Download Raspberry Pi image file 16.0-CURRENT using curl command and checksum md5 the image [kliktel-pc FreeBSD ]# curl -O https://download.freebsd.org/snapshots/arm64/aarch64/ISO-IMAGES/16.0/FreeBSD-16.0-CURRENT-arm64-aarch64-RPI-20260224-168 22dac32ab-284159.img.xz  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current                                 Dload  Upload   Total   Spent    Left  Speed 100  577M  100  577M    0     0  2458k      0  0:04:00  0:04:00 --:--:-- 2344k [kliktel-pc ...

Downloading FreeBSD 14.2 RELEASE image for Raspberry Pi (3/4). dd write to a MicroSD card

Using Linux to download FreeBSD 14.2 image and dd write image to USB flash drive stick at /dev/sdb or to /dev/mmcblk0   microSD card. First get the Linux shell script image file from this location. wget -c http://ghostbsdarm64.hopto.org/packages/write_using_Linux_a_freebsd_img_dd_to_sdX.sh   --2025-05-06 21:26:07--  http://ghostbsdarm64.hopto.org/packages/write_using_Linux_a_freebsd_img_dd_to_sdX.sh Resolving ghostbsdarm64.hopto.org (ghostbsdarm64.hopto.org)... 67.171.248.137 Connecting to ghostbsdarm64.hopto.org (ghostbsdarm64.hopto.org)|67.171.248.137|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 6795 (6.6K) [application/octet-stream] Saving to: ‘write_using_Linux_a_freebsd_img_dd_to_sdX.sh’ write_using_Linux_a_freebsd_img_dd_to 100%[=======================================================================>]   6.64K  --.-KB/s    in 0.02s    2025-05-06 21:26:07 (266 KB/s) - ‘write_using...

Setting up Jenkins on my little Raspberry Pi 4B hardware with 8gb dram and 1 TB usb 3.0 SSD

 Setting up Jenkins on my little Raspberry Pi 4B hardware with 8gb dram and 1 TB usb 3.0 SSD  April 13, 2025 Several Jenkins FreeBSD setup URLs to read https://wiki.jenkins.io/JENKINS/FreeBSD.html  Wiki Jenkins  FreeBSD Install https://wiki.freebsd.org/Jenkins/InstallGuide    Wiki FreeBSD Jenkins Install Guide https://www.server-world.info/en/note?os=FreeBSD_14&p=java&f=4   https://www.server-world.info/en/note?os=FreeBSD_14&p=java&f=6   Install Jenkins & OpenJDK 21 https://www.jenkins.io/doc/book/installing/other/    Jenkins Installing Other   https://erlangstar.com/2020/10/08/installing-jenkins-on-freebsd/   October 2020 Erlangstar installing Jenkins on FreeBSD.   https://medium.com/@veneraldo/installing-jenkins-on-freebsd-8c27ad5405   Veneraldo Medium article, "Installing Jenkins on FreeBSD"  Apr 20, 2023   edit  /etc/rc.conf    and add  1 line jenkins_enable="YES" ...

PXE aarch64 TFTp boot a Raspberry Pi 4B over the network, May 5 2024

 PXE aarch64 TFTp boot a Raspberry Pi 4B over the network, May 5 2024   PXE:TFTPd Setup   This is one of the easiest pieces to get working. mkdir /tftpboot .  zfs list; zfs create -o compress=off arm64pool/tftpboot   for x86 FreeBSD use this line   zfs list; zfs create -o compress=off zroot/var/tftpboot ; zfs list Uncomment the tftp line in /etc/inetd.conf . tftp    dgram   udp     wait    root    /usr/libexec/tftpd      tftpd -l -s /tftpboot # enable the ftp server ftp    stream  tcp     nowait  root    /usr/libexec/ftpd       ftpd -l Add inetd_enable="YES" to your /etc/rc.conf. Run /etc/rc.d/inetd start . Now that the server is working, we need the boot loader that will be served via TFTP to the PXE loader on your machine. for x86_64, maybe for aarch64 needs...

WiFI SDIO Broadcom, Infineon 43455, Notes to learn from for FreeBSD / GhostBSD-Arm64

Image
WiFI SDIO Broadcom, Infineon 43455,  Notes to learn from for FreeBSD / GhostBSD-Arm64 https://wiki.gentoo.org/wiki/Raspberry_Pi4_64_Bit_Install#WiFi WiFi WiFi needs three firmware files from in /lib/firmware/brcm/ : brcmfmac43455-sdio.bin brcmfmac43455-sdio.clm_blob brcmfmac43455-sdio.txt Which is almost but not quite the same as the Pi3. The catch is in brcmfmac43455-sdio.txt where grep boardflags3 produces different results for the Pi3 and Pi4 files. The Pi4 version returns boardflags3=0x44200100 The Pi3 version returns boardflags3=0x48200100 With the wrong brcmfmac43455-sdio.txt file, bluetooth will work but not WiFi. These files, including the Pi 4 version of above file, are found in sys-firmware/raspberrypi-wifi-ucode , to install it you'll also need to install sys-kernel/linux-firmware with the savedconfig USE flag and remove the conflicting files from the saved configuration, and then re-emerge linux-firmware to apply the new de-conflicted saved configuration: /...

Compile gdb for aarch64 target to use with MX-Linux. Later compile to use with FreeBSD or GhostBSD-Arm64

Compile gdb for aarch64 target REMOTE Debugging with EmCraft https://www.emcraft.com/som/imx-8m/remote-debugging-with-gdb   Here I found a forum post at forums.raspberrypi.com and a shell script file See my post 2nd about aarch64  https://forums.raspberrypi.com/viewtopic.php?p=2200136&hilit=gdb#p2200136 The first forum post has many useful links and notes. I got a debug probe, here's a bash script to build GDB for ARM   https://forums.raspberrypi.com/viewtopic.php?t=364475  

Uart3 Serial Port, How to locate the source code used by FreeBSD / GhostBSD-Arm64

Image
 Uart3 Serial Port,  How to locate the source code used by FreeBSD / GhostBSD-Arm64 Edit the file /etc/rc.conf  and  add the bash execution line 'set -x'  This will produce verbose output from  'make buildkernel KERNCONF=GENERIC-VCHIC   -DNO_CLEAN Issue the  'make buildkernel' command and direct stdout & stderr to a file. make buildkernel KERNCONF=GENERIC-VCHIQ -DNO_CLEAN > BRCM64_GENERIC-VCHIQ.txt 2>&1  later you can run make installkernel KERNCONF=GENERIC-VCHIQ ===> wlan_tkip (install) install -T release -o root -g wheel -m 555   wlan_tkip.ko /boot/kernel/ install -T dbg -o root -g wheel -m 555   wlan_tkip.ko.debug /usr/lib/debug/boot/kernel/ ===> wlan_wep (install) install -T release -o root -g wheel -m 555   wlan_wep.ko /boot/kernel/ install -T dbg -o root -g wheel -m 555   wlan_wep.ko.debug /usr/lib/debug/boot/kernel/ ===> wlan_xauth (install) install -T release -o root ...