[PATCH v2 0/2] board: sifive: unmatched: use zero copy for initrd

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Tue Nov 9 15:45:59 CET 2021

Booting Ubuntu Impish showed the following output:

    relocaddr   = 0x00000000fff60000

    Loading Ramdisk to fa118000, end fffff19d ...

The initrd is overwriting the U-Boot binary. Booting fails.

There is no need to copy the initrd from $ramdisk_addr_r.
Set init_high = ~0UL to use zero copy. Do the same for the device tree.

Rearrange all load addresses:

* put the small files below $kernel_addr_r to not limit the kernel size.
* ramdisk_addr_r should be the highest of all loading addresses to
  avoid limiting the size of the initial RAM disk.

	rearrange all more addresses

Heinrich Schuchardt (2):
  board: sifive: unmatched: use zero copy for initrd
  board: sifive: unmatched: rearrange load addresses

 include/configs/sifive-unmatched.h | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)


More information about the U-Boot mailing list