Posts

NetBSD aarch64 10.0 install on Raspberry Pi 4B, wahoo it works, Fred!

Image
NetBSD aarch64 10.0  install on Raspberry Pi 4B,   wahoo it works, Fred!  Well, this is a good accomplishment for May 7th 2024. Installing NetBSD 10.0 on a Raspberry Pi 4B with 8Gigs.     May 7th is also my son Conner Louis Tilley:    7lbs, 7 ounces, born on the 7th of May.  My little triple 7 ( in the next month June of 1995 Boeing announced the Triple Seven, 777 model Dreamliner Airplane ) arrived into my Life,  my son,  Connor Louis Tilley. https://www.facebook.com/connor.tilley.2903   He is a video games developer with Amazon Games When did the Boeing Triple Seven, 777 come out? The Boeing 777 is a family of wide-body twin-engine commercial jet aircraft with variants for both passenger and cargo transportation. The 777 was first flown on June 12, 1994, and commercial service commenced on June 7, 1995. So there are 2 objectives to accomplish when setting up NetBSD 10.0 for a Raspberry Pi 4B.   Download and  write  arm64.img into a USB Flash drive stick.  Download Paul Bartard's

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 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 a different pxeboot file and file name?? cp /sys/boot/i386/pxeldr/pxeboot /tftpboot  zfs create  example root@Ghost14-selfbuilt-rpi4B-nginx-tst1:~ # zfs create -P -o quota=5G -o mountpoint=/tftpboot arm64pool/tftpboot create    arm64pool/tftpboot property    quota    5G property    mountpoint    /tftpboot zfs set com

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: /

Create a GhostBSD USB SSD 500GB or larger size

Image
  Create a GhostBSD USB SSD 500GB or larger size This is source file I used.  You have to set global environment variable DISK1 in fish shell  set -gx DISK1 /dev/da0 cat  ./create_ssd_GhostBSD.sh root@omid-ghostbsd-pc /h/o/ssd_test# cat ./create_ssd_Ghostbsd_da1.sh  #!/bin/sh set -e set -x echo " ${DISK1} <--- This is the DISK1 environmental variable, set example: DISK1=/dev/da1; export DISK1 " echo " Made for a 500GB size USB to NVMe style SSD disk style SSD disk  " # echo "If da1 already exists,  use  gpart destroy -F da1  or gpart destroy -F ${DISK1} to clean of partitions on da1 " sleep 6 gpart list ${DISK1} gpart status ${DISK1} gpart show -lp ${DISK1} echo "  create a GPT scheme on ${DISK1} hit ctrl-C to exit. " # test if geom disk list da1  ,  then gpart destroy -F ${DISK1} if gpart status ${DISK1} ; then    gpart show -lp ${DISK1}    echo " Type Ctrl-C  NOW!  to stop destroy ${DISK1}  "    sleep 6    gpart destroy -F ${DISK1}

How to Create and Distribute my own FreeBSD package

 How to Create and Distribute my own FreeBSD package Vermaden has an Excellent article on using FreeBSD Poudriere and setting up NGinx to serve packages.   I wrote a document about learning Packaging,  " Dead Simple Packaging How To "  ' for FreeBSD Dummies' http://ghostbsdarm64.hopto.org/packages/  Dead_Simple_Binary_Packaging_How_To_10 _6C.pdf   PDF Document describing How to Create and Distribute my own FreeBSD package for you to read and learn.  I placed some diagrams in there, to make it easy to understand. http://ghostbsdarm64.hopto.org/packages   my NGINX webserver directory for serving ghostbsd-arm64 packages to the world. http://ghostbsdarm64.hopto.org/packages/Guru_pdf_abiword.tar.gz   Here is source Abiword files for GURU shell script and python application  "Generate_User_Report_for_Upload" application for FreeBSD and GhostBSD. Contents of the file Guru_pdf_abiword.tar.gz $ tar tvf Guru*.gz -rw-r--r-- fred/fred    710312 2023-07-04 17:30 ./Guru/

Sound? How do I hear thee? NOT! Let me count the ways. The sounds of silence.

Image
Sound?  How do I hear thee? NOT!  Let me count the ways. The sounds of silence.   From electrical field to mechanical air vibrations to my ear. How do you set the sound to work on GhostBSD/FreeBSD ?  As a new user you have:   NO IDEA WHAT TO DO! What cryptic incantation do issue to appease the great monster in the VOID beyond my simple imagination.  On what sequence of characters to type into the command line? After having working  Ghos tBSD 23 with sound.  I upgraded to GhostBSD 24.01.01 with the GUI app Update-Station.   This app deleted some software apps and then re-installed the newer version of that software library and applications. virtual_oss_cmd /dev/dsp.ctl -f /dev/dsp1 That is the one SINGLE command line I issued to just magically turn on the sound.  Yes I had spent about 8 hours of time 3 months ago, trying to use USB Headphones on my laptop and on my Raspberry Pi 4B running both FreeBSD 14.0-RELEASE and GhostBSD-Arm64 14.0-STABLE to hear sounds from a test using MPG123 (

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