commit | b0df37d5832dd43366ca80bf212e89b86740b553 | [log] [tgz] |
---|---|---|
author | June Tate-Gans <jtgans@google.com> | Wed May 23 14:00:26 2018 -0700 |
committer | June Tate-Gans <jtgans@google.com> | Wed May 23 14:00:26 2018 -0700 |
tree | a003483856d36e7a7e213d66a1592d08fb20ea70 | |
parent | f118318073e01850474f1b8113d1d180faadeca2 [diff] |
fstab: Disable atime and use a tmpfs Our eMMC has a limited number of cycles that we can actually run for. This change turns on the noatime options to disable constant writes to the disk. It also enables discard, and replaces /tmp with a proper tmpfs. Change-Id: I9ca7c27e6d8d43d88ef8bdca41636e4a5363dd24
These files comprise the build system to produce both an eMMC and SD card image of Debian Squeeze for the i.MX8M SoC.
The first step to using this build system is to source the environment setup script:
host:~/Projects/imx-debian$ source build/setup.sh
This will add the host tool binaries directory to your path, add the build directory to your path, and setup some helpful environment variables as well. Once this is done, you'll have a new m
script to run to build the system.
First, install any required packages for the scripts to do their jobs by doing the following at a shell prompt:
host:~/Projects/imx-debian$ m prereqs
This will call out to apt-get
to install any required packages via sudo
. Once this is done, a simple
host:~/Projects/imx-debian$ m
Will suffice to build the sdcard.img file. Note that you may want to provide a -j
option with as many cores as you have in your system.
Output files are located in the out/
directory by default, and it's super easy to get to that location by typing in cd $PRODUCT_OUT
or j product
.