2.11BSD operating system for microcontrollers
It is currently Fri Jan 28, 2022 6:45 pm

All times are UTC

Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Tue Oct 18, 2016 6:17 am 

Joined: Tue Oct 18, 2016 6:09 am
Posts: 1
I'd like to port LiteBSD to MT7687f (cortex-m4): ... /index.gsp

Since it only has 352kb sram and 2k flash, but no sd and usb interfaces,
I'm wondering if it possible to run? Thanks.

PostPosted: Tue Oct 18, 2016 10:43 am 
User avatar

Joined: Thu Oct 11, 2012 8:45 am
Posts: 1801
Location: Room 217, Floor 8, Arm 8, Wheel S7, Mars Base Alpha 3
2K?? Don't you mean 2M?

Enough flash, the memory should be adequate, but the lack of SD is troublesome. You would need to add an SD card somehow. USB is not supported on PIC32MZ, so not having it isn't an issue.

That's the good news.

The bad news is that you would need to port the whole of the kernel and everything to the ARM Cortex M4. That's a lot of work. Lots and lots of reprogramming, assembly work, deep understanding of the ABI, etc.

All the hardware drivers would need re-writing, the context switcher would need a ground-up rewrite to work with the M4's registers and operations. Everything. Not a fun job unless you have very deep intimate knowledge of how the M4 works.

We only managed this on the PIC32MZ because we have the mighty Serge who knows MIPS better than almost anyone else on the planet.

Why not visit my shop?
Universal IDE:
"I was trying to find out if it was possible to only eat one Jaffa Cake. I had to abandon the experiment because I ran out of Jaffa Cakes".

PostPosted: Wed Oct 19, 2016 8:53 am 

Joined: Tue Jan 05, 2016 11:56 am
Posts: 14
There is another kit based on the MediaTek MT2523G SoC: ... 18004.html ... /index.gsp
The MT2523G device is equipped with more internal memory,
it has 160KB SRAM, 4MB PSRAM and 4MB Serial Flash.
Moreover, the kit has an eMMC memory device and a microSD card slot.

PostPosted: Mon Dec 10, 2018 1:55 am 

Joined: Wed Oct 05, 2016 4:46 am
Posts: 1
This SOC has no MMU and as far as I know, no Cortex-M class architecture supports an MMU. How would a LiteBSD port work on this platform?

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Powered by phpBB® Forum Software © phpBB Group

BSD Daemon used with permission