For anyone looking for a Debian minimal install for the MQ-Quad, I’ve created an image containing the following changes from the stock image:
✓ Debian 12
✓ APT Sources Reconfigured to Stock
✓ Updated All Packages
✓ Removed All Desktop Apps
✓ Removed Library Bloat
✓ Removed OrangePi Apps
✓ Image Size 1GB when installed to disk
✓ Default username reflects MangoPi instead of OrangePi
✓ Everything you would expect from a standard "Debian Minimal Install"
Default Login Info
Username: pi
Password: frontesque
Root Password: frontesque
Hostname: mango
PLEASE NOTE: This image DOES NOT automatically resize itself. You may need to resize it manually if you wish to fill your entire SD card with usable storage unless your image flasher does this automatically.
(This is the same as the stock, mangopi-provided image)
Thanks, I’ve uploaded it and will give it a try. Thanks for putting in the work. In the interest of making these boards more supportable in perpetuity, I’d still like to build a base image from scratch.
I had a look at this, and it is very similar to the upgrade I performed on what is apparently the only available bootable image. It is still running a bullseye kernel:
The product page has a source repository that I have also uploaded, so at least we are covered from that point of view. The last time I tried it, the OrangePi image would not boot, complaining about the memory controller. I may try a full build, but it looks pretty complex given that we aren’t privy to any source control.
Incidentally, mode of failure using a straight Orange Pi bookworm image. It looks like the boot loader is the first thing that’s messed up.
U-Boot SPL 2021.07-orangepi (Sep 07 2023 - 17:38:50 +0800)
DRAM:This DRAM setup is currently not supported.
resetting …
This is the one from the MangoPi supplied image that works:
U-Boot SPL 2021.10-orangepi (Oct 05 2022 - 14:25:44 +0800)
pmic id is 0x4b
DRAM: 1024 MiB
Trying to boot from MMC1
NOTICE: BL31: v2.7(debug):ea7aee20
NOTICE: BL31: Built : 04:47:26, Oct 3 2022
NOTICE: BL31: Detected Allwinner H616 SoC (1823)
NOTICE: BL31: Found U-Boot DTB at 0x4a082610, model: OrangePi Zero2
INFO: ARM GICv2 driver initialized
INFO: Configuring SPC Controller
INFO: PMIC: Probing AXP305 on RSB
ERROR: RSB: set run-time address: 0x10003
INFO: Could not init RSB: -65539
INFO: BL31: Platform setup done
INFO: BL31: Initializing runtime services
INFO: BL31: cortex_a53: CPU workaround for 855873 was applied
INFO: BL31: cortex_a53: CPU workaround for 1530924 was applied
INFO: PSCI: Suspend is unavailable
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0x4a000000
INFO: SPSR = 0x3c9
INFO: Changed devicetree.
I am going to see if I can figure out how to move this over. I will be starting a new thread to follow the conversion to a bootable bookworm image. Setting up a build is non-trivial as it wants a very specific build machine.