[FE training-materials-updates] Android labs: add instructions on how to create an sdcard

Alexandre Belloni alexandre.belloni at free-electrons.com
Wed Feb 5 15:53:52 CET 2014


Repository : git://git.free-electrons.com/training-materials.git

On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=7cb3fb0f45ba36c9ebfd4b23e46670f600f645f5

>---------------------------------------------------------------

commit 7cb3fb0f45ba36c9ebfd4b23e46670f600f645f5
Author: Alexandre Belloni <alexandre.belloni at free-electrons.com>
Date:   Wed Feb 5 15:53:12 2014 +0100

    Android labs: add instructions on how to create an sdcard
    
    Signed-off-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>


>---------------------------------------------------------------

7cb3fb0f45ba36c9ebfd4b23e46670f600f645f5
 labs/android-new-board/android-new-board.tex |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/labs/android-new-board/android-new-board.tex b/labs/android-new-board/android-new-board.tex
index 4f4d78c..378f519 100644
--- a/labs/android-new-board/android-new-board.tex
+++ b/labs/android-new-board/android-new-board.tex
@@ -274,6 +274,22 @@ setenv bootcmd 'tftp 80000000 uImage; bootm 80000000'
 saveenv
 \end{verbatim}
 
+\section{Creating the SDcard}
+
+Because Android has permissions issues when using an NFS volume as
+\code{/data}, we have to use an Android SDcard that we'll let in the
+slot. Android will mount it and use it for \code{/data}.
+
+Your instructor will provide such an SDcard. It has been prepared
+with:
+
+\begin{verbatim}
+sudo ./external/ti_android_utilities/am335x/mk-mmc/mkmmc-android.sh \
+  /dev/sdX u-boot/MLO u-boot/u-boot.img kernel/arch/arm/boot/uImage \
+  ./external/ti_android_utilities/am335x/u-boot-env/uEnv_beagleboneblack.txt \
+  ./out/target/product/beagleboneblack/rootfs.tar.bz2
+\end{verbatim}
+
 \section{Setting up the NFS server}
 
 Create a \code{nfsroot} directory in the \code{felabs/android}



More information about the training-materials-updates mailing list