Fernvale » History » Revision 43
Revision 42 (gnutoo, 12/17/2018 04:25 PM) → Revision 43/51 (fixeria, 01/17/2019 01:52 PM)
h1. Fernvale Fernvale is an open-source development platform for the Mediatek MT6260. It was also specifically designed to make reverse engineering easier. It is available on the "sysmocom web-shop":http://shop.sysmocom.de/products/fernvale-mt6260-reverse-engineering-development-kit-dvt2 h2. Software * There is a simple bootloader/interactive shell called "fernly":https://github.com/xobs/fernly/ which can also be used for reverse engineering. * There is a downstream "port to Nuttx":https://github.com/sutajiokousagi/fernvale-nuttx which is bootable but provides limited features * 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. |_. Hardware feature |_. Support | | Backlight | "Fernly":https://github.com/xobs/fernly/blob/master/cmd-bl.c | | Bluetooth | None yet | | 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 | | GSM, GPRS | None yet | | Keypad | "Fernly":https://github.com/xobs/fernly/blob/master/cmd-keypad.c | | 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 | | 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 | | SDIO | "Nuttx":https://github.com/sutajiokousagi/fernvale-nuttx/blob/master/nuttx/configs/kosagi-fernvale/src/fernvale_mmcsd.c | | 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 | | 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 | | USB peripheral? | "Nuttx":https://github.com/sutajiokousagi/fernvale-nuttx/blob/master/nuttx/configs/kosagi-fernvale/src/fernvale_hidkbd.c | | USB host | "Nuttx":https://github.com/sutajiokousagi/fernvale-nuttx/blob/master/nuttx/configs/kosagi-fernvale/src/fernvale_usbhost.c | h2. Progress 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. 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]]. h2. TODOs * port [[Layer1bin]] - "unrznbl":https://github.com/unrznbl is working on this currently * create library from osmocom-bb to be used in NuttX layer1 app (hopefully very little copying of code into nuttx tree) * port [[Mobile]] to NuttX h2. Help welcome Very few people are working on it[1], and because of that progress have been very slow. fn1. See "This blog post":http://laforge.gnumonks.org/blog/20180929-fernvale-discount/ for more background on the issue. h2. References and documentation * https://postmarketos.org/blog/2018/04/14/lowlevel/ : Article on porting OsmocomBB to the Fernvale * https://kosagi.com/w/index.php?title=Fernvale_Main_Page : Fernvale hardware documentation * https://kosagi.com/forums/ : Kosagi forums: they have a section on the Fernvale * https://www.bunniestudios.com/blog/?p=4297 : Blog post on the initial hardware and software reverse engineering * https://xobs.io/fernvale-the-path-not-taken/ : Blog post on the initial software reverse engineering * 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 * 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