# This Doc explains how to boot Android on phyFLEX-i.MX6 RDK. This is tested with SD-Card. 1) Take a 4 GB SD-Card. 2) Partition it into 3 part as follows. a) First partition of FAT filesystem with 200 MB of size. label it as boot b) Second partition of EXT4 filesystem with 2 GB of size. label it as rootfs c) Third partition of FAT filesystem with remaining size. label it as data 3) Copy the zImage to boot patition. Note: We assume that all the other bootable images barebox.img is flashed to SD-card/Nand earlier. 4) Extract the android_rootfs.tar.bz2 file to rootfs partition. Note: After extracting the file permissions may change. For android smooth boot the following permissions to be set for the files explained below. sudo chmod 644 /media/rootfs/init.* sudo chmod 644 /media/rootfs/ueventd.* sudo chmod 644 /media/rootfs/fstab.* 5) Keep the data partition Empty for this release. 6) Now Powerup the board and change the bootargs as follows. console=ttymxc3,115200 androidboot.hardware=freescale androidboot.console=ttymxc3 init=/init vmalloc=256M video=mxcfb0:ETM0700G0DH6,bpp=32 fbmem=10M,28M video=mxcfb1:hdmi,1280x1024M@60,bpp=32 if=RGB24 vt.global_cursor_default=0 consoleblank=0 board_mx6q_phyflex.csi0=none board_mx6q_phyflex.csi1=none ip=none root=/dev/mmcblk0p2 rootfstype=ext4 noinitrd rootwait mtdparts=n25q128:512k(barebox)ro,128k(bareboxenv),2M(splash),-(kernel);gpmi-nand:512k(barebox)ro,128k(bareboxenv),2M(splash),8M(kernel),-(root) To make the bootargs as above edit the variable in env/config file in the barebox as follows kernel_loc=disk rootfs_loc=disk rootfs_type=ext4 kernelimage=zImage display=ETM0700G0DH6 bootargs="console=ttymxc3,115200 vmalloc=256M" # The below are required for Android boot bootargs="$bootargs androidboot.hardware=freescale androidboot.console=ttymxc3 init=/init" bootargs="$bootargs video=mxcfb0:$display,bpp=32 fbmem=10M,28M" bootargs="$bootargs video=mxcfb1:hdmi,1280x1024M@60,bpp=32 if=RGB24" Release notes. Working Devices 1) Uart 2) Display (LCD-18) 3) Touchscreen (LCD-18, HDMI usb touch) 4) HDMI Display 5) Ethernet (Giga bit Tested). 6) SD Card (SD0) 7) NAND 8) USB Host 9) OTG (Tested with usb debugging android ADB). Not working/Not Tested. 1) Audio 2) Camera 3) CAN 4) RTC (Not Tested). 5) Hardware Accelarator (Not tested).