[roll] Roll fuchsia [kernel][phys] Add physboot version loading an ELF kernel

This adds a second version of physboot that's closer to its final
form.  It loads an ELF (PIE) kernel image and hands off to its
entry point directly, rather than loading a ZBI kernel and using
the ZBI boot protocol.  The kernel is relocated for its final
virtual address (currently stubbed out to a default virtual
address), but still entered in physical address mode.  The ELF
kernel image is found in the kernel package as "physzircon".

This also adds the `kernel.select` boot option to implement
"kernel selection": choosing the kernel package to fetch out of
the STORAGE_KERNEL filesystem.

This is all tested with a trivial stub kernel whose code is
sufficiently purely position-independent that it doesn't care
that its relocation (virtual) address and runtime (physical)
address don't match.  It simply verifies that code-patching has
happened, and then prints the boot-test success string.

Original-Bug: 91187
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/810287
Original-Revision: d83ccdfd3fd790fe71023dd0772afecdab4585c7
GitOrigin-RevId: 2562055dd74173b0bc1db9521633179e7b93c6ba
Change-Id: I54706ea20804db8412cc3d1d8f57be0731e652cf
1 file changed
tree: d0f3c127ee4dde712e431ae6292ac56672afed17
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
  14. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.