aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorFlorin Sarbu <florin.sarbu@windriver.com>2014-04-04 10:05:40 +0300
committerFlorin Sarbu <florin.sarbu@windriver.com>2014-04-04 10:05:40 +0300
commit3dc3c553e0f35e0cab15456d971facce094d8ae6 (patch)
treec84cebf786a0ba7bbf2a188f0c8c40d52ac58d99 /scripts
parenta45156ebcb857fc075291066b09ff09ba0d2190f (diff)
downloadmeta-ivi-3dc3c553e0f35e0cab15456d971facce094d8ae6.tar.gz
meta-ivi-3dc3c553e0f35e0cab15456d971facce094d8ae6.tar.bz2
meta-ivi-3dc3c553e0f35e0cab15456d971facce094d8ae6.zip
Change vexpressa9 qemu settings
We now use a .ext3 sd to boot the qemu. We change the kernel root cmdline arg to /dev/mmcblk0 Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/runqemu2
-rwxr-xr-xscripts/runqemu-internal2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 20ae6fc..27a9fc9 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -383,7 +383,7 @@ fi
if [ "$LAZY_ROOTFS" = "true" ]; then
setup_tmpdir
echo "Assuming $ROOTFS really means $TMPDIR/deploy/images/$ROOTFS-$MACHINE.$FSTYPE"
- IMGNAME=$TMPDIR/deploy/images/$MACHINE/$ROOTFS-$MACHINE.vexpressa9-sdimg
+ IMGNAME=$TMPDIR/deploy/images/$MACHINE/$ROOTFS-$MACHINE.ext3
ROOTFS=$TMPDIR/deploy/images/$MACHINE/$ROOTFS-$MACHINE.$FSTYPE
MLO=$TMPDIR/deploy/images/MLO-$MACHINE
UBOOT=$TMPDIR/deploy/images/u-boot-$MACHINE.bin
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index 97db06c..aaa0df5 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -424,7 +424,7 @@ if [ "$MACHINE" = "vexpressa9" ]; then
export QEMU_AUDIO_DRV="none"
#SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -serial stdio "
if [ "$FSTYPE" = "tar.bz2" ]; then
- KERNCMDLINE="root=/dev/mmcblk0p2 rw mem=1024M raid=noautodetect console=tty0 console=ttyAMA0,38400n8 rootwait vmalloc=256MB devtmpfs.mount=0"
+ KERNCMDLINE="root=/dev/mmcblk0 rw mem=1024M raid=noautodetect console=tty0 console=ttyAMA0,38400n8 rootwait vmalloc=256MB devtmpfs.mount=0"
QEMUOPTIONS="$QEMU_NETWORK_CMD -M $MACHINE_SUBTYPE -cpu cortex-a9 -sd $IMGNAME"
# Add
# -serial stdio