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
5 files changed
tree: dcc8eb6d07068c74f42cd7edda9e66e6fbf22a58
  1. overlay/
  2. tools/
  3. .gitignore
  4. boot.txt
  5. defconfig
  6. flash.sh
  7. Makefile
  8. partition-table.bpt
  9. permissions.txt
  10. README.md
README.md

i.MXn Debian Root Generator

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.

Building

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.

Examining the results

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.