• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: 1 [2]
16  General Category / Success stories / Re: Seedbox on: July 06, 2010, 08:35:30 AM
I got this working yesterday. Sheevaplug with a 640 GB SATA hard disk in an IcyDock enclosure on a powered USB hub. It wasn't too difficult.

The short form of the guide is as follows:

Install Debian Lenny to NAND flash using ESIA. Enable the "contrib" and "non-free" Debian repositories.

Copy the Debian installation to SDHC card using the instructions at

http://www.plugcomputer.org/plugwiki/index.php/SD_Card_As_Root_File_System

under "Create a bootable file system on the SD card"

NOTE: you can create a bootable backup of the SDHC card using rsync:

# rsync --stats --progress -a --delete /media/sdhc_01/ /media/sdhc_02

Restart the plug, interrupt its boot at the Marvell>> prompt using the serial terminal. Enter this text at the Marvell>> prompt:

mmcinit; setenv bootargs_root root=b301; boot

and hit enter. The Sheevaplug will boot from SDHC.

Follow the guide here

http://filesharingtalk.com/vb3/f-guides-and-tutorials-65/t-installing-rtorrent-and-rutorrent-on-debian-based-linux-393861

to install rtorrent/rutorrent. Works fine.

Got about 150 torrents running, Load average: 0.05 0.08 0.05, 71/501MB memory usage.
17  General Category / General Discussion / Re: SD root filesystem flies! on: June 20, 2010, 03:31:10 PM

> So you'd need to post all of your environment.


Do you mean that I should post the output of printenv?

If so, here it is:

Code:
Marvell>> printenv
baudrate=115200
loads_echo=0
ipaddr=10.4.50.165
serverip=10.4.50.5
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
console=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x100000(root)
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethaddr=00:50:43:01:98:8F
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethact=egiga0
bootargs=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x100000(root) root=/dev/nfs rw nfsroot=10.4.50.5:/mnt/ARM_FS/ ip=10.4.50.165:10.4.50.5:::DB88FXX81:eth0:none mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500 mv_phone_config=dev0:fxs,dev1:fxs
bootargs_console=console=ttyS0,115200
recover1=setenv mainlineLinux yes; setenv arcNumber 2097; setenv bootcmd run recover2; saveenv; reset
recover2=run recover3; setenv bootcmd $(real_bootcmd); saveenv; run rec33
install_options=backup= url=Ubuntu904 kernel=uImage rootfs=root.tar.gz modules=modules.tar.gz apptype= access=c2hlZXZhOnBsdWcK
real_bootcmd=setenv bootargs $(bootargs_console) $(mtdpartitions) $(bootargs_root); nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000
rec33=setenv bootargs $(bootargs_console) $(mtdpartitions) root=/dev/ram0 rw ramdisk=0x01100000,8M install_type=nand $(install_options); bootm 0x00800000 0x01100000
recover3=run recover4
recover4=usb start; fatload usb 0 0x00800000 instImg; fatload usb 0 0x01100000 initrd
mtdpartitions=mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs)
bootargs_root=ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs
app_name=Ubuntu904
app_summary=Marvell Base SheevaPlug Distribution (Ubuntu v9.04)
arcNumber=2097
filesize=32D29A
bootcmd=setenv bootargs $(bootargs_console) $(mtdpartitions) $(bootargs_root); nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=yes
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes
pcieTune=no

Environment size: 2478/131068 bytes
Marvell>>


Thank you for your reply Smiley

18  General Category / General Discussion / Re: New QT based installer: Enhanced Sheevaplug Installer Application (ESIA) on: June 20, 2010, 01:27:36 PM
Thank you for your reply! Smiley

I have flashed the plug to u-boot 3.4.27, and I still get the same behavior when I use ESIA to install Ubuntu904_usb_app.tar.bz2 that I downloaded from http://sourceforge.net/projects/esia/files/.

Ubuntu actually installs and boots up fine and runs fine, but ESIA's gui is still getting stuck at 8%.

However the led is now green instead of red, so there's some progress. Smiley

Or do you mean that I need to actually use u-boot 3.4.26 and not 3.4.27 in order to get the ESIA gui not to hang at 8%?

Thank you again for your help!
19  General Category / General Discussion / Re: New QT based installer: Enhanced Sheevaplug Installer Application (ESIA) on: June 19, 2010, 03:48:43 PM
Greetings

Brand new sheevaplug owner here. (Got it four days ago.) I installed ESIA on a Dell Mini 9 netbook running ubuntu 9.10. I used it to install ubuntu 9.04 on NAND flash on the sheevaplug. As noted earlier in this thread, ESIA appears to hang at 8% progress while the message that's highlighted in ESIA is "* Starting on-board installer". Meanwhile, the terminal that I used to start ESIA is showing ""*Restarting OpenBSD Secure Shell server sshd"

Even though it looks like it's stuck here, and the little circular arrow is still spinning, once I see that message in the terminal, I can log in by ssh, with root, nosoup4u as usual. Everything seems to work OK.

There are no obvious errors in the ESIA install log. The last line is

Erasing Nand...Writing to Nand... done

Is this normal behavior?

Also I notice that since I ran ESIA, one of the leds has changed. It used to be that one led was green and the other was blue. Now one starts out green and turns red a couple of seconds after I power it up, and the other is blue. Is this normal? Is this a problem? Hardware problem? Software problem? Any insight/help is appreciated! Smiley
20  General Category / General Discussion / Re: SD root filesystem flies! on: June 19, 2010, 01:02:20 PM

Greetings

Brand new sheevaplug owner here. I've been trying and trying to get my new plug to boot from a 4 GB class 6 SDHC card. I insert the card, then

fdisk /dev/mmcblk0

o
n
p
1
enter
enter
a
1
w

mkfs -t ext2 /dev/mmcblk0p1
mount /dev/mmcblk0p1 /mnt/sdcard
cp -axv / /mnt/sdcard (NOTE: this copy only takes about three minutes, not 10 to 15)
cp -axv /dev /mnt/sdcard/

Then looking around on the card, everything looks OK.

Then I follow the directions re: rebooting and stopping u-boot from booting. (I do this in PuTTY on a Dell Mini 9 running Ubuntu 9.10, if it matters.)

Then, as shown in the writeup, I paste in the line

setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p1 rw ip=10.4.50.4:10.4.50.5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none

at the Marvell>> prompt, I hit enter, then enter "boot" (no quotes) and hit enter at the Marvell>> prompt, and the plug boots right up from the NAND flash. df after boot confirms this.

This is on a brand new sheevaplug running ubuntu 9.04 which was installed using ESIA. The distro came from the ESIA web page.

Any ideas what I'm missing/doing wrong?

Thank you for any help! Smiley
Pages: 1 [2]