Quantcast
Channel: Linux Device Hacking - uBoot
Viewing all articles
Browse latest Browse all 903

my netgear stora has stopped loading from the built-in HDD (12 replies)

$
0
0
Hello! Bodhi

I have a problem after updating uboot.2017.07-tld-1.netgear_ms2110.bodhi.tar my netgear stora has stopped loading from the built-in HDD

The USB disk is loaded well.

help please understand the problem

Thank you!


Netgear Stora> printenv
printenv
arcNumber=2743
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=0
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi; sleep 3
bootdelay=5
devices=usb ide
ethact=egiga0
ethaddr=C0:3F:0E:B0:E6:EC
if_netconsole=ping $serverip
init_ide=ide reset
init_mmc=mmc rescan
init_usb=usb start
ipaddr=192.168.1.141
led_error=orange blinking
led_exit=green off
led_init=white blinking
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file
load_dtb_addr=0x1c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x1100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
load_uimage_addr=0x800000
mainlineLinux=yes
nc_ready=1
ncip=192.168.1.27
preboot=run preboot_nc
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 $load_uimage_addr /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
scan_ide=ide reset
scan_mmc=mmc rescan
scan_usb=usb start
serverip=192.168.1.27
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=0
start_netconsole=setenv ncip $serverip; setenv bootdelay 5; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=nc
stdin=nc
stdout=nc
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $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=0
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /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
usb_ready_retry=15

Environment size: 3003/131068 bytes
Netgear Stora>



Netgear Stora> boot
boot

Reset IDE: Bus 0: OK Bus 1: OK 
  Device 0: Model: ST3500320AS  Firm: SD1A Ser#: 9QM62ZZS
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476938.9 MB = 465.7 GB (976771055 x 512)
  Device 1: Model: Hitachi HDS721010CLA332  Firm: JP4OA3EA Ser#: JP2911HD00GTPC
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)
** First descriptor is NOT a primary desc on 1:1 **
## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
** Bad device usb 0 **

Partition Map for IDE device 0  --   Partition Type: DOS

Part	Start Sector	Num Sectors	UUID		Type
  1	10487808  	8388608   	9f9b604e-01	83 Boot
  2	2048      	10485760  	9f9b604e-02	82
  3	18876416  	957894639 	9f9b604e-03	8e
running scan_disk ...
Scan device usb
Scan device ide

Reset IDE: Bus 0: OK Bus 1: OK 
  Device 0: Model: ST3500320AS  Firm: SD1A Ser#: 9QM62ZZS
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476938.9 MB = 465.7 GB (976771055 x 512)
  Device 1: Model: Hitachi HDS721010CLA332  Firm: JP4OA3EA Ser#: JP2911HD00GTPC
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)
** First descriptor is NOT a primary desc on 1:1 **
loading uImage ...
** Bad device specification 0x800000 /boot/uImage **
loading uInitrd ...
** Bad device specification 0x1100000 /boot/uInitrd **
loading DTB ...
** No device specified **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Netgear Stora>



Netgear Stora> usb reset
usb reset
resetting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found
Netgear Stora> boot
boot

Reset IDE: Bus 0: OK Bus 1: OK 
  Device 0: Model: ST3500320AS  Firm: SD1A Ser#: 9QM62ZZS
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476938.9 MB = 465.7 GB (976771055 x 512)
  Device 1: Model: Hitachi HDS721010CLA332  Firm: JP4OA3EA Ser#: JP2911HD00GTPC
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)
** First descriptor is NOT a primary desc on 1:1 **

Partition Map for USB device 0  --   Partition Type: DOS

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	62978048  	0022902e-01	83

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
86 bytes read in 569 ms (0 Bytes/s)

Partition Map for IDE device 0  --   Partition Type: DOS

Part	Start Sector	Num Sectors	UUID		Type
  1	10487808  	8388608   	9f9b604e-01	83 Boot
  2	2048      	10485760  	9f9b604e-02	82
  3	18876416  	957894639 	9f9b604e-03	8e
importing envs ...
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 507 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
3926040 bytes read in 635 ms (5.9 MiB/s)
loading uInitrd ...
7858105 bytes read in 625 ms (12 MiB/s)
loading DTB /boot/dts/kirkwood-netgear_stora_ms2000.dtb ...
11499 bytes read in 2306 ms (3.9 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.15.2-kirkwood-tld-1
   Created:      2018-04-05  10:13:15 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3925976 Bytes = 3.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.15.2-kirkwood-tld-1
   Created:      2018-04-05  10:15:35 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7858041 Bytes = 7.5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000


Starting kernel ...

Viewing all articles
Browse latest Browse all 903

Latest Images

Trending Articles



Latest Images