History log of /openbmc/openbmc-tools/prepare-emmc-qemu/ (Results 1 – 5 of 5)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
56acf68515-Dec-2022 nitroglycerine <suichen6@gmail.com>

Fix two CI code formatting errors

The CI reports the following two errors:
* typing.Any unused in tof-voters/libvoters/subcmd/analyzer-commits.py
* the "function" keyword in prepare-emmc-qemu is not

Fix two CI code formatting errors

The CI reports the following two errors:
* typing.Any unused in tof-voters/libvoters/subcmd/analyzer-commits.py
* the "function" keyword in prepare-emmc-qemu is not needed

Fixing as suggested by the CI.

Tested: Ran the CI locally, the CI passes.

Signed-off-By: Sui Chen <suichen6@gmail.com>
Change-Id: Idbd3c47895c6ec6f923ede264264006ffc08e2f7

show more ...

e310dd9107-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

treewide: lint and format

Run all the latest linters and formatters from openbmc-build-scripts.
These were all robotically generated except for fixes due to
markdownlint warnings.

Signed-off-by: Pa

treewide: lint and format

Run all the latest linters and formatters from openbmc-build-scripts.
These were all robotically generated except for fixes due to
markdownlint warnings.

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

show more ...


/openbmc/openbmc-tools/.linter-ignore
/openbmc/openbmc-tools/.shellcheck-ignore
/openbmc/openbmc-tools/OWNERS
/openbmc/openbmc-tools/README.md
/openbmc/openbmc-tools/altitude/altitude
/openbmc/openbmc-tools/autojson/autojson.py
/openbmc/openbmc-tools/bbdbg/bbdbg
/openbmc/openbmc-tools/bi2cp/README.md
/openbmc/openbmc-tools/bi2cp/bi2cp
/openbmc/openbmc-tools/dbus-pcap/README.md
/openbmc/openbmc-tools/dbus-pcap/dbus-pcap
/openbmc/openbmc-tools/dbus-top/.clang-format
/openbmc/openbmc-tools/dbus-top/.gitignore
/openbmc/openbmc-tools/dbus-top/README.md
/openbmc/openbmc-tools/dbus-top/analyzer.cpp
/openbmc/openbmc-tools/dbus-top/analyzer.hpp
/openbmc/openbmc-tools/dbus-top/bargraph.hpp
/openbmc/openbmc-tools/dbus-top/dbus_capture.cpp
/openbmc/openbmc-tools/dbus-top/dbus_capture.hpp
/openbmc/openbmc-tools/dbus-top/dbus_top_recipe.bb
/openbmc/openbmc-tools/dbus-top/histogram.hpp
/openbmc/openbmc-tools/dbus-top/main.cpp
/openbmc/openbmc-tools/dbus-top/main.hpp
/openbmc/openbmc-tools/dbus-top/menu.cpp
/openbmc/openbmc-tools/dbus-top/menu.hpp
/openbmc/openbmc-tools/dbus-top/meson.build
/openbmc/openbmc-tools/dbus-top/rect.hpp
/openbmc/openbmc-tools/dbus-top/sensorhelper.cpp
/openbmc/openbmc-tools/dbus-top/sensorhelper.hpp
/openbmc/openbmc-tools/dbus-top/subprojects/fmt.wrap
/openbmc/openbmc-tools/dbus-top/subprojects/sdbusplus.wrap
/openbmc/openbmc-tools/dbus-top/views.cpp
/openbmc/openbmc-tools/dbus-top/views.hpp
/openbmc/openbmc-tools/dbus-top/xmlparse.cpp
/openbmc/openbmc-tools/dbus-top/xmlparse.hpp
/openbmc/openbmc-tools/dbus-vis/README.md
/openbmc/openbmc-tools/dbus-vis/dbus_pcap_loader.js
/openbmc/openbmc-tools/dbus-vis/dbus_timeline_vis.js
/openbmc/openbmc-tools/dbus-vis/dbus_vis.css
/openbmc/openbmc-tools/dbus-vis/index.html
/openbmc/openbmc-tools/dbus-vis/info_panel.js
/openbmc/openbmc-tools/dbus-vis/initialization.js
/openbmc/openbmc-tools/dbus-vis/ipmi_timeline_vis.js
/openbmc/openbmc-tools/dbus-vis/linecount.py
/openbmc/openbmc-tools/dbus-vis/main.js
/openbmc/openbmc-tools/dbus-vis/package.json
/openbmc/openbmc-tools/dbus-vis/timeline_view.js
/openbmc/openbmc-tools/dbusView/dbusView.py
/openbmc/openbmc-tools/dbus_sensor_tester/dbus_sensor_tester.bb
/openbmc/openbmc-tools/dbus_sensor_tester/main.cpp
/openbmc/openbmc-tools/dbus_sensor_tester/meson.build
/openbmc/openbmc-tools/dbus_sensor_tester/subprojects/boost.wrap
/openbmc/openbmc-tools/dbus_sensor_tester/subprojects/cli11.wrap
/openbmc/openbmc-tools/dbus_sensor_tester/subprojects/sdbusplus.wrap
/openbmc/openbmc-tools/ddconvnotrunc/ddconvnotrunc
/openbmc/openbmc-tools/expectedJsonChecker/README.md
/openbmc/openbmc-tools/format-yaml/format-yaml.py
/openbmc/openbmc-tools/ipkdbg/Makefile
/openbmc/openbmc-tools/ipkdbg/README.md
/openbmc/openbmc-tools/ipkdbg/build-opkg
/openbmc/openbmc-tools/ipkdbg/ipkdbg.in
/openbmc/openbmc-tools/netboot/README.md
/openbmc/openbmc-tools/netboot/netboot
/openbmc/openbmc-tools/openbmc-autobump/openbmc-autobump.py
/openbmc/openbmc-tools/openbmctool/README.md
/openbmc/openbmc-tools/overlay/overlay
prepare-emmc-qemu
/openbmc/openbmc-tools/pretty-journal/pretty-journal.py
/openbmc/openbmc-tools/reboot-ping-pong/rpp
/openbmc/openbmc-tools/rootfs_size/rootfs_size.py
/openbmc/openbmc-tools/sensor_yaml_config/README.md
/openbmc/openbmc-tools/sensor_yaml_config/sensor_map.yaml
/openbmc/openbmc-tools/sensor_yaml_config/sensor_yaml_config.py
/openbmc/openbmc-tools/tof-voters/.gitignore
/openbmc/openbmc-tools/tof-voters/README.md
/openbmc/openbmc-tools/tof-voters/libvoters/__init__.py
/openbmc/openbmc-tools/tof-voters/libvoters/acceptable.py
/openbmc/openbmc-tools/tof-voters/libvoters/entry_point.py
/openbmc/openbmc-tools/tof-voters/libvoters/subcmd/__init__.py
/openbmc/openbmc-tools/tof-voters/libvoters/subcmd/analyze-commits.py
/openbmc/openbmc-tools/tof-voters/libvoters/subcmd/analyze-reviews.py
/openbmc/openbmc-tools/tof-voters/libvoters/subcmd/dump-gerrit.py
/openbmc/openbmc-tools/tof-voters/libvoters/subcmd/report.py
/openbmc/openbmc-tools/tof-voters/libvoters/time.py
/openbmc/openbmc-tools/tof-voters/voters
/openbmc/openbmc-tools/tracing/README.md
/openbmc/openbmc-tools/tracing/trace
/openbmc/openbmc-tools/witherspoon-debug/README.md
/openbmc/openbmc-tools/witherspoon-debug/debug
9949cc7c17-Dec-2021 Joseph Reynolds <joseph-reynolds@charter.net>

