I know its unlikely for now but has anyone heard of Picomite being ported to this Rockchip board or is it only Linux and nothing else ?
That’s quite a confusing question.
PicoMite is a family of firmware for the Raspberry Pi Pico + Pico 2 (with and without the “W”) that runs the MMBasic interpreter on said micro-controller. The standard PicoCalc (with a Pico/2/W)
uses a fork of that firmware tweaked for the specific display and i2c keyboard.
There are discussions about installing a Luckfox Lyra in the PicoCalc so it can run Linux, but that has nothing to do with PicoMite. In theory (though I don’t know if anyone has tried) MMBasic for Linux may run on the Luckfox Lyra.
Does that help ?
Tom
Not confusing at all… The current official PicoMite builds run on the RP2040/RP2350A -and- Microchip PIC32 so hoping someone out there has the knowledge or ongoing project to port to a Rockchip. The speed and storage uplift would be amazing for the Picocalc
I know someone has got it runing via linux but wonder what performance hit that incurs. I’ll look through the Backshed forum but not a member there yet..
That’s via Linux and not a direct boot to Picomite.
Sorry, I know I’m being a pedant …
PicoMite does not build on the Microchip PIC32 … there is MMBasic firmware for the Microchip PIC32 , I think (?) you are talking about the Colour Maximite 2 (or possibly the Armmite ?) which are completely different forks (or actually ancestors of the PicoMite).
I think your original question may be “Has anyone ported MMBasic to run on the bare metal Luckfox Lyra ?”, and the answer (unless I am very much mistaken) is “No”. You could ask on TheBackShed.com - Forum where the principal MMBasic developers/porters hang-out, but I suspect the request will be greeted with hoots of laughter and the suggestion you do it yourself … it can be that kind of place .
Again, apologies if I’ve misunderstood you.
Best wishes,
Tom
I’ll post on the Backshed re the RK3506G2 at some point and see how they react, seems far too tempting with that extra power and storage
I’m really not sure what you’re asking here either. The Luckfox Lyra is meant to be used with Linux. As far as I know, from researching the hardware when I purchased one (which hasn’t arrived yet), nothing else currently runs on it. Their website doesn’t have baremetal ports of anything else. And while it uses compatible pinouts and can be plugged into a board that supports the Pico devices, it’s not like the Pico in terms of hardware.
PicoMite isn’t an operating system comparable to Linux. It’s an application built with the Pico in mind and when the firmware is built it gets wrapped up in everything it needs to run on the Pico. The same is true of MicroPython, uLisp, and so on. I wouldn’t expect to see those “ported” to the Lyra either. And there’s no need to because actual Python and whatever Lisp is supported on Linux could be used instead.
Building MMBasic for Linux on the Lyra should offer similar functionality to PicoMite on the Pico. Actually, it should offer more, since it sounded like it had JSON support built in (though sadly not the WEB commands). I’m not sure if there’s any concept or access to GPIO pins in MMBasic Linux, but I’m not sure there is any concept of or access to GPIO pins on the Lyra.
So I’m really not sure what the question is. I guess bare metal could mean rewriting MMBasic for Linux in assembly for the RockChip processor, but… good luck with that.
If you just want it to “boot” to MMBasic, it’s easy enough in Linux to make a shell script to launch an application on boot. You could even have it automatically log you in (though Linux security-minded folks would cringe at that, hehe).
I just realized, there’s something comparable to the Lyra that is relevant here… The Gameshell. It runs Linux. And it automatically logs in and runs the launcher application when it boots up. The same could be done with MMBasic on the Lyra in Linux.
Yes baremetal Picomite otherwise it’ll be sitting on top of Linux hence less efficient/speedy…
I’ve already ordered the Lyra so will try Linux/MMBasic and report back when I can (not even got the Picocalc yet, ordered 14th March)
Well, if you make that happen then please do us all a favor and get the WebMite functionality built in too. Being able to run a web server and use the WEB commands, would be useful on the PicoCalc since it’s a portable device. And with an add-on wifi module the Lyra would support wifi. Though i guess you’d need to figure out how to add that into your baremetal port too.
Hmmmm there is an ArmMite for the Arm processors and the RK3506G2 is Arm !. Maybe half way there already…
I’m not sure if there’s any concept or access to GPIO pins in MMBasic Linux, …
It’s not available directly from MMB4L; it’s been brought up a few times but I’ve never mustered the time or enthusiasm. In theory you can drive the GPIO using the (deprecated) sysfs interface via MMB4L’s SYSTEM command but I don’t think anyone has ever done anything with it beyond proving the concept.
Best wishes,
Tom