Linux + u-boot port to MT6235

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.

Marcin Mielczarczyk marcin.mielczarczyk at gmail.com
Thu Nov 18 22:46:15 UTC 2010


Hi,

Finally I have running Linux on Sciphone G2.
Code for U-Boot and Linux kernel can be found here:

http://git.osmocom.org/gitweb?p=uboot-mt623x.git;a=summary
http://git.osmocom.org/gitweb?p=linux-mt623x.git;a=summary

To run U-Boot in RAM you can use osmocon loader for MTK.
When U-Boot will start than you can load Linux kernel using serial
port (U-Boot commands: loadb or loady).
Default load address is set to 0x800000, so Linux kernel will be loaded there.
To start executing Linux kernel type in following command: bootm 0x800000
After this command Linux kernel will be relocated, uncompressed and executed.
After short time you should have working console in Linux.
For testing purposes I prepared binaries which you can load and check
that Linux works on your phone:

http://downloads.qi-hardware.com/people/marcin/g2_uboot.bin
http://downloads.qi-hardware.com/people/marcin/g2_uImage.bin

uImage binary has already ramfs image built in, so you don't need any
additional filesystem.
These binaries were also tested by Steve Markgraf and keytwo, so it
should work on most G2s.

Today I was also able to load files from MMC card in U-Boot, so
hopefully this functionality will be available very soon.
Next step will be running UBoot and Linux from NAND, to make
development more convenient.

Recently we discovered that Sciphone G2 phones are sold with different
memory configurations.
So far we identified 3 types of memories:

HY27XS08121M - 512Mb (64MB) NAND + 32MB RAM
(http://hynix.com/datasheet/pdf/flash/HY27US(08_16)12(1_2)B%20Series(Rev0.5).pdf)
HY27XA081G1M - 1Gb (128MB) NAND + 32MB RAM
(http://hynix.com/datasheet/eng/nand/details/small_11_HY27US081G1M.jsp?menu1=01&menu2=05&menu3=01&menuNo=1&m=5&s=1)
TC58NVG0S3AFT - 1Gb (128MB) NAND + 64MB RAM
(http://www.datasheetcatalog.com/datasheets_pdf/T/C/5/8/TC58NVG0S3AFT.shtml)

This has to be detected in osmocon loader and U-Boot. I write about it
so, you'll be aware of it.
When U-Boot starts it detects your memory configuration and shows you
how much NAND and RAM you have.

If it comes to status of work in progress, following drivers are under
development:
- NAND controller (U-Boot/Linux)
- SD/MMC controller (U-Boot/Linux)
- GPIO (Linux)
- LCD (U-Boot/Linux)

I saw that MT6140 (RF) is connected over I2C bus, so probably this
driver will be next on the list.

BR,
Marcin




More information about the baseband-devel mailing list