Skip to content

Commit

Permalink
uenv: r3: fix uboot loadaddr (needs to be TEXT_BASE)
Browse files Browse the repository at this point in the history
  • Loading branch information
frank-w committed Jun 8, 2024
1 parent bfa5f0d commit 969d643
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion uEnv_r3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ fit=bpi-r3.itb
#initrd=rootfs.cpio.zst

loadaddr=0x46000000
uaddr=0x41e00000
kaddr=0x46000000
rdaddr=0x48000000

Expand Down Expand Up @@ -47,7 +48,7 @@ loadenvfile=if fatload ${device} ${partition} ${loadaddr} ${bootenv};then env im
loadenv=if run checkenv;then run loadenvfile;fi
resetenv=env default -a;printenv;

loaduboot=if fatload $device $partition $loadaddr $ubootfile;then go $loadaddr;fi
loaduboot=if fatload $device $partition $uaddr $ubootfile;then go $uaddr;fi

loadkernel=fatload $device $partition $kaddr ${kernel}
buildargs=setenv bootargs "board=${board} earlycon=uart8250,mmio32,0x11002000 ${bootopts} root=${root}"
Expand Down

0 comments on commit 969d643

Please sign in to comment.