Well, you could use ZFS on Kirkwood devices if you disable some features. But without these features, ZFS would totally suck. So there's absolutely no point in using it.by ebbes - uBoot
johnklos Wrote: ------------------------------------------------------- > ebbes: Thank you. I'd love to hear any feedback > you have. The serial port issue, by the way, was > one of the first things I ran across when I first > tried NetBSD, too, but the fix is in the tree, so > you can build a kernel from -current and it > shouldn't give any problems. Ahh, ifby ebbes - uBoot
Nice How-To, I always wanted to try NetBSD, but never succeeded. Last try (only booting kernel without rootfs, built it using SHEEVAPLUG config) however resulted in serial console garbage, regardless of my baud rate. I'll definitely try your kernel :-) EDIT: works fine. Maybe my build failed because it's based on 6.1.3 instead of -CURRENT? Or does something in your config significantlyby ebbes - uBoot
Exactly the same. Taken from my stock Pogoplug v4 environment. I even tried a build with enabled L2 cache (as in stock U-Boot, which in turn renders recent kernels unbootable), no success. Only assumption is that my mv_uboot ATAG is not correct as CE ATAG seems to be ignored when looking at kernel source. If you want to test, here is my (very quick and dirty, hardcoded values and so on) patchby ebbes - uBoot
When I boot an old U-Boot image via UART, these appear in environment, so I assume they're still there. However, this should not be the problem cause they are definitely not passed via ATAG, so they are read by pogoplug_xce kernel module, but kernel does not even boot, so this module cannot be active.by ebbes - uBoot
I actually set mainlineLinux=no, but I doubt it has any effect: there is no reference at all to this env variable. However, in original U-Boot, there are some references: static void setup_ce_tag (void) { unsigned int cpu = 0; #if defined(MV78200) && defined(DUAL_OS_SHARED_MEM_78200) cpu = whoAmI(); #endif params->hdr.tag = ATAG_CE_UBOOT; params->hdr.size = tag_size (tagby ebbes - uBoot
By the way: does anyone know how to boot stock Pogo software with a recent U-Boot? I tried it, but it always fails (i.e. no further output) after Uncompressing Linux... booting the kernel.by ebbes - uBoot
My current build is available here. But please don't test it unless you've got working serial connection until it's been confirmed to work by more testers. Regarding your Mac Address: Does printenv show an ethaddr value? If not, you could set it using setenv ethaddr 00:25:wh:at:ev:er and saveenv. However, at least with my builds, ethaddr can be reset, I think this was not possibby ebbes - uBoot
I rather think this is by PCB design. GoFlex Net seems to have SATA directly powered. 6281 does also have SATA ACTn GPP modes.by ebbes - uBoot
bodhi Wrote: ------------------------------------------------------- > Great works, ebbes! You've just made the Pogo V4 > much more interesting for a lot of people :) > > Who would have thought that the solution was in > plain sight alll along:) Yeah, I was surprised that it's so simple to fix. I hope that these patches work flawlessly for everyone so that thereby ebbes - uBoot
t3ch42 Wrote: ------------------------------------------------------- > My > apologies again,( but for running on this time) is > the version with ebbes patch a "cleaner" uboot? > Trying to understand what the issues are in the > existing vs. the work on the new versions(aside > from the missing sata of course; the work shown > does seem promising though).by ebbes - uBoot
Don't want to do an EDIT⁶. And this post is possibly interesting. At least I think so. U-Boot 2014.01-pogoplugv4-dirty (Mar 19 2014 - 15:01:20) Pogoplug v4/Mobile SoC: Kirkwood 88F6281_A1 DRAM: 128 MiB WARNING: Caches not enabled NAND: 128 MiB MMC: kwsdio: 0 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: egiga0 Warby ebbes - uBoot
It turns out that it really isn't mvHddPowerCtrl that turns on the HDD... Even converting it to a dummy would still spin up the HDD. bodhi Wrote: ------------------------------------------------------- > ebbes, > > We might have to reset the SATA PHY. My theory is > that is was set (in error) to a Shutdown state, > thus need to be brought up to Operational by > Uby ebbes - uBoot
Today I finally got my Pogoplug V4 and after soldering a uart connector, I can reproduce the problem. I can confirm that the hard drive does not spin at all while it's working when using external power. I don't know what's the problem yet, but now I will try to find and fix the problem. I'll begin in the next few days... EDIT: okay, I lied about beginning in the next few dby ebbes - uBoot
Okay, gonna be fun digging in the driver. Somehow sata power has to be enabled... See my last post's edit (your post was not yet there when I started editing :D).by ebbes - uBoot
Okay, so this is definitely some kind of power issue. My drive and markweng's drive are actually the same model (except for revision) and your drive is obviously the same (is it spinning at all? Could you start uboot and plug it into SATA port once you reach the u-boot prompt?). I don't think that timings are wrong, somehow the initialization sequence is wrong. The question is: do otheby ebbes - uBoot
bodhi Wrote: ------------------------------------------------------- > > bodhi, could you please test your failing drive > > inside your eSata-box? > I've tried this. The drive in eSata enclosure is > 2.5", so I took it out and plugged in the SATA > slot. And it behave the same way. > > … Could there might be a bug in the Pogo > Mobile/V4 contrby ebbes - uBoot
Okay, not cool. One more thing you could try: Power on the Pogoplug (or complete UART booting) without the hard drive attached. Once you are at the Pogo4> prompt, plug the hard drive in and try ide reset. If that works, it might be a valid workaround. If not, then I'll have to start digging deeper into the Marvell SATA driver. Since the driver seems to use only self-defined functions anby ebbes - uBoot
Okay, I tried to change the initialization sequence to more closely match Marvell U-Boot. Please try this file. But if you don't feel like the drive is rotating, then maybe staggered spin-up is still a valid option...by ebbes - uBoot
It works with all the drives I was testing... Problem is I only have a Pogoplug Mobile with SATA cable soldered. Power is always drawn through USB as I didn't have a SATA power connector to solder onto the board. So as of now we can't rule out whether this is just a timing issue or some sort of power issue. Is the hard drive spinning (or starts spinning) when you power on the device?by ebbes - uBoot
Okay, I finally pushed my branch to Github. See https://github.com/ebbes/u-boot-pogoplugv4. It's based on 2014.01, I don't know whether everything will behave well on older releases of U-Boot. If someone else should want to test it: I attached a build. Don't flash it to NAND if you don't know what you're doing (although this image is prepared to be flashed and works jby ebbes - uBoot