forked from bootlin/buildroot-external-st
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuEnv.txt
26 lines (26 loc) · 1.14 KB
/
uEnv.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
arch=arm
autoload=0
baudrate=115200
board=stm32mp1
board_name=stm32mp1
BOOT_ORDER=A B
BOOT_A_LEFT=3
BOOT_B_LEFT=3
try_boot_a=if test 0x${BOOT_A_LEFT} -gt 0; then setexpr BOOT_A_LEFT ${BOOT_A_LEFT} - 1; setenv distro_bootpart 6; setenv extlinux_bootpart rootfs-a ; setenv raucslot "rauc.slot=A"; echo "Booting from slot A ${BOOT_A_LEFT} attempts remaining"; run boot_extlinux; fi
try_boot_b=if test 0x${BOOT_B_LEFT} -gt 0; then setexpr BOOT_B_LEFT ${BOOT_B_LEFT} - 1; setenv distro_bootpart 7; setenv extlinux_bootpart rootfs-b ; setenv raucslot "rauc.slot=B"; echo "Booting from slot B ${BOOT_B_LEFT} attempts remaining"; run boot_extlinux; fi
boot_rauc_slot=if test "x${BOOT_ORDER}" = "xA B"; then run try_boot_a; run try_boot_b; else run try_boot_b; run try_boot_a; fi
boot_extlinux=sysboot mmc 0:${distro_bootpart} any ${scriptaddr} /boot/extlinux/extlinux.conf
bootcmd=run boot_rauc_slot
bootdelay=1
console=ttySTM0
cpu=armv7
env_check=if env info -p -d -q; then env save; fi
fdt_addr_r=0xc6000000
kernel_addr_r=0xc2000000
loadaddr=0xc2000000
pxefile_addr_r=0xc6200000
ramdisk_addr_r=0xc6400000
scriptaddr=0xc6100000
serverip=192.168.1.1
soc=stm32mp
vendor=st