Nice, that's the way I wanted to do it, but haven't found room to dive into
Isar.

I've just verified this on 2G, 4G & 8G. Boots and runs a Linux cell as
before.

Jakub

On Tue, 1 Sep 2020 at 12:04, Jan Kiszka <[email protected]> wrote:

> From: Jan Kiszka <[email protected]>
>
> This should avoid firmware updates when the only difference is a new dtb
> or overlay with some adjusted or new bindings. Apparently, the same
> pattern is used also by meta-raspberrypi on the OE side.
>
> Suggested-by: Jakub Lužný <[email protected]>
> Signed-off-by: Jan Kiszka <[email protected]>
> ---
>
> This depends on v2 of "Updates, support for all RPi4 variants".
>
>  conf/machine/rpi4.conf                          |  3 ++-
>  .../files/debian/rpi-firmware.install           | 17 +++++++++--------
>  2 files changed, 11 insertions(+), 9 deletions(-)
>
> diff --git a/conf/machine/rpi4.conf b/conf/machine/rpi4.conf
> index a683b7a..8ccef6b 100644
> --- a/conf/machine/rpi4.conf
> +++ b/conf/machine/rpi4.conf
> @@ -23,8 +23,9 @@ IMAGE_BOOT_FILES = " \
>      /usr/lib/rpi-firmware/fixup4x.dat;fixup4x.dat \
>      /usr/lib/rpi-firmware/start4.elf;start4.elf \
>      /usr/lib/rpi-firmware/start4x.elf;start4x.elf \
> -    /usr/lib/rpi-firmware/bcm2711-rpi-4-b.dtb;bcm2711-rpi-4-b.dtb \
>      /usr/lib/rpi-firmware/overlays/*;overlays/ \
> +    /usr/lib/linux-image-*/broadcom/bcm2711-rpi-4-b.dtb \
> +    /usr/lib/linux-image-*/overlays/*;overlays/ \
>      /usr/lib/arm-trusted-firmware/rpi4/bl31.bin;bl31.bin \
>      /vmlinuz;kernel8.img \
>      "
> diff --git a/recipes-bsp/rpi-firmware/files/debian/rpi-firmware.install
> b/recipes-bsp/rpi-firmware/files/debian/rpi-firmware.install
> index 701a984..dba3266 100644
> --- a/recipes-bsp/rpi-firmware/files/debian/rpi-firmware.install
> +++ b/recipes-bsp/rpi-firmware/files/debian/rpi-firmware.install
> @@ -1,8 +1,9 @@
> -boot/bootcode.bin      usr/lib/rpi-firmware/
> -boot/LICENCE.broadcom  usr/lib/rpi-firmware/
> -boot/*.dat             usr/lib/rpi-firmware/
> -boot/*.dtb             usr/lib/rpi-firmware/
> -boot/*.elf             usr/lib/rpi-firmware/
> -boot/overlays/*                usr/lib/rpi-firmware/overlays/
> -debian/cmdline.txt     usr/lib/rpi-firmware/
> -debian/config.txt      usr/lib/rpi-firmware/
> +boot/bootcode.bin              usr/lib/rpi-firmware/
> +boot/LICENCE.broadcom          usr/lib/rpi-firmware/
> +boot/*.dat                     usr/lib/rpi-firmware/
> +boot/*.dtb                     usr/lib/rpi-firmware/
> +boot/*.elf                     usr/lib/rpi-firmware/
> +boot/overlays/README           usr/lib/rpi-firmware/overlays/
> +boot/overlays/jailhouse.dtbo   usr/lib/rpi-firmware/overlays/
> +debian/cmdline.txt             usr/lib/rpi-firmware/
> +debian/config.txt              usr/lib/rpi-firmware/
> --
> 2.26.2
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/CAGdCPwsT%2BDGtNmS%3DAvXiRpv2APTLpz%3Dg3MO8meyS-CL9P2BKxw%40mail.gmail.com.

Reply via email to