Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "João Henrique Ferreira de Freitas" <joaohf@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: tom.zanussi@linux.intel.com
Subject: [PATCH] wic: Add SD/MMC-Cards support
Date: Tue, 18 Mar 2014 13:05:44 -0300	[thread overview]
Message-ID: <1395158745-9424-1-git-send-email-joaohf@gmail.com> (raw)

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



             reply	other threads:[~2014-03-18 16:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-18 16:05 João Henrique Ferreira de Freitas [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1395158745-9424-1-git-send-email-joaohf@gmail.com \
    --to=joaohf@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=tom.zanussi@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox