History log of /openbmc/openbmc-build-scripts/scripts/boot-qemu.sh (Results 1 – 13 of 13)
Revision Date Author Comments
# 4920cb53 12-Apr-2023 Patrick Williams <patrick@stwcx.xyz>

boot-qemu: shellcheck fix

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ic13f10cf1393cb3d55e2f33c49abdf5918892832


# 476a7e99 06-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

format shell scripts with beautysh

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie72911e0f57a1f69b0bf317de8c52947886e1303


# e4146670 28-Jan-2022 Nan Zhou <nanzhoumails@gmail.com>

qemu robot test: allow specifying IMAGE_LOC

The existing script assumes qemuarm and the MACHINE under test are
in the same folder. This change adds an option to specify a
different location for the

qemu robot test: allow specifying IMAGE_LOC

The existing script assumes qemuarm and the MACHINE under test are
in the same folder. This change adds an option to specify a
different location for the MACHINE image.

Tested:
UPSTREAM_WORKSPACE=/home/nanzhou_google_com/openbmc
DEFAULT_IMAGE_LOC=./build/romulus/tmp/deploy/images
QEMU_BIN=./qemuarm/tmp/sysroots/x86_64/usr/bin/qemu-system-arm
MACHINE=romulus ./openbmc-build-scripts/run-qemu-robot
-test.sh

I cloned the openbmc distro in my home dir. Then source setup
qemuarm and romulus separately, and finished the builds.

Signed-off-by: Nan Zhou <nanzhoumails@gmail.com>
Change-Id: I37800de63fe9d64dd28ffc6c5a4d3c0ea181a597

show more ...


# 384d741b 06-Nov-2020 Patrick Williams <patrick@stwcx.xyz>

shellcheck: clean up shellcheck warnings and enable

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ibc843b98c0fea97a31d3d15b556a32f091bf8e47


# 8ccdf1be 25-Mar-2020 Andrew Geissler <geissonator@yahoo.com>

tacoma-qemu: support run of CI bucket on tacoma

tacoma requires an extra nic option be passed to QEMU

Tested:
Verified tacoma CI now passes the robot test suite
Verified rom

tacoma-qemu: support run of CI bucket on tacoma

tacoma requires an extra nic option be passed to QEMU

Tested:
Verified tacoma CI now passes the robot test suite
Verified romulus CI still passes

Change-Id: Id3f6718b8d558d132422f973e6a3ffe6110f9149
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...


# 86de2961 08-Jun-2018 Charles Paul Hofer <Charles.Hofer@ibm.com>

Copy images to /tmp before booting QEMU

QEMU writes things back to images after booting. After doing
this, sometimes QEMU is unable to boot that image again. This
change makes a copy

Copy images to /tmp before booting QEMU

QEMU writes things back to images after booting. After doing
this, sometimes QEMU is unable to boot that image again. This
change makes a copy of the image and boots from the copy so
that we do not write anything back to the original image.

Change-Id: I541db5732d9e1cf6a5969ab5b9d54dffcbecf0dd
Signed-off-by: Charles Paul Hofer <Charles.Hofer@ibm.com>

show more ...


# 6e972b1a 05-Mar-2018 Andrew Geissler <geissonator@yahoo.com>

Add port 2200 and 623/664 to export list for QEMU

OpenBMC test automation requires the host SOL port (2200)
and IPMI port (623,664) be available

Change-Id: I2bf42aa1a60493d7d9bb

Add port 2200 and 623/664 to export list for QEMU

OpenBMC test automation requires the host SOL port (2200)
and IPMI port (623,664) be available

Change-Id: I2bf42aa1a60493d7d9bb33cb96076894020fd226
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...


# 4290d580 05-Jan-2018 Andrew Geissler <geissonator@yahoo.com>

Launch appropriate QEMU based on input image

The openbmc servers will use the new QEMU binary and
require different parameters then the default QEMU
image.

This commit gets

Launch appropriate QEMU based on input image

The openbmc servers will use the new QEMU binary and
require different parameters then the default QEMU
image.

This commit gets the end to end function of being able
to run the qemu regression against systems like witherspoon,
romulus, and palmetto while also keeping the legacy support
in.

Resolves openbmc/openbmc#2272

Change-Id: I2bcd10752e5e20fe0546e674335cff46618b2d82
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...


# f9dbc8d9 05-Jan-2018 Andrew Geissler <geissonator@yahoo.com>

Look for the correct image to boot from dynamically

openbmc supports three different types of image to boot from
- UBI based image
- static MTD image
- rootfs.ext image

Look for the correct image to boot from dynamically

openbmc supports three different types of image to boot from
- UBI based image
- static MTD image
- rootfs.ext image

This commit enables boot-qemu.sh to dynamically discover the
appropriate one and use it.

Change-Id: I52d834f118d1e731740e9e3a1573cc6668f5cef0
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...


# 7a88f29e 04-Jan-2018 Andrew Geissler <geissonator@yahoo.com>

Allow a different qemu-system-arm to be passed to test scripts

The default qemu-system-arm used within the test automation pipeline
is currently hard coded to use the one within the bitb

Allow a different qemu-system-arm to be passed to test scripts

The default qemu-system-arm used within the test automation pipeline
is currently hard coded to use the one within the bitbake image
under test. This commit allows more flexibility with the qemu tool
used.

Future commits will build upon this to allow using a
qemu-system-arm version which supports witherspoon and therefore
will enable regression testing of the witherspoon and other openbmc
platforms within QEMU.

There's a long term goal to ensure the bitbake image builds the
appropriate qemu-system-arm into itself but there are some complexities
with that.

Change-Id: I93d39bf8482acb8adbc2b1da2d805448af2bcf75
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...


# ebf0794b 04-Aug-2017 Alanny Lopez <alanny.lopez@ibm.com>

Updated from deprecated -redir

The option -redir was deprecated, and no longer works with the QEMU
command. Updating it to use the -netdev user option that then specifies
the updated

Updated from deprecated -redir

The option -redir was deprecated, and no longer works with the QEMU
command. Updating it to use the -netdev user option that then specifies
the updated hostfwd specification. When run in a container the IP that
is specified will be pulled from the /etc/hosts file. If the IP that is
pulled from there is invalid then localhost (127.0.0.1) will be used
instead.

Change-Id: I582a66422e3de38dd9613cc443ac52aa1420f76d
Signed-off-by: Alanny Lopez <alanny.lopez@ibm.com>

show more ...


# b24dccb2 27-Jul-2017 Alanny Lopez <alanny.lopez@ibm.com>

Updated QEMU run command and header

QEMU was not launching before, the changes in this commit have allowed
for the QEMU container to launch and allow user login. Also updated the
hea

Updated QEMU run command and header

QEMU was not launching before, the changes in this commit have allowed
for the QEMU container to launch and allow user login. Also updated the
header to be more descriptive.

Change-Id: I5f419d29c8135ff70110c0295a5a8734891c14af
Signed-off-by: Alanny Lopez <alanny.lopez@ibm.com>

show more ...


# 0205e8da 10-Aug-2016 Andrew Geissler <andrewg@us.ibm.com>

Script which launches QEMU and runs robot CI test against it

This script will be run within automation to do a basic QEMU
CI test against the input openbmc build.

Change-Id: I6f

Script which launches QEMU and runs robot CI test against it

This script will be run within automation to do a basic QEMU
CI test against the input openbmc build.

Change-Id: I6ffccd7f5767bec9bc673b1a41bd7bd1d960924c
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>

show more ...