Port LiteBSD to MT7687f MCU (cortex-m4)
Page 1 of 1

Author:  joeculler [ Tue Oct 18, 2016 6:17 am ]
Post subject:  Port LiteBSD to MT7687f MCU (cortex-m4)

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.

Author:  majenko [ Tue Oct 18, 2016 10:43 am ]
Post subject:  Re: Port LiteBSD to MT7687f MCU (cortex-m4)

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.

Author:  maresv [ Wed Oct 19, 2016 8:53 am ]
Post subject:  Re: Port LiteBSD to MT7687f MCU (cortex-m4)

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.

Author:  cores [ Mon Dec 10, 2018 1:55 am ]
Post subject:  Re: Port LiteBSD to MT7687f MCU (cortex-m4)

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?

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group