Compare commits

...

2 Commits

Author SHA1 Message Date
Jeremy Soller
f2d9001e6c
Do not clear console 2021-05-09 15:02:40 -06:00
Jeremy Soller
7c08230ad4
Show all raspi3 console output, improve raspi4 documented u-boot steps 2021-05-09 15:02:23 -06:00
2 changed files with 9 additions and 8 deletions

View File

@ -18,19 +18,22 @@ case "${MACHINE}" in
-device "loader,file=${IMAGE},addr=${IMAGE_ADDR},force-raw=on" -device "loader,file=${IMAGE},addr=${IMAGE_ADDR},force-raw=on"
-kernel "${U_BOOT}" -kernel "${U_BOOT}"
-nographic -nographic
-serial null -chardev stdio,id=char0,mux=on
-serial mon:stdio -serial chardev:char0
-serial chardev:char0
-mon chardev=char0
-s -s
) )
;; ;;
raspi4) raspi4)
# UART at 0xFE201000 # UART at 0xFE201000
# On SD: load mmc 0 0x44000000 kernel_live.uimage
# On TFTP: dhcp 0x44000000 kernel_live.uimage
# boot
U_BOOT_CONFIG=rpi_4_defconfig U_BOOT_CONFIG=rpi_4_defconfig
LOAD_ADDR=0x40000000 LOAD_ADDR=0x40000000
ENTRY_ADDR=0x40001000 ENTRY_ADDR=0x40001000
IMAGE_ADDR=0x44000000 IMAGE_ADDR=0x44000000
# load mmc 0 0x44000000 kernel_live.uimage
# bootm 0x44000000 - ${fdtcontroladdr}
;; ;;
virt) virt)
# UART at 0x9000000 # UART at 0x9000000

View File

@ -186,7 +186,7 @@ path = "/etc/init.d/00_base"
data = """ data = """
ipcd ipcd
logd logd
# ptyd CRASHES dash -c ptyd # CRASHES without dash?
# pcid /etc/pcid.d/ # pcid /etc/pcid.d/
""" """
@ -209,9 +209,7 @@ data = """
path = "/etc/init.d/30_console" path = "/etc/init.d/30_console"
data = """ data = """
# getty display:2 # getty display:2
# getty debug: -J getty debug: -J
dash -c "ptyd"
getty debug:
""" """
[[files]] [[files]]