<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ariaboard.com/index.php?action=history&amp;feed=atom&amp;title=Aria_Ti_am335x_Android_kk4.4.4</id>
	<title>Aria Ti am335x Android kk4.4.4 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://ariaboard.com/index.php?action=history&amp;feed=atom&amp;title=Aria_Ti_am335x_Android_kk4.4.4"/>
	<link rel="alternate" type="text/html" href="https://ariaboard.com/index.php?title=Aria_Ti_am335x_Android_kk4.4.4&amp;action=history"/>
	<updated>2026-05-21T17:06:47Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://ariaboard.com/index.php?title=Aria_Ti_am335x_Android_kk4.4.4&amp;diff=131&amp;oldid=prev</id>
		<title>C2h2: C2h2 moved page Aria am335x Android kk4.4.4 to Aria Ti am335x Android kk4.4.4</title>
		<link rel="alternate" type="text/html" href="https://ariaboard.com/index.php?title=Aria_Ti_am335x_Android_kk4.4.4&amp;diff=131&amp;oldid=prev"/>
		<updated>2020-11-03T10:46:05Z</updated>

		<summary type="html">&lt;p&gt;C2h2 moved page &lt;a href=&quot;/wiki/Aria_am335x_Android_kk4.4.4&quot; class=&quot;mw-redirect&quot; title=&quot;Aria am335x Android kk4.4.4&quot;&gt;Aria am335x Android kk4.4.4&lt;/a&gt; to &lt;a href=&quot;/wiki/Aria_Ti_am335x_Android_kk4.4.4&quot; title=&quot;Aria Ti am335x Android kk4.4.4&quot;&gt;Aria Ti am335x Android kk4.4.4&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:46, 3 November 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>C2h2</name></author>
	</entry>
	<entry>
		<id>https://ariaboard.com/index.php?title=Aria_Ti_am335x_Android_kk4.4.4&amp;diff=88&amp;oldid=prev</id>
		<title>C2h2 at 08:21, 18 January 2017</title>
		<link rel="alternate" type="text/html" href="https://ariaboard.com/index.php?title=Aria_Ti_am335x_Android_kk4.4.4&amp;diff=88&amp;oldid=prev"/>
		<updated>2017-01-18T08:21:48Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 03:21, 18 January 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l203&quot;&gt;Line 203:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 203:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==FAQ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==FAQ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;SD VS eMMC: 2 Images are identical with only one difference, check prior section uEnv.txt for SD and eMMC&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*&lt;/ins&gt;SD VS eMMC: 2 Images are identical with only one difference, check prior section uEnv.txt for SD and eMMC&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*Original author REF: https://github.com/c2h2/bbb-android-device-files/tree/kk4.4-sdcard&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>C2h2</name></author>
	</entry>
	<entry>
		<id>https://ariaboard.com/index.php?title=Aria_Ti_am335x_Android_kk4.4.4&amp;diff=87&amp;oldid=prev</id>
		<title>C2h2: Created page with &quot;Android KitKat 4.4 for Ariaboard am335x  ==apt install==  sudo apt-get install bison g++-multilib git gperf libxml2-utils make python-networkx zlib1g-dev:i386 zip curl flex  i...&quot;</title>
		<link rel="alternate" type="text/html" href="https://ariaboard.com/index.php?title=Aria_Ti_am335x_Android_kk4.4.4&amp;diff=87&amp;oldid=prev"/>
		<updated>2017-01-18T08:16:04Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Android KitKat 4.4 for Ariaboard am335x  ==apt install==  sudo apt-get install bison g++-multilib git gperf libxml2-utils make python-networkx zlib1g-dev:i386 zip curl flex  i...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Android KitKat 4.4 for Ariaboard am335x&lt;br /&gt;
&lt;br /&gt;
==apt install==&lt;br /&gt;
 sudo apt-get install bison g++-multilib git gperf libxml2-utils make python-networkx zlib1g-dev:i386 zip curl flex&lt;br /&gt;
&lt;br /&gt;
if &amp;gt; u1604&lt;br /&gt;
 apt install repo&lt;br /&gt;
&lt;br /&gt;
sun jdk 6&lt;br /&gt;
  &lt;br /&gt;
 sudo add-apt-repository ppa:webupd8team/java&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get install oracle-java6-installer&lt;br /&gt;
&lt;br /&gt;
make-3.82&lt;br /&gt;
&lt;br /&gt;
 cd ~&lt;br /&gt;
 wget https://ftp.gnu.org/gnu/make/make-3.82.tar.gz&lt;br /&gt;
 tar -xvf make-3.82.tar.gz&lt;br /&gt;
 cd make-3.82&lt;br /&gt;
 ./configure&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
