Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • a power PC HOST with Linux OS system (Ubuntu, Debian, ARCH Linux are valid options);

  • a docker environment installed and running;

  • a configured git and repo environment;

  • 250 GB of free space on HD;

  • a good Internet connection;

If you are in hurry:

  • For i.MX platform download this preconfigured script: android_build.sh and run it on your Linux PC HOST:

    • ./android_build.sh <BOARD_CODE> # Where <BOARD_CODE> can be “C61”, C43” , “C20”, etc

      • [For example: ./android_build.sh

      C61
      • C43 ]

  • You will find the results of the build process in the folder ANDROID_11/Distros/:

    • ls -lh ANDROID_11/Distros/

...

  • Run SECO docker for Android build:

    • Code Block
      docker run --rm -it \
          --privileged \
          --volume="/etc/passwd:/etc/passwd:ro" \
          --volume="/etc/group:/etc/group:ro" \
          --volume="/etc/shadow:/etc/shadow:ro"  \
          --volume $PWD:/workdir \
          -v ~/.bash_history:${HOME}/.bash_history:rw \
          -v ~/.vimrc:${HOME}/.vimrc:rw \
          -v ~/.vim:${HOME}/.vim:rw \
          -v ~/.cache:${HOME}/.cache:rw \
          -e BOARDCODE=${boardcode} \
          --workdir="/workdir" \
          --user $(id -u "$(stat -c "%U" Android.bp)"):1014$(id -g) \
          secodocker/android-builder:latest

...

Refer to Install Android 11 on SECO boards for the installation procedure.