Thursday, September 5, 2013

Run Android Jelly Beans on ODROID-X2 Step by Step

After all the problem getting SPI working on the ODROID-X2 Board, I decided to visit the Android world and see what it takes to put it on the ODROID-X2 Board.  And I was so amazed how easy it is...





Android 4.1 Beats-1.6:
http://com.odroid.com/sigong/nf_file_board/nfile_board_view.php?keyword=&tag=ODROID-X2&bid=182

Android 4.1 Beats-1.8 update:
http://com.odroid.com/sigong/nf_file_board/nfile_board_view.php?keyword=&tag=ODROID-X2&bid=192

How to install the update:



Google Apps:
http://goo.im/gapps/gapps-jb-20121011-signed.zip




Building Android Kernel:
http://forum.xda-developers.com/showthread.php?p=38144723

Open source from Samsun:
http://opensource.samsung.com/

Reference to building the Android ODROID-X2 kernel
https://github.com/leekyuhyuk/Odroid-X2-Android-OS-4.1-Kernel
check the readme , build.sh

Reference to Tool Chain download:
http://dev.odroid.com/projects/4412boot/#s-10.1
https://sourcery.mentor.com/GNUToolchain/release1294?lite=arm&cmpid=7108&downloadlite=scblite2012&signature=4-1377441150-0-1ca6798bb3b7e362eb68e47b2522d2d75e2f1f79

Install 32bit libraries on 64bit Linux:
install ia32-libs


Main Source Tree for Hard-Kernel:
http://dn.odroid.com/



Great News/Progress:
After re-building the kernel, and it was finished I found the following:

LD [M]  drivers/spi/spidev.ko
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready

So, I know now there are some module I need to load/copy with the kernel
I used the following line to copy my new Android Kernel to the board.
busybox dd conv=notrunc seek=1256960 bs=1 if=/tmp/zImage of=/dev/block/mmcblk0

I built it with built-in instead and now I see spidev in the /sys/class/sysdev and in the sys/modules/spidev  but I am not sure yet how it can be used? or is it working

I need a different option to add spi_master

No comments:

Post a Comment