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

Build FDT directly in emulator and deprecate ROM #90

Closed
2 tasks done
edubart opened this issue Jul 4, 2023 · 0 comments · Fixed by #138
Closed
2 tasks done

Build FDT directly in emulator and deprecate ROM #90

edubart opened this issue Jul 4, 2023 · 0 comments · Fixed by #138
Assignees
Labels
enhancement New feature or request refactor Restructuring code, while not changing its original functionality
Milestone

Comments

@edubart
Copy link
Contributor

edubart commented Jul 4, 2023

Context

Currently we maintain a ROM image where its sole goal is to build the FDT (flattened device tree). We could simplify and completely remove the need of a ROM image from the machine by building the FDT in emulator C++ code.

Possible solutions

We can build the FDT using a FDT library in C++ directly on machine boot. We should take precautions to make the FDT deterministic if using an FDT library.

Subtasks

  • Initialize entropy using FDT, make sure the initial entropy becomes a new machine config. This will allow to deprecate the need for rndaddentropy in tools.
  • Make sure FDT is deterministic.
@edubart edubart added the enhancement New feature or request label Jul 4, 2023
@edubart edubart added this to the v0.16.0 milestone Jul 4, 2023
@edubart edubart self-assigned this Jul 4, 2023
@edubart edubart added the refactor Restructuring code, while not changing its original functionality label Jul 4, 2023
@edubart edubart moved this from Todo to In Progress in Machine Emulator SDK Jul 4, 2023
@edubart edubart linked a pull request Jul 5, 2023 that will close this issue
@edubart edubart moved this from In Progress to PR Available in Machine Emulator SDK Aug 14, 2023
@edubart edubart removed a link to a pull request Aug 14, 2023
@github-project-automation github-project-automation bot moved this from PR Available to Done in Machine Emulator SDK Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactor Restructuring code, while not changing its original functionality
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant