zip-img: create, zips all QEMU images

build-all: make gem5 rebuild optional

rootfs_post_image_script: prevent qemu-img from generating trace files
This commit is contained in:
Ciro Santilli
2018-04-10 23:24:42 +01:00
parent ca1ce45811
commit 4601aff344
5 changed files with 32 additions and 4 deletions

View File

@@ -3872,10 +3872,11 @@ cat ./out/arm/run.sh
Next, you will also want to give the relevant images to save them time. Zip the images with:
....
zip -r images.zip out/arm/buildroot/images
./build-all -G
./zip-img
....
and then upload that somewhere, e.g. GitHub release assets as in https://github.com/cirosantilli/linux-kernel-module-cheat/releases/tag/test-replay-arm
and then upload the `out/images-*.zip` file somewhere, e.g. GitHub release assets as in https://github.com/cirosantilli/linux-kernel-module-cheat/releases/tag/test-replay-arm
Finally, do a clone of the relevant repository out of tree and reproduce the bug there, to be 100% sure that it is an actual upstream bug, and to provide developers with the cleanest possible commands. For example as was done in this QEMU bug report: https://bugs.launchpad.net/qemu/+bug/1762179
@@ -3999,6 +4000,7 @@ BR2_TARGET_ROOTFS_EXT2=n
' >>.config
make olddefconfig
time env -u LD_LIBRARY_PATH make BR2_JLEVEL="$(nproc)"
ls -l output/images
....
Time: 11 minutes, 7 with full ccache hits. Breakdown: 47% GCC, 15% Linux kernel, 9% uclibc, 5% host-binutils. Conclusions: