Yocto Project Discussions
 help / color / mirror / Atom feed
* error while adding device tree overlay for UART to the image #bitbake #linux
@ 2024-10-23 14:39 Crane
  2024-10-26  1:37 ` [yocto] " Crane
  2026-03-31 12:36 ` seyd.dany
  0 siblings, 2 replies; 4+ messages in thread
From: Crane @ 2024-10-23 14:39 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1111 bytes --]

Hello,

This question comes from building Raspberry Pi 5 image in Yocto.

I am trying to add uart device tree overlays to the image.
What's done is to add the overlays in the machine configuration:

> 
> RPI_KERNEL_DEVICETREE_OVERLAYS += " \
> overlays/uart0-pi5.dtbo \
> overlays/uart1-pi5.dtbo \
> overlays/uart2-pi5.dtbo \
> overlays/uart3-pi5.dtbo \
> overlays/uart4-pi5.dtbo \
> "
> 

They are also automatically added to KERNEL_DEVICETREE and it works fine to generate the dt overlay binary in building a Linux kernel.

Then when building the image, there is an error as below:

> 
> | DEBUG: Executing shell function do_image_wic
> | INFO: Creating image(s)...
> |
> | WARNING: bootloader config not specified, using defaults
> |
> | ERROR: Malformed boot file entry: uart0-pi5.dtbo;
> |
> | WARNING: exit code 1 from a shell command.
> 

I am using a custom layer based on Poky scarthgap and meta-raspberrypi scarthgap.
What might be missed in the recipes? It looks like there is some check when packing the wic image. Any inputs will be appreciated.

Thanks!
Crane

[-- Attachment #2: Type: text/html, Size: 1886 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-03-31 12:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-23 14:39 error while adding device tree overlay for UART to the image #bitbake #linux Crane
2024-10-26  1:37 ` [yocto] " Crane
2024-10-26  2:00   ` Crane
2026-03-31 12:36 ` seyd.dany

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox