Skip to content

Instantly share code, notes, and snippets.

View danboid's full-sized avatar

Dan MacDonald danboid

  • The Unicorn Foundation
  • England
View GitHub Profile
@danboid
danboid / gist:d478e38ac2c72f81be15ddc5d3b13d4e
Created February 25, 2024 14:01
Haiku rv64 USB device removal crash
U-Boot SPL 2021.10 (Jun 21 2023 - 13:42:04 +0800)
DDR version: dc2e84f0.
Trying to boot from SPI
OpenSBI v1.2
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
@danboid
danboid / gist:a09940d2b5a79f60c53e6c0405e169ee
Created January 13, 2024 20:47
SDPPoP 1.16 Debian trixie build error
~/src/SDLPoP-1.16$ make all
gcc -I/usr/include/SDL2 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -Wall -std=gnu99 -c main.c
In file included from common.h:37,
from main.c:21:
types.h:37: warning: "SDL_COMPILE_TIME_ASSERT" redefined
37 | #define SDL_COMPILE_TIME_ASSERT(name, x) \
|
In file included from /usr/include/SDL2/SDL_main.h:25,
from /usr/include/SDL2/SDL.h:32,
from types.h:24:
@danboid
danboid / gist:82a3a15282733b3da2343cdec336c748
Last active September 26, 2023 22:17
Installing Workbench 3.1 for the Amiga 600 or 1200 to a rdb disk image under (Debian/Ubuntu) Linux
Installing Workbench 3.1 for the Amiga 600 or 1200 to a rdb disk image under (Debian/Ubuntu) Linux
The floppy drive on my Amiga 600 is broken so I had to work out how to install Workbench onto an SD card so that I could boot and use my Amiga. Every guide I found online was based around either WinUAE or the Windows version of FS-UAE but this guide describes how to install Workbench 3.1 from scratch using fs-uae under Linux.
Whilst it is possible to boot and run Workbench 3.x from a Workbench 3.x floppy using a Kickstart 2.x ROM, the WB installer doesn't let you install WB3.1 to HD without using a 3.x Kickstart. Neither WinUAE nor FS-UAE allow you to use a 3.x Kickstart when emulating a A600 so you have to emulate an A1200 to install WB 3.x.
I downloaded all 6 Workbench 3.1 disks from here:
https://fsck.technology/software/Commodore/Amiga/Workbench%20and%20AmigaOS/Amiga%20Workbench%203.1/Commodore/
@danboid
danboid / gist:29600350949dd9360fff8a656ed422bf
Created June 9, 2023 21:58
Haiku VF2 usb_hid keyboard errors
U-Boot SPL 2021.10 (May 31 2023 - 16:54:00 +0800)
DDR version: dc2e84f0.
Trying to boot from SPI
OpenSBI v1.2
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
This file has been truncated, but you can view the full file.
C++ objects/linux/x86_64/release/build/libbe/support/ZstdCompressionAlgorithm.o
DownloadLocatedFile1 download/libsolv_devel-0.3.0_haiku_2014_12_22-1-riscv64.hpkg
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0../src/kits/support/PointerList.cpp:87:28: warning: ‘template<class _Arg1, class _Arg2, class _Result> struct std::binary_function’ is deprecated [-Wdeprecated-declarations]
87 | struct comparator : public binary_function<const void*, const void*, bool>
| ^~~~~~~~~~~~~~~
In file included from /usr/include/c++/12/functional:49,
from ../src/kits/support/PointerList.cpp:23:
/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here
@danboid
danboid / gist:c925494e99121f3df58bc1871df1f4fc
Created May 20, 2023 11:18
VF2 Debian 69 NVMe boot log error
U-Boot SPL 2021.10 (Mar 24 2023 - 01:42:56 +0800)
DDR version: dc2e84f0.
Trying to boot from SPI
OpenSBI v1.2
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
@danboid
danboid / gist:9dcd84df690394f33be205be578ff6bf
Created May 17, 2023 07:20
VF2 Haiku nighly raw build error
dan@zbook:~/src/haiku/generated.riscv64$ HAIKU_REVISION=hrev57000 jam -j8 -q @nightly-raw
Starting build of type regular ...
Building Haiku Nightly
AddHaikuImagePackages: package vision not available!
WebPositive not available on riscv64
build-feature packages unavailable on riscv64: glu mesa fontconfig gutenprint webkit jasper qrencode_kdl tiff openexr libdvdread libdvdnav libraw libavif live555
AddHaikuImagePackages: package icu66 not available!
AddHaikuImagePackages: package glu not available!
AddHaikuImagePackages: package mawk not available!
AddHaikuImagePackages: package mesa not available!
This file has been truncated, but you can view the full file.
dan@zbook:~/src/haiku/generated.riscv64$ jam -j8 -q @minimum-raw
Starting build of type minimum ...
Building Haiku Minimum Target
AddHaikuImagePackages: package openssl not available!
build-feature packages unavailable on riscv64: giflib glu mesa ffmpeg fluidlite libvorbis fontconfig gutenprint webkit libpng libicns jasper jpeg libedit qrencode_kdl tiff openexr libdvdread libdvdnav libraw libwebp libavif live555
AddHaikuImagePackages: package bc not available!
AddHaikuImagePackages: package icu66 not available!
/home/dan/src/haiku/src/add-ons/kernel/bus_managers/isa/arch/riscv64/Jamfile: No such file or directory
/home/dan/src/haiku/src/add-ons/kernel/debugger/disasm/riscv64/Jamfile: No such file or directory
/home/dan/src/haiku/src/bin/debug/ltrace/arch/riscv64/Jamfile: No such file or directory
@danboid
danboid / gist:633865caca95701baff2b29827be0624
Created May 14, 2023 21:53
Haiku-VF2-build-error-2.txt
LinkApplicationCatalog1 objects/catalogs/add-ons/translators/shared/fi.catalog
LinkApplicationCatalog1 objects/catalogs/add-ons/translators/shared/fr.catalog
LinkApplicationCatalog1 objects/catalogs/add-ons/translators/shared/fur.catalog
LinkApplicationCatalog1 objects/catalogs/add-ons/translators/shared/hr.catalog
LinkApplicationCatalog1 objects/catalogs/add-ons/translators/shared/hu.catalog
LinkApplicationCatalog1 objects/catalogs/add-ons/translators/shared/id.catalog
LinkApplicationCatalog1 objects/catalogs/add-ons/translators/shared/it.catalog
LinkApplicationCatalog1 objects/catalogs/add-ons/translators/shared/ja.catalog
LinkApplicationCatalog1 objects/catalogs/add-ons/translators/shared/lt.catalog
LinkApplicationCatalog1 objects/catalogs/add-ons/translators/shared/nl.catalog
@danboid
danboid / Haiku-VF2-build-error.txt
Created May 14, 2023 18:16
Haiku VF2 build error
Welcome to the Haiku shell.
~> cd src/haiku/generated.riscv64/
~/src/haiku/generated.riscv64> time jam -j4 -q @minimum-raw
Starting build of type minimum ...
Building Haiku Minimum Target
AddHaikuImagePackages: package openssl not available!
build-feature packages unavailable on riscv64: giflib glu mesa ffmpeg fluidlite libvorbis fontconfig gutenprint webkit libpng libicns jasper jpeg libedit qrencode_kdl tiff openexr libdvdread libdvdnav libraw libwebp libavif live555
AddHaikuImagePackages: package bc not available!
AddHaikuImagePackages: package icu66 not available!