[OE-core] [PATCH] wic: Add SD/MMC-Cards support
João Henrique Ferreira de Freitas
joaohf at gmail.com
Tue Mar 18 16:05:44 UTC 2014
If the following .wks is set up to mmcblk0 (sdcard)
part /boot --source bootimg-pcbios --ondisk mmcblk0 --fstype=msdos --label boot --active --align 1024
part / --source rootfs --ondisk mmcblk0 --fstype=ext3 --label platform --align 1024
bootloader --timeout=0 --append="rootwait rootfstype=ext3 video=vesafb vga=0x318 console=tty0"
And the user inspect this file /var/tmp/wic/build/hdd/boot/syslinux.cfg,
the 'root=' will be '/dev/mmcblk02' instead of '/dev/mmcblk0p2'.
This patch add the support to constrain the disk and make the adjusts when
mmcblk devices are used.
I am not sure if is not necessary to fix others places. Until now it's the single point.
João Henrique Ferreira de Freitas (1):
wic: Add SD/MMC-Cards support to '--ondisk' param
scripts/lib/mic/imager/direct.py | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
--
1.8.3.2
More information about the Openembedded-core
mailing list