<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jun 27, 2021, 9:04 AM Alan Cudmore <<a href="mailto:alan.cudmore@gmail.com">alan.cudmore@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
This patch works for me. I can build and run the latest rtems master<br>
branch samples on the RPI 2 and 3.<br>
The samples do not run on the single core models, but it is not<br>
related to this patch. I have a patch for the single core models, and<br>
when combined with this patch I can get the samples to run on RPI<br>
Zero, Zero W, Pi A+, Original Pi Model B+, Pi 2, and Pi 3.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">This is all great news!</div><div dir="auto"><br></div><div dir="auto">Thanks to everyone who helped out on this </div><div dir="auto"><br></div><div dir="auto">--joel</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks,<br>
Alan<br>
<br>
On Fri, Jun 25, 2021 at 12:18 PM pranav <<a href="mailto:dangipranav@gmail.com" target="_blank" rel="noreferrer">dangipranav@gmail.com</a>> wrote:<br>
><br>
> ---<br>
>  spec/build/bsps/arm/raspberrypi/grp.yml         |  8 ++++++++<br>
>  spec/build/bsps/arm/raspberrypi/optfdtcpyro.yml | 15 +++++++++++++++<br>
>  spec/build/bsps/arm/raspberrypi/optfdtmxsz.yml  | 16 ++++++++++++++++<br>
>  spec/build/bsps/arm/raspberrypi/optfdtro.yml    | 15 +++++++++++++++<br>
>  spec/build/bsps/arm/raspberrypi/optfdtuboot.yml | 15 +++++++++++++++<br>
>  5 files changed, 69 insertions(+)<br>
>  create mode 100644 spec/build/bsps/arm/raspberrypi/optfdtcpyro.yml<br>
>  create mode 100644 spec/build/bsps/arm/raspberrypi/optfdtmxsz.yml<br>
>  create mode 100644 spec/build/bsps/arm/raspberrypi/optfdtro.yml<br>
>  create mode 100644 spec/build/bsps/arm/raspberrypi/optfdtuboot.yml<br>
><br>
> diff --git a/spec/build/bsps/arm/raspberrypi/grp.yml b/spec/build/bsps/arm/raspberrypi/grp.yml<br>
> index 7291e8b178..a810fdd529 100644<br>
> --- a/spec/build/bsps/arm/raspberrypi/grp.yml<br>
> +++ b/spec/build/bsps/arm/raspberrypi/grp.yml<br>
> @@ -31,6 +31,14 @@ links:<br>
>    uid: optrpi2<br>
>  - role: build-dependency<br>
>    uid: optspiiomode<br>
> +- role: build-dependency<br>
> +  uid: optfdtuboot<br>
> +- role: build-dependency<br>
> +  uid: optfdtcpyro<br>
> +- role: build-dependency<br>
> +  uid: optfdtmxsz<br>
> +- role: build-dependency<br>
> +  uid: optfdtro<br>
>  - role: build-dependency<br>
>    uid: ../start<br>
>  - role: build-dependency<br>
> diff --git a/spec/build/bsps/arm/raspberrypi/optfdtcpyro.yml b/spec/build/bsps/arm/raspberrypi/optfdtcpyro.yml<br>
> new file mode 100644<br>
> index 0000000000..c26b1ae051<br>
> --- /dev/null<br>
> +++ b/spec/build/bsps/arm/raspberrypi/optfdtcpyro.yml<br>
> @@ -0,0 +1,15 @@<br>
> +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause<br>
> +actions:<br>
> +- get-boolean: null<br>
> +- define-condition: null<br>
> +build-type: option<br>
> +copyrights:<br>
> +- Copyright (C) 2020 embedded brains GmbH (<a href="http://www.embedded-brains.de" rel="noreferrer noreferrer" target="_blank">http://www.embedded-brains.de</a>)<br>
> +default: true<br>
> +default-by-variant: []<br>
> +description: |<br>
> +  copy the FDT blob into the read-only load area via bsp_fdt_copy()<br>
> +enabled-by: true<br>
> +links: []<br>
> +name: BSP_FDT_BLOB_COPY_TO_READ_ONLY_LOAD_AREA<br>
> +type: build<br>
> diff --git a/spec/build/bsps/arm/raspberrypi/optfdtmxsz.yml b/spec/build/bsps/arm/raspberrypi/optfdtmxsz.yml<br>
> new file mode 100644<br>
> index 0000000000..14af766230<br>
> --- /dev/null<br>
> +++ b/spec/build/bsps/arm/raspberrypi/optfdtmxsz.yml<br>
> @@ -0,0 +1,16 @@<br>
> +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause<br>
> +actions:<br>
> +- get-integer: null<br>
> +- define: null<br>
> +build-type: option<br>
> +copyrights:<br>
> +- Copyright (C) 2020 embedded brains GmbH (<a href="http://www.embedded-brains.de" rel="noreferrer noreferrer" target="_blank">http://www.embedded-brains.de</a>)<br>
> +default: 262144<br>
> +default-by-variant: []<br>
> +description: |<br>
> +  maximum size of the FDT blob in bytes<br>
> +enabled-by: true<br>
> +format: '{}'<br>
> +links: []<br>
> +name: BSP_FDT_BLOB_SIZE_MAX<br>
> +type: build<br>
> diff --git a/spec/build/bsps/arm/raspberrypi/optfdtro.yml b/spec/build/bsps/arm/raspberrypi/optfdtro.yml<br>
> new file mode 100644<br>
> index 0000000000..a61bb2924b<br>
> --- /dev/null<br>
> +++ b/spec/build/bsps/arm/raspberrypi/optfdtro.yml<br>
> @@ -0,0 +1,15 @@<br>
> +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause<br>
> +actions:<br>
> +- get-boolean: null<br>
> +- define-condition: null<br>
> +build-type: option<br>
> +copyrights:<br>
> +- Copyright (C) 2020 embedded brains GmbH (<a href="http://www.embedded-brains.de" rel="noreferrer noreferrer" target="_blank">http://www.embedded-brains.de</a>)<br>
> +default: true<br>
> +default-by-variant: []<br>
> +description: |<br>
> +  place the FDT blob into the read-only data area<br>
> +enabled-by: true<br>
> +links: []<br>
> +name: BSP_FDT_BLOB_READ_ONLY<br>
> +type: build<br>
> diff --git a/spec/build/bsps/arm/raspberrypi/optfdtuboot.yml b/spec/build/bsps/arm/raspberrypi/optfdtuboot.yml<br>
> new file mode 100644<br>
> index 0000000000..5805e912ff<br>
> --- /dev/null<br>
> +++ b/spec/build/bsps/arm/raspberrypi/optfdtuboot.yml<br>
> @@ -0,0 +1,15 @@<br>
> +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause<br>
> +actions:<br>
> +- get-boolean: null<br>
> +- define-condition: null<br>
> +build-type: option<br>
> +copyrights:<br>
> +- Copyright (C) 2020 embedded brains GmbH (<a href="http://www.embedded-brains.de" rel="noreferrer noreferrer" target="_blank">http://www.embedded-brains.de</a>)<br>
> +default: true<br>
> +default-by-variant: []<br>
> +description: |<br>
> +  copy the U-Boot provided FDT to an internal storage<br>
> +enabled-by: true<br>
> +links: []<br>
> +name: BSP_START_COPY_FDT_FROM_U_BOOT<br>
> +type: build<br>
> --<br>
> 2.27.0<br>
><br>
> _______________________________________________<br>
> devel mailing list<br>
> <a href="mailto:devel@rtems.org" target="_blank" rel="noreferrer">devel@rtems.org</a><br>
> <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank" rel="noreferrer">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div></div></div>