Show Posts
|
|
Pages: 1 2 [3] 4
|
|
32
|
General Category / General Discussion / Re: GuruPlug JTAG WinXP Drivers
|
on: July 17, 2010, 03:16:17 PM
|
|
Well--over an hour from the time I plugged in the mini usb cable and got the error message, "SheevaPlug JTAGKey FT2232D B" driver missing until I found this thread and the solution. It had been quite a while since I had used the usb cable, and the thing that I can think of which would have changed things was installing a new u-boot and Martin Michlmayr's Debian on USB thumb drive. And the drivers from the FTDI site didn't work.
Kudos to those who posted the solution. Bad karma for those who created the problem.
|
|
|
|
|
33
|
Linux Stuff / Linux distributions / Re: Debian installer for SheevaPlug available now
|
on: February 24, 2010, 05:18:22 AM
|
|
I did partition the SDHC card, and it appeared ok to me--that is, the same as the successfully copied 2gb card.
When you say, "there is a bug with u-boot that requires the kernel and initrd to sit below the 2GB mark", if that would cause me a problem when I untarred the files from the 2gb card onto the 16gb card, how would I fix it?
|
|
|
|
|
34
|
Linux Stuff / Linux distributions / Re: Debian installer for SheevaPlug available now
|
on: February 23, 2010, 04:26:16 PM
|
|
As indicated above, I successfully copied a 2gb sd onto another and booted ok. Now I have tried the same process (and actually going from the same tar file) to a 16gb sd. The 16gb card looks ok to a casual examination--all directories in place, including the created /proc, /sys, /mnt. I get the Marvell>> prompt--no boot as with the 2 2gb sd cards. When I type boot, I get "SDHC found" and other identifying information, but then ** Unable to read "/boot/uInitrd" from mmc 0:1 ** ** Unable to read "/boot/uImage" from mmc 0:1 ** ## Booting image at 00400000 ... Bad Magic Number
And then the Marvell>> prompt again. Is there something obvious that I have omitted?
|
|
|
|
|
37
|
Linux Stuff / Linux distributions / Re: Debian installer for SheevaPlug available now
|
on: February 07, 2010, 07:12:59 AM
|
|
Oops, modified code above to use "mkdir /usb/proc", etc. Thanks.
/etc/fstab shows swap on the SD: /dev/mmcblk0p1 / ext3 errors=remount-ro 0 1 /dev/mmcblk0p2 none swap sw 0 0
My question was whether it would tend to conserve the SD if swap were on a ramdisk (which might seem a little contradictory, since ram is what is being swapped), or whether there should be no swapping. It's not an area about which I know much, other than having seen recommendations against having swap on SD or USB flash.
|
|
|
|
|
38
|
Linux Stuff / Linux distributions / Re: Debian installer for SheevaPlug available now
|
on: February 06, 2010, 09:01:48 PM
|
|
Ok, this is what I did to copy my 2gb SD to another 2gb SD. First, on a Linux PC, I created a directory, /usb. Then I mounted the old SD and tarred all partions excluding proc, mnt, sys.
mount /dev/sdb1 /usb cd /usb tar cvpzf /home/lb/sheeva.tgz --exclude=proc --exclude=lost+found --exclude=backup.tgz --exclude=mnt --exclude=sys .
This created a 500mb+ tgz file. Then I partitioned the new SD the same as the old one, with linux partion for partition one and a 50mb swap partition on 2. Then I formatted the drive, mounted it on /usb, extracted the tar, and created the excluded directories.
mkfs.ext2 /dev/sdb1 mount /dev/sdb1 /usb tar xvpfz sheeva.tgz -C /usb mkdir /usb/proc mkdir /usb/lost+found mkdir /usb/mnt mkdir /usb/sys [Edit: modified above to refelct tbm's catch below]
I put the new SD in the Sheevaplug and powercycled, and, lo, I can ssh in as with the old SD. Now I'm awaiting an 8gb SD from Amazon.
Thanks very much for the pointers.
Question: how should swap be handled? Should it be set up on a ram disk?
|
|
|
|
|
41
|
Linux Stuff / Kernel / Re: 2.6.30-rc2 uImage and kmods ipkg feed
|
on: April 16, 2009, 08:35:13 PM
|
|
Brian,
Very nice indeed to add all the optware packages and expecially the kernel modules to SheevaPlug.
>To get the uImage, you can either extract it from data.tar.gz in the ipk (actually a tar.gz)
How exactly do you get the uImage out? I downloaded the ipk to a linux box and tried “tar x” on it, but got nothing for a long time and hit ctrl+C to exit. Please pardon my newbieness.
>Make sure to "set mainlineLinux yes; set arcNumber 2097" in u-boot since this is mainline linux kernel.
Again pardon my ignorance. I'm looking at the “Writing jaunty Filesystem” pdf. It's a bit daunting. I have a Marvell>> prompt, and have done “printenv”. What do I do to tftp the image? Does it have to do with setting mtdparts, bootargs, and bootcmd in addition to the environment variables you mention?
Lance
|
|
|
|
|
42
|
Linux Stuff / Kernel / Re: Updating Marvell uImage
|
on: April 16, 2009, 05:24:37 PM
|
|
Ok, thanks, I got that image file from the LSP download. My problem is that I can't get past the login--something caused the password to change and the one which worked for me for a day and a half doesn't work now, and the original doesn't either. But I can get to the Marvell>> prompt on the USB-serial line. Are there instructions for flashing the uImage.sheeva.040309 image from that point?
|
|
|
|
|
45
|
Linux Stuff / Linux distributions / Re: Re-install original File system
|
on: April 15, 2009, 05:10:42 PM
|
|
Here's another person wanting to do that. Where is the Ubuntu binary image? For that matter, where is the source--when I tried to "apt-get" linux-headers, it wanted the plug's version, which is not in the Ubuntu repository. So is the repository used by Marvell to compile the image available?
|
|
|
|
|