eblack wrote:From my first message in this thread:
eblack wrote:To get OpenOCD working, I copied the sheevaplug.cfg from my host's OpenOCD (/usr/share/openocd/scripts/board/sheevaplug.cfg) to overwrite the corresponding file in the SheevaPlug Installer (*installer_root_directory*/uboot/openocd/config/board/sheevaplug.cfg). If this file does not exist on your system, you can get it here -
http://pastebin.com/pXd5ApC5
The installer may still display error messages after doing this, as I explained in my first message in this thread, but this ought to work.
Hey eblack,
okay, so I have good news and bad news (more good than bad). I copied the sheevaplug.cfg file as you suggested (I had done it once before in a test, but had copied back the original). It finally works. However (here's the bad part), I wanted to install Arch Linux ARM to my SD card, but when I ran the runme.php command, the plug barfed when it was trying to create one of the partitions on the SD card. I don't have the error message cause it was late and I wanted to get to bed, but it says something like it couldn't find /dev/mmcblk0p2 or something like that. So, I re-ran the runme.php command but this time had it install to nand (command used: sudo php ./runme.php nand) and it worked. I actually didn't get any errors like you had, but it installed. So, my way around the not being able to install to the SD card is to follow the following directions and I think that will get it to work:
http://plugcomputer.org/plugwiki/index.php/SD_Card_As_Root_File_System. Kind of a pain/extra step, but I think it should work. I'll update after I get it going.
Thanks for your help and patience. I'm a bit on the newer side to working with these plugs and linux.
Here's a recap of what I did:
I'm running Ubuntu 10.10 virtually on my mac osx snow leopard.
I first followed the following to upgrade Uboot:
http://www.youtube.com/watch?v=RIcTWya7TQAI followed the Arch Linux ARM tutorial to prepare a USB Stick with the pluggapps package and the latest kernel files.
I modifed the runme.php file as you suggested earlier, which fixed the OS errors reported.
Since I was getting errors (openocd) I followed the trouble shooting section of this page:
http://www.plugcomputer.org/plugwiki/index.php/SheevaPlug_Installer#TroubleshootingI had to install on my virtual Ubuntu 10.10:
- Code: Select all
sudo apt-get install libftdi1
- Code: Select all
sudo apt-get install openocd
I did the following (these instructions are also at the troubleshooting link above):
cd path/to/sheevaplug-installer-v1.0/uboot/openocd/
mv openocd openocd32
(to find the location of your installed openocd file do the following command:
- Code: Select all
which openocd
ln -sf ../../../path/to/openocd-0.2.0/src/openocd openocd
Then I followed eblack's post on copying the sheevaplug.cfg file to the installer directory.
As mentioned above the only snag is that when I ran the runme.php mmc the plug didn't like trying to install to an SD card, so running to nand (internal flash) worked.
I hope this helps others who run into the same issues.