prepare-emmc-qemu: Use xz or xzdec

This enhances prepare-emmc-qemu to use whichever of the xz or xzdec
commands is available. (It stops if neither is available.)

Tested: Ran successfully under bas

prepare-emmc-qemu: Use xz or xzdec

This enhances prepare-emmc-qemu to use whichever of the xz or xzdec
commands is available. (It stops if neither is available.)

Tested: Ran successfully under bash with xz available.

Signed-off-by: Joseph Reynolds <joseph-reynolds@charter.net>
Change-Id: I3e4e12f8de3b32433d554502db86ca41e8809ff2

show more ...

5ec6208b14-Dec-2021 Konstantin Aladyshev <aladyshev22@gmail.com>

prepare-emmc-qemu: Check if xzdec is present

Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Change-Id: Iee33c50e23cb5c4c46c7c326b65457aea594d5c7

1800ed4d26-Sep-2021 Andrew Jeffery <andrew@aj.id.au>

Add prepare-emmc-qemu

prepare-emmc-qemu is a script that assembles a bootable eMMC image from
the WIC and u-boot artefacts of an eMMC-based build of OpenBMC:

```
andrew@mistburn:~/src/openbmc/openb

Add prepare-emmc-qemu

prepare-emmc-qemu is a script that assembles a bootable eMMC image from
the WIC and u-boot artefacts of an eMMC-based build of OpenBMC:

```
andrew@mistburn:~/src/openbmc/openbmc/build/p10bmc $ prepare-emmc-qemu -h
NAME
prepare-emmc-qemu: Assemble an OpenBMC eMMC image that can be booted under QEMU

