build: unify QEMU and gem5 kernel configs! The last one!

Split optional and required kernel configs into separate files.

readme: describe how our kernel configs are generated from Buildroot

readme: document QEMU `-no-reboot` and speculate gem5 `panic_on_panic`
in preparation for some more automated bisection with ktest.
This commit is contained in:
Ciro Santilli
2018-04-21 11:39:06 +01:00
parent 4e0d9af81f
commit 2bddcc2891
9 changed files with 99 additions and 3048 deletions

View File

@@ -18,14 +18,12 @@
Pass multiple times to use multiple fragment files.
|`-C` | |Skip the Buildroot configuration. Saves a few seconds,
but requires you to know what you are doing :-)
|`-g` | |Enable gem5 build and disable QEMU build. You also need
to use `-G` or `-- gem5-reconfigure` to rebuild gem5
after the initial build.
|`-g` | |Enable gem5 build or force its rebuild.
|`-h` | |Show this help message.
|`-I` | |Enable initramfs for the current build.
|`-i` | |Enable initrd for the current build.
|`-K` |`KERNEL_CONFIG_FILE` |Use `KERNEL_CONFIG_FILE` as the exact Linux kernel
configuration. Ignore the default `kernel_config_fragment`.
configuration. Ignore the default kernel config fragments.
|`-p` | |Pass extra arguments to the `rootfs_post_build_script`.
|`-S` | |Don't build QEMU with SDL support.
Graphics such as X11 won't work, only the terminal.
@@ -37,7 +35,7 @@
[options="header"]
|===
|Name |Forces rebuild of |Extra actions
|`-G` |gem5 |Implies `-g`.
|`-g` |gem5 |
|`-k` |Kernel modules |
|`-l` |Linux kernel |Touches kernel configuration files to overcome:
https://stackoverflow.com/questions/49260466/why-when-i-change-br2-linux-kernel-custom-config-file-and-run-make-linux-reconfi