Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Settings for booting from the card. Flash script to tri Flash script to trimm
- #setenv loadkernel fatload mmc 0 \$kernel_addr_r uImage
- #setenv loaddtb fatload mmc 0 \$fdt_addr_r sun7i-a20-itead-ibox.dtb
- #setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
- #setenv uenvcmd run loadkernel \&\& run loaddtb \&\& bootm \$kernel_addr_r - \$fdt_addr_r
- #run uenvcmd
- #Settings for net booting. Flash script to trim
- setenv autoload no
- dhcp
- setenv serverip 192.168.0.xx
- setenv nfsroot ${serverip}:/srv/nfs4/Hacking/rootfs/
- #setenv bootargs "console=ttyS0,115200 earlyprintk=serial,uart0,115200 root=/dev/nfs nfsroot=${nfsroot} rootdelay=15 ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:eth0"
- setenv bootargs "console=ttyS0,115200 earlyprintk=serial,uart0,115200 root=/dev/mmcblk0p2 ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:eth0"
- #the correct dtb value needs to be added here
- setenv ethaddr 12:34:56:78:99:07
- tftp 0x46000000 uImage
- tftp 0x49000000 sun7i-a20-itead-ibox.dtb
- bootm 0x46000000 - 0x49000000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement