software upload over usb-serial

Posted by: wfaulk

software upload over usb-serial - 05/05/2006 21:13

Did anyone come up with a solution to the "loading stock software onto the empeg with a USB serial cable" problem other than "take it to your friend's house"?

I was just uploading the new Hijack onto a Hijack-less empeg over a USB serial cable and it failed. So I had to take it to the only real-serial-port computer I have to do it, which happens to be an OpenBSD machine. Once I got it uploaded, it wouldn't go past the "let fly the penguins of linux" stage. I figure I can get it back by just uploading the stock software again, but I can't figure out how to do that.
Posted by: mlord

Re: software upload over usb-serial - 05/05/2006 22:08

The latest download.c (Hijack site) works on all of the (several, different) USB-serial adapters I have here, as well as over the AirPort serial connection.

No issues.
Posted by: wfaulk

Re: software upload over usb-serial - 05/05/2006 23:04

Yes, but I cannot apply the whole software suite with that, can I? Only flash images. I did get Hijack installed without complaint. I don't know what has gone haywire at this point.
Posted by: mlord

Re: software upload over usb-serial - 05/05/2006 23:26

If you are stuck at "let the penguins fly", then forget about the software: your problem is the kernel. Reflash it.
Posted by: wfaulk

Re: software upload over usb-serial - 06/05/2006 16:05

Good point.
Posted by: wfaulk

Re: software upload over usb-serial - 06/05/2006 16:32

But no matter how many times I flash the kernel, it doesn't get any further. I've also tried the stock kernel posted on your site with no difference.

Looking back in my history file, it looks like one of the times I failed to upload it properly, I accidentally typoed "1000" as the address to upload to instead of "10000". So I figure I've wrecked something there.

Of course, now I've booted into Ubuntu so that I can use the upgclient that comes with emptool, but emptool won't build.

Typical.
Posted by: wfaulk

Re: software upload over usb-serial - 06/05/2006 16:43

Okay. Phew.

After uploading c000 and e000 extracted from the 2.0 .upgrade file, everything started working okay.
Posted by: mlord

Re: software upload over usb-serial - 06/05/2006 17:43

Quote:


I accidentally typoed "1000" as the address to upload to instead of "10000".
After uploading c000 and e000 extracted from the 2.0 .upgrade file, everything started working okay.




Good stuff, Bitt!
Posted by: wfaulk

Re: software upload over usb-serial - 06/05/2006 20:45

Thanks. I try.
Posted by: altman

Re: software upload over usb-serial - 19/05/2006 14:01

Yep, you would have overwritten the c000/e000 parts hence it'd not boot a kernel (as the e000 part is the shim that actually calls the kernel, and that's the bit called by the write-protected bootloader at 0000.

Hugo