Hi,
I modified the amd64 kernel with this:
diff -u -p -u -r1.287 machdep.c
--- machdep.c 23 Aug 2023 01:55:45 -0000 1.287
+++ machdep.c 27 Aug 2023 17:14:26 -0000
@@ -1403,7 +1403,7 @@ init_x86_64(paddr_t first_avail)
struct region_descriptor region;
bios_memmap_t *bmp;
int x, ist;
- uint64_t max_dm_size = ((uint64_t)512 * NUM_L4_SLOT_DIRECT) << 30;
+ uint64_t max_dm_size = 64 * (1024 * 1024);
I then booted a RAMDISK_CD kernel that I compiled. It worked. OpenBSD boots
on 64MB RAM according to this right? It reported 48 MB memory.
I had problems in the boot options setting "machine mem =64M" it didn't take
those options and always booted with the machine's 16GB.
The reason I'm excited is that Milk-V has a new product called the Duo taht
is 64 MB but costs only 9 USD not including the wifi adapter. I really can
use this for some project that I have been working on on the side.
I'm also excited that the Mango Pi that I sent to an OpenBSD developer is the
same chipset. So this is really awesome!
Should there be any monkey wrenches in the way? I want to run OpenBSD for
a Freifunk-like Project on the Duo.
Best Regards,
-peter
PS: I noticed RAMDISK_CD is compressed now. Good job! Is anyone writing the
zlib parts for rdsetroot?
--
Over thirty years experience on Unix-like Operating Systems starting with QNX.