#netbsd
The Logitech C270 was widely reported as working well on #NetBSD and it does get picked up under 11.0 / earmv7 on the BeagleBone Black! This is great news.
I now need to install ffmpeg (taking ages on this little board).
Next stop will be seeing why tailscale is misbehaving. Once I have a TS IP address I will have to build and install gophernicus and set up inetd so I can migrate the gopher://runwheeleatroot.win site.
However I will also need to add network connectivity to the board. Best would be WiFi but I have a single USB port and my powered USBv2 hub died. So I may have to make and install another CHEW-PROOF cat6 to the cage. Still, WiFi would be bestest.
Once this setup is put together I will need to disassemble the cam and put a deguproof housing * on it once this is all done, then I can install it in the cage.
The things you do for your pets and to keep the people of the internet entertained!
--
* This means putting the PCB in a mint tin, and adding steel shielding on the cable.
Man the Logitech QuickCam 5000 doesn't attach as a video device on #NetBSD 😭
Had the same bug on OpenBSD and that got fixed... ¹ Looking at the patches for OpenBSD, well, they just won't translate across to NetBSD.
¹ https://marc.info/?l=openbsd-tech&m=178043087027608&w=2
I might have to make ANOTHER degu cam; or install OpenBSD on the BeagleBone Black.
YESS! I did it. Managed to install #NetBSD to the BeagleBone Black's EMMC, AND downgrade u-boot to the 2018 version as the 2022 version has something broken with USB apparently. (Yet to test if I can get it to work now).
Anyway the process is actually FAR simpler on #NetBSD than what many tutorials suggest. No need to dd at specific offsets by hand.
- Get a Live SD card image for NetBSD from https://armbsd.org and image it to card
- Boot said live image by holding down the S2 button next to the SD card slot with the card inserted. Login is "root" with no password set initially.
- From the live environment, download the same image again and
ddit to the EMMC storage. The target device is usually/dev/rld1c- but check if your emmc isld0orld1.¹ Run,
# ftp https://nycdn.netbsd.org/pub/arm/NetBSD-11.0-release/NetBSD-11-earmv7hf--bone-black.img.gz
# zcat NetBSD-11.0-release/NetBSD-11-earmv7hf--bone-black.img.gz | progress dd of=/dev/rld1c
- Shutdown; remove SD, reboot. It should now boot from EMMC.
To flash the old version of u-boot
- Shutdown. Insert live NetBSD SD card again. Boot from SD as before.
- Force-Install the OLD u-boot package and flash it to emmc using
installboot:
# pkg_add -f https://archive.netbsd.org/pub/pkgsrc-archive/packages/NetBSD/earmv7hf/8.0_2020Q4/All/u-boot-beagleboneblack-2018.11nb4.tgz
# installboot -u /dev/rld1c /usr/pkg/share/u-boot/beagleboneblack
- Shutdown. Remove SD. Boot. Now on boot it should report,
U-Boot 2018.11nb4 (Oct 01 2020 - 12:12:48 +0000)
Magic!
--
¹ Do this by running dmesg | grep ld and confirming by checking drive sizes. Double-check with disklabel ldN if needed.