imx: add a compilation flag to support the persistence of the rootfs.

The image generation for the board NXP® i.MX 8MQuad Evaluation Kit (EVK)
has been refactored, so the rootfs can either be loaded from a RAMDisk
or from a partition on a media storage such as an SD card, by enabling
the compilation flag USE_PERSISTENT_ROOTFS.
In addition, the image size is now dynamically allocated, depending on
the size of the partition(s) that is/are part of the image.

The flash-image target (part of the all target) produces a out/boot.img
which can be copied to a SD card using the command:
dd if=out/boot.img of=/dev/sdX bs=1M conv=fsync

Where 'X' has to be adjusted to the device of the SD card when connected
to the host system.

     ****** Please be careful to choose the correct device ******
     ****** or there's a risk of damaging the host system. ******

Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Signed-off-by: Jämes Ménétrey <james.menetrey@unine.ch>
2 files changed
tree: 4c97cc27434abd46e259d61289f7de314475c2af
  1. .github/
  2. br-ext/
  3. fvp/
  4. imx/
  5. kconfigs/
  6. rpi3/
  7. ti/
  8. zynqmp/
  9. .gitignore
  10. am43xx.mk
  11. am57xx.mk
  12. common.mk
  13. dra7xx.mk
  14. fvp.mk
  15. get_clang.sh
  16. hikey.mk
  17. hikey960.mk
  18. imx.mk
  19. juno.mk
  20. poplar.mk
  21. qemu-check.exp
  22. qemu.mk
  23. qemu_v8.mk
  24. README.md
  25. rpi3.mk
  26. stm32mp1.mk
  27. synquacer.mk
  28. toolchain.mk
  29. verdin.mk
  30. zynqmp.mk
README.md

OP-TEE build.git

This git contains makefiles etc to be able to build a full OP-TEE developer setup for the OP-TEE project.

All official OP-TEE documentation has moved to http://optee.readthedocs.io. The pages that used to be here in this git can be found under build and Device specific information at he new location for the OP-TEE documentation.

// OP-TEE core maintainers