This USB to Zipit Dock adapter and a special kernel makes USB host mode for the Zipit possible. Previously, the cheap and hackable wireless client needed a hardware modification to enable USB support. The new kernel bootloader, called U-Boot, makes the internal alterations unnecessary (see the demo after the break). Now the only caveat is one of voltage. Zipit only supplies 3.3V when running on battery so your choices are to only use USB when the Zipit is plugged into a charger, or use a powered USB hub. But if you’re already building a hub adapter it shouldn’t be too much trouble to add in the option for a battery-powered hub.
So can we play our NES games using a USB controller now?
[youtube=http://www.youtube.com/watch?v=Mex0PWkDOoI]
[Thanks Geordy]
If I’m not mistaken U-Boot is a sophisticated Boot Loader, and not a kernel.
u-boot is a bootloader, not a kernel, but still, this is really neat news. I’m kinda thinking of buying one.
apparently is only usb 1.1? (max hypothetical speed of usb 1.1 is 12Mb/s) well, still useful.
From the blog post: “The full featured U-Boot bootloader replaces the original Z2’s blob bootloader. With U-Boot, you can run scripts at boot time that check for and run applications, kernels, etc from locations in flash or an SD card.”
So the above comments are correct, it isn’t a kernel, but rather a bootloader that allows the initialization of the USB host drivers, something which was not previously possible… it seems.
The Zipit seems to be a fair buy at $40-$60, then another $5-10 for that custom USB hub. Hell I’ve seen portable knock-off gaming devices for more than that.
can you run irc on this?
@johannesburgel
You are correct… U-Boot is a Bootloader.
@Johannesburgel: thanks, fixed.
In one expectation we’d reasonably expect that USB devices like Drives, Wi-Fi, Keyboards etc would be potentially usable this way. IF that’s made a reality, these boxes may become a lot more useful.
Before mozzwald got ahold of the USB Host information GPSFan had already tried keyboards, mice and a thumb drive and they all worked wonderfully. The wifi dongle he tried partially worked but that was many kernels ago so the situation might be better. The only things he didn’t try and confirm worked were USB LCD displays and they will probably not work or probably not work well as the majority of the ones I have found are USB 2.0
poor zipit creators. they have probably never sold their overpriced messaging plan. i like to watch the progress. when it gets useful enough i’m gonna buy a few. otherwise its android tablets 4 teh keedz
@Peter: yes, you can run irc on this. Actually, irc is probably the only really useful application for Z2 ;)
@jeditalian
If anything, the ZipIt 2 has gone exceptionally well for them. They knew there was a strong following for the original ZipIt in the hacking community, so they capitalized on that with the second version of the hardware by opening up as much of it as they could. It’s a powerful, easily extendable, and above all else cheap, platform to work with; so hackers buy them up.
At the same time, they are still selling the device to parent’s and teenagers who have no idea about the other community that has developed around the hardware.
No, U-Boot hardware init has nothing to do with Linux kernel hardware init. The only thing U-Boot has to do is init the DRAM correctly and load and execute the Linux kernel from some memory media.
The rest (init of PXAUHC etc.) is solely up to Linux kernel.
Though on other devices, it’s possible to use PXAUHC even in U-Boot.
I didn’t add this PXAUHC support into mainline Z2 Linux kernel source nor U-Boot source (which this uses) as this is non-standard hack.
Now if only someone can port PS Groove to it :)
Wouldn’t it be rather trivial to add a boost converter to the “USB to Zipit Dock Adapter” they mention in the original article? That way, you could have 5V (though probably quite low current, but might be enough for a keyboard / USB stick)
Why not use a DC-DC switching converter to supply the +5V for the USB?
I might to buy one of these to hack now and maybe see if I can add that improvement.
man I remember going to all the target stores in my area looking for one of these. Never got to find one.
Couple questions, doesn’t the z2 already have wifi? Why would you need to use wifi through usb?
Can you hook up two thumb drives to the hub and copy between the two?
And can it run freenas?
Before I toss my “using this hack” comments in- I have to mention an often overlooked aspect- We’re all dependent upon the kindness of folks who have worked hard at unlocking this hardware’s functionality. And we need to share reports about our projects using their code..
That’s said also to remind us about how important feeding back our user reports can be. The developers of software that unlocks devices cannot try their code with all of the USB stuff in the world. So- our reporting pass/fail reports about USB stuff to developers that ask us to- is a Very Good Thing. Both for the developers and everyone else.
Moving on to my idea for using the unlocked Zipit.
I have a 2gb music player/FM transmitter that’s built into a case style like a phone’s car charger. Micro Center often sells open box returns of similar units for<$20. It has a USB port for song loading/playing music from Flash Drives. If it would be interoperable= controllable- with the USB Host modded Zipit? Then it might be used to have a FM transmit output from the Zipit. I do accept that some of the details will be non-trivial. But if it were trivial, it might not be worth space here.
There's a few "interesting" social hacking applications for a compact WiFi remote controllable FM transmitter.
@Nitori I expect a DC-DC converter would be murder on the batterylife of the thing.
I thought that he just ran a washing machine from the console while the noise appear.
Regarding the DC-DC converter hack, I’ve been trying to do this and have not been able to get it to work properly. One MAJOR problem I have with the DC-DC converter is that if I hotplug the dongle into the back of the Zipit, the whole device dies. I’m assuming this is from a voltage drop but I’m not sure. Even without the hot plugging though, I’ve still not been able to make it work for some reason. I DID however find a DC-DC converter with nearly perfect specs that is small enough to fit into the expansion connector housing. And I disagree about murdering the battery life. If you are just using some low power device such as a USB memory key, the dc-dc converter won’t be drawing very much current. Remember that’s one of the benefits of switch mode power supplies. Here is a picture of what my adapter looks like http://www.notanon.com/usb_dongle.jpg
@Geordy, it’s cute to say switched uses less power, but there’s a relationship between voltage and power you know, 60mA of 3.3v is not the same as 60mA at 5v, and 5 volt is 1.5 times 3.3v, so you don’t only have the loss from the conversion circuitry but you need to count on the reality that what may seem a low/doable (milli-)ampere use on 5v is a much higher pull on 3.3v from its perspective, and I’m sure the battery on that thing has severe limitations.
But I guess it can’t harm to give it a shot, and you can also mod the battery of course, install something beefier, or double them.
And I like your hacking attempts.
Another idea though might be to use the powerinput and connect a battery to that, you’d still be running on batteries but the device will think it isn’t and that way you get the 5v on the USB and have a longer batterylife, then you’d need to build a nice case-attachment and a charger though.
@Mike, that’s a good point about 3.3v vs 5v being much different amperage-wise. I’ve not tried measuring the amperage between the boost converter and the Zipit yet but I think that would be a good next step to see what it’s actually pulling. I certainly wouldn’t try to power a hard drive or even a hub off of that dc-dc converter but a small memory device or even a mouse SHOULD work. The device as shown in the picture DOES seem to work as far as power is concerned. I think my problem with devices not recognizing stems from a grounding issue or something more along those lines. The expansion port was originally designed with an add on camera peripheral in mind although I’m sure that design worked on the 3.3v.
I mean @whatnot. The comment came through weird in my email :)
U-Boot and an under-powered USB port? This sounds a heck of a lot like the Sheevaplug, but focused on end-user stuff instead of server processes.
I wish the Zipit had anywhere near the amount of memory of the SheevaPlug…