Posts

Showing posts from August 27, 2018

Why is uboot ignoring mmcroot in uEnv.txt?

Image
Clash Royale CLAN TAG #URR8PPP up vote 0 down vote favorite I am trying to get an embedded linux build using yocto to work. I'm very close, but I'm having trouble with the boot. I have 2 root file systems. One is the main and the other is to be used during firmware upgrades. However, I can't get the system to boot off anything but the first rootfs. Here is my partition layout: Disk /dev/mmcblk1: 3825 MB, 3825205248 bytes 4 heads, 16 sectors/track, 116736 cylinders Units = cylinders of 64 * 512 = 32768 bytes Device Boot Start End Blocks Id System /dev/mmcblk1p1 * 33 6432 204800 c Win95 FAT32 (LBA) /dev/mmcblk1p2 6433 19232 409600 83 Linux /dev/mmcblk1p3 19233 32032 409600 83 Linux /dev/mmcblk1p4 32033 97568 2097152 5 Extended /dev/mmcblk1p5 32065 43264 358400 83 Linux /dev/mmcblk1p6 43297 97568 1736704 83 Linux /dev/mmcblk1p2 and /dev/mmcblk1p3 are the root file systems. Current when I boot the machine it boots off /dev/mmcblk1p2, despite having mmcroot configu...