Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 25, 2014 02:52PM |
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 25, 2014 04:54PM |
Admin Registered: 13 years ago Posts: 18,898 |
Quote
III
why in the hell you need arch with that machinegun-like question fire rate?
I've always thought of arch-users as of doers not talkers.
I mean if you don't know how to use the tool, maybe you shouldn't? )
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 28, 2014 12:22AM |
Registered: 14 years ago Posts: 136 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 28, 2014 12:54AM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 28, 2014 01:45AM |
Registered: 14 years ago Posts: 136 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 03, 2014 04:18PM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 04, 2014 11:53PM |
Registered: 10 years ago Posts: 19 |
https://dl.dropboxusercontent.com/u/1015928/Kirkwood/rootfs_images/NSA320quickstart.tar.gz
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 05, 2014 12:00AM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 07, 2014 10:00AM |
Registered: 10 years ago Posts: 8 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 07, 2014 11:43AM |
Registered: 10 years ago Posts: 19 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 07, 2014 12:15PM |
Registered: 10 years ago Posts: 8 |
> ok so i soldered some wires on the board and > debian boots fine, >
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 12, 2014 12:31PM |
Registered: 11 years ago Posts: 25 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 12, 2014 03:25PM |
Admin Registered: 13 years ago Posts: 18,898 |
preboot_nc=run if_netconsole start_netconsole preboot=run preboot_nc
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 12, 2014 07:29PM |
Registered: 11 years ago Posts: 25 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 13, 2014 12:43PM |
Registered: 12 years ago Posts: 40 |
dmesg | grep -i 'bad' [ 19.766086] Scanning device for bad blocks [ 19.838307] Bad eraseblock 637 at 0x000004fa0000 [ 20.158075] Bad eraseblock 3589 at 0x00001c0a0000
dmesg | grep -i 'bad' [ 1.897690] Scanning device for bad blocks [ 2.014965] Bad eraseblock 1006 at 0x000007dc0000
[ 1.423938] Scanning device for bad blocks [ 1.455326] Bad eraseblock 334 at 0x0000029c0000
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 13, 2014 03:20PM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 14, 2014 12:07AM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 14, 2014 03:19PM |
Registered: 12 years ago Posts: 40 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 15, 2014 06:25PM |
Registered: 12 years ago Posts: 40 |
root@debian:~# dmesg | grep Bad [ 5.131787] Bad eraseblock 80 at 0x000000a00000
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 16, 2014 09:09AM |
Registered: 14 years ago Posts: 78 |
root@ds_167:/tmp# dmesg | grep -i 'bad' [ 16.227821] Scanning device for bad blocks [ 16.366403] Bad eraseblock 1806 at 0x00000e1c0000Can I go forward with flashing?
DockStar> version v e r s i o n U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:47:44) Seagate FreeAgent DockStar gcc (Debian 4.6.3-14) 4.6.3 GNU ld (GNU Binutils for Debian) 2.22 DockStar>
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 18, 2014 07:35PM |
Admin Registered: 13 years ago Posts: 18,898 |
Quote
References:
U-Boot source code at GitHub (Latest branch 2014.07.b-kirkwood, tag v2014.07-kirkwood)
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 20, 2014 02:49PM |
Admin Registered: 13 years ago Posts: 18,898 |
./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2013.10-tld-0.1.nsa320.mtd0.kwband
./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2013.10-tld-0.1.nsa320.mtd0.kwb -p
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 21, 2014 02:37AM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 21, 2014 12:37PM |
Registered: 12 years ago Posts: 36 |
99 % [....................................] [Type Ctrl-\ + c to quit] U-Boot 2013.10-tld-0.1 (Jul 24 2014 - 15:03:15) ZyXEL NSA320 2-Bay Power Media Server SoC: Kirkwood 88F6281_A1 DRAM: 512 MiB WARNING: Caches not enabled NAND: 128 MiB *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: egiga0 Warning: failed to set MAC address MV88E1318 PHY initialized on egiga0 NSA320> printenv baudrate=115200 bootdelay=3 ethact=egiga0 stderr=serial stdin=serial stdout=serial Environment size: 96/131068 bytes
NSA320> ide reset Reset IDE: Bus 0: ...........OK Bus 1: not available Device 0: Model: ST4000DM000-1F2168 Firm: CC52 Ser#: W300FJ5X Type: Hard Disk Supports 48-bit addressing Capacity: 3815447.8 MB = 3726.0 GB (7814037168 x 512) NSA320> ext2ls ide 0:1 / Failed to mount ext2 filesystem... ** Unrecognized filesystem type ** NSA320> ext4ls ide 0:2 / Failed to mount ext2 filesystem... ** Unrecognized filesystem type **
gaogao@mynas:~$ sudo parted /dev/sda GNU Parted 2.3 Using /dev/sda Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) p Model: ATA ST4000DM000-1F21 (scsi) Disk /dev/sda: 4001GB Sector size (logical/physical): 512B/4096B Partition Table: gpt Number Start End Size File system Name Flags 1 17.4kB 4000MB 4000MB ext2 primary 2 4000MB 3996GB 3992GB ext4 primary
NSA320> usb reset (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 NSA320> ext2ls usb 0:1 /boot <DIR> 4096 . <DIR> 4096 .. 2399792 uImage 2399728 vmlinuz-3.13.1-kirkwood-tld-2 1698808 System.map-3.13.1-kirkwood-tld-2 6750476 uInitrd 121807 config-3.13.1-kirkwood-tld-2 6750412 initrd.img-3.13.1-kirkwood-tld-2 2191504 uImage-3.10.4-kirkwood-tld-1 2221032 uImage-3.12.0-kirkwood-tld-5 6482584 uInitrd-3.12.0-kirkwood-tld-5 1660174 System.map-3.12.0-kirkwood-tld-5 2342512 vmlinuz-3.12.0-kirkwood-tld-5 120273 config-3.12.0-kirkwood-tld-5 6726514 initrd.img-3.12.0-kirkwood-tld-5
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 21, 2014 03:27PM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 22, 2014 03:10AM |
Registered: 12 years ago Posts: 36 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 22, 2014 04:20AM |
Admin Registered: 13 years ago Posts: 18,898 |
./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2013.10-tld-1.nsa320.mtd0.kwb -pNote that you will see CRC error in environment. This is because the envs location this U-Boot uses is 0xC0000. There is nothing in that location yet. Feel free to set the envs to boot into Debian just like you have done before, but don't save with saveenv. Just cut/paste the old envs to set them here for booting.
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 22, 2014 12:10PM |
Registered: 12 years ago Posts: 36 |