Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] wic: Add SD/MMC-Cards support
@ 2014-03-18 16:05 João Henrique Ferreira de Freitas
  2014-03-18 16:05 ` [PATCH] wic: Add SD/MMC-Cards support to '--ondisk' param João Henrique Ferreira de Freitas
  2014-03-18 16:35 ` [PATCH] wic: Add SD/MMC-Cards support Otavio Salvador
  0 siblings, 2 replies; 6+ messages in thread
From: João Henrique Ferreira de Freitas @ 2014-03-18 16:05 UTC (permalink / raw)
  To: openembedded-core; +Cc: tom.zanussi

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-03-22 22:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-18 16:05 [PATCH] wic: Add SD/MMC-Cards support João Henrique Ferreira de Freitas
2014-03-18 16:05 ` [PATCH] wic: Add SD/MMC-Cards support to '--ondisk' param João Henrique Ferreira de Freitas
2014-03-21 17:52   ` Tom Zanussi
2014-03-22 22:41   ` [PATCH v2] " João Henrique Ferreira de Freitas
2014-03-18 16:35 ` [PATCH] wic: Add SD/MMC-Cards support Otavio Salvador
2014-03-19 12:52   ` João Henrique Freitas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox