• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: 1 [2]
16  General Category / Application ideas and development Q/A / Re: MythTV, anyone? on: May 02, 2009, 01:55:13 PM
I found that when I did a standard net install of the current Ubuntu that I had to disable hal to get these errors to stop.
 
'update-rc.d  -f hal remove'  if I remember correctly
17  Linux Stuff / Linux distributions / Re: Use Gentoo? on: April 30, 2009, 04:11:43 PM
I just finished installing Gentoo on the plug.  I did it somewhat different from the documentation.  I installed a new copy of Ubuntu a few days ago so I used the tools I made for that.

For me I downloaded the stage3 from http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/releases/arm/autobuilds/20090411/armv4tl-softfloat-linux-gnueabi/  then the Portage from http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/releases/snapshots/current/

After that I formatted a USB stick on a linux server and untarred these two following the Gentoo docs.  Then I tftpbooted the kernel I build and the Gentoo initrd from
wget http://dev.gentoo.org/~armin76/arm/sheevaplug/install/sheevaplug.initramfs

Then from uboot  set ismy 'tftp 0x1000000 tftpboot/Sheeva.uImage; tftp 0x2000000 tftpboot/gentoo.initramfs; bootm 0x1000000 0x2000000'
and of course run ismy


I later realized that I didn't need to use the kernel I built or the initrd just boot whatever you are running, mount the USB stick you just made and follow the install from the chroot part of the Gentoo install docs.

18  General Category / General Discussion / Re: Samba performance? on: April 20, 2009, 10:14:27 AM
Right.  Normally that looks very similar to mine.  I usually do not have this problem, in fact after all these years this is the second time.  I never figured out the first, but it was with Ubuntu quite recently.  The solution there was that it was in the beginning of my build, so I just did a new installed again and it was fine. 
19  General Category / General Discussion / Re: Samba performance? on: April 20, 2009, 09:34:02 AM
I had a look at the samba log files and I was seeing some errors.  I checked and there was no smbpaswd file.  I had used 'smbpasswd -a <acctname>'  and it reported that it created it, but it did not.  After several tries I finally had one. 

Now I receive no errors, but I still have very long connect times.  I added both computer names in the host files of the plug and my windows boxes.    I haven't tried connecting the two boxes directly yet, because I haven't found my crossover cable yet.

20  Hardware and U-Boot firmware / Hardware / Flash Problems? on: April 17, 2009, 09:00:26 PM
Ok.  This is the second time I had to reflash the kernel.  The first time I chalked it up to one of the dozen things I did before I rebooted.  I was ok with that.  This time I had it running all day and I rebooted it and stopped it at the uboot prompt.  I was called away and left it there for about 2 hours.  I came back unplugged it and plugged it back in and it couldn't read the kernel out of the flash.  I had to tftpboot it and reflash.   Anyone else experience anything like this?
21  General Category / General Discussion / Re: Problems getting NFS to work on: April 17, 2009, 01:01:14 PM
I am getting the following error when trying to connect via NFS:
mount: server 192.168.1.91 not responding, timed out
Root-NFS: Server returned error -5 while mounting /home/sheeva

Any thoughts or suggestions?
~Joe Donth



I am connecting to a Ubuntu Linux host.

/etc/exports:
/home/ *(rw,sync,no_root_squash)
/tftpboot/ *(rw,sync,no_root_squash)




U_Boot environment
Code:

Marvell>> print
baudrate=115200
loads_echo=0
netmask=255.255.255.0
CASset=min
MALLOC_len=1
ethprime=egiga0
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end)
$(mvPhoneConfig); bootm 0x2000000;
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
ethaddr=00:50:43:01:C1:FB
run_diag=no
ipaddr=192.168.1.103
serverip=192.168.1.91
image_name=uImage.sheeva.040309
console=console=ttyS0,115200 mtdparts=nand_flash:0x100000@0x000000(u-boot),0x400000@0x10000 0(uImage),0x1f800000@0x500000(rootfs)rw
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
bootcmd=tftpboot 0x2000000 $(image_name);setenv bootargs $(console) $(bootargs_root) nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(
serverip)$(bootargs_end); bootm 0x2000000
bootargs=console=ttyS0,115200 mtdparts=nand_flash:0x100000@0x000000(u-boot),0x400000@0x10000 0(uImage),0x1f800000@0x500000(rootfs)rw
 root=/dev/nfs rw nfsroot=192.168.1.91:/home ip=192.168.1.103:192.168.1.91:::DB88FXX81:eth0:none
ethact=egiga0
rootpath=/home/sheeva
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=no
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

Environment size: 1534/131068 bytes



boot process:
Code:
        __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: SHEEVA PLUG LE

U-Boot 1.1.4 (Mar 16 2009 - 18:03:32) Marvell version: 3.4.16

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CEE80

Soc: 88F6281 A0 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB
DRAM CS[1] base 0x10000000   size 256MB
DRAM Total size 512MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:512 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
Using egiga0 device
TFTP from server 192.168.1.91; our IP address is 192.168.1.103
Filename 'uImage.sheeva.040309'.
Load address: 0x2000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###############
done
Bytes transferred = 2070316 (1f972c hex)
## Booting image at 02000000 ...
   Image Name:   Linux-2.6.22.18
   Created:      2009-04-04   1:49:44 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2070252 Bytes =  2 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux...
................. done, booting the kernel.
Linux version 2.6.22.18 (root@localhost.localdomain) (gcc version 4.2.0 20070413 (prerelease)) #1 Fri Apr 3 18:49:38 PDT 2009

<<<<...SNIP...>>>>>

md: autorun ...
md: ... autorun DONE.
Looking up port of RPC 100003/2 on 192.168.1.91
eth0: link up, full duplex, speed 100 Mbps
Looking up port of RPC 100005/1 on 192.168.1.91
mount: server 192.168.1.91 not responding, timed out
Root-NFS: Server returned error -5 while mounting /home/sheeva
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00       1024 mtdblock0 (driver?)
1f01       2048 mtdblock1 (driver?)
1f02     521216 mtdblock2 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)


You need to change the interface from hdcp to static.  In your nfs filesystem on the nfs server go to the etc/network/interfaces file and change:

iface eth0 inet dhcp

to:

iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1

replacing the address with the one you set in uboot.
22  General Category / General Discussion / Re: Samba performance? on: April 16, 2009, 08:21:58 PM


I haven't tested any transfer speeds in samba yet.  Playing videos from vlc on another computer seems ok.   

I'm having authentication problems.  Mapping network drives, under the two windows computers I have takes a very long time.  At least 30 to 60 seconds.  I'm just using the out of the box configurations with workgroup changed to my workgroup name.  I'm using the  [homes] share definition.

Anybody else have this problem?
23  General Category / General Discussion / Re: Problems getting NFS to work on: April 16, 2009, 04:07:04 PM
This looks like your trying to mount a nfs share onto the Sheevaplug.  You first need to install nfs-common.  The nfs client is installed but common is not.


apt-get install nfs-common   should work after of course you   mkdir -p /var/cache/apt/archives/partial

24  General Category / General Discussion / Re: Problems getting NFS to work on: April 16, 2009, 09:09:37 AM
It looks to me like you need to set your path for the cross compiler.  Check out Appendix A in the SheevaPlug Development Kit README-Rev1.1.pdf file. 

On mine I use:   export PATH=/root/Sheeva/gcc/bin:$PATH
Pages: 1 [2]