aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2020-04-09 12:32:26 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2020-04-16 09:09:14 +0300
commit8258850947ee83af9b5788d7dc300380814497fb (patch)
treed083bd350351d0608b6e22d0769053fbbf9c87b9
parente1f3f611c338ff1407033b35e5cb891fd77ddd5b (diff)
downloadlinux-dt-8258850947ee83af9b5788d7dc300380814497fb.tar.gz
README: add note about test
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index a9c986b..2cf4277 100644
--- a/README.md
+++ b/README.md
@@ -23,6 +23,12 @@ 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`
+## Testing DT Overlays
+
+The Makefile has `test` target which applies overlays to base dtb using `fdtapply` and reports if the apply succeeded. The Makefile has a list of base-dts + overlay-dtbos to define how to apply the overlays.
+
+This provides an easy way to test if overlays apply correctly. When adding new overlays, also add new test targets to the Makefile.
+
## 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/`