Debian image for raspberry pi 3 convertion fail

Hi. I’m trying to convert a Debian (NOT raspbian) image. I’m generating the image using vmdb2 and it works fine before conversion.

I’m using mender-convert 2.2.0 tag and running it from docker using (docker-mender-convert):

mender-convert ((2.2.0))$ MENDER_ARTIFACT_NAME=release-1 ./docker-mender-convert --disk-image input/myimage.img --config configs/raspberrypi3_config

Doing it directly doesn’t work. It still use the kernel from debian and doesn’t boot from mender uboot.

I changed the config.txt to do that, just deleted kernel and initramfs definition and then it boot the uboot from mender-convert. The problem then is that it doesn’t boot any kernel.

I’m doing something wrong? how do I make this work?
I don’t know if the mender convert is prepared to use the initramfs and kernel from debian.

Thanks for the help!


Never tested using Debian images built with vmdb2, but it is a very interesting use-case.

You probably need to do some minor tweaks of the various Raspberry Pi configuration files, majority of the logic is

You can also have a look at the boot.scr file which contains the logic that U-Boot will execute to boot the device. It for sure does not contain anything initramfs related, so might need to tweak this one.

Hi @mirzak,

Thanks for replying. Yes, I took some time and follow the scripts on mender convert. I finally get the uboot running, the problem was that the config.txt file of debian defines the kernel and initramfs and the mender_convert script doesn’t override that value. I changed that (commented all) and then I have uboot running.

My problem now is that the bootscr is looking for a kernel to boot (zImage or uImage) and debian uses initramfs and vmlinux. My line of work will follow that. Any comment or help is appreciated .

Just for some context this work I’m doing is for a open hardware and software project called Librerouter ( The repo whit the image building is here (

You can override the default boot.scr with something that is compatible with your environment using hooks/overrides

The boot.scr we use is generated here, which work as source of inspiration.