mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 15:37:49 +00:00
amlogic: add u-boot chainload to s905_autoscript.src
This commit is contained in:
parent
dd3feeb6ee
commit
e55193a862
@ -1,3 +1,5 @@
|
|||||||
|
if fatload mmc 0 0x1000000 u-boot.ext; then go 0x1000000; fi;
|
||||||
|
if fatload usb 0 0x1000000 u-boot.ext; then go 0x1000000; fi;
|
||||||
setenv env_addr 0x1040000
|
setenv env_addr 0x1040000
|
||||||
setenv boot_start 'bootm ${loadaddr} - ${dtb_mem_addr}'
|
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 addmac 'if printenv mac; then setenv bootargs ${bootargs} mac=${mac}; elif printenv eth_mac; then setenv bootargs ${bootargs} mac=${eth_mac}; fi'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user