Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile November 14, 2014 02:22AM |
Admin Registered: 13 years ago Posts: 19,102 |
> fw_setenv rescue_installed 1 > fw_setenv set_bootargs_rescue 'setenv bootargs > console=$console ubi.mtd=2 root=ubi0:rootfs ro > rootfstype=ubifs $mtdparts' > fw_setenv bootcmd_rescue 'run set_bootargs_rescue; > nand read.e 0x800000 0x100000 0x400000; bootm > 0x800000' > fw_setenv bootcmd_pogo 'run bootcmd_rescue' >> will make the rescue system working again
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile November 14, 2014 02:53AM |
Registered: 10 years ago Posts: 28 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile November 14, 2014 04:10AM |
Admin Registered: 13 years ago Posts: 19,102 |
ext4load usb 0:1 /boot/uImage ext4load usb 0:1 /boot/uInitrdor
ext4load ide 0:1 /boot/uImage ext4load ide 0:1 /boot/uInitrd
setenv bootagrs ......... root=LABEL=rootfs ........
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile November 14, 2014 04:37AM |
Registered: 10 years ago Posts: 28 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile November 17, 2014 02:16AM |
Registered: 10 years ago Posts: 28 |
bobafetthotmail
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile November 18, 2014 08:26PM |
U-Boot 2013.10-tld-1 (Aug 29 2014 - 22:07:26) ZyXEL NSA325 2-Bay Power Media Server SoC: Kirkwood 88F6282_?? DRAM: 512 MiB WARNING: Caches not enabled NAND: 128 MiB In: serial Out: serial Err: serial Net: egiga0 MV88E1318 PHY initialized on egiga0 Hit any key to stop autoboot: 0 NSA325> printenv arcNumber=4495 baudrate=115200 bootcmd=run bootcmd_usb; run bootcmd_sata; run bootcmd_mmc; reset bootcmd_mmc=run mmc_init; run set_bootargs_mmc; run mmc_boot bootcmd_sata=run sata_init; run set_bootargs_sata; run sata_boot; bootcmd_usb=run usb_init; run set_bootargs_usb; run usb_boot; bootdelay=10 console=ttyS0,115200 device=0:1 ethact=egiga0 ethaddr=00:50:43:00:02:02 if_netconsole=ping $serverip ipaddr=192.168.0.231 led_error=orange blinking led_exit=green off led_init=green blinking machid=118f mainlineLinux=yes mmc_boot=mw 0x800000 0 1; run mmc_load_uimage; if run mmc_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi mmc_init=mmc rescan mmc_load_uimage=ext2load mmc $device 0x800000 /boot/uImage mmc_load_uinitrd=ext2load mmc $device 0x1100000 /boot/uInitrd mmc_root=/dev/mmcblk0p1 mtdids=nand0=orion_nand mtdparts=nand_mtd:0x100000(uboot),0x80000(uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) partition=nand0,2 preboot_nc=run if_netconsole start_netconsole rootdelay=10 rootfstype=ext4 sata_boot=mw 0x800000 0 1; run sata_load_uimage; if run sata_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi sata_init=ide reset sata_load_uimage=ext4load ide $device 0x800000 /boot/uImage sata_load_uinitrd=ext4load ide $device 0x1100000 /boot/uInitrd sata_root=/dev/sda2 serverip=192.168.0.220 set_bootargs_mmc=setenv bootargs console=$console root=$mmc_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts set_bootargs_sata=setenv bootargs console=$console root=$sata_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; stderr=serial stdin=serial stdout=serial usb_boot=mw 0x800000 0 1; run usb_load_uimage; if run usb_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi usb_init=usb start usb_load_uimage=ext2load usb $device 0x800000 /boot/uImage usb_load_uinitrd=ext2load usb $device 0x1100000 /boot/uInitrd usb_root=/dev/sda1 Environment size: 2325/131068 bytes
Hit any key to stop autoboot: 0 (Re)start USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 3 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found ** Bad device usb 0 ** ** Bad device usb 0 ** Wrong Image Format for bootm command Error occured, error code = 112 ERROR: can't get kernel image! Reset IDE: Bus 0: OK Bus 1: not available Device 0: Model: FUJITSU MHV2060BH Firm: 00000025 Ser#: NW79T6327A0V Type: Hard Disk Supports 48-bit addressing Capacity: 57231.5 MB = 55.8 GB (117210240 x 512) ** Invalid partition 1 ** ** Invalid partition 1 ** Wrong Image Format for bootm command Error occured, error code = 112 ERROR: can't get kernel image! Unknown command 'mmc' - try 'help' ** Bad device mmc 0 ** ** Bad device mmc 0 ** Wrong Image Format for bootm command Error occured, error code = 112 ERROR: can't get kernel image! resetting ...
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile November 19, 2014 12:15AM |
Admin Registered: 13 years ago Posts: 19,102 |
sata_load_uimage=ext4load ide $device 0x800000 /boot/uImage sata_load_uinitrd=ext4load ide $device 0x1100000 /boot/uInitrd
NSA325 > ide reset NSA325> ide info NSA325> ide part NSA325> ext4ls ide 0:1 /bootPlease post output of the above commands.
device=0:1
bobafetthotmail
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile November 19, 2014 02:13PM |
Unknown command 'mmc' - try 'help' ** Bad device mmc 0 ** ** Bad device mmc 0 ** Wrong Image Format for bootm command Error occured, error code = 112 ERROR: can't get kernel image! resetting ...
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile November 19, 2014 04:30PM |
Admin Registered: 13 years ago Posts: 19,102 |
Unknown command 'mmc' - try 'help' > ** Bad device mmc 0 ** > ** Bad device mmc 0 ** > Wrong Image Format for bootm command > Error occured, error code = 112 > ERROR: can't get kernel image! > resetting ... >
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug November 26, 2014 11:51PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug November 30, 2014 11:04PM |
Registered: 10 years ago Posts: 9 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug November 30, 2014 11:58PM |
Admin Registered: 13 years ago Posts: 19,102 |
> I also create Linux Kernel 3.17 (FDT) on a usb > flash
> and plug to the usb, after reboot, I do not > see any message output from netconsole server. serverip=192.168.1.78 ipaddr=192.168.1.76 if_netconsole=ping 192.168.1.78 start_netconsole=setenv ncip 192.168.1.78; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; preboot=run if_netconsole start_netconsole
> usb_init=run usb_scan; setenv usb_root LABEL=ROOTFS rw
> The light on pogo plug turns to green, but there is no > connection(ip), i can't access the pogo. >
> I tried to remove usb flash, and restart pogo, the > light keeps flashing yellow, and there is no > connection. > > is it a brick now ?
Updated 31 Oct 2014: Rootfs Debian-3.17.0-kirkwood-tld-1After booting into Debian, you can then troubleshoot easily from Linux.
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug December 01, 2014 01:48AM |
Registered: 10 years ago Posts: 9 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug December 01, 2014 02:11AM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug December 01, 2014 01:48PM |
Registered: 10 years ago Posts: 9 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug December 01, 2014 05:09PM |
Admin Registered: 13 years ago Posts: 19,102 |
nc -lup 6666 192.168.1.78 6666
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug December 02, 2014 12:21AM |
Registered: 10 years ago Posts: 9 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug December 02, 2014 02:00AM |
Admin Registered: 13 years ago Posts: 19,102 |
serverip=192.168.1.78 ipaddr=192.168.1.76 if_netconsole=ping 192.168.1.78 start_netconsole=setenv ncip 192.168.1.78; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; preboot=run if_netconsole start_netconsole
nc -lup 6666 192.168.1.76 6666
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug December 02, 2014 12:49PM |
Registered: 10 years ago Posts: 9 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug December 02, 2014 02:51PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug December 02, 2014 05:11PM |
Registered: 10 years ago Posts: 9 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug December 03, 2014 02:18PM |
Registered: 11 years ago Posts: 3 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug December 03, 2014 04:54PM |
Registered: 10 years ago Posts: 9 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug December 03, 2014 05:10PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug December 03, 2014 05:20PM |
Admin Registered: 13 years ago Posts: 19,102 |
gunjaekoo
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug December 04, 2014 02:02AM |
U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:29:52) Pogo E02 gcc (Debian 4.6.3-14) 4.6.3 GNU ld (GNU Binutils for Debian) 2.22 Hit any key to stop autoboot: 0 (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 ** File not found /rescueme ** ** Unrecognized filesystem type ** UBI: attaching mtd1 to ubi0 UBI: physical eraseblock size: 131072 bytes (128 KiB) UBI: logical eraseblock size: 129024 bytes UBI: smallest flash I/O unit: 2048 UBI: sub-page size: 512 UBI: VID header offset: 512 (aligned 512) UBI: data offset: 2048 UBI: attached mtd1 to ubi0 UBI: MTD device name: "mtd=3" UBI: MTD device size: 91 MiB UBI: number of good PEBs: 728 UBI: number of bad PEBs: 0 UBI: max. allowed volumes: 128 UBI: wear-leveling threshold: 4096 UBI: number of internal volumes: 1 UBI: number of user volumes: 0 UBI: available PEBs: 717 UBI: total number of reserved PEBs: 11 UBI: number of PEBs reserved for bad PEB handling: 7 UBI: max/mean erase counter: 1/1 UBIFS error (pid 0): ubifs_get_sb: cannot open "rootfs", error -22 UBIFS error (pid 0): ubifs_mount: Error reading superblock on volume 'rootfs' errno=-22! ubifsmount - mount UBIFS volume Usage: ubifsmount <volume-name> - mount 'volume-name' volume 1 bytes read in 252 ms (0 Bytes/s) Found bootable drive on usb 0:1 1435696 bytes read in 324 ms (4.2 MiB/s) 4682500 bytes read in 461 ms (9.7 MiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-2.6.32-5-kirkwood Created: 2000-01-01 4:40:48 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1435632 Bytes = 1.4 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-2.6.32-5-kirkwood Created: 2000-01-01 4:40:50 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 4682436 Bytes = 4.5 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Starting kernel ...
arcNumber=2097 baudrate=115200 bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset bootdelay=10 console=ttyS0,115200 ethact=egiga0 ethaddr=00:25:31:02:24:CA force_rescue=0 force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi if_netconsole=ping $serverip ipaddr=192.168.1.11 led_error=orange blinking led_exit=green off led_init=green blinking mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) ncip=192.168.1.42 partition=nand0,2 pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi preboot=run if_netconsole start_netconsole rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi rescue_installed=0 rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params serverip=192.168.1.42 start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; stderr=nc stdin=nc stdout=nc ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; fi ubifs_mtd=3 ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot usb_device=0:1 usb_init=run usb_scan usb_root=/dev/sda1 usb_rootdelay=10 usb_rootfstype=ext2 usb_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done usb_scan_1=usb=0:1 dev=sda1 usb_scan_2=usb=1:1 dev=sdb1 usb_scan_3=usb=2:1 dev=sdc1 usb_scan_4=usb=3:1 dev=sdd1 usb_scan_list=1 2 3 4 usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params Environment size: 2598/131068 bytes
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug December 04, 2014 03:05AM |
Admin Registered: 13 years ago Posts: 19,102 |
tune2fs -L rootfs /media/sdb1 sync
setenv usb_init "run usb_scan; setenv usb_root LABEL=rootfs" boot
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug December 04, 2014 03:25AM |
Registered: 10 years ago Posts: 2 |
root@debian:~# dmesg | grep -i 'bad' [ 9.336843] Scanning device for bad blocks [ 9.345723] Bad eraseblock 45 at 0x0000005a0000
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug December 04, 2014 04:51AM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug December 04, 2014 02:07PM |
Registered: 10 years ago Posts: 2 |