Whoops, I meant mainline u-boot using tag v2019.10.

(The ram restriction was more complicated on arm64 since there was some
bounce buffer voodoo that needed to be done, IIRC.)

git clone --depth 1 --branch v2019.10 https://github.com/u-boot/u-boot.git
cd u-boot
ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make rpi_4_defconfig
ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make -j $(($(nproc) + 1))
sudo cp u-boot.bin /boot/firmware/uboot_rpi_4.bin

arm64 boot dmesg on arm64: https://paste.ubuntu.com/p/Z8Rn59Dsw3/

@rpi4:~$ free -m
              total        used        free      shared  buff/cache   available
Mem:           3806         689        2852          10         263        3052
Swap:          4095           0        4095

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1847500

Title:
  Full RAM on Pi4 isn't accessible when using u-boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/1847500/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to