Hmm.. With DIP switches set to “SDIO” mode, VisionFive2 SBC gives the most informative error message ever:
BOOT fail,Error is 0xffffffff
I’d guess the last value is -1
in 1’s complement format but other than that 🤷
I used #BuildRoot and visionfive2_defconfig
. Not sure how feature complete so maybe I will try the official SDK for comparison.
#Rust installation instructions go like:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
But what you actually want to do most of the time, is probably:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- --no-modify-path
Learned a bit o #python #gnupg bindings to automate tasks, as gpg command line can be sometimes a bit confusing and ambiguous.
E.g. this is how to purge revoked keys after gpg --refresh-keys
:
#!/usr/bin/env python3
import gnupg
if __name__ == "__main__":
gpg = gnupg.GPG()
keys = gpg.list_keys(True)
for k in keys:
info_db = k['subkey_info']
for subk in k['subkeys']:
info = info_db[subk[0]]
if info['trust'] == 'r':
fp = subk[2]
print(f"{fp} {gpg.delete_keys(fp, expect_passphrase=False, exclamation_mode=True)}")
Definitely worth of trouble because I’m super-talented on making destructive mistakes with command-line arguments :-)
have to admit that i’ve missed this before but better late than never: https://libguestfs.org/. super useful #qemu