Re: Best way for automounting external USB drive(s) March 11, 2020 08:27PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: Best way for automounting external USB drive(s) March 12, 2020 10:59AM |
Registered: 4 years ago Posts: 28 |
root@debian:~# apt-get install exfat-fuse Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: fuse libfuse2 Recommended packages: exfat-utils The following NEW packages will be installed: exfat-fuse fuse libfuse2 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 214 kB of archives. After this operation, 479 kB of additional disk space will be used. Do you want to continue? [Y/n]
Re: Best way for automounting external USB drive(s) March 12, 2020 02:36PM |
Registered: 10 years ago Posts: 155 |
Re: Best way for automounting external USB drive(s) March 12, 2020 03:13PM |
Registered: 10 years ago Posts: 155 |
root@PogoPro:~# uname -a Linux PogoPro 4.1.0-oxnas-tld-1 #3 SMP PREEMPT Wed Jul 1 05:11:47 PDT 2015 armv6l GNU/Linux
root@PogoPro:~# grep -a --null-data U-Boot /dev/mtd0 U-Boot 2013.10-tld-3 for ox820FW environments:
root@PogoPro:~# fw_printenv autoload=no baudrate=115200 bootargs=console=ttyS0,115200n8 bootcmd=run dt_bootcmd_usb bootdelay=10 console=console=ttyS0,115200n8 dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr dt_load_dtb=ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb dt_load_initrd=ext2load usb 0:1 $uinitrd_addr /boot/uInitrd dt_load_uimage=ext2load usb 0:1 $uimage_addr /boot/uImage dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot dtb_addr=0x62c00000 ethact=mii0 ethaddr=00:25:31:01:b7:7b if_netconsole=ping $serverip ipaddr=192.168.0.222 mtdids=nand0=41000000.nand mtdparts=mtdparts=41000000.nand:14m(boot),-(data) preboot_nc=run if_netconsole start_netconsole serverip=192.168.0.220 start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version stderr=serial stdin=serial stdout=serial uimage_addr=0x60500000 uinitrd_addr=0x60e00000 usb_device=0:1 usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10
Re: Best way for automounting external USB drive(s) March 12, 2020 06:53PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: Best way for automounting external USB drive(s) March 12, 2020 07:34PM |
Admin Registered: 13 years ago Posts: 18,997 |
cd /boot cp -a uboot.2015.10-tld-3.ox820.environment uEnv.txt sync
setenv devices 'usb ide' setenv disks '0 1 2 3' setenv uenv_import 'echo importing envs ...; env import -t 0x60500000 $filesize' setenv uenv_init_devices 'setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;' setenv uenv_load 'run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do run uenv_read_disk; done; done;' setenv uenv_read_disk 'if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi' setenv uenv_read 'echo loading envs from $devtype $disknum ...; if ext2load $devtype $disknum:1 0x60500000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi' setenv bootcmd_uenv 'run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi'
run bootcmd_uenv
printenv
Re: Best way for automounting external USB drive(s) March 12, 2020 08:24PM |
Registered: 10 years ago Posts: 155 |
Re: Best way for automounting external USB drive(s) March 13, 2020 05:07AM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: Best way for automounting external USB drive(s) March 17, 2020 05:52PM |
Registered: 10 years ago Posts: 155 |
Re: Best way for automounting external USB drive(s) March 17, 2020 09:44PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: Best way for automounting external USB drive(s) March 18, 2020 12:51PM |
Registered: 10 years ago Posts: 155 |
Debian GNU/Linux 7 PogoPro ttyS0
U-Boot SPL 2013.10 (Apr 27 2014 - 19:08:27)
Boot device: NAND
Attempting to set PLLA to 800 MHz ...
plla_ctrl0 : 0000030a
plla_ctrl1 : 00400000
plla_ctrl2 : 007f0068
plla_ctrl3 : 00000193
PLLA Set
U-Boot 2013.10-tld-3 (May 15 2014 - 14:54:14) for OXNAS
DRAM: 128 MiB
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Net:
Led: GREEN
mii0
Main Loop
Hit any key to stop autoboot: 0
OX820 # setenv uenv_import 'echo importing envs ...; env import -t 0x60500000 $f ilesize'
OX820 # setenv uenv_init_devices 'setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;'
OX820 # setenv uenv_load 'run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in 0; do run uenv_read_disk; done; done;'
OX820 # setenv uenv_read_disk 'if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi'
OX820 # setenv uenv_read 'echo loading envs from $devtype $disknum ...; if ext2load $devtype $disknum:1 0x60500000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi'
OX820 # setenv bootcmd_uenv 'run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi'
OX820 # printenv
autoload=no
baudrate=115200
bootargs=console=ttyS0,115200n8
bootcmd=run dt_bootcmd_usb
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
console=console=ttyS0,115200n8
dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset
dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr
dt_load_dtb=ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb
dt_load_initrd=ext2load usb 0:1 $uinitrd_addr /boot/uInitrd
dt_load_uimage=ext2load usb 0:1 $uimage_addr /boot/uImage
dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm
dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot
dtb_addr=0x62c00000
ethact=mii0
ethaddr=00:25:31:01:b7:7b
if_netconsole=ping $serverip
ipaddr=192.168.0.222
mtdids=nand0=41000000.nand
mtdparts=mtdparts=41000000.nand:14m(boot),-(data)
preboot_nc=run if_netconsole start_netconsole
serverip=192.168.0.220
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version
stderr=serial
stdin=serial
stdout=serial
uenv_import=echo importing envs ...; env import -t 0x60500000 $filesize
uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in 0; do run uenv_read_disk; done; done;
uenv_read=echo loading envs from $devtype $disknum ...; if ext2load $devtype $disknum:1 0x60500000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi
uimage_addr=0x60500000
uinitrd_addr=0x60e00000
usb_device=0:1
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10
Environment size: 1949/131068 bytes
OX820 # run bootcmd_uenv
>>>>>Nothing happened here, just returned the Ox820 prompt
>>>>>Printed environment again
OX820 # printenv
autoload=no
baudrate=115200
bootargs=console=ttyS0,115200n8
bootcmd=run dt_bootcmd_usb
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
console=console=ttyS0,115200n8
dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset
dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr
dt_load_dtb=ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb
dt_load_initrd=ext2load usb 0:1 $uinitrd_addr /boot/uInitrd
dt_load_uimage=ext2load usb 0:1 $uimage_addr /boot/uImage
dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm
dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot
dtb_addr=0x62c00000
ethact=mii0
ethaddr=00:25:31:01:b7:7b
if_netconsole=ping $serverip
init_ide=ide reset
init_mmc=mmc rescan
init_usb=usb start
ipaddr=192.168.0.222
mtdids=nand0=41000000.nand
mtdparts=mtdparts=41000000.nand:14m(boot),-(data)
preboot_nc=run if_netconsole start_netconsole
serverip=192.168.0.220
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version
stderr=serial
stdin=serial
stdout=serial
uenv_import=echo importing envs ...; env import -t 0x60500000 $filesize
uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in 0; do runuenv_read_disk; done; done;uenv_loaded=0
uenv_read=echo loading envs from $devtype $disknum ...; if ext2load $devtype $disknum:1 0x60500000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi
uimage_addr=0x60500000
uinitrd_addr=0x60e00000
usb_device=0:1
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10
Environment size: 2029/131068 bytes
Re: Best way for automounting external USB drive(s) March 18, 2020 05:36PM |
Admin Registered: 13 years ago Posts: 18,997 |
setenv devices 'usb ide' setenv disks '0 1 2 3'
Re: Best way for automounting external USB drive(s) March 18, 2020 06:41PM |
Registered: 10 years ago Posts: 155 |
OX820 # run bootcmd_uenv (Re)start USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 3 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found Reset IDE: SATA PHY not ready for device 0 ide_preinit failed Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 7985152 dcac294f-01 83 loading envs from usb 0 ... 2640 bytes read in 151 ms (16.6 KiB/s) Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 7985152 dcac294f-01 83 loading envs from usb 1 ... ** Bad device usb 1 ** Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 7985152 dcac294f-01 83 loading envs from usb 2 ... ** Bad device usb 2 ** Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 7985152 dcac294f-01 83 loading envs from usb 3 ... ** Bad device usb 3 ** no IDE devices available no IDE devices available no IDE devices available no IDE devices available importing envs ... OX820 #
OX820 # printenv autoload=no baudrate=115200 bootargs=console=ttyS0,115200n8 bootcmd=run dt_bootcmd_usb bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootdelay=10 console=console=ttyS0,115200n8 devices=usb ide disks=0 1 2 3 dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr dt_load_dtb=ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb dt_load_initrd=ext2load usb 0:1 $uinitrd_addr /boot/uInitrd dt_load_uimage=ext2load usb 0:1 $uimage_addr /boot/uImage dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot dtb_addr=0x62c00000 ethact=mii0 ethaddr=00:25:31:01:b7:7b if_netconsole=ping $serverip ipaddr=192.168.0.222 mtdids=nand0=41000000.nand mtdparts=mtdparts=41000000.nand:14m(boot),-(data) preboot_nc=run if_netconsole start_netconsole serverip=192.168.0.220 start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version stderr=serial stdin=serial stdout=serial uenv_import=echo importing envs ...; env import -t 0x60500000 $filesize uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done; uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do run uenv_read_disk; done; done; uenv_read=echo loading envs from $devtype $disknum ...; if ext2load $devtype $disknum:1 0x60500000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi uimage_addr=0x60500000 uinitrd_addr=0x60e00000 usb_device=0:1 usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 Environment size: 1988/131068 bytes
Re: Best way for automounting external USB drive(s) March 18, 2020 07:34PM |
Admin Registered: 13 years ago Posts: 18,997 |
loading envs from usb 0 ... 2640 bytes read in 151 ms (16.6 KiB/s)
setenv devices usb setenv disks '0 1 2 3' setenv uenv_import 'echo importing envs ...; env import -t 0x60500000 $filesize' setenv uenv_init_devices 'setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;' setenv uenv_load 'run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do run uenv_read_disk; done; done;' setenv uenv_read_disk 'if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi' setenv uenv_read 'echo loading envs from $devtype $disknum ...; if ext2load $devtype $disknum:1 0x60500000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi' setenv bootcmd_uenv 'run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi'
Re: Best way for automounting external USB drive(s) March 18, 2020 07:39PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: Best way for automounting external USB drive(s) March 18, 2020 08:42PM |
Registered: 10 years ago Posts: 155 |
OX820 # OX820 # setenv devices usb OX820 # setenv disks '0 1 2 3' OX820 # setenv uenv_import 'echo importing envs ...; env import -t 0x60500000 $filesize' OX820 # setenv uenv_init_devices 'setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;' OX820 # setenv uenv_load 'run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do run uenv_read_disk; done; done;' OX820 # setenv uenv_read_disk 'if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi' OX820 # setenv uenv_read 'echo loading envs from $devtype $disknum ...; if ext2load $devtype $disknum:1 0x60500000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi' OX820 # setenv bootcmd_uenv 'run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi' OX820 # printenv autoload=no baudrate=115200 bootargs=console=ttyS0,115200n8 bootcmd=run dt_bootcmd_usb bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootdelay=10 console=console=ttyS0,115200n8 devices=usb disks=0 1 2 3 dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr dt_load_dtb=ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb dt_load_initrd=ext2load usb 0:1 $uinitrd_addr /boot/uInitrd dt_load_uimage=ext2load usb 0:1 $uimage_addr /boot/uImage dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot dtb_addr=0x62c00000 ethact=mii0 ethaddr=00:25:31:01:b7:7b if_netconsole=ping $serverip init_ide=ide reset init_mmc=mmc rescan ipaddr=192.168.0.222 mtdids=nand0=41000000.nand mtdparts=mtdparts=41000000.nand:14m(boot),-(data) preboot_nc=run if_netconsole start_netconsole serverip=192.168.0.220 start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version stderr=serial stdin=serial stdout=serial uenv_import=echo importing envs ...; env import -t 0x60500000 $filesize uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done; uenv_initetenv=init_usb usb start uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do run uenv_read_disk; done; done; uenv_read=echo loading envs from $devtype $disknum ...; if ext2load $devtype $disknum:1 0x60500000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi uimage_addr=0x60500000 uinitrd_addr=0x60e00000 usb_device=0:1 usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 Environment size: 2063/131068 bytes OX820 # run bootcmd_uenv (Re)start USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 3 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 7985152 dcac294f-01 83 loading envs from usb 0 ... 2640 bytes read in 151 ms (16.6 KiB/s) Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 7985152 dcac294f-01 83 loading envs from usb 1 ... ** Bad device usb 1 ** Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 7985152 dcac294f-01 83 loading envs from usb 2 ... ** Bad device usb 2 ** Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 7985152 dcac294f-01 83 loading envs from usb 3 ... ** Bad device usb 3 ** importing envs ... OX820 #
Re: Best way for automounting external USB drive(s) March 19, 2020 05:23AM |
Admin Registered: 13 years ago Posts: 18,997 |
printenv
Re: Best way for automounting external USB drive(s) March 19, 2020 08:31AM |
Registered: 10 years ago Posts: 155 |
OX820 # printenv autoload=no baudrate=115200 bootargs=console=ttyS0,115200n8 bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm 0x60500000 0x60e00000 0x62c00000; else bootm 0x60500000 0x60e00000; fi; else if run load_dtb; then bootm 0x60500000 - 0x62c00000; else bootm 0x60500000; fi; fi bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootdelay=10 bootdev=usb console=console=ttyS0,115200n8 device=0:1 devices=usb disks=0 1 2 3 dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr dt_load_dtb=ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb dt_load_initrd=ext2load usb 0:1 $uinitrd_addr /boot/uInitrd dt_load_uimage=ext2load usb 0:1 $uimage_addr /boot/uImage dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot dtb_addr=0x62c00000 dtb_file=/boot/dts/ox820-pogoplug-pro.dtb ethact=mii0 ethaddr=52:3b:20:9c:11:51 filesize=a50 if_netconsole=ping $serverip init_ide=ide reset init_mmc=mmc rescan init_usb=usb start ipaddr=192.168.0.222 load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device 0x62c00000 $dtb_file load_initrd=echo loading uInitrd ...; load $bootdev $device 0x60e00000 /boot/uInitrd load_uimage=echo loading uImage ...; load $bootdev $device 0x60500000 /boot/uImage mainlineLinux=yes mtdids=nand0=41000000.nand mtdparts=mtdparts=41000000.nand:14m(boot),-(data) preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_ide "ide reset"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 0x60500000 /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done serverip=192.168.0.220 set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; stderr=serial stdin=serial stdout=serial uenv_import=echo importing envs ...; env import -t 0x60500000 $filesize uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done; uenv_initetenv=init_usb usb start uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in 0; do run uenv_read_disk; done; done; uenv_loaded=1 uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x60500000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi uimage_addr=0x60500000 uinitrd_addr=0x60e00000 usb_custom_params=zswap.enabled=1 usb_device=0:1 usb_ready_retry=15 usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 Environment size: 3562/131068 bytes
Re: Best way for automounting external USB drive(s) March 19, 2020 05:40PM |
Admin Registered: 13 years ago Posts: 18,997 |
setenv disks '0 1 2 3 4 5 6 7 8 9' boot
Re: Best way for automounting external USB drive(s) March 19, 2020 06:48PM |
Registered: 10 years ago Posts: 155 |
U-Boot 2013.10-tld-3 (May 15 2014 - 14:54:14) for OXNAS DRAM: 128 MiB NAND: 128 MiB In: serial Out: serial Err: serial Net: Led: GREEN mii0 Main Loop Hit any key to stop autoboot: 0 OX820 # setenv devices usb OX820 # setenv disks '0 1 2 3' OX820 # setenv uenv_import 'echo importing envs ...; env import -t 0x60500000 $filesize' OX820 # setenv uenv_init_devices 'setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;' OX820 # uenv_load 'run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do run uenv_read_disk; done; done;' Unknown command 'uenv_load' - try 'help' OX820 # setenv uenv_load 'run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do run uenv_read_disk; done; done;' OX820 # setenv uenv_read_disk 'if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi' OX820 # setenv uenv_read 'echo loading envs from $devtype $disknum ...; if ext2load $devtype $disknum:1 0x60500000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi' OX820 # setenv bootcmd_uenv 'run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi' OX820 # run bootcmd_uenv (Re)start USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 3 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 7985152 dcac294f-01 83 loading envs from usb 0 ... 2640 bytes read in 151 ms (16.6 KiB/s) Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 7985152 dcac294f-01 83 loading envs from usb 1 ... ** Bad device usb 1 ** Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 7985152 dcac294f-01 83 loading envs from usb 2 ... ** Bad device usb 2 ** Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 7985152 dcac294f-01 83 loading envs from usb 3 ... ** Bad device usb 3 ** importing envs ... OX820 # printenv autoload=no baudrate=115200 bootargs=console=ttyS0,115200n8 bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm 0x60500000 0x60e00000 0x62c00000; else bootm 0x60500000 0x60e00000; fi; else if run load_dtb; then bootm 0x60500000 - 0x62c00000; else bootm 0x60500000; fi; fi bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootdelay=10 bootdev=usb console=console=ttyS0,115200n8 device=0:1 devices=usb ide disks=0 1 2 3 dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr dt_load_dtb=ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb dt_load_initrd=ext2load usb 0:1 $uinitrd_addr /boot/uInitrd dt_load_uimage=ext2load usb 0:1 $uimage_addr /boot/uImage dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot dtb_addr=0x62c00000 dtb_file=/boot/dts/ox820-pogoplug-pro.dtb ethact=mii0 ethaddr=52:3b:20:9c:11:51 filesize=a50 if_netconsole=ping $serverip init_ide=ide reset init_mmc=mmc rescan init_usb=usb start ipaddr=192.168.0.222 load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device 0x62c00000 $dtb_file load_initrd=echo loading uInitrd ...; load $bootdev $device 0x60e00000 /boot/uInitrd load_uimage=echo loading uImage ...; load $bootdev $device 0x60500000 /boot/uImage mainlineLinux=yes mtdids=nand0=41000000.nand mtdparts=mtdparts=41000000.nand:14m(boot),-(data) preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_ide "ide reset"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 0x60500000 /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done serverip=192.168.0.220 set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; stderr=serial stdin=serial stdout=serial uenv_import=echo importing envs ...; env import -t 0x60500000 $filesize uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done; uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in 0; do run uenv_read_disk; done; done; uenv_loaded=1 uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x60500000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi uimage_addr=0x60500000 uinitrd_addr=0x60e00000 usb_custom_params=zswap.enabled=1 usb_device=0:1 usb_ready_retry=15 usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 Environment size: 3530/131068 bytes OX820 # boot (Re)start USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 4 USB Device(s) found scanning usb for storage devices... 2 Storage Device(s) found Reset IDE: SATA PHY not ready for device 0 ide_preinit failed Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 32 125792 6f0def6b-01 06 Boot Partition Map for USB device 1 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 7985152 dcac294f-01 83 loading envs from usb 0 ... Unknown command 'load' - try 'help' no IDE devices available running scan_disk ... Scan device usb (Re)start USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 4 USB Device(s) found scanning usb for storage devices... 2 Storage Device(s) found device usb 0:1 Unknown command 'load' - try 'help' device usb 1:1 Unknown command 'load' - try 'help' device usb 2:1 Unknown command 'load' - try 'help' device usb 3:1 Unknown command 'load' - try 'help' Scan device ide Reset IDE: SATA PHY not ready for device 0 ide_preinit failed device ide 0:1 Unknown command 'load' - try 'help' device ide 1:1 Unknown command 'load' - try 'help' device ide 2:1 Unknown command 'load' - try 'help' device ide 3:1 Unknown command 'load' - try 'help' loading uImage ... Unknown command 'load' - try 'help' loading uInitrd ... Unknown command 'load' - try 'help' loading DTB /boot/dts/ox820-pogoplug-pro.dtb ... Unknown command 'load' - try 'help' Wrong Image Format for bootm command Led: ORANGE (Failed) ERROR: can't get kernel image! resetting ...
Re: Best way for automounting external USB drive(s) March 19, 2020 07:25PM |
Admin Registered: 13 years ago Posts: 18,997 |
setenv devices usb setenv disks '0 1 2 3' setenv uenv_import 'echo importing envs ...; env import -t 0x60500000 $filesize' setenv uenv_init_devices 'setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;' setenv uenv_load 'run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do run uenv_read_disk; done; done;' setenv uenv_read_disk 'if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi' setenv uenv_read 'echo loading envs from $devtype $disknum ...; if ext2load $devtype $disknum:1 0x60500000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi' setenv bootcmd_uenv 'run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi'
Re: Best way for automounting external USB drive(s) March 19, 2020 08:05PM |
Registered: 10 years ago Posts: 155 |
OX820 # setenv devices usb OX820 # setenv disks '0 1 2 3' OX820 # printenv devices devices=usb OX820 # setenv uenv_import 'echo importing envs ...; env import -t 0x60500000 $filesize' OX820 # setenv uenv_init_devices 'setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;' OX820 # setenv uenv_load 'run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do run uenv_read_disk; done; done;' OX820 # setenv uenv_read_disk 'if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi' OX820 # setenv uenv_read 'echo loading envs from $devtype $disknum ...; if ext2load $devtype $disknum:1 0x60500000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi' OX820 # setenv bootcmd_uenv 'run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi' OX820 # run bootcmd_uenv (Re)start USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 3 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 7985152 dcac294f-01 83 loading envs from usb 0 ... 2660 bytes read in 151 ms (16.6 KiB/s) Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 7985152 dcac294f-01 83 loading envs from usb 1 ... ** Bad device usb 1 ** Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 7985152 dcac294f-01 83 loading envs from usb 2 ... ** Bad device usb 2 ** Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 7985152 dcac294f-01 83 loading envs from usb 3 ... ** Bad device usb 3 ** importing envs ... OX820 # boot (Re)start USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 3 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found Reset IDE: SATA PHY not ready for device 0 ide_preinit failed Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 7985152 dcac294f-01 83 loading envs from usb 0 ... 2660 bytes read in 151 ms (16.6 KiB/s) no IDE devices available importing envs ... running scan_disk ... Scan device usb (Re)start USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 3 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found device usb 0:1 1 bytes read in 189 ms (0 Bytes/s) Found bootable drive on usb 0 loading uImage ... etc...
Re: Best way for automounting external USB drive(s) March 19, 2020 09:14PM |
Admin Registered: 13 years ago Posts: 18,997 |
fw_setenv devices usb fw_setenv disks '0 1 2 3' fw_setenv uenv_import 'echo importing envs ...; env import -t 0x60500000 $filesize' fw_setenv uenv_init_devices 'setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;' fw_setenv uenv_load 'run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do run uenv_read_disk; done; done;' fw_setenv uenv_read_disk 'if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi' fw_setenv uenv_read 'echo loading envs from $devtype $disknum ...; if ext2load $devtype $disknum:1 0x60500000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi' fw_setenv bootcmd_uenv 'run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi'
Re: Best way for automounting external USB drive(s) March 20, 2020 02:01PM |
Registered: 10 years ago Posts: 155 |
U-Boot 2013.10-tld-3 (May 15 2014 - 14:54:14) for OXNAS DRAM: 128 MiB NAND: 128 MiB In: serial Out: serial Err: serial Net: Led: GREEN mii0 Main Loop Hit any key to stop autoboot: 0 (Re)start USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 4 USB Device(s) found scanning usb for storage devices... 2 Storage Device(s) found Failed to mount ext2 filesystem... ** Unrecognized filesystem type ** Failed to mount ext2 filesystem... ** Unrecognized filesystem type ** Failed to mount ext2 filesystem... ** Unrecognized filesystem type ** Wrong Image Format for bootm command Led: ORANGE (Failed) ERROR: can't get kernel image! stopping USB.. resetting ...
Hit any key to stop autoboot: 0
OX820 # run bootcmd_uenv
(Re)start USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 4 USB Device(s) found
scanning usb for storage devices... 2 Storage Device(s) found
Partition Map for USB device 0 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 32 125792 6f0def6b-01 06 Boot
Partition Map for USB device 1 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 2048 7985152 dcac294f-01 83
loading envs from usb 0 ...
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Partition Map for USB device 0 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 32 125792 6f0def6b-01 06 Boot
Partition Map for USB device 1 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 2048 7985152 dcac294f-01 83
loading envs from usb 1 ...
2660 bytes read in 150 ms (16.6 KiB/s)
Partition Map for USB device 0 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 32 125792 6f0def6b-01 06 Boot
Partition Map for USB device 1 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 2048 7985152 dcac294f-01 83
loading envs from usb 2 ...
** Bad device usb 2 **
Partition Map for USB device 0 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 32 125792 6f0def6b-01 06 Boot
Partition Map for USB device 1 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 2048 7985152 dcac294f-01 83
loading envs from usb 3 ...
** Bad device usb 3 **
importing envs ...
OX820 # boot
(Re)start USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 4 USB Device(s) found
scanning usb for storage devices... 2 Storage Device(s) found
Reset IDE: SATA PHY not ready for device 0
ide_preinit failed
Partition Map for USB device 0 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 32 125792 6f0def6b-01 06 Boot
Partition Map for USB device 1 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 2048 7985152 dcac294f-01 83
loading envs from usb 0 ...
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
no IDE devices available
running scan_disk ...
Scan device usb
(Re)start USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 4 USB Device(s) found
scanning usb for storage devices... 2 Storage Device(s) found
device usb 0:1
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
device usb 1:1
1 bytes read in 188 ms (0 Bytes/s)
Found bootable drive on usb 1
loading uImage ...
4488520 bytes read in 519 ms (8.2 MiB/s)
loading uInitrd ...
3005928 bytes read in 366 ms (7.8 MiB/s)
loading DTB /boot/dts/ox820-pogoplug-pro.dtb ...
7029 bytes read in 215 ms (31.3 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
Image Name: Linux-4.1.0-oxnas-tld-1
Image Type: ARM Linux Kernel Image (uncompressed
>>> and away we go >>>
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset
Re: Best way for automounting external USB drive(s) March 20, 2020 05:13PM |
Admin Registered: 13 years ago Posts: 18,997 |
setenv bootcmd 'run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset' boot
fw_setenv bootcmd 'run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset'
Re: Best way for automounting external USB drive(s) March 20, 2020 05:20PM |
Registered: 10 years ago Posts: 155 |
Hit any key to stop autoboot: 0
(Re)start USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 5 USB Device(s) found
scanning usb for storage devices... 3 Storage Device(s) found
Partition Map for USB device 0 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 2048 7985152 dcac294f-01 83
Partition Map for USB device 1 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 32 125792 6f0def6b-01 06 Boot
Partition Map for USB device 2 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 63 1013697 0080377c-01 0b Boot
loading envs from usb 0 ...
2660 bytes read in 151 ms (16.6 KiB/s)
Partition Map for USB device 0 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 2048 7985152 dcac294f-01 83
Partition Map for USB device 1 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 32 125792 6f0def6b-01 06 Boot
Partition Map for USB device 2 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 63 1013697 0080377c-01 0b Boot
loading envs from usb 1 ...
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Partition Map for USB device 0 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 2048 7985152 dcac294f-01 83
Partition Map for USB device 1 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 32 125792 6f0def6b-01 06 Boot
Partition Map for USB device 2 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 63 1013697 0080377c-01 0b Boot
loading envs from usb 2 ...
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Partition Map for USB device 0 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 2048 7985152 dcac294f-01 83
Partition Map for USB device 1 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 32 125792 6f0def6b-01 06 Boot
Partition Map for USB device 2 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 63 1013697 0080377c-01 0b Boot
loading envs from usb 3 ...
** Bad device usb 3 **
importing envs ...
running scan_disk ...
Scan device usb
(Re)start USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 5 USB Device(s) found
scanning usb for storage devices... 3 Storage Device(s) found
device usb 0:1
1 bytes read in 189 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
4488520 bytes read in 514 ms (8.3 MiB/s)
loading uInitrd ...
3005928 bytes read in 372 ms (7.7 MiB/s)
loading DTB /boot/dts/ox820-pogoplug-pro.dtb ...
7029 bytes read in 216 ms (31.3 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
Image Name: Linux-4.1.0-oxnas-tld-1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4488456 Bytes = 4.3 MiB
Load Address: 60008000
Entry Point: 60008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 60e00000 ...
Image Name: initramfs-4.1.0-oxnas-tld-1
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 3005864 Bytes = 2.9 MiB
Load Address: 60000000
Entry Point: 60000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
Booting using the fdt blob at 0x62c00000
Loading Kernel Image ... OK
Loading Ramdisk to 67b4c000, end 67e29da8 ... OK
Loading Device Tree to 67b47000, end 67b4bb74 ... OK
>>> and so on >>>
Re: Best way for automounting external USB drive(s) March 21, 2020 01:59AM |
Admin Registered: 13 years ago Posts: 18,997 |
run bootcmd_uenv printenvand then
saveenv
cd /boot mv uEnv.txt uEnv.txt.saveAnd then reboot a couple times to make sure it always work. After that your box is all set.
cd /boot fw_printenv > uboot.2013.10-tld-4.ox820.environment
Re: Best way for automounting external USB drive(s) March 21, 2020 09:21AM |
Registered: 10 years ago Posts: 155 |
loading envs from usb 0 ... ** File not found /boot/uEnv.txt **
Re: Best way for automounting external USB drive(s) March 21, 2020 05:21PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: Best way for automounting external USB drive(s) April 05, 2020 04:15PM |
Registered: 4 years ago Posts: 28 |
rsync -ravHl --delete /share/hitch/ /share/hammer/ rsync -rvHX --delete /share/hitch/ /share/hammer/ rsync -r /share/hitch/ /share/hammer/ rsync -av /share/hitch /share/hammer rsync -ravHl --delete /share/hitch/* /share/hammer/