diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2020-03-27 09:58:32 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2020-03-27 09:58:40 +0200 |
commit | ae93f0b2b4d3f8d34a36e36950c6a8e46a3523f4 (patch) | |
tree | cdd7699f75b9f318d9cde7bd7c21a9c8c9ed86c0 | |
parent | 291a4ca4524002cde77be260585bdc5a35c7564f (diff) | |
download | linux-dt-ae93f0b2b4d3f8d34a36e36950c6a8e46a3523f4.tar.gz |
Update README
-rw-r--r-- | README.md | 25 |
1 files changed, 21 insertions, 4 deletions
@@ -9,12 +9,29 @@ The makefile does two things: - Compiles a specified set of dts files with symbols enabled, taken from the kernel source tree - Compiles DT overlays in this repository -Linux directory can be given with LINUX=dir. If LINUX is undefined, Makefile will look for Linux directory from the current dir or <projectdir>/../linux/ +Linux directory can be given with `LINUX=dir`. If LINUX is undefined, Makefile will look for Linux directory from the current dir or `<projectdir>/../linux/` -Output path can be given the same way as when building the kernel, with O=dir +dtc compiler will be taken from `$LINUX/scripts/dtc/dtc` but can be overridden with DTC variable. -ARCH variable can be used to build a single arch instead of all, e.g. ARCH=arm64 +Output path can be given the same way as when building the kernel, with `O=dir` + +ARCH variable can be used to build a single arch instead of all, e.g. `ARCH=arm64` ## Config fragments -config directory contains defconfig_builder.sh. The Linux directory can be given with -k option. If Linux directory is not given, the script will look for Linux directory from the current dir or <projectdir>/../linux/ +config directory contains defconfig_builder.sh. The Linux directory can be given with -k option. If Linux directory is not given, the script will look for Linux directory from the current dir or `<projectdir>/../linux/` + +## Example developer workflow + +Linux sources in ~/work/linux and this project in ~/work/linux-dt + +``` +$ cd ~/work/linux +$ ../linux-dt/config/defconfig_builder.sh +(select a defconfig) +$ make ti_sdk_dra7x_debug_defconfig +$ make +$ make -C ../linux-dt + +The symbol-enabled dtbs and dtbos are now under ~/work/linux-dt/arch/... +``` |