• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: Bad Data CRC on booting from SD  (Read 4544 times)
SiG
Newbie
*

Karma: 0
Posts: 6


View Profile
« on: November 15, 2009, 03:02:25 PM »

Hi-

On my SD card (2GB, so not SDHC) there is one primary ext2 partition and I want it to be the root file system of my Sheeva Plug and want the plug to boot from /boot/ on the card.

I could make the RFS part, but not the booting... I also tried with another 4GB SDHC card and using FAT instead of ext2. Nothing. If I set it to boot from USB or NAND, it works properly.

I have U-Boot 1.1.4 (Nov 11 2009 - 16:17:48) Marvell version: 3.4.25. I simply loaded uboot.bin from TFTP with bubt, did not use installer.

Here is the output:

Code:
Marvell>> reset

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

U-Boot 1.1.4 (Nov 11 2009 - 16:17:48) Marvell version: 3.4.25

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

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
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:512 MB
Flash:  0 kB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0
SD found. Card desciption is:
Manufacturer:       0x1b, OEM "SM"
Product name:       "SD   ", revision 1.0
Serial number:      3934332571
Manufacturing date: 8/2008
CRC:                0x00, b0 = 0

2620504 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.30.2
   Created:      2009-07-23   1:53:36 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2620440 Bytes =  2.5 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... Bad Data CRC

And here are the settings:

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
run_diag=yes
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:16:28:2d
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=console=ttyS0,115200
bootargs_root=root=/dev/mtdblock2 ro install_type=mmc
bootargs_ip=ip=10.4.50.4:10.4.50.5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none
bootargs=$(bootargs_console) $(bootargs_root) $(bootargs_ip)
bootcmd_mmc=mmcinit; ext2load mmc 0:1 0x0800000 /boot/sheeva-2.6.30.2-uImage
bootcmd=run bootcmd_mmc; bootm 0x0800000
arcNumber=2097
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
filesize=27FC58

Environment size: 1436/131068 bytes

Any suggestions? Thanks in advance!
Logged

vioan
Newbie
*

Karma: 0
Posts: 12


View Profile
« Reply #1 on: November 16, 2009, 02:19:25 AM »

Hi, I can say that I have the same issues. I installed the debian version on SD following the tutorial @cyrius.com, using debian installer but when I want to boot, I have that "Bad Data CRC". It seems that the last Uboot version is the problem but I am not sure, I think I will downgrade and try again.
Logged

rooster
Administrator
Sr. Member
*****

Karma: 8
Posts: 311


View Profile
« Reply #2 on: November 16, 2009, 08:37:01 AM »

I confirm this issue too, please use older versions of uboot (3.4.19).
This bug needs to be resolved.
Logged

vioan
Newbie
*

Karma: 0
Posts: 12


View Profile
« Reply #3 on: November 16, 2009, 08:39:16 AM »

ok, thanks, I will give it a try in a few hours  Cheesy
Logged

vioan
Newbie
*

Karma: 0
Posts: 12


View Profile
« Reply #4 on: November 16, 2009, 12:39:49 PM »

before to install 3.4.19 I tried 3.4.23 and everything is working fine, so I will keep that one. Thanks
Logged

SiG
Newbie
*

Karma: 0
Posts: 6


View Profile
« Reply #5 on: November 16, 2009, 02:43:04 PM »

Thanks for answers. I tried to download the 3.4.23, but it seems not to be 23... Still it does not boot and version says 24 Smiley

vioan: could you upload here your actual 3.4.23 uboot.bin that works?
Logged

vioan
Newbie
*

Karma: 0
Posts: 12


View Profile
« Reply #6 on: November 16, 2009, 03:21:34 PM »

here are:

3.4.19 and 3.4.23



* uboot-3.4.19.bin (462.9 KB - downloaded 270 times.)
* uboot-3.4.23.bin (463.47 KB - downloaded 514 times.)
Logged

vioan
Newbie
*

Karma: 0
Posts: 12


View Profile
« Reply #7 on: November 16, 2009, 03:24:24 PM »

ah, forgot to mention that I choosed N when it asked me about overwritting the env settings. 
Logged

SiG
Newbie
*

Karma: 0
Posts: 6


View Profile
« Reply #8 on: November 16, 2009, 03:52:58 PM »

i tried with the .23 and now i have the same situation as http://plugcomputer.org/plugforum/index.php?topic=921.0 , that is after uncompressing kernel, the plug dies. (i choose y... i think that was the wrong pill Smiley )
Logged

Pages: [1]
Print
Jump to: