Posts

Showing posts with the label USB Serial

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 ...

Honey, I broke my ZFS USB SATA SSD 1 TB disk, Oops. What can I do to fix this ZFS to boot again?

 Honey, I broke my ZFS  USB SATA SSD 1 TB disk, Oops.  What can I do to fix this ZFS to boot again? mountroot>  zfs:arm64pool/ROOT/default  I do have a USB to 3.3V TTL serial port from a Linux computer running minicom 115200 baud connected to 3.3V pins serial port (UART0 or UART1) on Raspberry Pi 4B: Pin    Function 6      Ground 8      RXD 10     TXD  I have debug messages on.   It did mount the ZFS disk files, read-only, so we can not edit files like /boot/loader.conf   or  /etc/rc.conf  We can check the ZFS parameters. root@:/ # df -h Filesystem                Size    Used   Avail Capacity  Mounted on arm64pool/ROOT/default    779G     23G    756G     3%  ...