SYNOPSYS
prepare-emmc-qemu <TARGET> <BUILDDIR> [IMAGESIZE]

DESCRIPTION
TARGET: The name of the target machine, used to locate the required images.
BUILDDIR: The path to the OpenBMC build directory.
IMAGESIZE: The output image size, may be specified with units. Defaults to 16G.

EXAMPLE:
prepare-emmc-qemu p10bmc ~/src/openbmc/openbmc/build/p10bmc
andrew@mistburn:~/src/openbmc/openbmc/build/p10bmc $ prepare-emmc-qemu p10bmc .
+ target=p10bmc
+ build_dir=.
+ image_size=16G
+ fw_dir=./tmp/deploy/images/p10bmc
+ wicxz=./tmp/deploy/images/p10bmc/obmc-phosphor-image-p10bmc.wic.xz
+ mmc=mmc-p10bmc.img
+ dd of=mmc-p10bmc.img if=/dev/zero bs=1M count=128
128+0 records in
128+0 records out
134217728 bytes (134 MB, 128 MiB) copied, 0.115718 s, 1.2 GB/s
+ dd of=mmc-p10bmc.img if=./tmp/deploy/images/p10bmc/u-boot-spl.bin conv=notrunc
107+0 records in
107+0 records out
54784 bytes (55 kB, 54 KiB) copied, 0.00642483 s, 8.5 MB/s
+ dd of=mmc-p10bmc.img if=./tmp/deploy/images/p10bmc/u-boot.bin conv=notrunc bs=1K seek=64
411+1 records in
411+1 records out
421275 bytes (421 kB, 411 KiB) copied, 0.0129515 s, 32.5 MB/s
+ xzdec ./tmp/deploy/images/p10bmc/obmc-phosphor-image-p10bmc.wic.xz
+ dd of=mmc-p10bmc.img conv=notrunc bs=1M seek=2
0+1846910 records in
0+1846910 records out
15167689728 bytes (15 GB, 14 GiB) copied, 100.126 s, 151 MB/s
+ truncate --size 16G mmc-p10bmc.img
+ set +x

For an AST2600-based machine, invoke QEMU with the following parameters:

