Un-Bricking Linux Plug Computers 68
An anonymous reader writes "Accidentally 'bricking' a little Linux plug computer doesn't have to be forever. This is a good howto on repairing a non-booting Linux plug computer. For example if it uses the uBoot environment then it already has some good built-in recovery tools. The article also mentions ESIA, the Sheevaplug installer, openocd, and GuruPlug."
Oblig. pedantry (Score:5, Interesting)
Isn't the fact that you can "unbrick" it mean it's not really bricked?
Also I think this requires JTAG, which comes with Sheevaplug but is sold separately from Guruplug, and AFAIK is not available on the PogoPlug, et al. So, not quite so useful for me (I just picked up a PogoPlug on the cheap with the intent of running Plugbox Linux [plugapps.com].
Re:Oblig. quote response to oblig. pedantry (Score:2, Funny)
So what you're saying is that you don't think that word means what he thinks it means?
Re: (Score:2)
Re: (Score:2)
Re: (Score:3)
If you've gone a
Re: (Score:2)
some way of speaking RS-232 at suitably low voltage.
Ok, I'll bite. How do you speak RS-232 "at suitably low voltage", since RS-232 includes the voltage limits as part of the standard? What do you mean by this?
Re: (Score:3)
Well, -15v is pretty low compared to +15v. Both are officially the lower and upper bounds of the RS-232 signaling voltage range, after all. Certainly, the common -12v "mark" level is much lower (i.e., less positive) than the 3.3v or 5v typical for logic levels nowadays.
Yes, GPP mistakenly conflated "serial" and "RS-232". I'm sure he meant "logic-voltage asynchronous serial". And I'm sure you understood, but that sure was good electronics pedantry.
Re: (Score:2)
Re: (Score:2)
Or this...
http://www.ftdichip.com/Products/Cables/USBTTLSerial.htm [ftdichip.com]
Re:Oblig. pedantry (Score:5, Informative)
Even an increasing number of supposedly-genuine RS-232 devices(especially laptops) don't generate anything near the +-12 swing of the old days. 12v/0v is more likely, or even 5v/0v, though such devices tend to, at least, have better tolerance for over-voltage than the little guys do.
Because it is so close to RS-232(all you need is a dumb level converter, no logic/protocol translation required), I tend to fall into calling it "RS-232" colloquially, even though it technically isn't.
Re: (Score:2)
It does all get a bit confusing and has been a bit of a frog boiling. The first deviations would fully inter-operate with fully compliant RS-232 devices provided the cable wasn't too long, so they called it RS-232 even though it wasn't quite. It's been pushing the limits ever since until now we get stuck with "rs-232" connections that will actually burn out if they are connected to a genuine rs-232 device. I was more or less OK with the first deviations, but the latter situation is past the limits IMHO. We
Re: (Score:1)
Re: (Score:2)
For cost and board space reasons(and because they are not intending to address the "terminal across the electrically noisy building from the minicomputer" use case), they omit any voltage conversion or protection circuitry and simply depend on the attached hardware to do either 5v/0v or 3.3v/0v, or whatever their logic-level happens to be.
Actually, it's because they want to run on 5.0v and 3.3v and don't want to have to include an inverter to produce 12V to do RS232. All of that stuff is handled in the level converter chip so you don't need any of it onboard. And they will only use serial for the boot loader installation process, and the cable for connecting almost certainly has the serial interface IC built in.
Re: (Score:2)
Re: (Score:2)
Meh... a lot of folks changed uboot on their sheevaplug. Someone in the community released a version that was patched to be able to initialise and read from the SD slot so that you could boot from it.
Very useful, no bricks I know of.
Re: (Score:2, Insightful)
You haven't done due diligence to pedantry at all; I'm disappointed.
Isn't the fact that you can "unbrick" it mean it's not really bricked?
How bricked is "really" bricked?
I always understood brick to be a measure of subjective usefulness. So if my cellphone is bricked it doesn't necessarily mean it's completely unrecoverable, just that it's not practically recoverable in time to be useful to me, or it will be expensive to recover it, or I don't know how to recover it.
I'm doubtful there's a good objective definition. For instance, you might say "having to replace hardware const
Re: (Score:3)
They were only literally bricked so they could be easily repaired. Now, if they had been figuratively bricked they'd be literal bricks.
goin' for the quote here: (Score:2)
Re: (Score:2)
Re: (Score:2)
Or lapidated by way of wet clay with binder fiber that has been cast into a rectangular prism, air-dried, and kiln-fired.
Re: (Score:2)
is that written in stone?
Re: (Score:1)
Why would you unbrick something that isn't bricked?
Agree: it's NOT "bricked" (Score:5, Interesting)
Hear hear! Let's recall that "brick" basically means "turning your equipment into something completely worthless, equivalent to a brick".
I propose the following "USB cable" test:
Has your device been rendered so unusable that you'd be willing to give it to me if I gave you a USB cable?
If the answer is "yes", then you have bricked your device. Congratulations.
If the answer is "no, let me work on this for a bit --I think I can restore partial functionality by pressing this reset button for 30 seconds, and then at least it will function as a glorified wall clock", then this is not "bricked".
If you say, "This is the third time I've bricked my device --I had to SSH into it and do 'sudo reboot'" --then the brick is in your brain.
Now, having said this, it's possible that the owner of the computer didn't know it was possible to undo the damage, in which case, yes, the device is bricked because he might as well have traded it in for a USB cable, prior to knowing how to salvage his device.
You can substitute any marginally useful but cheap piece of equipment for "USB cable".
Disclaimer: no, I haven't RTFA.
Re: (Score:2)
Your definition of bricked is worthless since we already have words for burning out the hardware and anything else can be fixed given sufficiently heroic measures (including de-soldering the flash and soldering in a socket so you can re-flash extyernally)..
Perhaps a better definition is that the device has been placed into a state where normal end-user procedures are no longer adequate to recover. Soldering pins onto the JTAG interface and re-flashing that way probably counts. Soldering in serial connection
Re: (Score:2)
A better definition is that the device has been placed in to a state where extraordinary, heroic and skilled actions are necessary to restore any kind of functionality. The average consumer can "brick" a PC to the point where he can't recover it just by sticking gum in the power port on the PSU, so let us not use them as the benchmark for "It's a brick."
Re: (Score:2)
Thank you. I have faith that Jesus sent you to speak these words of truth. Desperately needed to be said.
While you're at it, would you mind visiting upon the bag of hammers running Phoronix? Somebody needs to explain to them what the word "regression" means (and doesn't mean).
Re: (Score:2)
I dub this the "KWT Test for Brickedness" and do name thee duke of East Looe for thy services.
Re: (Score:1)
With the PogoPlug, all you're doing really on the device is stopping a shell script that's running, and installing a new bootloader. Everything else gets installed on whatever storage device you attach to it, so I think it's probably fairly difficult to properly brick it (although there are more obscure NAND installs that do have the potential to really screw it up).
Good luck with your PogoPlug. I bought one in the new year sales, £20 off, and I ran Plugbox Linux on it for a couple of weeks, but I rea
Re: (Score:3)
With the PogoPlug, all you're doing really on the device is stopping a shell script that's running, and installing a new bootloader. Everything else gets installed on whatever storage device you attach to it, so I think it's probably fairly difficult to properly brick it (although there are more obscure NAND installs that do have the potential to really screw it up).
I actually think Debian is a more obvious choice for these devices than an Arch-based distro as it has more packages than any other distro and has good support for ARM. In my case I really wanted a number of packages that were in Debian, such as byobu and procmail, and I use Ubuntu on the desktop and have always liked Debian-based distros, so it seemed the obvious choice.
Funny story: I actually came across your blog yesterday as I browsed for info about setting up a mail server on the PogoPlug. I'm not sure I'll do it (getting a web server and website up and running is first), but just considering some options. I'm actually an Arch user normally, but I tend to agree that Debian might be better since I don't care about having bleeding edge stuff on there. Thanks for the info!
Re: (Score:1)
Miracle Max: It probably owes you data huh? I'll ask it.
Inigo Montoya: It's bricked. It can't talk.
Miracle Max: Whoo-hoo-hoo, look who knows so much. It just so happens that your friend here is only MOSTLY bricked. There's a big difference between mostly bricked and all bricked. Mostly bricked is slightly unbricked. With all bricked, well, with all bricked there's usually only one thing you can do.
Inigo Montoya: What's that?
Miracle Max: Go through its hard drive and look for loose data.
Re: (Score:2)
Yep. As long as you can still print all env values it is not dead yet.
I made the mistake of not printing the values of a cheap and cheerful Chinese tablet before trying to smack a abrasive build on it. BAD mistake. Looks like it had a non-standard framebuffer offset so I will be guessing it till doomsday now...
Re: (Score:2)
Isn't the fact that you can "unbrick" it mean it's not really bricked?
Eh... I've complained about this before, but for me the big difference is whether or not an easy fix was available at the time it happened. I mean if they went out of their way to create a tool to fix it later, then I don't personally have an issue with calling that 'de-bricking'.
Then again, I don't like getting fussy about the term 'brick' until people use it to mean 'it froze'.
Re: (Score:2)
Nothing with JTAG or whatnot is really brickable at all, it's just a brick to folks that don't have the proper tools.
Anyway, seems like a non-story to me. The sheevaplug having built in USBJTAG was one of the selling features.
Re: (Score:2)
grrr. forgot slashdot drops angle brackets. The sheevaplug has a JTAG interface that exists over USB. USB-"DOUBLE_ENDED_ARROW"-JTAG
Re: (Score:2)
BTW there's a new plug just release, the DreamPlug. A bit like the SheevaPlug bit with two Ethernet ports & wifi. Looks like a cool little beast, although the CPU like the sheevaplug is a bit underpowered.
Is that the one with the REALLY NOISY FAN, because going to two gig-E ports made it too hot to run without a blower?
Just an OS reinstall (Score:2)
This is just an OS reinstall. It's not like going in through the JTAG port and loading the firmware.
These devices exist in the space between hard embedded systems and OSs with a user interface. With hard embedded systems, you do all development on another machine and download an entire image. With user-oriented OSs, you can interact with the machine in some reasonable way. These things live in a limbo between those two points - smart enough not to be total slaves, but not smart enough for standalone dev
Re: (Score:2)
Compiling on a 1.2GHz ARM with 128-512MB of RAM(depending on variant), when every cheap Wintel/Lintel is some 2+GHz dual core beast with 3GB of RAM is, certainly, somewhat masochistic; but the system can run perfectly normal debian ARM, compile natively, and either r
My SheevaPlug died after 13 months.... (Score:2)
Re: (Score:2)
Mine did too - but it did quite a lot of damage to the electronics when doing so, so a replacement power supply did not revive it.
Dual NICs (Score:2)
Anybody know if any of these little beasties come with two NIC ports?
Re: (Score:2)
Sheevaplug doesn't (at least not the first generation ones), but it does have a USB port, so you could potentially use that...
Re: (Score:1)
Oblig Non-Pedantic Question? (Score:3)
I'm serious, I would like an answer b/c I have been wanting one since the first of many, many, many slashvertisements appeared here two, three years ago. Problem is, everything I read on the outside says they fail prematurely and warranty fulfillment is spotty, at best. Am I wrong, Dude?
Re: (Score:2)
If it is the same device I once read about, yes, they fixed the over-heating problem.... if you like to have a siren where you plugged in the thing. AFAIK the installed a very loud fan.
Re: (Score:2)
I read on their site that they recommended running one of the network ports at 10/100 in order to manage the heat until they had a "solution". I was not comforted.
should android phones be any different? (Score:2)
i realise locked down bootloaders are about control, but a brave hacker-friendly vendor would say 'here are the keys, no support offered but if you happen to brick your phone, here's how to factory restore'.
Re: (Score:2)
Re: (Score:2)
well yes but given nokia's reluctance to offer a successor amidst several s^3 releases, meego's future seems more precarious each month - despite a promise of something big this week.
Sheevaplug PSU problems (Score:2)