aarch64: make tftpboot work

- patch dtb to add reserved-memory stanza for the phram device to use
  (aarch64 does not accept memmap= command line option)

- patch phram driver to use memremap() instead of ioremap() as
  ioremap can't be used for system ram on arm devices
This commit is contained in:
Daniel Barlow 2023-10-02 17:14:47 +01:00
parent 1c4412a1f4
commit c18f07f02f
3 changed files with 68 additions and 8 deletions

View file

@ -54,6 +54,7 @@ stdenv.mkDerivation rec {
patches = [
./cmdline-cookie.patch
./phram-allow-cached-mappings.patch
];
# this is here to work around what I think is a bug in nixpkgs