-drive file=/home/andrew/src/openbmc/openbmc/build/p10bmc/mmc-p10bmc.img,if=sd,format=raw,index=2
```

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I9dff01b4f85aa51e3253a6989bcd80bb2c48b6a9

show more ...


/openbmc/openbmc-tools/LICENSE
/openbmc/openbmc-tools/MAINTAINERS
/openbmc/openbmc-tools/README.md
/openbmc/openbmc-tools/adcapp/LICENSE
/openbmc/openbmc-tools/adcapp/Makefile.am
/openbmc/openbmc-tools/adcapp/README
/openbmc/openbmc-tools/adcapp/configure.ac
/openbmc/openbmc-tools/adcapp/src/EINTR_wrappers.c
/openbmc/openbmc-tools/adcapp/src/EINTR_wrappers.h
/openbmc/openbmc-tools/adcapp/src/Makefile.am
/openbmc/openbmc-tools/adcapp/src/adc.h
/openbmc/openbmc-tools/adcapp/src/adcapp.c
/openbmc/openbmc-tools/adcapp/src/adcifc.c
/openbmc/openbmc-tools/adcapp/src/adcifc.h
/openbmc/openbmc-tools/altitude/altitude
/openbmc/openbmc-tools/autojson/autojson.py
/openbmc/openbmc-tools/bi2cp/README.md
/openbmc/openbmc-tools/bi2cp/bi2cp
/openbmc/openbmc-tools/bi2cp/requirements.txt
/openbmc/openbmc-tools/cla-signers/README.md
/openbmc/openbmc-tools/cla-signers/update-cla.sh
/openbmc/openbmc-tools/dbus-pcap/README.md
/openbmc/openbmc-tools/dbus-pcap/dbus-pcap
/openbmc/openbmc-tools/dbus-pcap/requirements.txt
/openbmc/openbmc-tools/dbusView/dbusView.py
/openbmc/openbmc-tools/ddconvnotrunc/ddconvnotrunc
/openbmc/openbmc-tools/expectedJsonChecker/LICENSE
/openbmc/openbmc-tools/expectedJsonChecker/README.md
/openbmc/openbmc-tools/expectedJsonChecker/expectedJsonChecker.py
/openbmc/openbmc-tools/format-yaml/LICENSE
/openbmc/openbmc-tools/format-yaml/format-yaml.py
/openbmc/openbmc-tools/maintainers/README.md
/openbmc/openbmc-tools/maintainers/obmc-gerrit
/openbmc/openbmc-tools/maintainers/obmc/__init__.py
/openbmc/openbmc-tools/maintainers/obmc/maintainers.py
/openbmc/openbmc-tools/maintainers/obmc/reviewlist.py
/openbmc/openbmc-tools/maintainers/requirements.txt
/openbmc/openbmc-tools/maintainers/setup.py
/openbmc/openbmc-tools/maintainers/split_maintainers.py
/openbmc/openbmc-tools/netboot/README.md
/openbmc/openbmc-tools/netboot/netboot
/openbmc/openbmc-tools/openbmc-autobump/openbmc-autobump.py
/openbmc/openbmc-tools/openbmc-events/LICENSE
/openbmc/openbmc-tools/openbmc-events/README.md
/openbmc/openbmc-tools/openbmc-events/openbmc-events
/openbmc/openbmc-tools/openbmc-events/openbmc-sensors
/openbmc/openbmc-tools/openbmc-events/openbmc-sfw
/openbmc/openbmc-tools/openbmctool/README.md
/openbmc/openbmc-tools/openbmctool/build-scripts/Makefile
/openbmc/openbmc-tools/openbmctool/build-scripts/control
/openbmc/openbmc-tools/openbmctool/build-scripts/openbmctool-rhel7.spec
/openbmc/openbmc-tools/openbmctool/build-scripts/openbmctool-rhel8.spec
/openbmc/openbmc-tools/openbmctool/openbmctool.py
/openbmc/openbmc-tools/openbmctool/policyTable.json
/openbmc/openbmc-tools/overlay/overlay
/openbmc/openbmc-tools/pldm/pdrdump.sh
prepare-emmc-qemu
/openbmc/openbmc-tools/pretty-journal/pretty-journal.py
/openbmc/openbmc-tools/pwmtachtool/LICENSE
/openbmc/openbmc-tools/pwmtachtool/Makefile.am
/openbmc/openbmc-tools/pwmtachtool/README
/openbmc/openbmc-tools/pwmtachtool/configure.ac
/openbmc/openbmc-tools/pwmtachtool/src/EINTR_wrappers.c
/openbmc/openbmc-tools/pwmtachtool/src/EINTR_wrappers.h
/openbmc/openbmc-tools/pwmtachtool/src/Makefile.am
/openbmc/openbmc-tools/pwmtachtool/src/libpwmtach.h
/openbmc/openbmc-tools/pwmtachtool/src/pwmtach.c
/openbmc/openbmc-tools/pwmtachtool/src/pwmtach_ioctl.h
/openbmc/openbmc-tools/pwmtachtool/src/pwmtachtool.c
/openbmc/openbmc-tools/reboot-ping-pong/requirements.txt
/openbmc/openbmc-tools/reboot-ping-pong/rpp
/openbmc/openbmc-tools/reboot/petitboot.exp
/openbmc/openbmc-tools/reboot/reboot.sh
/openbmc/openbmc-tools/rootfs_size/results.txt
/openbmc/openbmc-tools/rootfs_size/rootfs_size.py
/openbmc/openbmc-tools/sensor_yaml_config/LICENSE
/openbmc/openbmc-tools/sensor_yaml_config/README.md
/openbmc/openbmc-tools/sensor_yaml_config/sensor_map.yaml
/openbmc/openbmc-tools/sensor_yaml_config/sensor_yaml_config.py
/openbmc/openbmc-tools/tracing/README.md
/openbmc/openbmc-tools/tracing/trace
/openbmc/openbmc-tools/upload_and_update/LICENSE
/openbmc/openbmc-tools/upload_and_update/README.md
/openbmc/openbmc-tools/upload_and_update/upload_and_update.py
/openbmc/openbmc-tools/witherspoon-debug/README.md
/openbmc/openbmc-tools/witherspoon-debug/debug
/openbmc/openbmc-tools/witherspoon-debug/libncurses.so.5.9
/openbmc/openbmc-tools/witherspoon-debug/libncursesw.so.5.9