commit | 1042c5dcf39ac1a866f48052f37234f6f4f450e0 | [log] [tgz] |
---|---|---|
author | Alex Van Damme <atv@google.com> | Wed May 16 15:03:48 2018 -0700 |
committer | Alex Van Damme <atv@google.com> | Mon May 21 12:59:23 2018 -0700 |
tree | dcc8eb6d07068c74f42cd7edda9e66e6fbf22a58 | |
parent | 04856f049728f6f3b07312083f076f51b41a0b6e [diff] |
Revise Debian make process - Use an android-like output structure - Generate sdcard image, as well as all necessary files for eMMC boot - flash.sh script to program eMMC - Apply defconfig changes to kernel at build time - Leverage a lot of android tools! - GPU drivers and firmware are just checked in and copied. Change-Id: Ib443bc2a3a7273082527f05dde801fad2ae26fbf
From an existing boot filesystem provided by the i.MXn Yocto Linux tree, this makefile and related scripts will create an sdcard.img file which will boot into Debian proper.
This set of scripts currently has the ability to apply a simple overlay to the generated rootfs before creating the sdcard image.
First, install any required packages for the scripts to do their jobs by doing the following at a shell prompt:
host:~/Projects/imx-debian$ make prereqs
This will call out to apt-get
to install any required packages. Once this is done, a simple
host:~/Projects/imx-debian$ make
Will suffice to build the sdcard.img file.
The make mount
target will happily open up the generated sdcard.img file and mount it in the mount
subdirectory. To unmount simply make unmount
.