# Raspbian Stretch: Mender-converted vs original image - missing symbolic links in /boot - Picamera firmware missing

**URL:** https://hub.mender.io/t/raspbian-stretch-mender-converted-vs-original-image-missing-symbolic-links-in-boot-picamera-firmware-missing/3471
**Category:** General Discussions
**Tags:** raspberry-pi-3
**Created:** [April 7, 2021, 2:55pm UTC](https://hub.mender.io/t/raspbian-stretch-mender-converted-vs-original-image-missing-symbolic-links-in-boot-picamera-firmware-missing/3471 "2021-04-07T14:55:21Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![raj.panchal](https://avatars.discourse-cdn.com/v4/letter/r/ecb155/32.png) [@raj.panchal](https://hub.mender.io/u/raj.panchal)
#### Post date: [April 7, 2021, 2:55pm UTC](https://hub.mender.io/t/raspbian-stretch-mender-converted-vs-original-image-missing-symbolic-links-in-boot-picamera-firmware-missing/3471/1 "2021-04-07T14:55:21Z")

</div>

Hi Experts:

I am having difficulty with the Mender-ized Raspbian Stretch: image.

Mender-converted vs original image - missing many symbolic links in /boot from /uboot.

The image boots up fine and works fine for most parts of my application.

But when I try to start the Picamera application, it complains that Picamera is not enabled. Picamera firmware missing in the /boot. Comparing the Mender-converted vs original image, I noticed that many of the firmware files in the original /boot are missing in the Mender-ized image. The files are there in the /uboot but not all of them are sym-linked into the /boot directory.

Anyone else noticed similar issue?

Am I missing or misunderstanding something here?

Appreciate help from the experts.

Regards,  
Raj

---

<div class="post-metadata">

### Author: ![eystein](https://avatars.discourse-cdn.com/v4/letter/e/e5b9ba/32.png) [@eystein](https://hub.mender.io/u/eystein)
#### Post date: [April 7, 2021, 9:10pm UTC](https://hub.mender.io/t/raspbian-stretch-mender-converted-vs-original-image-missing-symbolic-links-in-boot-picamera-firmware-missing/3471/2 "2021-04-07T21:10:06Z")

</div>

Hello @raj.panchal ,

Raspberry Pi uses a quite special boot sequence that is the root cause of these kind of issues. We’re not able to integrate directly with its bootloader because it’s proprietary so we’re replacing it with UBoot.

I am not an expert in this area, but there was a recent fix for a related issue here: [https://tracker.mender.io/browse/MEN-4117](https://tracker.mender.io/browse/MEN-4117) (fix at [MEN-4117: Support headless configuration on Raspberry Pi by lluiscampos · Pull Request #320 · mendersoftware/mender-convert · GitHub](https://github.com/mendersoftware/mender-convert/pull/320)).

Maybe you could try to apply that patch to your mender-convert and see if it could resolve the issue? It will be part of the next release of mender-convert too, which should be less than a week away.

---

<div class="post-metadata">

### Author: ![raj.panchal](https://avatars.discourse-cdn.com/v4/letter/r/ecb155/32.png) [@raj.panchal](https://hub.mender.io/u/raj.panchal)
#### Post date: [April 8, 2021, 12:51pm UTC](https://hub.mender.io/t/raspbian-stretch-mender-converted-vs-original-image-missing-symbolic-links-in-boot-picamera-firmware-missing/3471/3 "2021-04-08T12:51:48Z")

</div>

Hi Eystein:

Thank you for the prompt reply.  
The post [Raspberry Pi 4 Model B + Raspbian](https://hub.mender.io/t/raspberry-pi-4-model-b-raspbian/1312) mentions  
Known issues:

1. raspi-config does not work as expected on a converted image

2. Boot firmware files  
Raspberry Pi boards have a set of boot firmware files that are located on the vfat boot part, and a selection of these files are:  
bootcode.bin fixup.dat fixup\_cd.dat fixup\_db.dat  
fixup\_x.dat start.elf start\_cd.elf start\_db.elf start\_x.elf

Does the next release of mender-convert address the above two issues?

I may need some help/guidance with adding the fix to my mender-convert setup as I am not so knowledgeable in git commands for adding the patches. And I cannot afford messing up my working mender-convert setup. While back Drew helped me guiding through the process and I don’t remember all the steps to get mender-convert setup.

I greatly appreciate your help.

Thanks,  
Raj

---

<div class="post-metadata">

### Author: ![eystein](https://avatars.discourse-cdn.com/v4/letter/e/e5b9ba/32.png) [@eystein](https://hub.mender.io/u/eystein)
#### Post date: [April 8, 2021, 9:54pm UTC](https://hub.mender.io/t/raspbian-stretch-mender-converted-vs-original-image-missing-symbolic-links-in-boot-picamera-firmware-missing/3471/4 "2021-04-08T21:54:16Z")

</div>

Hello Raj,

I don’t believe the new release will resolve either of these Known issues, and in fact 2) I think requires upstream improvements by Raspberry Pi to how the boot process works unfortunately. It is not very update-friendly.

I’m sorry but I am not an expert on this, I just knew about the related fix that might help. Perhaps try to symlink the firmware you need from /boot to /uboot?

In general we use the /uboot directory instead of /boot and that’s why some low-level tools don’t work. But it can be patched in the Raspberry Pi specific script of mender-convert: [mender-convert/raspberrypi\_config at master · mendersoftware/mender-convert · GitHub](https://github.com/mendersoftware/mender-convert/blob/master/configs/raspberrypi_config)

---

<div class="post-metadata">

### Author: ![raj.panchal](https://avatars.discourse-cdn.com/v4/letter/r/ecb155/32.png) [@raj.panchal](https://hub.mender.io/u/raj.panchal)
#### Post date: [April 15, 2021, 10:50pm UTC](https://hub.mender.io/t/raspbian-stretch-mender-converted-vs-original-image-missing-symbolic-links-in-boot-picamera-firmware-missing/3471/5 "2021-04-15T22:50:45Z")

</div>

Hi Eystein:

Thank you for the link [mender-convert/raspberrypi\_config at master · mendersoftware/mender-convert · GitHub](https://github.com/mendersoftware/mender-convert/blob/master/configs/raspberrypi_config).  
Basically, I followed the example and sym-linked all files from the /uboot to /boot. Probably, not all of them need to be sym-linked but it one-to-one mapping with the original image.

Again, Thanks for your help.

Regards,  
Raj

---

<div class="post-metadata">

### Author: ![eystein](https://avatars.discourse-cdn.com/v4/letter/e/e5b9ba/32.png) [@eystein](https://hub.mender.io/u/eystein)
#### Post date: [April 16, 2021, 5:24pm UTC](https://hub.mender.io/t/raspbian-stretch-mender-converted-vs-original-image-missing-symbolic-links-in-boot-picamera-firmware-missing/3471/6 "2021-04-16T17:24:11Z")

</div>

Thanks for the feedback @raj.panchal .

Curious about your opinion @lluiscampos - should we link more (/all) of /boot contents to /uboot to avoid such issues?

---

<div class="post-metadata">

### Author: ![raj.panchal](https://avatars.discourse-cdn.com/v4/letter/r/ecb155/32.png) [@raj.panchal](https://hub.mender.io/u/raj.panchal)
#### Post date: [April 17, 2021, 2:31am UTC](https://hub.mender.io/t/raspbian-stretch-mender-converted-vs-original-image-missing-symbolic-links-in-boot-picamera-firmware-missing/3471/7 "2021-04-17T02:31:50Z")

</div>

Hi Eystein:  
I just took an uneducated approach to mirror what’s in the /boot of original image; Partly, to avoid retesting the full system for any mender-convert side-effect.

Perhaps, a more educated approach to selectively mirroring the necessary links from /uboot to /boot would be better.

Regards,

Raj

---

<div class="post-metadata">

### Author: ![lluiscampos](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/lluiscampos/32/112_2.png) [@lluiscampos](https://hub.mender.io/u/lluiscampos)
#### Post date: [April 26, 2021, 9:14am UTC](https://hub.mender.io/t/raspbian-stretch-mender-converted-vs-original-image-missing-symbolic-links-in-boot-picamera-firmware-missing/3471/8 "2021-04-26T09:14:07Z")

</div>

Hi @eystein and @raj.panchal

I _think_ it should be okey to symblink all files existing in /uboot from /boot. See task at [https://tracker.mender.io/browse/MEN-4658](https://tracker.mender.io/browse/MEN-4658) and tentative fix at [MEN-4658: Support Raspberry Pi apps expecting files at /boot by lluiscampos · Pull Request #343 · mendersoftware/mender-convert · GitHub](https://github.com/mendersoftware/mender-convert/pull/343). I will test it later this week.

---

<div class="post-metadata">

### Author: ![lluiscampos](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/lluiscampos/32/112_2.png) [@lluiscampos](https://hub.mender.io/u/lluiscampos)
#### Post date: [May 3, 2021, 8:53am UTC](https://hub.mender.io/t/raspbian-stretch-mender-converted-vs-original-image-missing-symbolic-links-in-boot-picamera-firmware-missing/3471/9 "2021-05-03T08:53:35Z")

</div>

Hi @raj.panchal,

We have merged the above mentioned PR and it will be released in the following Mender release.

Meanwhile you can use the [master image](https://docs.mender.io/development/downloads#disk-images) and it should solve your reported problem. Let us know if it is not the case 🙂
