oxnas: use fatload instead of ext2load for FAT boot partition
This commit is contained in:
@@ -21,7 +21,7 @@ echo -en "bootargs_root=root=/dev/sda2 rw\0" >>uboot.env
|
||||
echo -en "def_tftp=tftp 0x60100000 \${kernel};tftp 0x60800000 \${initrd};setenv bootargs_new \${bootargs};setenv bootargs \${bootargs_base} \${bootargs_root} \${bootargs_new} tftpboot=yes;bootm 0x60100000 0x60800000\0" >>uboot.env
|
||||
echo -en "bootdelay=3\0" >>uboot.env
|
||||
echo -en "force_tftp=1\0" >>uboot.env
|
||||
echo -en "bootcmd=ide reset; ext2load ide 0:1 0x60100000 /\${kernel};ext2load ide 0:1 0x60800000 /\${initrd};setenv bootargs_new \${bootargs};setenv bootargs \${bootargs_base} \${bootargs_root} \${bootargs_new};bootm 0x60100000 0x60800000\0" >>uboot.env
|
||||
echo -en "bootcmd=ide reset; fatload ide 0:1 0x60100000 /\${kernel};fatload ide 0:1 0x60800000 /\${initrd};setenv bootargs_new \${bootargs};setenv bootargs \${bootargs_base} \${bootargs_root} \${bootargs_new};bootm 0x60100000 0x60800000\0" >>uboot.env
|
||||
echo -en "\0" >>uboot.env
|
||||
|
||||
if [ ! -e ./ubootcrc-8192bytes ] ; then
|
||||
|
||||
Reference in New Issue
Block a user