[PATCH rtems-docs] bsps/imxrt: Remove superfluous options from dtc
Christian Mauderer
christian.mauderer at embedded-brains.de
Mon May 17 07:35:18 UTC 2021
The -@ option adds symbols that are used when applying an overlay. RTEMS
doesn't support overlays or re-parsing of device trees. So the symbols
only increase the size of the binary.
The same is true for the padding. It would be useful if the device tree
is changed during run time which is not supported in RTEMS.
Update #4180
---
user/bsps/arm/imxrt.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/user/bsps/arm/imxrt.rst b/user/bsps/arm/imxrt.rst
index 1bce6d7..c60b51d 100644
--- a/user/bsps/arm/imxrt.rst
+++ b/user/bsps/arm/imxrt.rst
@@ -118,7 +118,7 @@ with your FDT source names)::
sh> arm-rtems6-cpp -P -x assembler-with-cpp \
-I ${PREFIX}/arm-rtems6/imxrt1052/lib/include \
-include "YOUR.dts" /dev/null | \
- dtc -@ -O dtb -o "YOUR.dtb" -b 0 -p 1024
+ dtc -O dtb -o "YOUR.dtb" -b 0 -p 64
sh> rtems-bin2c -C -N imxrt_dtb "YOUR.dtb" "YOUR.c"
Make sure that your new c file is compiled and linked into the application.
--
2.26.2
More information about the devel
mailing list