17 lines
679 B
Plaintext
17 lines
679 B
Plaintext
# U-Boot environment variables for A/B boot system
|
|
# Default variables for first boot - these will be modified during operation
|
|
|
|
# Active partition (A or B)
|
|
|
|
# Memory addresses
|
|
kernel_addr_r=0x01000000
|
|
fdt_addr_r=0x03000000
|
|
|
|
# Always boot partition A using PL011 UART for console and earlycon
|
|
bootcmd=setenv bootargs console=ttyAMA1,115200 earlycon=pl011,0x3f201000,115200 root=/dev/mmcblk0p2 rootwait net.ifnames=0; \
|
|
load mmc 0:1 ${kernel_addr_r} Image; \
|
|
load mmc 0:1 ${fdt_addr_r} bcm2710-rpi-3-b.dtb; \
|
|
booti ${kernel_addr_r} - ${fdt_addr_r}
|
|
|
|
# No network, no A/B switching, no fallback logic
|
|
# Only the essential commands are included for clarity |