01-31-2018 09:11 PM - edited 01-31-2018 10:49 PM
Hi all, newbie here. I just bought an used ERLite-3 to play with. I had read that they have a high rate of flash drive failures. Even though I got one of the newer metal body ones (which I read is less prone to that issue), I decided to be safe and create a backup image. I did some searching and found a few references to this USB flash drive:
Kingston Digital DataTraveler SE9 16GB USB 2.0 DTSE9H/16GBZ
In fact, one of the Amazon reviews explicilty mentions it working for the ERLite-3. So I bought one to use as a replacement UFD. However, when I try to boot using the new flash drive, I keep getting these errors (I also bought a USB serial console cable):
Looking for valid bootloader image....
Jumping to start of image at address 0xbfc80000
U-Boot 1.1.1 (UBNT Build ID: 4670715-gbd7e2d7) (Build time: May 27 2014 - 11:16:22)
BIST check passed.
UBNT_E100 r1:2, r2:18, f:4/71, serial #: 44D9E74011B9
Core clock: 500 MHz, DDR clock: 266 MHz (532 Mhz data rate)
DRAM: 512 MB
Clearing DRAM....... done
Flash: 4 MB
Net: octeth0, octeth1, octeth2
USB: (port 0) scanning bus for devices...
USB device not responding, giving up (status=0)
1 USB Devices found
scanning bus for storage devices...
No device found. Not initialized? 0
** Partition 1 not valid on device 0 **
** Unable to use usb 0:1 for fatload **
## No elf image at address 0x09f00000
These are the steps I tried:
1. Using "dd" in macOS terminal to clone the existing flash drive to my new flash drive. I tried both commands below:
dd if=/dev/old of=/dev/new
dd if=/dev/old of=/dev/new bs=1m
2. Using the imageUSB tool (in Windows 10) to create an image of the existing flash drive, then writing the image to my new flash drive
3. Downloaded the image from this page (using Method 1), then used imageUSB to write it to my new flash drive
4. Tried adjusting the bootdelay to 10, then tried all 3 steps above again.
None of those worked. I keep getting the same error message. I'm at my wit's end. Any suggestions?
EDIT: Figured it out! Turned out I needed to put the sleep in front of the bootcmd, as well as doing a usb reset, instead of setting the boot delay. I used the instructions here:
01-31-2018 11:26 PM
Last question, I promise: What is the advantage of resizing the ext3 partition so that more than the default 1.xGB is available to the router? Any disadvantages for doing so?
02-01-2018 12:33 AM
Unless you want to install A LOT of packages, there's no use expanding the partition.
Of course, storing dynamic data is not an option because it would wear the USB key down pretty fast.
02-01-2018 09:19 AM
02-01-2018 09:54 AM
Thanks haef. I had already resized it, just wondering if I need to return it back to its orignal size, or is it ok to leave it? What I mean is, is there any detriment to have the partition size enlarged?
02-01-2018 10:02 AM
It makes no difference if you enlarge it or not, unless the ER supports TRIM and the USB key also supports TRIM and wear levelling. I believe the only USB keys that do are the Sandisk Extreme Pros.
02-01-2018 10:11 AM
02-01-2018 04:28 PM
haef, according to this thread, the DPI data is not logged to the flash drive?
02-18-2018 01:16 PM - edited 03-11-2018 03:49 PM
I just wanted to say thank you for making that and writing out the instructions on your page. It was the evening before I had to leave for a 1 week business trip, and that's naturally when the router USB key decides to take a dump.
I don't have a linux machine (and I suck at linux), nor do I have a serial cable. Windows was my only real option. And things were looking pretty grim up until then. From your files and instructions i was able to create a new USB key, and let it create the files over night. In the morning, I was able to resurrect the router and load a woefully outdated (-shame on me) configuration, and then flash the firmware to update to the latest version.
My family would have been none to pleased to be without internet / gaming / entertainment for a week... You saved the sanity of my wife and two kids.
I still have some configuration rebuilding to do, but it's enough that the rest of the family shouldn't notice anything wrong while I'm gone.
Many thanks again!