blob: ec213800222d58aad087158d2417fe76bce5a8fd [file] [log] [blame]
Fabio Estevam95736c32024-09-13 21:56:05 -03001addcons=setenv bootargs ${bootargs} console=${console},${baudrate}
2addip=setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev}:off
3addmisc=setenv bootargs ${bootargs} ${miscargs}
4addmtd=run mtdnand;run mtdspi;setenv bootargs ${bootargs} ${mtdparts}
5altbootcmd=run swupdate
6bootcmd=run nandboot;run swupdate
7bootcount=2
8bootlimit=3
9console=ttymxc3
10cpu=armv7
11ethprime=FEC
12fdt_addr_r=0x18000000
13fitfile=fitImage
14flash-all-from-sd-card=env default -f -a;load mmc 0:1 10000000 u-boot.scr;source 10000000;saveenv
15initrd_high=0xffffffff
16kernel_addr_r=0x12000000
17loadaddr=0x12000000
18miscargs=panic=1
19mmcargs=setenv bootargs root=${mmcroot} rw rootwait
20mmcboot=if run mmcload;then run mmcargs addcons addmisc;bootm;fi
21mmcload=mmc rescan;load mmc 0:${mmcpart} ${kernel_addr_r} boot/fitImage
22mmcpart=1
23mmcroot=/dev/mmcblk0p1
24mtdnand=setenv mtdparts mtdparts=gpmi-nand:40m(Kernels),860m(root),-(nand)
25mtdspi=setenv mtdparts ${mtdparts}';spi2.0:1024k(bootloader),64k(env1),64k(env2),-(rescue)'
26nanboot_fit=tftp ${kernel_addr_r} ${board_name}/${fitfile};run nandargs addip addcons addmtd addmisc;bootm
27nandargs=setenv bootargs ubi.mtd=1 root=ubi0:rootfs${ubiroot} rootfstype=ubifs
28nandboot=run mtdnand;ubi part Kernels;ubi readvol ${kernel_addr_r} kernel${ubiroot};run nandargs addip addcons addmtd addmisc;bootm ${kernel_addr_r}
29net_nfs=tftp ${kernel_addr_r} ${board_name}/${bootfile};tftp ${fdt_addr_r} ${board_name}/${fdt_file};run nfsargs addip addcons addmtd addmisc;bootm ${kernel_addr_r} - ${fdt_addr_r}
30net_nfs_fit=tftp ${kernel_addr_r} ${board_name}/${fitfile};run nfsargs addip addcons addmtd addmisc;bootm ${kernel_addr_r}
31netmask=255.255.255.0
32nfsargs=setenv bootargs root=/dev/nfs nfsroot=${serverip}:${nfsroot},v3 panic=1
33swupdate=setenv bootargs root=/dev/ram;run addip addcons addmtd addmisc;sf probe;sf read ${kernel_addr_r} 120000 600000;sf read 14000000 730000 800000;bootm ${kernel_addr_r} 14000000
34ubiroot=1