[PATCH rtems-docs] bsps/imxrt: Remove superfluous options from dtc

Joel Sherrill joel at rtems.org
Mon May 17 12:04:10 UTC 2021


On Mon, May 17, 2021, 2:35 AM Christian Mauderer <
christian.mauderer at embedded-brains.de> wrote:

> 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.
>

C should be capitalized.

Do you think the command should be explained in the docs like you did in
the comment?

-- 
> 2.26.2
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20210517/f29b9e9c/attachment.html>


More information about the devel mailing list