Re: Newer uBoot as workaround to 3.2 kernel problem? May 29, 2012 07:09PM |
Registered: 12 years ago Posts: 52 |
Re: Newer uBoot as workaround to 3.2 kernel problem? May 29, 2012 09:26PM |
Registered: 12 years ago Posts: 501 |
Re: Newer uBoot as workaround to 3.2 kernel problem? May 29, 2012 10:24PM |
Registered: 12 years ago Posts: 52 |
Re: Newer uBoot as workaround to 3.2 kernel problem? May 30, 2012 06:29AM |
Registered: 12 years ago Posts: 501 |
Re: Newer uBoot as workaround to 3.2 kernel problem? May 30, 2012 06:01PM |
Registered: 12 years ago Posts: 52 |
Re: Newer uBoot as workaround to 3.2 kernel problem? May 30, 2012 07:39PM |
Registered: 12 years ago Posts: 501 |
Re: Newer uBoot as workaround to 3.2 kernel problem? May 30, 2012 09:33PM |
Registered: 12 years ago Posts: 52 |
Re: Newer uBoot as workaround to 3.2 kernel problem? May 31, 2012 08:00AM |
Admin Registered: 14 years ago Posts: 304 |
scanning bus for devices... 3 USB Device(s) found scanning bus for storage devices...
USB device found, idVendor=0781, idProduct=5406 USB device strings: Mfr=1, Product=2, SerialNumber=3 Product: U3 Cruzer Micro Manufacturer: SanDisk Corporation
Re: Newer uBoot as workaround to 3.2 kernel problem? May 31, 2012 05:07PM |
Registered: 12 years ago Posts: 501 |
Quote
Jeff
Other flash drives work as expected, and the Cruzer works fine with the older uboot images.
Yes, several:Quote
Jeff
Any thoughts?
pogoE02> U-Boot 2011.12 (May 28 2012 - 11:59:39) Pogoplug E02 SoC: Kirkwood 88F6281_A0 DRAM: 256 MiB WARNING: Caches not enabled NAND: 128 MiB In: serial Out: serial Err: serial Net: egiga0 88E1116 Initialized on egiga0 Hit any key to stop autoboot: 0 pogoE02> usb start (Re)start USB... USB: Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 3 USB Device(s) found scanning bus for storage devices... EHCI timed out on TD - token=0x80008c80 1 Storage Device(s) found pogoE02> usb info 1: Hub, USB Revision 2.0 - u-boot EHCI Host Controller - Class: Hub - PacketSize: 64 Configurations: 1 - Vendor: 0x0000 Product 0x0000 Version 1.0 Configuration: 1 - Interfaces: 1 Self Powered 0mA Interface: 0 - Alternate Setting 0, Endpoints: 1 - Class Hub - Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms 2: Hub, USB Revision 2.0 - USB2.0 Hub - Class: Hub - PacketSize: 64 Configurations: 1 - Vendor: 0x05e3 Product 0x0608 Version 9.1 Configuration: 1 - Interfaces: 1 Self Powered Remote Wakeup 100mA Interface: 0 - Alternate Setting 0, Endpoints: 1 - Class Hub - Endpoint 1 In Interrupt MaxPacket 1 Interval 12ms 3: Mass Storage, USB Revision 2.0 - Generic Mass Storage Device MSU3JY4T - Class: (from Interface) Mass Storage - PacketSize: 64 Configurations: 1 - Vendor: 0x058f Product 0x6387 Version 1.66 Configuration: 1 - Interfaces: 1 Bus Powered 100mA Interface: 0 - Alternate Setting 0, Endpoints: 2 - Class Mass Storage, Transp. SCSI, Bulk only - Endpoint 1 Out Bulk MaxPacket 512 - Endpoint 2 In Bulk MaxPacket 512
Re: Newer uBoot as workaround to 3.2 kernel problem? May 31, 2012 05:15PM |
Registered: 12 years ago Posts: 52 |
Re: Newer uBoot as workaround to 3.2 kernel problem? May 31, 2012 05:25PM |
Registered: 12 years ago Posts: 501 |
Re: Newer uBoot as workaround to 3.2 kernel problem? May 31, 2012 05:29PM |
Registered: 12 years ago Posts: 52 |
Re: Newer uBoot as workaround to 3.2 kernel problem? May 31, 2012 05:31PM |
Admin Registered: 14 years ago Posts: 304 |
Re: Newer uBoot as workaround to 3.2 kernel problem? May 31, 2012 07:13PM |
Registered: 12 years ago Posts: 501 |
Quote
Jeff
... but I do think it's a regression and I don't want any uBoot upgrades to break existing hardware configurations.
Re: Newer uBoot as workaround to 3.2 kernel problem? May 31, 2012 09:50PM |
Registered: 12 years ago Posts: 501 |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 01, 2012 07:40AM |
Admin Registered: 14 years ago Posts: 304 |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 01, 2012 12:18PM |
Registered: 12 years ago Posts: 501 |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 01, 2012 09:00PM |
Registered: 12 years ago Posts: 501 |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 01, 2012 11:47PM |
Registered: 12 years ago Posts: 52 |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 02, 2012 12:06PM |
Admin Registered: 14 years ago Posts: 304 |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 02, 2012 12:32PM |
Registered: 12 years ago Posts: 501 |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 02, 2012 01:24PM |
Admin Registered: 14 years ago Posts: 304 |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 02, 2012 02:08PM |
Registered: 12 years ago Posts: 501 |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 02, 2012 06:15PM |
Admin Registered: 14 years ago Posts: 304 |
cd /tmp wget http://projects.doozan.com/uboot/install_uboot_mtd0.sh chmod +x install_uboot_mtd0.sh ./install_uboot_mtd0.sh
Re: Newer uBoot as workaround to 3.2 kernel problem? June 02, 2012 08:26PM |
Registered: 12 years ago Posts: 92 |
root@dockstar-db:/tmp# wget http://projects.doozan.com/uboot/install_uboot_mtd0.sh --2012-06-02 21:15:20-- http://projects.doozan.com/uboot/install_uboot_mtd0.sh Resolving projects.doozan.com... 50.116.34.13 Connecting to projects.doozan.com|50.116.34.13|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 18362 (18K) [text/x-sh] Saving to: `install_uboot_mtd0.sh' 100%[======================================>] 18,362 --.-K/s in 0.08s 2012-06-02 21:15:20 (227 KB/s) - `install_uboot_mtd0.sh' saved [18362/18362] root@dockstar-db:/tmp# chmod +x install_uboot_mtd0.sh root@dockstar-db:/tmp# ./install_uboot_mtd0.sh !!!!!! DANGER DANGER DANGER DANGER DANGER DANGER !!!!!! If you lose power to your device while running this script, it could be left in an unusable state. This script will replace the bootloader on /dev/mtd0. This installer will only work on the following devices: Seagate Dockstar Seagate GoFlex Net Seagate GoFlex Home Pogoplug v1 Pogoplug Pink (v2) Do not run this installer on any other device. By typing ok, you agree to assume all liabilities and risks associated with running this installer. If you agree, type 'ok' and press ENTER to continue: ok # checking for /usr/sbin/nandwrite... # Installing /usr/sbin/nandwrite... --2012-06-02 21:15:53-- http://download.doozan.com/uboot/nandwrite.md5 Resolving download.doozan.com... 50.116.34.13 Connecting to download.doozan.com|50.116.34.13|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: `/usr/sbin/nandwrite.md5' [ <=> ] 32 --.-K/s in 0s 2012-06-02 21:15:54 (1.18 MB/s) - `/usr/sbin/nandwrite.md5' saved [32] --2012-06-02 21:15:54-- http://download.doozan.com/uboot/nandwrite Resolving download.doozan.com... 50.116.34.13 Connecting to download.doozan.com|50.116.34.13|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 11500 (11K) [] Saving to: `/usr/sbin/nandwrite' 100%[======================================>] 11,500 --.-K/s in 0.04s 2012-06-02 21:15:54 (252 KB/s) - `/usr/sbin/nandwrite' saved [11500/11500] # Successfully installed /usr/sbin/nandwrite. # checking for /usr/sbin/nanddump... # Installing /usr/sbin/nanddump... --2012-06-02 21:15:54-- http://download.doozan.com/uboot/nanddump.md5 Resolving download.doozan.com... 50.116.34.13 Connecting to download.doozan.com|50.116.34.13|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: `/usr/sbin/nanddump.md5' [ <=> ] 32 --.-K/s in 0s 2012-06-02 21:15:55 (1.14 MB/s) - `/usr/sbin/nanddump.md5' saved [32] --2012-06-02 21:15:55-- http://download.doozan.com/uboot/nanddump Resolving download.doozan.com... 50.116.34.13 Connecting to download.doozan.com|50.116.34.13|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 21286 (21K) [] Saving to: `/usr/sbin/nanddump' 100%[======================================>] 21,286 --.-K/s in 0.08s 2012-06-02 21:15:55 (249 KB/s) - `/usr/sbin/nanddump' saved [21286/21286] # Successfully installed /usr/sbin/nanddump. # checking for /usr/sbin/flash_erase... # Installing /usr/sbin/flash_erase... --2012-06-02 21:15:55-- http://download.doozan.com/uboot/flash_erase.md5 Resolving download.doozan.com... 50.116.34.13 Connecting to download.doozan.com|50.116.34.13|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: `/usr/sbin/flash_erase.md5' [ <=> ] 32 --.-K/s in 0s 2012-06-02 21:15:55 (1.22 MB/s) - `/usr/sbin/flash_erase.md5' saved [32] --2012-06-02 21:15:55-- http://download.doozan.com/uboot/flash_erase Resolving download.doozan.com... 50.116.34.13 Connecting to download.doozan.com|50.116.34.13|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 12819 (13K) [] Saving to: `/usr/sbin/flash_erase' 100%[======================================>] 12,819 --.-K/s in 0.04s 2012-06-02 21:15:55 (292 KB/s) - `/usr/sbin/flash_erase' saved [12819/12819] # Successfully installed /usr/sbin/flash_erase. # checking for /usr/sbin/fw_printenv... # checking for /etc/fw_env.config... # Validating existing uBoot... Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x00080000... --2012-06-02 21:15:55-- http://jeff.doozan.com/uboot/valid-uboot.md5 Resolving jeff.doozan.com... 50.116.34.13 Connecting to jeff.doozan.com|50.116.34.13|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: http://projects.doozan.com/uboot/valid-uboot.md5 [following] --2012-06-02 21:15:56-- http://projects.doozan.com/uboot/valid-uboot.md5 Resolving projects.doozan.com... 50.116.34.13 Connecting to projects.doozan.com|50.116.34.13|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1133 (1.1K) [text/plain] Saving to: `/tmp/valid-uboot.md5' 100%[======================================>] 1,133 --.-K/s in 0s 2012-06-02 21:15:56 (32.5 MB/s) - `/tmp/valid-uboot.md5' saved [1133/1133] ## Valid uBoot detected: [dockstar jeff-2010-10-23] # Installing uBoot ## Installing dockstar davygravy-2012-02-12 --2012-06-02 21:15:56-- http://download.doozan.com/uboot/files/uboot/uboot.mtd0.dockstar.davygravy-2012-02-12.kwb.md5 Resolving download.doozan.com... 50.116.34.13 Connecting to download.doozan.com|50.116.34.13|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: `/tmp/uboot.mtd0.kwb.md5' [ <=> ] 32 --.-K/s in 0s 2012-06-02 21:15:56 (1.13 MB/s) - `/tmp/uboot.mtd0.kwb.md5' saved [32] --2012-06-02 21:15:56-- http://download.doozan.com/uboot/files/uboot/uboot.mtd0.dockstar.davygravy-2012-02-12.kwb Resolving download.doozan.com... 50.116.34.13 Connecting to download.doozan.com|50.116.34.13|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 524288 (512K) [] Saving to: `/tmp/uboot.mtd0.kwb' 100%[======================================>] 524,288 799K/s in 0.6s 2012-06-02 21:15:57 (799 KB/s) - `/tmp/uboot.mtd0.kwb' saved [524288/524288] Erase Total 4 Units Performing Flash Erase of length 131072 at offset 0x60000 done Writing data to block 0 at offset 0x0 Writing data to block 1 at offset 0x20000 Writing data to block 2 at offset 0x40000 Writing data to block 3 at offset 0x60000 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x00080000... ## Verifying new uBoot... --2012-06-02 21:15:57-- http://download.doozan.com/uboot/files/uboot/uboot.mtd0.dockstar.davygravy-2012-02-12.kwb.md5 Resolving download.doozan.com... 50.116.34.13 Connecting to download.doozan.com|50.116.34.13|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: `/tmp/uboot.mtd0.kwb.md5' [ <=> ] 32 --.-K/s in 0s 2012-06-02 21:15:57 (1.14 MB/s) - `/tmp/uboot.mtd0.kwb.md5' saved [32] # Verified successfully! You are already running a modern uBoot. Your current uBoot environment should be reasonable. However, if you're having any probems booting, you can reset the environment variables to know good values. Would you like to reset the uBoot environment? [N/y] y # Installing uBoot environment --2012-06-02 21:16:34-- http://download.doozan.com/uboot/files/environment/uboot.environment.md5 Resolving download.doozan.com... 50.116.34.13 Connecting to download.doozan.com|50.116.34.13|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: `/tmp/uboot.environment.md5' [ <=> ] 32 --.-K/s in 0s 2012-06-02 21:16:34 (1.16 MB/s) - `/tmp/uboot.environment.md5' saved [32] --2012-06-02 21:16:34-- http://download.doozan.com/uboot/files/environment/uboot.environment Resolving download.doozan.com... 50.116.34.13 Connecting to download.doozan.com|50.116.34.13|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 131072 (128K) [] Saving to: `/tmp/uboot.environment' 100%[======================================>] 131,072 446K/s in 0.3s 2012-06-02 21:16:35 (446 KB/s) - `/tmp/uboot.environment' saved [131072/131072] Erase Total 1 Units Performing Flash Erase of length 131072 at offset 0xc0000 done Writing data to block 6 at offset 0xc0000 # Verifying uBoot environment Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x000c0000 and ending at 0x000e0000... --2012-06-02 21:16:35-- http://download.doozan.com/uboot/files/environment/uboot.environment.md5 Resolving download.doozan.com... 50.116.34.13 Connecting to download.doozan.com|50.116.34.13|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: `/tmp/uboot.environment.md5' [ <=> ] 32 --.-K/s in 0s 2012-06-02 21:16:35 (1.19 MB/s) - `/tmp/uboot.environment.md5' saved [32] # uBoot installation has completed successfully. root@dockstar-db:/tmp# reboot
Re: Newer uBoot as workaround to 3.2 kernel problem? June 02, 2012 09:09PM |
Registered: 14 years ago Posts: 78 |
## ## ## VERIFICATION FAILED! ## ## uBoot was not properly installed to mtd0. ## ## ## YOUR DEVICE MAY BE IN AN UNUSABLE STATE. ## DO NOT REBOOT OR POWER OFF YOUR DEVICE ## ## ## Make a backup of /tmp/uboot-mtd0-dump someplace safe and ## then re-run this installer.
flash_erase /dev/mtd0 0 4 nandwrite /dev/mtd0 uboot.mtd0.kwb-2011.12-pogo_e02-L2Coff
nanddump -no -l 0x80000 -f /tmp/richl /dev/mtd0
nanddump -n -l 0x80000 -f /tmp/richl /dev/mtd0and doing a md5sum on the resulting file i got the correct checksum (e84a5fd0a0205bb79aed07c3c6fbd145).
Re: Newer uBoot as workaround to 3.2 kernel problem? June 02, 2012 09:29PM |
Registered: 12 years ago Posts: 501 |
root@AirDisk2:/tmp# fw_setenv if_netconsole 'ping $serverip' root@AirDisk2:/tmp# fw_setenv start_netconsole 'setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;' root@AirDisk2:/tmp# fw_setenv preboot 'run if_netconsole start_netconsole' root@AirDisk2:/tmp# fw_printenv serverip ## Error: "serverip" not defined root@AirDisk2:/tmp# fw_setenv serverip 192.168.11.yyy root@AirDisk2:/tmp# fw_setenv ipaddr 192.168.11.xxxdid the trick for me, back in business with nary a slip.
Re: Newer uBoot as workaround to 3.2 kernel problem? June 02, 2012 09:46PM |
Registered: 12 years ago Posts: 92 |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 02, 2012 09:48PM |
Registered: 12 years ago Posts: 501 |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 02, 2012 10:05PM |
Registered: 12 years ago Posts: 92 |
Configuring network interfaces...err, eth0: dhcpcd already running on pid 397 (/var/run/dhcpcd-eth0.pid) Failed to bring up eth0. done.I would imagine that should not be happening.