mirror of
https://git.rtems.org/rtems-docs/
synced 2025-05-15 18:36:43 +08:00
bsps/imxrt: Generate correctly aligned device tree
The device tree has to be aligned correctly. rtems-bin2c has a new parameter for that. This patch uses this parameter to generate the right alignment and makes it more clear how to use the generated C file.
This commit is contained in:
parent
383b600016
commit
c11ae8e5bb
@ -128,9 +128,11 @@ with your FDT source names)::
|
|||||||
-I ${PREFIX}/arm-rtems6/imxrt1052/lib/include \
|
-I ${PREFIX}/arm-rtems6/imxrt1052/lib/include \
|
||||||
-include "YOUR.dts" /dev/null | \
|
-include "YOUR.dts" /dev/null | \
|
||||||
dtc -O dtb -o "YOUR.dtb" -b 0 -p 64
|
dtc -O dtb -o "YOUR.dtb" -b 0 -p 64
|
||||||
sh> rtems-bin2c -C -N imxrt_dtb "YOUR.dtb" "YOUR.c"
|
sh> rtems-bin2c -A 8 -C -N imxrt_dtb "YOUR.dtb" "YOUR.c"
|
||||||
|
|
||||||
Make sure that your new C file is compiled and linked into the application.
|
You'll get a C file which defines the `imxrt_dtb` array. Make sure that your new
|
||||||
|
C file is compiled and linked into the application. It will overwrite the
|
||||||
|
existing definition of the `imxrt_dtb` in RTEMS.
|
||||||
|
|
||||||
PLL Settings
|
PLL Settings
|
||||||
------------
|
------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user