New IT forum
27 June 2022, 12:43:13 pm *
Welcome, %1$s. Please login or register.

: CubieBoard 2 and Cubietruck both now in stock.
 
Pages: 1 [2]

Author Topic: globalscale Sheevaplug 003-SP1001 Newbie - Logitech Media Server  (Read 18024 times)

Wayne C

  • Newbie
  • *
  • Posts: 17
Re: globalscale Sheevaplug 003-SP1001 Newbie - Logitech Media Server
« Reply #15 on: 13 March 2014, 05:38:10 pm »

Hello again apologies for the delay i tried another sd card and it has given the following information ( a little more but wont work )


Hit any key to stop autoboot:  0
Marvell>> usb start
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
Marvell>> usb device

USB device 0: Vendor: SanDisk  Prod.: Cruzer Blade     Rev: 1.26
            Type: Removable Hard Disk
            Capacity: 30532.5 MB = 29.8 GB (62530624 x 512)
Marvell>> fatls usb 0
.
   474596   uboot.bin

1 file(s), 0 dir(s)

Marvell>> fatload usb 0:1 0x0800000 uboot.bin
reading uboot.bin
.
.
Invalid FAT entry

16384 bytes read
Marvell>> fatload usb 0 0x08000000 uboot.bin
reading uboot.bin
.
.
Invalid FAT entry

16384 bytes read
Marvell>> fatinfo usb 0
Interface:  USB
  Device 0: Vendor: SanDisk  Prod.: Cruzer Blade     Rev: 1.26
            Type: Removable Hard Disk
            Capacity: 30532.5 MB = 29.8 GB (62530624 x 512)
Partition 1: Filesystem: FAT32 "NO NAME    "
Marvell>> version

U-Boot 1.1.4 (Mar 19 2009 - 16:06:59) Marvell version: 3.4.16
Marvell>> printenv
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
netmask=255.255.0.0
console=console=ttyS0,115200
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_root=root=/dev/mtdblock2 ro
ethmtu=1500
usb0Mode=host
nandEcc=1bit
ethact=egiga0
serverip=10.10.0.2
ipaddr=10.10.0.1
cesvcid=ULULULULULULPPULULULULULDA
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;
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethaddr=00:50:43:01:C4:C1
run_diag=no
bootargs=console=ttyS0,115200 mtdparts=nand_mtd:[email protected](uImage),[email protected](rootfs) rw root=/dev/mtdblock1 rw ip=10.4.50.4:10.4.50.5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none
bootcmd=nand read.e 0x800000 0x100000 0x400000; bootm 0x800000
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
filesize=4000

Environment size: 1318/131068 bytes
Logged

Wayne C

  • Newbie
  • *
  • Posts: 17
Re: globalscale Sheevaplug 003-SP1001 Newbie - Logitech Media Server
« Reply #16 on: 13 March 2014, 05:44:17 pm »

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
Marvell>> usb start
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
Marvell>> fatload usb 0:1 0x0800000 uboot.bin
reading uboot.bin
.
.
Invalid FAT entry

16384 bytes read
Marvell>>


this is where im up to getting a little further but wont accept this fatload thing??

thanks for your help i appreciate it.
Logged

bigbear59

  • Full Member
  • ***
  • Posts: 118
Re: globalscale Sheevaplug 003-SP1001 Newbie - Logitech Media Server
« Reply #17 on: 13 March 2014, 07:39:47 pm »

OK, Maybe you could try to load it through a TFTP server
    https://newit.co.uk/forum/index.php/topic,4739.0.html
Logged
Cheers,
BigBear59

Wayne C

  • Newbie
  • *
  • Posts: 17
Re: globalscale Sheevaplug 003-SP1001 Newbie - Logitech Media Server
« Reply #18 on: 13 March 2014, 09:24:32 pm »

OK, Maybe you could try to load it through a TFTP server
    https://newit.co.uk/forum/index.php/topic,4739.0.html


I can understand everything up till the final slide?, how do you find out the ip of the Sheevaplug please if it is connected to the computer via the USB ( serial ) on com 4 in Putty, it doesn't show up as G:\ sheevaplug?

