From 30bf67800ed65062302f1225f65d07e7fb4f5d74 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Tue, 30 Jun 2026 04:02:16 +0200 Subject: [PATCH] oxnas: use fatload instead of ext2load for FAT boot partition --- scripts/oxnas/u-boot-env/creatext2loadenv.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/oxnas/u-boot-env/creatext2loadenv.sh b/scripts/oxnas/u-boot-env/creatext2loadenv.sh index 2836428..0881ebb 100755 --- a/scripts/oxnas/u-boot-env/creatext2loadenv.sh +++ b/scripts/oxnas/u-boot-env/creatext2loadenv.sh @@ -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