Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora June 13, 2014 03:58AM |
Admin Registered: 13 years ago Posts: 19,106 |
farsheedj
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora June 13, 2014 09:06AM |
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora June 20, 2014 03:27PM |
Registered: 10 years ago Posts: 7 |
Netgear Stora> version U-Boot 2014.01-tld-1 (Mar 17 2014 - 22:25:07) Netgear-MS2110 gcc (Debian 4.6.3-14) 4.6.3 GNU ld (GNU Binutils for Debian) 2.22
Netgear Stora> ide reset Reset IDE: Bus 0: OK Bus 1: OK Device 0: Model: WDC WD30EFRX-68EUZN0 Firm: 80.00A80 Ser#: WD-WMC4N0941090 Type: Hard Disk Supports 48-bit addressing Capacity: 2861588.4 MB = 2794.5 GB (5860533168 x 512) Device 1: Model: WDC WD20EZRX-00DC0B0 Firm: 80.00A80 Ser#: WD-WMC300839711 Type: Hard Disk Supports 48-bit addressing Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
Netgear Stora> ide part Partition Map for IDE device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 1 -1 00000000-01 ee Partition Map for IDE device 1 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 1 -387938129 00000000-01 ee Netgear Stora>
root# lsblk /dev/sdf -oname,size,fstype,type,partlabel NAME SIZE FSTYPE TYPE PARTLABEL sdf 2.7T disk ├─sdf1 512M ext3 part Linux filesystem └─sdf2 2.7T LVM2_member part Linux LVM
root# fdisk -l /dev/sdf Disk /dev/sdf: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 5ECAC69A-5B42-490D-88F0-81023B8DD4BC Device Start End Size Type /dev/sdf1 40 1048615 512M Linux filesystem /dev/sdf2 1048616 5860533134 2.7T Linux LVMDoes anyone know how to solve the issue?
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora June 21, 2014 12:21AM |
Admin Registered: 13 years ago Posts: 19,106 |
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora June 23, 2014 11:45AM |
Registered: 10 years ago Posts: 7 |
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora June 23, 2014 12:54PM |
Admin Registered: 13 years ago Posts: 19,106 |
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora June 23, 2014 02:34PM |
Registered: 10 years ago Posts: 7 |
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora July 03, 2014 05:59PM |
Admin Registered: 13 years ago Posts: 19,106 |
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora July 05, 2014 11:58AM |
Registered: 10 years ago Posts: 7 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 21, 2014 03:38PM |
Admin Registered: 13 years ago Posts: 19,106 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 21, 2014 04:19PM |
Registered: 11 years ago Posts: 165 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 21, 2014 11:05PM |
Registered: 11 years ago Posts: 165 |
U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:59:45) Pogoplug V4 SoC: Kirkwood 88F6192_A1 DRAM: 128 MiB WARNING: Caches not enabled NAND: 128 MiB MMC: kwsdio: 0 In: serial Out: serial Err: serial Net: egiga0 Hit any key to stop autoboot: 0 (Re)start USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 1 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: can't get kernel image! Unknown command 'bootcmd_mmc' - try 'help' Unknown command 'bootcmd_sata' - try 'help' resetting ...
bootcmd=run bootcmd_usb; bootcmd_mmc; bootcmd_sata; reset
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 21, 2014 11:12PM |
Admin Registered: 13 years ago Posts: 19,106 |
Quote
As feedback, I would like to see the "mmc_bootcmd" and "sata_bootcmd" (<devicetype>_bootcmd) as the standard.
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 22, 2014 12:43AM |
Registered: 11 years ago Posts: 165 |
ethact=egiga0 bootdelay=3 baudrate=115200 mainlineLinux=yes console=ttyS0,115200 led_init=green blinking led_exit=green off led_error=orange blinking mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) mtdids=nand0=orion_nand partition=nand0,2 stdin=serial stdout=serial stderr=serial rescue_installed=0 rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params 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 pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi 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 ubifs_mtd=3 ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params 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 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_list=1 2 3 4 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_init=run usb_scan usb_device=0:1 usb_root=/dev/sda1 usb_rootfstype=ext2 usb_rootdelay=10 usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot 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 arcNumber=2097 ethaddr=00:25:31:00:aa:aa bootcmd=usb start; usb stop; usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 22, 2014 02:56PM |
Registered: 10 years ago Posts: 66 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 22, 2014 03:27PM |
Admin Registered: 13 years ago Posts: 19,106 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 22, 2014 04:01PM |
Admin Registered: 13 years ago Posts: 19,106 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 22, 2014 05:49PM |
Registered: 10 years ago Posts: 66 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 22, 2014 06:05PM |
Registered: 11 years ago Posts: 165 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 22, 2014 06:30PM |
Registered: 10 years ago Posts: 66 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 22, 2014 07:01PM |
Registered: 10 years ago Posts: 66 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 22, 2014 07:21PM |
Admin Registered: 13 years ago Posts: 19,106 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 22, 2014 07:29PM |
Registered: 10 years ago Posts: 66 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 22, 2014 07:32PM |
Admin Registered: 13 years ago Posts: 19,106 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 22, 2014 07:44PM |
Admin Registered: 13 years ago Posts: 19,106 |
Quote
Also, if you are running stock kernel, which usually does not provide NAND tools, you can download it here in this thread.
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 22, 2014 07:49PM |
Registered: 10 years ago Posts: 66 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 22, 2014 09:18PM |
Admin Registered: 13 years ago Posts: 19,106 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 23, 2014 07:22AM |
Registered: 10 years ago Posts: 66 |
Quote
# echo "/dev/mtd0 0xc0000 0x20000 0x20000">/etc/fw_env.config
Quote
# /usr/local/bin/cloudengines/bin/blparam > current_envs.txt
# cd /tmp; tar -xf uboot.2014.07.tld-1.goflexnet.bodhi.tar
# /usr/sbin/flash_erase /dev/mtd0 0x100000 4
# /usr/sbin/nandwrite /dev/mtd0 uboot.2014.07.tld-1.goflexnet.mtd0.kwb
# /usr/local/bin/cloudengines/bin/blparam to make sure that there are no errors.
Quote
# cd /tmp; tar -xf uboot.2014.07-tld-1.environment.img.bodhi.tar
# /usr/sbin/flash_erase /dev/mtd0 0xc0000 1
# /usr/sbin/nandwrite -s 786432 /dev/mtd0 uboot.2014.07-tld-1.environment.img
Quote
# /usr/local/cloudengines/bin/blparam arcNumber=3960
# /usr/local/cloudengines/bin/blparam machid=f78
Quote
# /usr/local/cloudengines/bin/blparam mtdparts='xxxxxxxxx'
# /usr/local/cloudengines/bin/blparam rootfstype='xxxx'
# /usr/local/cloudengines/bin/blparam ethaddr='xx:xx:xx:xx:xx:xx'
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 23, 2014 09:05AM |
Registered: 10 years ago Posts: 66 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 23, 2014 12:21PM |
Registered: 10 years ago Posts: 6 |