Thanks

This i find hard to sort out



Also how do you find out the IP address of the  sheevaplug please?, if it is connected to the computer via the serial connection in Putty it doesn't show an IP??, only when you connect via SSH have I been able to see the ip of the sheeva as it shows in my netgear router as attached

Apolgies

« Last Edit: 13 March 2014, 09:31:25 pm by Wayne C »
Logged

bigbear59

  • Full Member
  • ***
  • Posts: 118
Re: globalscale Sheevaplug 003-SP1001 Newbie - Logitech Media Server
« Reply #19 on: 13 March 2014, 09:34:54 pm »

So the address of my Windows box is 192.168.24.182, The Sheevaplug's address is any address that isn't being used, so if there are only two computers then the Sheevaplug could be any address between 192.168.24.2 through 192.168.24.254, except 192.168.24.182.  So you need to connect the Sheeva with an ethernet cable

The "G:\PlugComputer" is my G: drive on my Windows box with a folder named "PlugComputer" where Uboot.bin is located
Logged
Cheers,
BigBear59

Wayne C

  • Newbie
  • *
  • Posts: 17
Re: globalscale Sheevaplug 003-SP1001 Newbie - Logitech Media Server
« Reply #20 on: 13 March 2014, 10:13:30 pm »

So the address of my Windows box is 192.168.24.182, The Sheevaplug's address is any address that isn't being used, so if there are only two computers then the Sheevaplug could be any address between 192.168.24.2 through 192.168.24.254, except 192.168.24.182.  So you need to connect the Sheeva with an ethernet cable

The "G:\PlugComputer" is my G: drive on my Windows box with a folder named "PlugComputer" where Uboot.bin is located

Connect the sheeva to the computer with the Ethernet cable? Or to the router please I think I'm making headway perhaps!. Not getting to excited as yet but you are being great helping me?, so I connect to the computers Ethernet with the sheeva direct?
Logged

bigbear59

  • Full Member
  • ***
  • Posts: 118
Re: globalscale Sheevaplug 003-SP1001 Newbie - Logitech Media Server
« Reply #21 on: 13 March 2014, 10:16:59 pm »

Connect the Sheeva & computer to the router
Logged
Cheers,
BigBear59

Wayne C

  • Newbie
  • *
  • Posts: 17
Re: globalscale Sheevaplug 003-SP1001 Newbie - Logitech Media Server
« Reply #22 on: 13 March 2014, 10:30:40 pm »

Connect the Sheeva & computer to the router

Both are attached to the router the laptop is showing as 192.168.0.7

Sheeva isn't showing as anything though , it never does when attached to computer ova the mini USB and putty is running , can you suggest anything please ?, I feel that I'm not far off cracking this now with your great help. How do you get the IP address of the sheeva if it isn't showing in the attached devices page?

Do you just make a name up for it ie 192.168.0.5 or has t got to be something specific.

I thought the information was being transferred to the shiva via the serial / USB connection not the router?

Thanks again
Logged

bigbear59

  • Full Member
  • ***
  • Posts: 118
Re: globalscale Sheevaplug 003-SP1001 Newbie - Logitech Media Server
« Reply #23 on: 13 March 2014, 10:41:35 pm »

So
setenv ipaddr 192.168.0.5

Using TFTP you will be loading the file over the Ethernet connection
Logged
Cheers,
BigBear59

Wayne C

  • Newbie
  • *
  • Posts: 17
Re: globalscale Sheevaplug 003-SP1001 Newbie - Logitech Media Server
« Reply #24 on: 13 March 2014, 10:55:31 pm »

still cant get it to transfer heres my set up

1. laptop attached via ethernet cable to router Ip 192.168.0.7
2. Sheeva attached to same router via ethernet ( no ip present in attached devices as plug is attached to serial Putty and Marvell is running , I guess the Sheeva doesnt get an IP until Linux is operational?? ).
3. TFTP server is showing as running at moment on desktop TFTP Server start succeeded, serving at '192.168.0.7:69'

heres the page of code


