On Thu, 13 May 2021 at 17:50, Peter Shkenev <
santu...@gmail.com> wrote:
>
> Hello Joseph,
>
> Unfortunately, Minix does not support Raspberry Pico. And I doubt that it will support: 2mb is too scarce even for Linux. AFAIK Raspberry Pico is more like Arduino - it does not run an OS, it runs your program directly.
>
RP2040 is not just used for a flat program, FreeRTOS a real time
operating system works on it. The flash is off chip so you could have
up to 16Mb of code space for utility etc. on some boards. (Not sure if
the minix ARM code has running from flash.
minix3.org seems to be down
at the minute.)
Also it should be fairly trivial to use SD cards so the equivalent of
disk space should be no problem. And later versions and similar MCUs
like the ESP32 are only going to have more and more memory for new
chips. And we do have Minix 1 as an example that should run on it if
converted to ARM and had some changes to the fs and memory code? Would
Minix 2 work? Maybe you could even use code from the python that works
of the RP2040 for the fs?
> Today's Minix is very different from Minix which used to run from 512k floppy. Early Minix's target was education, so it had to be simple enough. Moreover, hardware of that time was much simpler than today's. And there are many more reasons why Minix was lighter than today.
Embedded MCUs like the RP2040 should be a lot simpler than using the
BIOS on the 512k IBM PCs right? Are there no compiler directives to
leave out the extra code in the kernel?
As for all the utilities can't most of them just be not used?
Considering you don't need disk drive code shouldn't you be able to
cut down on the Minix 1/2 code?
Would it be possible to cut down Minix 3 to the same utility as Minix
1 or update Minix 1/2 with the Micro kernel and keep a small size, is
it the kernel itself that is way bigger now?
>
I was really asking how small you could cut down the bare minimum to,
say the micro kernel size(and min data, stack, code size) down to if
you cross-compiled for size and striped out anything that you could?
The web page keeps saying 4000 lines of code so seems Quite small.
What about the the minimum of "trusted computing base", what would be
need and it's size.
How much stack/data(sram) and code(flash) memory does the smallest
BeagleBone ARM build use to load/boot without counting the utilitys
sitting on the disk and not used?
As the RP2040 has ROM code to execute code with drag and drop from USB
Just getting the micro kernel running and(?) trusted computing base.
And minimum to be able to run compiled binaries already loaded into
code space(flash) by the USB drag and drop etc. Would it be possible
if cross-compiled to ARM and get a serial terminal working like
telnet? With no extra utility