blob: 4adec45bb021fbd63884a00c478df98ccc51edab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# Select MMC partition containing this script
setenv devtype mmc
setenv bootpart ${devnum}:${distro_bootpart}
# Load kernel
run loadimage
# Load devicetree
run findfdt
run loadfdt
# Set kernel arguments
part uuid ${devtype} ${bootpart} uuid
setenv bootargs console=${console} root=PARTUUID=${uuid} rw rootwait ${optargs}
# Boot Linux
bootz ${loadaddr} - ${fdtaddr}
|