How do I apply a .upgrade file from Linux?

Posted by: Roger

How do I apply a .upgrade file from Linux? - 27/03/2019 20:39

- emptool doesn't build on recent versions of Ubuntu.
- nor, it turns out, even on debian potato under docker.
- the upgclient binary mentioned on the BBS no longer exists.
- I can't use Mark's upgrader, because I don't have a working disk in this player, which means that it doesn't appear on Ethernet.
Posted by: mlord

Re: How do I apply a .upgrade file from Linux? - 27/03/2019 21:04

Use one built on an older system then. I have attached static linked versions here for you.
Posted by: Roger

Re: How do I apply a .upgrade file from Linux? - 27/03/2019 21:26

Thanks.

Unfortunately, I'm getting "ERROR: 9 Flash program failed" frown
Posted by: Roger

Re: How do I apply a .upgrade file from Linux? - 27/03/2019 21:30

What I've tried so far (using mSATA disks with a PATA adapter):

- I used your upgrader to extract the parts from the upgrade file.
- I used your download to write the various flash parts.
- I managed to persuade minicom to drop me at the "pump>" prompt, and got it to partition the disk, but it turns out that the protocol for sending disk images is a bit awkward, and basically impossible to sanely script in minicom. And I don't feel like writing any (probably Python) code this evening.

So: I've ordered a USB-to-mSATA adapter (as in: I literally pressed the Checkout button as you posted those binaries), which should arrive tomorrow. I plan to apply the disk image using that.
Posted by: Roger

Re: How do I apply a .upgrade file from Linux? - 29/03/2019 15:09

It lives!

Quote:
Est. Free Space: 223GB


My blog: Installing an mSATA disk in an empeg, wherein I use my Linux desktop PC and a bunch of Mark's utilities to persuade everything to work.
Posted by: mlord

Re: How do I apply a .upgrade file from Linux? - 29/03/2019 17:16

Peachy. I've now saved a copy of your instructions for the next time I might need to do something similar!

Cheers
Posted by: mlord

Re: How do I apply a .upgrade file from Linux? - 27/05/2019 17:34

I have been working on an updated bigdisk builder image, and one thing I have noticed is that using -b4096 on the mkfs.ext2 line results in some programs being confused about the actual size of the resulting filesystem.

Eg. "df -h" on the empeg reports a much smaller than expected size. That doesn't really matter, but I wonder what else might be messed up by it?

So.. I'm dropping use of -b4096 from the new builder.

-ml