==use a proxy if needed==&lt;br /&gt;
git proxy:&lt;br /&gt;
 git config --global http.proxy &amp;#039;socks5://127.0.0.1:1080&amp;#039;&lt;br /&gt;
 git config --global https.proxy &amp;#039;socks5://127.0.0.1:1080&amp;#039;&lt;br /&gt;
&lt;br /&gt;
http proxy:&lt;br /&gt;
 export http_proxy=http://192.168.8.25:1077&lt;br /&gt;
 export https_proxy=http://192.168.8.25:1077&lt;br /&gt;
&lt;br /&gt;
==Kernel Cross Compiler==&lt;br /&gt;
IMPORTANT, we usually will use armhf(gnueabihf), but for android we use arm(guneabi)&lt;br /&gt;
&lt;br /&gt;
use: https://launchpad.net/linaro-toolchain-binaries/trunk/2012.04/+download/gcc-linaro-arm-linux-gnueabi-2012.04-20120426_linux.tar.bz2&lt;br /&gt;
&lt;br /&gt;
 cd /opt&lt;br /&gt;
 wget https://launchpad.net/linaro-toolchain-binaries/trunk/2012.04/+download/gcc-linaro-arm-linux-gnueabi-2012.04-20120426_linux.tar.bz2&lt;br /&gt;
 tar -xvf gcc-linaro-arm-linux-gnueabi-2012.04-20120426_linux.tar.bz2&lt;br /&gt;
 &lt;br /&gt;
at ~/.bashrc insert:&lt;br /&gt;
 export PATH=/opt/gcc-linaro-arm-linux-gnueabi-2012.04-20120426_linux/bin:$PATH&lt;br /&gt;
&lt;br /&gt;
==Get Aosp 4.4.4_r1==&lt;br /&gt;
&lt;br /&gt;
Note we use &amp;lt;code&amp;gt;~/aosp&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install &amp;lt;code&amp;gt;repo&amp;lt;/code&amp;gt; command if not u1604&lt;br /&gt;
 mkdir ~/bin&lt;br /&gt;
 curl http://commondatastorage.googleapis.com/git-repo-downloads/repo &amp;gt; ~/bin/repo&lt;br /&gt;
 chmod a+x ~/bin/repo&lt;br /&gt;
&lt;br /&gt;
setup sync android code.&lt;br /&gt;
 mkdir ~/aosp&lt;br /&gt;
 cd aosp &lt;br /&gt;
 repo init -u https://android.googlesource.com/platform/manifest -b android-4.4.4_r1 &lt;br /&gt;
 repo sync -c&lt;br /&gt;
&lt;br /&gt;
This takes several hours because there is &amp;gt; 60 GiB to download. When complete you will have the AOSP code in &amp;lt;code&amp;gt;~/aosp&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Get Device files for am335x==&lt;br /&gt;
&lt;br /&gt;
  cd ~/aosp/device&lt;br /&gt;
  mkdir ti&lt;br /&gt;
  cd ti&lt;br /&gt;
  git clone https://github.com/csimmonds/bbb-android-device-files.git beagleboneblack&lt;br /&gt;
  cd beagleboneblack&lt;br /&gt;
&lt;br /&gt;
Checkout the right version. If installing to an SD card:&lt;br /&gt;
  git checkout kk4.4-sdcard&lt;br /&gt;
&lt;br /&gt;
If installing to eMMC via fastboot: &lt;br /&gt;
 git checkout kk4.4-fastboot&lt;br /&gt;
&lt;br /&gt;
Apply the patch.... &lt;br /&gt;
 cd ~/aosp/system/core&lt;br /&gt;
 patch -p1 &amp;lt; ../../device/ti/beagleboneblack/0001-Fix-CallStack-API.patch&lt;br /&gt;
&lt;br /&gt;
Then select the product: &lt;br /&gt;
 cd ~/aosp&lt;br /&gt;
 . build/envsetup.sh&lt;br /&gt;
 lunch&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Select &amp;quot;beagleboneblack-eng&amp;quot; (option 1x)&lt;br /&gt;
&lt;br /&gt;
==Build AOSP for am335x==&lt;br /&gt;
 croot&lt;br /&gt;
 ~/make-3.82/make -j`getconf _NPROCESSORS_ONLN`&lt;br /&gt;
