Project

General

Profile

Fernvale » History » Version 37

gnutoo, 12/17/2018 04:21 PM

1 1 craig_comstock
h1. Fernvale
2
3 16 gnutoo
Fernvale is an open-source development platform for the Mediatek MT6260.
4 1 craig_comstock
5 15 gnutoo
It is available on the "sysmocom web-shop":http://shop.sysmocom.de/products/fernvale-mt6260-reverse-engineering-development-kit-dvt2
6 1 craig_comstock
7 22 gnutoo
h2. Software
8
9
* There is a simple bootloader/interactive shell called "fernly":https://github.com/xobs/fernly/
10
* There is a downstream "port to Nuttx":https://github.com/sutajiokousagi/fernvale-nuttx which is bootable but provides limited features
11
* There is a downstream "OsmocomBB port":https://github.com/unrznbl/osmocom-bb/tree/mtk-layer1 which has a bootable layer1 image that doesn't support any of the GSM hardware yet.
12
13 17 gnutoo
|_. Hardware feature |_. Support |
14 1 craig_comstock
| Backlight | "Fernly":https://github.com/xobs/fernly/blob/master/cmd-bl.c |
15
| Bluetooth | None yet |
16
| External memory | "Fernly":https://github.com/xobs/fernly/blob/master/emi.c "Nuttx":https://github.com/sutajiokousagi/fernvale-nuttx/blob/master/nuttx/configs/kosagi-fernvale/src/fernvale_mem.c |
17
| GSM, GPRS | None yet |
18
| Keypad | "Fernly":https://github.com/xobs/fernly/blob/master/cmd-keypad.c |
19
| LCD | "Fernly":https://github.com/xobs/fernly/blob/master/cmd-lcd.c , "Nuttx":https://github.com/sutajiokousagi/fernvale-nuttx/blob/master/nuttx/arch/arm/src/mt6260/mt6260_framebuffer.c |
20
| Leds | "Fernly":https://github.com/xobs/fernly/blob/master/cmd-led.c "Nuttx":https://github.com/sutajiokousagi/fernvale-nuttx/blob/master/nuttx/configs/kosagi-fernvale/src/fernvale_leds.c |
21
| SDIO | "Nuttx":https://github.com/sutajiokousagi/fernvale-nuttx/blob/master/nuttx/configs/kosagi-fernvale/src/fernvale_mmcsd.c |
22
| SPI | "Fernly":https://github.com/xobs/fernly/blob/master/cmd-spi.c "Nuttx":https://github.com/sutajiokousagi/fernvale-nuttx/blob/master/nuttx/configs/kosagi-fernvale/src/fernvale_spi.c |
23
| UART | "Fernly":https://github.com/xobs/fernly/blob/master/serial.c "Nuttx":https://github.com/sutajiokousagi/fernvale-nuttx/blob/master/nuttx/arch/arm/src/mt6260/mt6260_serial.c |
24
| USB peripheral? | "Nuttx":https://github.com/sutajiokousagi/fernvale-nuttx/blob/master/nuttx/configs/kosagi-fernvale/src/fernvale_hidkbd.c |
25
| USB host | "Nuttx":https://github.com/sutajiokousagi/fernvale-nuttx/blob/master/nuttx/configs/kosagi-fernvale/src/fernvale_usbhost.c |
26 37 gnutoo
27
h2. Progress
28
29
Apr 22 2018 - layer1 firmware has stubbed out implementations for mediatek/fernvale. layer1/main blinks the big LED on fernvale and fernly usb serial is ported so that debug messages are possible. See my "mtk-layer1 branch":https://github.com/unrznbl/osmocom-bb/tree/mtk-layer1 on github.
30
31
Feb 13 2018 - fixed up Makefile.mtk so that both [[SciphoneDreamG2]] and Fernvale firmwares build. An LED blink firmware is working on Fernvale but the loader_mtk firmware no longer seems to work on the [[SciphoneDreamG2]].
32
33
h2. TODOs
34
35
* port [[Layer1bin]] - "unrznbl":https://github.com/unrznbl is working on this currently
36
* create library from osmocom-bb to be used in NuttX layer1 app (hopefully very little copying of code into nuttx tree)
37
* port [[Mobile]] to NuttX
38 3 gnutoo
39 8 gnutoo
h2. References and documentation
40 3 gnutoo
41 4 gnutoo
* https://postmarketos.org/blog/2018/04/14/lowlevel/ : Article on porting OsmocomBB to the Fernvale
42 5 gnutoo
* https://kosagi.com/w/index.php?title=Fernvale_Main_Page : Fernvale hardware documentation
43 7 gnutoo
* https://kosagi.com/forums/ : Kosagi forums: they have a section on the Fernvale
44 11 gnutoo
* https://www.bunniestudios.com/blog/?p=4297 : Blog post on the initial hardware and software reverse engineering
45 9 gnutoo
* https://xobs.io/fernvale-the-path-not-taken/ : Blog post on the initial software reverse engineering
46 10 gnutoo
* There was a talk at the 31c3 about the Fernvale. "video":https://media.ccc.de/v/31c3_-_6156_-_en_-_saal_1_-_201412282145_-_fernvale_an_open_hardware_and_software_platform_based_on_the_nominally_closed-source_mt6260_soc_-_bunnie_-_xobs "slides":http://www.bunniefoo.com/fernvale/fernvale-31c3.pdf
47 34 gnutoo
* Nuttx's "mt6260_tdma.h":https://github.com/sutajiokousagi/fernvale-nuttx/blob/master/nuttx/arch/arm/src/mt6260/mt6260_tdma.h seem to contain some information on the GSM part
Add picture from clipboard (Maximum size: 48.8 MB)