Marvell>> setenv ipaddr 192.168.0.5
Marvell>> setenv serverip 192.168.0.7
Marvell>> saveenv
Saving Environment to NAND...
Erasing Nand...Writing to Nand... done
Marvell>> tftp 0x08000000 uboot.bin
Using egiga0 device
TFTP from server 192.168.0.7; our IP address is 192.168.0.5
Filename 'uboot.bin'.
Load address: 0x8000000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
Marvell>>
Marvell>>  tftp 0x08000000 uboot-3.4.27.bin
Using egiga0 device
TFTP from server 192.168.0.7; our IP address is 192.168.0.5
Filename 'uboot-3.4.27.bin'.
Load address: 0x8000000
Loading: T T T T T T T T T T
Retry count exceeded; starting again


do you have to have a serial connection via Putty to imput the commands please as thats what ive had all the time?

thanks
Logged

bigbear59

  • Full Member
  • ***
  • Posts: 118
Re: globalscale Sheevaplug 003-SP1001 Newbie - Logitech Media Server
« Reply #25 on: 13 March 2014, 11:01:27 pm »

Did the
Allow TFTPServer to communicate through Windows Firewall
go well?

I got the same problem/error when the Firewall wasn't configured
Logged
Cheers,
BigBear59

Wayne C

  • Newbie
  • *
  • Posts: 17
Re: globalscale Sheevaplug 003-SP1001 Newbie - Logitech Media Server
« Reply #26 on: 13 March 2014, 11:10:53 pm »

Did the
Allow TFTPServer to communicate through Windows Firewall
go well?

I got the same problem/error when the Firewall wasn't configured

Yes seemed to be no problems there?

It said erase NAND and write to NAND so something must have worked, I'll have to admit defeat with this and buy one of the Raspberry pi computers this U boot stuff seems incredibly hard to crack, don't think you have the same problems with that on the Pi , I'll leave it at that now as I've took a lot of your time and I don't wish to be a pain, thanks for your help though at least we had a go.

Thanks

As a last thought though I thought it said you can only alter u boot using a serial connection?, do believe I read that somewhere , Ethernet is completely separate?

You can only access the putty to alter things via serial so I read on the wiki, I've been connecting to putty via serial all the time not ssh?

And I've been interrupting the boot process by pressing any key so the sheeva won't be allocated an IP address  as the boot hasn't got far enough in to establish a connection with the router??

I was thinking how can TFTP connect to the she a to transfer the data across if it isn't told the exact IP address of the sheeva??
« Last Edit: 13 March 2014, 11:20:40 pm by Wayne C »
Logged

bigbear59

  • Full Member
  • ***
  • Posts: 118
Re: globalscale Sheevaplug 003-SP1001 Newbie - Logitech Media Server
« Reply #27 on: 14 March 2014, 12:25:46 am »

Yes, you need the Serial connection to communicate with the Sheeva.
You can tell it told load files from USB, SD or over the Ethernet using TFTP

   Marvell>> saveenv
   Saving Environment to NAND...
   Erasing Nand...Writing to Nand... done

Is saying that it is erasing NAND & writing the Environment variables to NAND, this happens every time you do a saveenv

As a final effort you could try SD, using the command mmcint or mmc init, depends on the uboot and if uboot supports the mmc commands at all.  Simple test type mmcinit or mmc init, some times no space and other versions with the space
Logged
Cheers,
BigBear59

Wayne C

  • Newbie
  • *
  • Posts: 17
Re: globalscale Sheevaplug 003-SP1001 Newbie - Logitech Media Server
« Reply #28 on: 14 March 2014, 12:26:52 pm »

Thanks for all your help big bear

Appreciated very much and very kind of you for trying to solve my issues

I've just bought a raspberry PI starter kit from the New It shop on Amazon Uk, hopefully installing Logitech Media Server will be easier on that platform.

Can I ask is the Raspian OS the best to install for my use age.

Thanks Wayne
« Last Edit: 14 March 2014, 12:28:23 pm by Wayne C »
Logged
Pages: 1 [2]
 
 

Powered by MySQL Powered by PHP SMF 2.0.10 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!