Skip to content

fail hard and stop if dtb-file cannot befound

I am testing a new device on a mainline kernel.

During that I have made a mistake and entered the wrong name/path for the dtb.

However, boot-deploy as called by pmboostrap install did not stop on this error below:

16:46:53.288075 == Using boot-deploy to finalize/install files ==
==> Running hooks
==> kernel: device-tree blob operations
ERROR: Unable to find marvell/dove-cubox.dtb in the following locations:
    - /boot/dtbs*
    - /usr/share/dtb/
==> kernel: appending device-tree marvell/dove-cubox
==> initramfs: creating uInitrd
Image Name:   uInitrd
Created:      Mon Sep 16 16:46:53 2024
Image Type:   ARM Linux RAMDisk Image (uncompressed)
Data Size:    4925248 Bytes = 4809.81 KiB = 4.70 MiB
Load Address: 00000000
Entry Point:  00000000
==> kernel: creating uImage
Image Name:   postmarketOS
Created:      Mon Sep 16 16:46:55 2024
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    18000612 Bytes = 17578.72 KiB = 17.17 MiB
Load Address: 00008000
Entry Point:  00008000
==> Checking free space at /boot
... OK!
==> Installing: /boot/initramfs
==> Installing: /boot/initramfs-extra
==> Installing: /boot/uImage
==> Installing: /boot/uInitrd
16:47:00.594815 boot-deploy completed in: 7.31s
16:47:00.597643 mkinitfs completed in: 11.85s

I would expect that in this situation would stop the pmboostrap install running and notify the user of the error.

If this is actually not a boot-deploy issue, but a pmboostrap issue, please move it.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information