&lt;br /&gt;
This takes an hour or two. When complete you will find the compiled Android system in  &amp;lt;code&amp;gt;~/aosp/out/target/product/beagleboneblack/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Build U-boot==&lt;br /&gt;
  cd  ~/aosp&lt;br /&gt;
  git clone https://github.com/c2h2/aria-uboot.git &lt;br /&gt;
  cd aria-uboot     &lt;br /&gt;
  git checkout android&lt;br /&gt;
 ./build.sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===eEnv.txt for SD CARD===&lt;br /&gt;
 &lt;br /&gt;
 bootargs=console=ttyO0,115200n8 androidboot.console=ttyO0 rootwait ro&lt;br /&gt;
 bootcmd=mmc rescan ; fatload mmc 0 82000000 uImage ; fatload mmc 0 83000000 uRamdisk ; bootm 82000000 83000000&lt;br /&gt;
 uenvcmd=boot&lt;br /&gt;
&lt;br /&gt;
===eEnv.txt for eMMC===&lt;br /&gt;
 &lt;br /&gt;
 bootargs=console=ttyO0,115200n8 androidboot.console=ttyO0 rootwait ro&lt;br /&gt;
 bootcmd=mmc rescan ; fatload mmc 1 82000000 uImage ; fatload mmc 1 83000000 uRamdisk ; bootm 82000000 83000000&lt;br /&gt;
 uenvcmd=boot&lt;br /&gt;
&lt;br /&gt;
==Build Kernel==&lt;br /&gt;
use cross compiler: &amp;lt;code&amp;gt;gcc-linaro-arm-linux-gnueabi-2012.04-20120426_linux.tar.bz2&amp;lt;/code&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 cd ~/aosp&lt;br /&gt;
 git clone YOUR_GIT_ADDR kernel&lt;br /&gt;
 cd kernel&lt;br /&gt;
 git checkout aria_slot_480_800 &lt;br /&gt;
 ./doKernel.sh&lt;br /&gt;
&lt;br /&gt;
==Build SGX Drivers==&lt;br /&gt;
&lt;br /&gt;
Once again I am getting these from Rowboat. This is messy because they are not very well integrated with the AOSP code. One issue is that the makefile has some paths hard coded which is why it has to be put into &amp;lt;code&amp;gt;hardware/ti/sgx&amp;lt;/code&amp;gt;, and also why the kernel has to be in directory kernel/.&lt;br /&gt;
 cd ~/aosp/hardware/ti&lt;br /&gt;
 git clone https://github.com/csimmonds/hardware-ti-sgx sgx&lt;br /&gt;
 cd sgx&lt;br /&gt;
 git checkout ti_sgx_sdk-ddk_1.10-jb-4.3&lt;br /&gt;
With Rowboat, the binaries are copied into &amp;lt;code&amp;gt;out/target/product/beagleboneblack/system&amp;lt;/code&amp;gt; after the AOSP build is complete and then post-processed into the install tar ball. I want to have them built as part of the AOSP build, so I edit one of the makefiles to put the binaries into my device directory. Then they get sucked into the final images by the rules in my &amp;lt;code&amp;gt;device.mk&amp;lt;/code&amp;gt;. So, edit &amp;lt;code&amp;gt;Rules.make&amp;lt;/code&amp;gt;: line 23 and change&lt;br /&gt;
 TARGETFS_INSTALL_DIR=$(ANDROID_ROOT_DIR)/out/target/product/$(TARGET_PRODUCT)/&lt;br /&gt;
to &lt;br /&gt;
 TARGETFS_INSTALL_DIR=$(ANDROID_ROOT_DIR)/device/ti/beagleboneblack/sgx&lt;br /&gt;
&lt;br /&gt;
This next bit has to be run in a completely new shell. I&amp;#039;m sorry, but for some reason it won&amp;#039;t build in a shell that has been set up for an AOSP build (i.e. has &amp;quot;. build/emvsetup.sh&amp;quot;).Note: W=1 is needed to avoid turning warnings into errors... $ cd ~/aosp/hardware/ti/sgx&lt;br /&gt;
 PATH=$HOME/aosp/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin:$PATH&lt;br /&gt;
 make TARGET_PRODUCT=beagleboneblack OMAPES=4.x ANDROID_ROOT_DIR=$HOME/aosp W=1&lt;br /&gt;
 make TARGET_PRODUCT=beagleboneblack OMAPES=4.x ANDROID_ROOT_DIR=$HOME/aosp W=1 install &lt;br /&gt;
