Pages:  2
Linux Stuff / General Linux questions / Re: Fresh install of Wheezy
on: May 05, 2013, 06:49:00 PM
I don't think we ever had a system as simple as the Raspberry Pi where I just download a .img file and DD it onto the card, which is a shame, that technique is quite nice.
Your wish was done before you wished it
Download a image & dd it to a card http://www.downloadsnewit.co.uk/SD-images/Sheevaplug/all/Index of /SD-images/Sheevaplug/all
- Parent Directory
Hardware and U-Boot firmware / Hardware / Re: Bricked my Sheevaplug, Unbricked & upgraded at once -- HOWTO
on: December 13, 2012, 04:04:29 PM
I see that this message is still being refereed to & looked at, I've been busy with my Dream & D2. Today, I pulled out an old Sheevaplug that use to boot off of a SD card that must have been re-purposed for something else.
So I came back here to get it up and running, but I found a lot of the links are dead, so I have updated with LIVE links.
1. Go to http://www.plugcomputer.org/downloads/plug-basic/
In the Tools / Drivers section, click on "Sheeva Plug Installer" to get the SheevaPlug Installer
2. Go to http://www.plugcomputer.org/plugforum/index.php?topic=1134.30
Get u-boot-rd88f6281Sheevaplug_400db_nand.bin-pingtoo-patch.01, it's a link about
half way down the page:
3. Go to http://www.plugcomputer.org/downloads/plug-basic/
In the Plug Computer Software & Design Info v1.2 section,
click on "Plug SW Support Package Windows Host" to get
4. Go to http://sourceforge.net/projects/libusb-win32/files/
Click on link: Download libusb-win32-bin-126.96.36.199.zip (913.2 kB)
5. Go to http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Get PuTTY installer if you don't already use PuTTY
6. Go to
Click on links: 3/ --> 3.6/ --> 3.6.10/ --> release/ --> 1/, which takes you to:
Click on link: sheeva-3.6.10-Modules.tar.gz
Click on link: sheeva-3.6.10-uImage
Right click on sheeva-3.6.10-System.map and do "save link as"
7. Unzip libusb-win32-bin-188.8.131.52.zip, save to Sheevaplug directory.
Unzip SheevaPlug_Host_SWsupportPackageWindowsHost1.2.zip, drill down to CDM 2.04.16_SHEEVA,
save to Sheevaplug directory.
Untar sheevaplug-installer-v1.0.tar.gz, drill down into sheevaplug-installer,
save sheevaplug-installer-v1.0 to Sheevaplug directory
8. Open sheevaplug-installer directory, open another explore window where all files were
downloaded Move sheeva-3.6.10-Modules.tar.gz, sheeva-3.6.10-uImage,
to the Installer directory
9. Delete modules.tar.gz, rename sheeva-3.6.10-Modules.tar.gz to modules.tar.gz
10. Delete uImage, rename sheeva-3.6.10-uImage to uImage
11. Right click on u-boot-rd88f6281Sheevaplug_400db_nand.bin-pingtoo-patch.01 and right click and Cut
Go 1 directory up and into the uboot directory, right click and Paste
delete uboot.bin, rename u-boot-rd88f6281Sheevaplug_400db_nand.bin-pingtoo-patch.01
12. Install PuTTY
13. Edit the 3 text files in the uboot-env directory,
change the ethaddr entry in each to the MAC address from the sticker on the
bottom of the SheevaPlug
14. Insert USB Stick, copy the files in the installer directory: modules.tar.gz,
initrd, rootfs.tar.gz, uImage & sheeva-3.6.10-System.map
to the USB Stick, Eject the USB Stick and put into the SheevaPlug.
15. Install the FTDI drivers:
This step took longer to figure out, then all the other steps, so that I could
use the CMD to upgrade the uboot and connect to the Serial port,
I mean it was like a day or two
Open "Device Manager". Plug USB Serial cable from SheevaPlug to the computer.
Hardware will be found. Open the libusb-win32-bin-184.108.40.206\bin\ directory.
Run INF-Wizard. Choose the device with "interface 0" in the description.
Install driver. Right click on "SheevaPlug JTAGKey FT2332D B" in the Device Manager.
Update driver, Point it to the CDM 2.04.16_SHEEVA directory.
Right click on "USB Serial Port" in Device Manager, Update driver,
Point it to the CDM 2.04.16_SHEEVA directory.
16. Right click on "COM & LPT" in the Device Manager, Note the number of the new Com port.
17. Open Putty, Click on Serial at the bottom of Left pane. Change number of COM to new Com
port number change Speed to 115200, Flow control to None. Click on Session, select
Serial Option. change Serial line to new Com port, Put a name in the Saved Sessions,
click Save, click open.
ADDITION FOR WINDOWS 7
Go to sheevaplug-installer directory, cd to \uboot\openocd\
Download http://nil.rpc1.org/files/sheeva/OpenOCD-Win64.zip drill down into the
zip file to \0.3.0-dev\bin\ replace OPENOCD in the installer directory with the 64BIT version
from this zip archive
18. Open a CMD window and CD to the sheevaplug-installer\ directory.
Enter "runme nand", you should see the new uboot being installed. after
it's installed you should see the SheevaPlug being upgraded in the PuTTY window.
In case you your uboot isn't hosed but not set to boot off this USB, cut and paste the following then reset
setenv bootargs_root 'ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs'
setenv mtdpartitions 'mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs)'
setenv ethaddr 00:50:43:02:b2:ce
setenv real_bootcmd 'setenv bootargs $(bootargs_console) $(mtdpartitions) $(bootargs_root); nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000'
setenv bootargs_console 'console=ttyS0,115200'
setenv bootcmd 'run recover1'
setenv recover1 'setenv mainlineLinux yes; setenv arcNumber 2097; setenv bootcmd run recover2a; saveenv; reset'
setenv recover2a 'run recover3; setenv bootcmd $(real_bootcmd); saveenv; run recover2b'
setenv recover2b 'setenv bootargs $(bootargs_console) $(mtdpartitions) root=/dev/ram0 rw ramdisk=0x01100000,8M install_type=nand; bootm 0x00800000 0x01100000'
setenv recover3 'run recover4; nand erase clean 0x00100000 0x00400000; nand write.e 0x00800000 0x00100000 0x00400000'
setenv recover4 'usb start; fatload usb 0 0x00800000 uImage; fatload usb 0 0x01100000 initrd'
19. Login into the SheevaPlug, root password is the default "nosoup4u"
mount the USB Stick,
Enter: mkdir /boot; cp sheeva-3.6.10-System.map /boot/
depmod -eF /boot/sheeva-3.6.10-System.map 3.6.10
20. Your SheevaPlug should be back from the Dead
Linux Stuff / Linux distributions / Re: Debian Installer for d2plug
on: September 27, 2012, 04:16:11 PM
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x3000000 -e 0x3000000 -n "debian" -d initrd.gz uinitrd
use your D2Plug uImage, copy d2plug.uImage & d2plug.uImage to the 1st partition
Marvell>> fatload usb 1:1 0x2000000 d2plug.uImage
3157776 bytes read
Marvell>> fatload usb 1:1 0x3000000 uinitrd
2796264 bytes read
Marvell>> bootm 0x2000000 0x3000000
## Booting kernel from Legacy Image at 02000000 ...
Image Name: Linux-220.127.116.11-dove-5.4.2
Created: 2012-02-03 8:55:19 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3157712 Bytes = 3 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 03000000 ...
Image Name: Debian ramdisk 18.104.22.168
Created: 2012-09-27 22:20:28 UTC
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 2796200 Bytes = 2.7 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Kernel Image ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 22.214.171.124-dove-5.4.2
got this from http://dl.dropbox.com/u/308049/D2Plug%20Debian%20HowTo.pdf
Hope this helps
General Category / General Discussion / Texas Instrument's LAUCHPAD - Wow --> $4.30 including shipping
on: May 20, 2012, 10:29:56 PM
If you also do ARDUINO, this may be of interest to you:
I went to the Maker Faire
today and saw this board from Texas Instruments, you can't beat the price $4.30
including shipping. Limit of 12
The LaunchPad is an easy-to-use, affordable, and scalable introduction to the world of microcontrollers and the MSP430 family.
- Easy-to-use – LaunchPad includes all of the hardware and software needed to get started. Open source projects and code examples help users get up and running quickly.
- Affordable – For $4.30, the LaunchPad includes a development board, 2 programmable MSP430 microcontrollers, mini-USB cable, PCB connectors for expandability, external crystal for increased clock accuracy, and free & downloadable software integrated development environments (IDEs) – everything you need to get started today.
- Scalable – The LaunchPad is a simple introduction to the MSP430 microcontroller family. As application requirements change, programs developed on the LaunchPad can be migrated to higher end MSP430 devices.
Also those of you that have a Maker Faire near you, I highly recommend going. IE: World Maker Faire New York Sept. 29 & 30, 2012 http://makerfaire.com/newyork/2012/
I spent 5 hours walking around looking at all sorts of neat Geeky stuff. All the stuff that's in MAKE Magazine was there. Saw a lot of competitors to Marvell's boards like Beagleboard & Ninjablocks. 3D printers are the next have.
Plus lots of SWAG
Hardware and U-Boot firmware / U-Boot stuff / Re: messed up uboot var prevent booting on sheevaplug (bad magic number)
on: February 13, 2012, 10:43:16 AM
From the PLUGWIKI: Addresses (0x0) - PlugWiki <--- Click here
RAM Memory use
0x800000 (8 MB)
This is the default RAM address into which the kernel image is loaded (on the SheevaPlug) for execution.
Why this number? Because 0x0 - 0x800000 are reserved for U-Boot. (Really, look at the messages U-Boot prints when starting, before the kernel is copied.)
I've tested loading the kernel into other RAM addresses, and there does not seem to be a problem. But, if the memory manager is trying to handle two block (one above and one below the kernel), there might be a minor amount of extra work required. Generally, I'd suggest loading the kernel at the low end (0x800000) and allowing all the remaining memory to be managed as a single block.
With that in mind, it is very common to also see this address used in the commands fatload, ext2load, or tftpboot as a safe place to load an image into RAM temporarily before writing it to Flash.
Maybe your uImage in 0x800000 is hosed, you can rewrite a clean one with these instructions: Flashing the SheevaPlug Kernel from a USB Drive with U-Boot <--- Click here