summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Soller <jeremy@system76.com>2021-05-06 21:28:19 -0600
committerJeremy Soller <jeremy@system76.com>2021-05-06 21:28:19 -0600
commit7f07f00204c0b98848281a56c26b1ee3a8ef3bbf (patch)
tree649225eb37b8a12fb3a5aeffdf5371a6b2160009
parent1eff3d7cc6d3ba3e668aa39c053c6686d7bb9c88 (diff)
Document UART locations
-rwxr-xr-xaarch64.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/aarch64.sh b/aarch64.sh
index 8f1df5e..33d704f 100755
--- a/aarch64.sh
+++ b/aarch64.sh
@@ -8,6 +8,7 @@ U_BOOT="build/u-boot/${MACHINE}.bin"
IMAGE="build/kernel_live.uimage"
case "${MACHINE}" in
raspi3)
+ # UART at 0x3F201000
U_BOOT_CONFIG=rpi_3_defconfig
LOAD_ADDR=0x04000000
ENTRY_ADDR=0x04001000
@@ -23,6 +24,7 @@ case "${MACHINE}" in
)
;;
raspi4)
+ # UART at 0xFE201000
U_BOOT_CONFIG=rpi_4_defconfig
LOAD_ADDR=0x40000000
ENTRY_ADDR=0x40001000
@@ -31,6 +33,7 @@ case "${MACHINE}" in
# bootm 0x44000000 - ${fdtcontroladdr}
;;
virt)
+ # UART at 0x9000000
U_BOOT_CONFIG=qemu_arm64_defconfig
LOAD_ADDR=0x40000000
ENTRY_ADDR=0x40001000