> > > Bodhi isn't a machine, he needs the dts, the > > > human-readable sourcecode used to make the dtb. He doesn't need to be, dtc works both ways. But I'll be kind and attach it anyway ;)by megal0maniac - Debian
Hah! It does work. Thanks for pointing out my error. Unfortunately, it won't boot the sheevaplug image - it gets stuck just before it prints out the amount of RAM. 99 % [....................................] U-Boot 2015.10-tld-1 (Nov 08 2015 - 21:01:07 -0800) Marvell-Sheevaplug SoC: Kirkwood 88F6282_A1 DRAM:by megal0maniac - Debian
I did saveenv after making changes - looks like auto_recovery needed to be set to 'no' in order for it not to boot from flash every time. That's all well and good, but it appears to set itself back to 'yes' after booting from flash :/ Another good reason to run a custom u-boot... I'll try the chain loading in the morning. Thanks for all the advice!by megal0maniac - Debian
Quotemost newer kirkwoods have a nice feature, they can load an u-boot over serial connection, no need to JTAG. Unfortunately it doesn't work with this version of u-boot ./kwboot -b /home/michael/uboot.2015.10-tld-1.sheevaplug.mtd0.kwb -t -B 115200 /dev/ttyUSB0 Sending boot message. Please reboot the target...| Sending boot image... xmodem: Bad message It also seems to be ignoringby megal0maniac - Debian
Having installed firmware-libertas and basic configuration utilities, wlan0 is the 5GHz radio wlan1 is the 2.4GHz radio eth0 is all 4 of the LAN ports (it defaults to a dumb switch) and eth1 is the WAN port. TODO: LED and possibly some kind of control over the switch, but otherwise it all works quite nicely. The stock u-boot doesn't seem to support the "if" command, but Iby megal0maniac - Debian
That was easier than I expected... Network is connected on LAN port 1. I was moving the cable around, hence the long time to get a lease. Hit any key to stop autoboot: 0 Viper>> setenv bootargs_usb 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10' Viper>> setenv load_usb 'usb start; ext2load usb 0:1 0x800000 /boot/uImage; ext2load usb 0:1 0x1100000 /boot/uby megal0maniac - Debian
It works! :D Thanks! Setting the label did the trick. I'll try again just now with a clean rootfs and post the bootlog. I kept the .dtb that I got from OpenWRT, but I can already see that drivers are going to be an issue. Will post back soon.by megal0maniac - Debian
Just for fun I tried this. The USB contains the rootfs for my Dockstar (and I added the .dtb for this device, but I don't know whether u-boot supports it or how to load it. No, I don't really know what I'm doing ;) ) EDIT: I stole the .dtb from OpenWRT bins somewhere and stuck it in the kernel image using 4b here It seems as though it tries to boot before the USB drive has enby megal0maniac - Debian
uEnv Viper>> printenv bootdelay=0 baudrate=115200 loads_echo=0 ipaddr=192.168.1.10 serverip=192.168.1.254 rootpath=/mnt/ARM_FS netmask=255.255.255.0 run_diag=yes console=console=ttyS0,115200 badcount=0 bootbadcount=0 uenvbadcount=0 senvbadcount=0 buffbadcount=0 fs_bootargs=unused mtdparts=mtdparts=nand_mtd:512k(uboot)ro,128k@512k(u_env),128k@640k(s_env),26m@2m(kernel),26mby megal0maniac - Debian
Jumping on the bandwagon while I'm online... I wrote a guide for installing OpenWRT on flash on the Dockstar. I used the JFFS2 image, but I have no idea how these instructions translate when using ubifs. Any pointers? The last jffs2 image I got to work was 12.09, nothing after that gets past "Starting Linux" and I have no idea what to do with ubifs. I'm running bodhi'sby megal0maniac - Off-Topic
Wow. I'm quite encouraged by the responses here :) The guy from wolfteck HAS gotten Debian to run, however he abandoned the project as soon as OpenWRT gained some traction. There was also limited hardware support and could not co-exist with a loadable image on flash (from what I understand - uImage was on flash and rootfs on USB) OpenWRT does support the device now fully, including bothby megal0maniac - Debian
I've recently come into possession of a Linksys EA4500 router. It's currently running OpenWRT (since it makes the most sense for a router) but I'm very curious about the possibility of running Debian on it. It has been covered here: http://www.wolfteck.com/projects/candyhouse/ How viable would it be to update the u-boot as we do with the other platforms? e.g. Dockstar (I haveby megal0maniac - Debian
So I followed the approach from this site while I was away from the forum: http://plume.redox.ws/article13/dockstar-debricking-jtag-with-buspirate The u-boot is loaded into RAM, booted, then from the u-boot console written to NAND. The u-boot header is U-Boot 2010.09 (Oct 23 2010 - 11:49:22) Marvell-Dockstar/Pogoplug by Jeff Doozan It boots successfully, I write the data back to the NAND,by megal0maniac - uBoot
I'm afraid I did not keep a log. I did everything in a live Linux environment because I couldn't get OpenOCD to cooperate on Windows. Good news, though. I managed to talk to it again over JTAG. I installed a more recent version of OpenOCD and it is flashing as I write this. Once it's done, I'm not exactly sure which uboot it will start with, but would it be possible for yoby megal0maniac - uBoot
Hi bodhi Thanks for the link. That's the u-boot which bricked my Dockstar :P Do you perhaps know which adresses I need to write to? I suspect that's the problem because this u-boot is running fine on another Dockstar I have. My main problem, however, is this stupid JTAG issue. I don't know it well enough to know what that error even means. But given that I can halt the devicby megal0maniac - uBoot
Hello So in the midst of procrastinating, I decided that my Dockstar's u-boot desperately needed upgrading. Of course. I downloaded the latest one from this forum and attempted to flash it from uboot itself (tftp then write to flash) After doing this, I had a brick. I managed to recover it using openocd and a buspirate, but the u-boot I flashed was a bit weird and didn't have suppby megal0maniac - uBoot
You're such a champion, bodhi. I've been using your stuff for ages and I just had to say it. Thank you for saving me hours of fun ;)by megal0maniac - Debian
Hi all I've created a wiki page which details installation of OpenWRT onto the internal flash (or connected USB stick) of a Dockstar. I spent an entire weekend trying to get this right on my own device, while it only really requires 20 minutes from start to finish. I got annoyed with the outdated / incorrect / over-complicated instructions on the OpenWRT wiki so I wrote my own guide, whby megal0maniac - Off-Topic
Thanks for this, a very detailed and helpful write-up :) I'm using this guide to install Wheezy, as all other avenues have failed. However none of them has been quite so detailed, so I have high hopes :) As an alternative, I'm using OpenWRT as the base system to install from. It's handy because it's running a 3.2 kernel and is already on the Dockstar. And rootfs+uImage oby megal0maniac - Debian
I've tried to install Wheezy onto my Dockstar, but it refuses to boot. It gets to [ ok ] Starting OpenBSD Secure Shell server: sshd. and stays there indefinitely. sshd does not start. I built the system using the following procedure: debootstrap from OpenWRT (because of same architecture and similar kernel) uInitrd and uImage were built on Linux Mint with uboot-mkimage and copied.by megal0maniac - Debian