That will result in populating &amp;lt;code&amp;gt;device/ti/beagleboneblack/sgx&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Clean SGX Drivers===&lt;br /&gt;
If any compiling error occurs, or you want to remove SGX drivers, &lt;br /&gt;
 rm -rf ~/aosp/hardware/ti &lt;br /&gt;
 rm -rf ~/aosp/device/ti/beagleboneblack/sgx/*&lt;br /&gt;
&lt;br /&gt;
==Final Build==&lt;br /&gt;
Now you need to regenerate the Android image files to include the sgx binaries. This should only take a few minutes. $ cd ~/aosp&lt;br /&gt;
 . build/envsetup.sh&lt;br /&gt;
 lunch beagleboneblack-eng &lt;br /&gt;
 ~/make-3.82/make installclean &lt;br /&gt;
 ~/make-3.82/make -j`getconf _NPROCESSORS_ONLN`&lt;br /&gt;
If something goes wrong, go back through the steps and try to identify the problem.&lt;br /&gt;
&lt;br /&gt;
==Install option (1): install to SD card==&lt;br /&gt;
You need a micro SD card of at least 4 GiB capacity. Insert your SD card into your SD card reader. It will appear as either /dev/sd? Or as /dev/mmcblk? Use fdisk or similar to create partitions like this: Partition    type    bootable?   Size (MiB) ID and file system&lt;br /&gt;
&lt;br /&gt;
 1          primary      *               64   c  W95 FAT32 (LBA)  &lt;br /&gt;
 2          primary                      32  83  Linux &lt;br /&gt;
 3          primary                      32  83  Linux&lt;br /&gt;
 4          extended                   ----  (remainder of device)&lt;br /&gt;
 5          logical                     270  83  Linux &lt;br /&gt;
 6          logical                    3080  83  Linux &lt;br /&gt;
 7          logical                     270  83  Linux &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I am going to leave the details up to you: that way you can&amp;#039;t blame me if it goes wrong, but as mentioned at the start, please do be aware that accidentally formatting the wrong device, for example your hard drive, is a distinct possibility. It has happened to me. So, please, double check everything.Then format the first partition, the boot partition, giving the correct device node: &lt;br /&gt;
 sudo mkfs -t vfat -n &amp;quot;boot&amp;quot; /dev/mmcblk0&lt;br /&gt;
&lt;br /&gt;
Create the ramdisk: &lt;br /&gt;
&lt;br /&gt;
 cd ~/aosp&lt;br /&gt;
 mkimage -A arm -O linux -T ramdisk -d out/target/product/beagleboneblack/ramdisk.img uRamdisk&lt;br /&gt;
&lt;br /&gt;
Mount the first partition and copy these files to it 1. u-boot/MLO 2. u-boot/u-boot.img 3. uRamdisk 4. device/ti/beagleboneblack/uEnv.txt 5. kernel/arch/arm/boot/uImageThe remaining image files are already in ext4 format so they can be copied directly to partitions 5, 6 and 7. For example if the SD card is /dev/mmcblk0 then &lt;br /&gt;
&lt;br /&gt;
 cd ~/aosp/out/target/product/beagleboneblack&lt;br /&gt;
 sudo dd if=system.img of=/dev/mmcblk0p5 bs=4M&lt;br /&gt;
 sudo dd if=userdata.img of=/dev/mmcblk0p6 bs=4M&lt;br /&gt;
 sudo dd if=cache.img of=/dev/mmcblk0p7 bs=4M&lt;br /&gt;
&lt;br /&gt;
Now put the SD card in your BeagleBone. Hold down the boot button while powering on to get it to load U-Boot from the SD card. All being well, you should see the &amp;quot;Android&amp;quot; boot animation after about 30 seconds and the launcher screen after 90 to 120 seconds. The second time the boot should be faster, I find it to be about 30 seconds.&lt;br /&gt;
&lt;br /&gt;
==Flash eMMC via SD card==&lt;br /&gt;
Now you have a SD card made. We will need to back it up to an image. At PC Linux:&lt;br /&gt;
&lt;br /&gt;
 sudo dd if=/dev/sdX of=andoird-ariaboard-am335x.image bs=4M&lt;br /&gt;
 pixz andoird-ariaboard-am335x.image # xz andoird-ariaboard-am335x.image&lt;br /&gt;
&lt;br /&gt;
Note: output image will be andoird-ariaboard-am335x.image.xz&lt;br /&gt;
&lt;br /&gt;
Copy the andoird-ariaboard-am335x.image.xz to sd card /root &lt;br /&gt;
&lt;br /&gt;
Now boot linux on Ariaboad am335x board with an SD card. Restore eMMC with command:&lt;br /&gt;
&lt;br /&gt;
 xzcat andoird-ariaboard-am335x.image.xz &amp;gt; /dev/mmcblkX &lt;br /&gt;
or&lt;br /&gt;
 unxz -c andoird-ariaboard-am335x.image.xz | dd of=/dev/mmcblkX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===sample script===&lt;br /&gt;
 https://gist.github.com/c2h2/f2f6594492fd1926245cd6b11d6491c2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==FAQ==&lt;br /&gt;
SD VS eMMC: 2 Images are identical with only one difference, check prior section uEnv.txt for SD and eMMC&lt;/div&gt;</summary>
		<author><name>C2h2</name></author>
	</entry>
</feed>