gem5 initramfs

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-01-22 00:00:00 +00:00
parent b462b74aa1
commit 63dd4c5d6f

View File

@@ -2719,6 +2719,10 @@ http://nairobi-embedded.org/initramfs_tutorial.html shows a full manual setup.
TODO we were not able to get it working yet: https://stackoverflow.com/questions/49261801/how-to-boot-the-linux-kernel-with-initrd-or-initramfs-with-gem5
This would require gem5 to load the CPIO into memory, just like QEMU, which it does not seem to support. It should not be hard to implement however.
initramfs might just work however, TODO test it out.
== Device tree
The device tree is a Linux kernel defined data structure that serves to inform the kernel how the hardware is setup.