Add device-tree-compiler to prereqs

- u-boot uses this

Change-Id: I09e03f318e4d625582caea62c0a2a59d2621973a
1 file changed
tree: 3f6759d90c3646ef62bc0250e0f346a9edd9f57a
  1. overlay/
  2. .gitignore
  3. boot.mk
  4. boot.txt
  5. debootstrap.mk
  6. defconfig
  7. fix_permissions.sh
  8. flash.sh
  9. img2simg.mk
  10. kernel.mk
  11. Makefile
  12. partition-table.bpt
  13. partition-table.mk
  14. permissions.txt
  15. preamble.mk
  16. prereqs.mk
  17. README.md
  18. rootfs.mk
  19. sdcard.mk
  20. setup.sh
  21. template.mk
  22. u-boot.mk
README.md

i.MXn Debian System

These files comprise the build system to produce both an eMMC and SD card image of Debian Squeeze for the i.MX8M SoC.

Building

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.

Examining the results

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.