• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: 1 [2]
16  Hardware and U-Boot firmware / U-Boot stuff / Re: Bad Magic Number with uImage.sheeva.040309 and NFS on: May 02, 2009, 09:41:50 AM
Yes! Thank you so much; that fixed things and I can now boot via NFS! One more question, and it's one that I'm embarrassed to ask: what is a decent terminal program for Linux (particularly Ubuntu 8.10) that has copy & paste functionality? I am pulling my hair out trying different ones like Putty and gtkterm, but neither of them seems to have this basic functionality, which would make entering these long commands a lot less error-prone. Thanks again for your help.
17  Hardware and U-Boot firmware / U-Boot stuff / Bad Magic Number with uImage.sheeva.040309 and NFS on: May 02, 2009, 08:32:44 AM
I'm trying to get NFS boot working with my SheevaPlug, and I keep getting a "Bad Magic Number" error after it loads the kernel from my TFTP server:

Code:
Using egiga0 device

TFTP from server 192.168.1.139; our IP address is 192.168.1.119

Filename 'uImage.sheeva.040309'.

Load address: 0x200000

Loading: *##################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

###############

done

Bytes transferred = 2070316 (1f972c hex)

## Booting image at 02000000 ...

Bad Magic Number



I am just using the pre-compiled uImage.sheeva.040309 kernel provided on the website, and I believe my NFS share of the root filesystem is setup correctly because if I boot the SheevaPlug from the internal flash, I can mount it and read the files. I think there must be something wrong with my uBoot parameters, but I can't make sense of all the hex values and why everyone seems to have different numbers. Here is my uBoot environment.

Code:
baudrate=115200

loads_echo=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;

ethaddr=00:50:43:7d:2d:1f

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

run_diag=no

rootpath=/root/rootfsv1.0

image_name=uImage.sheeva.040309

console=console=ttyS0,115200 mtdparts=nand_mtd:0x200000@0x100000(uImage)ro,0x1f800000@0x30000(rootfs)rw

bootargs_root=root=/dev/nfs rw

bootargs_end=:::DB88FXX81:eth0:none

bootcmd=tftpboot 0x200000 $(image_name);setenv bootargs $(console) $(bootargs_root) nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip)$(bootargs_end); bootm 0x2000000

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=1f972c

fileaddr=200000

netmask=255.255.255.0

ipaddr=192.168.1.119

serverip=192.168.1.139

bootargs=console=ttyS0,115200 mtdparts=nand_mtd:0x200000@0x100000(uImage)ro,0x1f800000@0x30000(rootfs)rw root=/dev/nfs rw nfsroot=192.168.1.139:/root/rootfsv1.0 ip=192.168.1.119:192.168.1.139:::DB88FXX81:eth0:none


I would appreciate any insight anyone can offer, as I would really like to get NFS boot going before messing around with the filesystem. Thanks.
18  Linux Stuff / General Linux questions / Re: SD Card not showing up on: April 18, 2009, 09:52:21 AM
Yeah, they are already sending me an advance replacement. Good to know their customer service is responsive.
19  Linux Stuff / General Linux questions / Re: SD Card not showing up on: April 17, 2009, 08:41:02 PM
I inserted an SD card and then rebooted the SheevaPlug. The log is available at:

http://cid-57cbd2fd846825be.skydrive.live.com/self.aspx/.Public/putty.log

I'm not really able to decipher much of it, as I haven't ever messed around with a Linux kernel. The result of cat /proc/partitions is:

major minor  #blocks  name

  31     0       4096 mtdblock0
  31     1     519168 mtdblock1

Hopefully someone more experienced can decipher the log. Thanks for the suggestion; I'm beginning to feel more strongly that the connector is electrically dead.
20  Linux Stuff / General Linux questions / Re: SD Card not showing up on: April 16, 2009, 06:14:05 PM
I got an e-mail from GlobalScale suggesting I may not be running a kernel with SD card support. I'm just using the stock filesystem that came pre-loaded on the device, which I received on 4/13. uname -a reports:

Linux debian 2.6.22.18 #1 Thu Mar 19 14:46:22 IST 2009 armv5tejl GNU/Linux

Do I need a newer kernel?
21  Linux Stuff / General Linux questions / Re: SD Card not showing up on: April 16, 2009, 04:20:16 PM
Thanks for the suggestion. dmesg reports nothing similar to what you posted:

sda: sda1 sda2 sda3
sd 2:0:0:0: [sda] Attached SCSI removable disk
sd 2:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete
usb 1-1: USB disconnect, address 4

I have tried a couple of different SD cards; both of them work on my computer as well as an old PDA. Does it matter what filesystem the card is partitioned with? It seems the problem is lower-level than that. How can I ensure I have the right kernel and modules loaded? I am simply using the stock system that came pre-loaded with my plug, which just arrived this past Monday.

Thanks again for your help.
22  Linux Stuff / General Linux questions / SD Card not showing up on: April 15, 2009, 09:07:57 PM
I searched the forums and it seems people are simply able to insert an SD/SDHC card into the slot and it shows up as /dev/mmcblk0 (or something similarly named). I don't get any new device appearing when I plug in any of several SD cards that I have laying around. Is there some extra step I need to take before I can hot-swap cards and have the SheevaPlug recognize them? Thanks.
Pages: 1 [2]