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

Fix a wrong flag (--without-default-devices). Test the binary with oreboot/mainboard/sifive/hifive #1

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Commits on Oct 1, 2020

  1. Use a recent version of Qemu. Automate the build procedure for fresh

    binaries. Maintain the custom configuration as a patch.
    
    Signed-off-by: Artyom Gevorgyan <artemhevorhian@gmail.com>
    gevorgyana committed Oct 1, 2020
    Configuration menu
    Copy the full SHA
    1de8b99 View commit details
    Browse the repository at this point in the history
  2. Fix a docs-related Qemu problem with this patch:

    https://www.mail-archive.com/qemu-devel@nongnu.org/msg723079.html
    
    Signed-off-by: Artyom Gevorgyan <artemhevorhian@gmail.com>
    gevorgyana committed Oct 1, 2020
    Configuration menu
    Copy the full SHA
    12b793c View commit details
    Browse the repository at this point in the history
  3. Update the automatically generated configs with libs necessary for

    a successful build.
    
    Signed-off-by: Artyom Gevorgyan <artemhevorhian@gmail.com>
    gevorgyana committed Oct 1, 2020
    Configuration menu
    Copy the full SHA
    ca2fc53 View commit details
    Browse the repository at this point in the history
  4. Update README.qemu.

    Signed-off-by: Artyom Gevorgyan <artemhevorhian@gmail.com>
    gevorgyana committed Oct 1, 2020
    Configuration menu
    Copy the full SHA
    4b0d754 View commit details
    Browse the repository at this point in the history
  5. Unleash the power of GNU Make.

    Signed-off-by: Artyom Gevorgyan <artemhevorhian@gmail.com>
    gevorgyana committed Oct 1, 2020
    Configuration menu
    Copy the full SHA
    8665243 View commit details
    Browse the repository at this point in the history
  6. Position additional flags the other way around to avoid linking error.

    This commit works.
    
    Signed-off-by: Artyom Gevorgyan <artemhevorhian@gmail.com>
    gevorgyana committed Oct 1, 2020
    Configuration menu
    Copy the full SHA
    3a32014 View commit details
    Browse the repository at this point in the history
  7. As per this old thread [1], one cannot mix softmmu with static.

    We need linux-user type of target. This commit combines --static with
    --riscv64-linux-user mode.
    
    [1] https://lists.gnu.org/archive/html/qemu-devel/2011-11/msg02878.html
    
    Signed-off-by: Artyom Gevorgyan <artemhevorhian@gmail.com>
    gevorgyana committed Oct 1, 2020
    Configuration menu
    Copy the full SHA
    88cd27c View commit details
    Browse the repository at this point in the history
  8. Describe the problem.

    Signed-off-by: Artyom Gevorgyan <artemhevorhian@gmail.com>
    gevorgyana committed Oct 1, 2020
    Configuration menu
    Copy the full SHA
    8286816 View commit details
    Browse the repository at this point in the history
  9. Use the original configuration.

    Signed-off-by: Artyom Gevorgyan <artemhevorhian@gmail.com>
    gevorgyana committed Oct 1, 2020
    Configuration menu
    Copy the full SHA
    ffa0ebe View commit details
    Browse the repository at this point in the history
  10. Add test binaries. See softmmu/ specifically. The other one is

    provided for the sake of completeness and should work with a
    linux-user type of static binary.
    
    Signed-off-by: Artyom Gevorgyan <artemhevorhian@gmail.com>
    gevorgyana committed Oct 1, 2020
    Configuration menu
    Copy the full SHA
    112412b View commit details
    Browse the repository at this point in the history
  11. Use the example command to run hifive mainboard from a

    recent upstream oreboot/master. Successful run of this script
    should prove that this is ready to be merged into upstream.
    
    Signed-off-by: Artyom Gevorgyan <artemhevorhian@gmail.com>
    gevorgyana committed Oct 1, 2020
    Configuration menu
    Copy the full SHA
    2f499b1 View commit details
    Browse the repository at this point in the history
  12. Removed '--disable-default-devices'

    Signed-off-by: Artyom Gevorgyan <artemhevorhian@gmail.com>
    gevorgyana committed Oct 1, 2020
    Configuration menu
    Copy the full SHA
    a8a7fd3 View commit details
    Browse the repository at this point in the history
  13. Success. Format notes.md as a report of what has been done.

    Signed-off-by: Artyom Gevorgyan <artemhevorhian@gmail.com>
    gevorgyana committed Oct 1, 2020
    Configuration menu
    Copy the full SHA
    f2f0c27 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2020

  1. Install missing libraries for Ubuntu.

    Signed-off-by: Artyom Gevorgyan <artemhevorhian@gmail.com>
    gevorgyana committed Oct 3, 2020
    Configuration menu
    Copy the full SHA
    e7348f8 View commit details
    Browse the repository at this point in the history