RetroBSD

2.11BSD operating system for microcontrollers
It is currently Mon Feb 27, 2017 2:09 am

All times are UTC




Post new topic Reply to topic  [ 3 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):
http://labs.mediatek.com/site/global/de ... /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.


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

Joined: Thu Oct 11, 2012 8:45 am
Posts: 1785
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 eBay shop? http://stores.ebay.co.uk/Majenko-Technologies
Universal IDE: http://uecide.org
"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".


Top
 Profile  
 
PostPosted: Wed Oct 19, 2016 8:53 am 

Joined: Tue Jan 05, 2016 11:56 am
Posts: 13
There is another kit based on the MediaTek MT2523G SoC:
http://www.eeherald.com/section/new-pro ... 18004.html
http://labs.mediatek.com/site/global/de ... /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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 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:
cron




Powered by phpBB® Forum Software © phpBB Group

BSD Daemon used with permission