mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-24 10:16:18 +00:00
8 lines
555 B
Plaintext
8 lines
555 B
Plaintext
setenv env_addr 0x1040000
|
|
setenv boot_start 'bootm ${loadaddr} - ${dtb_mem_addr}'
|
|
setenv addmac 'if printenv mac; then setenv bootargs ${bootargs} mac=${mac}; elif printenv eth_mac; then setenv bootargs ${bootargs} mac=${eth_mac}; fi'
|
|
setenv try_boot_start 'if fatload ${devtype} ${devnum} ${loadaddr} KERNEL; then fatload ${devtype} ${devnum} ${env_addr} uEnv.ini && env import -t ${env_addr} ${filesize} && run addmac; fatload ${devtype} ${devnum} ${dtb_mem_addr} ${dtb_name} && run boot_start; fi'
|
|
setenv devtype mmc
|
|
setenv devnum 1
|
|
run try_boot_start
|