update openbsd note and raspi draft post

main
Dominic Reich 10 months ago
parent acfb449068
commit 805555e564
Signed by: dominic
GPG Key ID: BC9D6AE1A3BE169A

@ -1,7 +1,7 @@
--- ---
title: OpenBSD notes title: OpenBSD notes
date: 2023-11-29T20:33:48+0100 date: 2023-11-29T20:33:48+0100
lastmod: 2023-11-29T19:34:26+0000 lastmod: 2023-12-08T23:36:01+0000
tags: tags:
- openbsd - openbsd
- python - python
@ -103,6 +103,18 @@ Don't forget to create the file system:
$ doas newfs_msdos -F 32 -L 8GB_Stick sd2i $ doas newfs_msdos -F 32 -L 8GB_Stick sd2i
~~~ ~~~
## Packages / Ports
Updating dependencies before installing (switch `-U`) does help sometimes...
> Can't install [package] because of libraries
~~~console
$ doas pkg_add -uiU
~~~
Should fix that.
## Python ## Python
### ModuleNotFoundError ### ModuleNotFoundError
@ -188,7 +200,7 @@ $ cloudlogbashcat.sh
Now, if you open the website of your Cloudlog installation (and if you have Now, if you open the website of your Cloudlog installation (and if you have
setup your rigs) and select the radio that uses cloudlogbashcat. setup your rigs) and select the radio that uses cloudlogbashcat.
![cloudlog radio selection dialog](cloudlog-radio.png "You can select your pre-defined radio in the Live QSO tab") ![cloudlog radio selection dialog](radio-settings-cloudlog.png "You can select your pre-defined radio in the Live QSO tab")
## Z-Shell ## Z-Shell

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

@ -17,3 +17,33 @@ draft: true
--- ---
## Raspberry Pi 4
4GB version, if that information is of any use.
## Raspberry Pi 3
## Raspberry Pi 2
## Raspberry Pi Pico W
### Using MicroPython
<https://micropython.org/download/RPI_PICO_W/>
I did the dumb thing and made the `boot.py` file break which led to an endless
loop showing me only the Error code and restarting...
I was able to stop the script by quickly pressing <kbd>CTRL+D</kbd>,
<kbd>CTRL+C</kbd> on the serial console but never was able to update the broken
file without it doing a soft-reboot which loads `boot.py` again instantly...
After some research I was glad I found [pico-nuke](https://github.com/polhenarejos/pico-nuke/releases).
Boot into uf2 loading (pressing BOOTSEL while power on) and place the correct .uf
file (`pico_nuke_pico_w-1.1.uf2`) on the mounted device.
On OpenBSD there is no response but you can see the filesystem unmounted/removed.
Unplug the USB and plug it in again booting into uf2 loading, copying over the
MicroPython uf2 file again.

Loading…
Cancel
Save