Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement the loading of initrd image #25

Merged
merged 5 commits into from
Jul 29, 2023
Merged

Commits on Jul 28, 2023

  1. Support loading initrd image

    In this commit, the `rootfs.cpio` provided by the buildroot can be passed to semu
    with -i option. In order to achieve such function, the following modifcations
    are conducted:
    
    1. Reserve 8 MiB of memory at the end of the guest OS before the dtb region, and
       map initrd image to the new reserved area.
    2. Adjust device tree source by specifying `initrd-start` and `initrd-end`.
    3. Support passing initrd image with -i option.
    shengwen-tw committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    5dbd74a View commit details
    Browse the repository at this point in the history
  2. linux.config: Strip initramfs from the the kernel

    This commit forces the Linux kernel to load initrd image from external environment.
    shengwen-tw committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    899ca79 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2939436 View commit details
    Browse the repository at this point in the history
  4. Update .gitignore

    shengwen-tw committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    10c9abf View commit details
    Browse the repository at this point in the history
  5. Update README.md

    shengwen-tw committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    d11f1f6 View commit details
    Browse the repository at this point in the history