mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-26 03:31:36 +01:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user