Linaro rpb image not booting


#1

My Dargonboard 820c came with desktop Debian installed.
I have tried to install openembbede/Linaro:

  • dragonboard-820c-bootloader-ufs-linux-36 (using “flashall”)
  • boot–4.14-r0-dragonboard-820c-20180621063526-172-172.img
  • rpb-console-image-dragonboard-820c-20180621063526-172.rootfs.ext4

Linux are booted with boot parameter “rootfs=/dev/sda7”, but rootfs mount fails. It look as if rootfs is installed on /dev/sda1 - is this a bug or am I doing something wrong?
How can I change the rootfs boot parameter?

Best Regards
Henrik


#2

hi,

yes, it’s a bug! The OE BSP for DB820c needs to be updated to reflect the change done in the bootloader. the ‘boot device’ is hard coded here: https://github.com/ndechesne/meta-qcom/blob/rocko/conf/machine/dragonboard-820c.conf

I will fix it today, and next builds should work.

In the mean time, you can change the bootargs on the boot image that you downloaded using this command:

abootimg -u <boot.img> -c "cmdline=console=ttyMSM0,115200n8 root=/dev/sda1 rootwait rw"

and then flash the file again.

thanks for the report!


#3

Thanks for the quick response - it is highly appreciated!