• Home
  • Help
  • Search
  • Login
  • Register
Poll
Question: What do you think I should do?
Keep the unit and work through it its a software issue - 2 (66.7%)
Take the refund this unit is faulty - 1 (33.3%)
Total Voters: 3

Pages: [1] 2
Author Topic: What do you think? [Question]  (Read 3071 times)
rickyleeb
Newbie
*

Karma: 0
Posts: 35


View Profile
« on: December 30, 2009, 08:50:55 AM »

I am now on my third unit and seems this one may be faulty as well. I am finding when the unit it powered off from the mains then powered up again the MMC/SD card is not picked up. I have to connect then use the boot command at the marvel prompt to get things moving. I am also seeing the unit freeze after it has been running for a while.

Since thisi s now my third faulty unit the supply is now saying that its my fault (or thats how it seems) and have given me two choices.

1. to keep the unit and work through the problem.

2. accept a refund as they are unwilling to supply me with another new unit.

What do people think I should do I like this unit alot when it works but have a strong feeling that this unit has a flaky MMC/SD card reader and this is why the unit is acting like it is.

Any advice would be great as I do not want to end up with a unit that is faulty hardware wise and i will not be able to fix.
Logged

pingtoo
Sr. Member
****

Karma: 15
Posts: 318


View Profile
« Reply #1 on: December 30, 2009, 09:27:21 AM »

Hi,

Have you tried my latest patch .27 uboot? I fixed a bug when the partition is really big and its file system format is EXT2 uboot will have problem reading it.
Logged

Good Luck Smiley

rickyleeb
Newbie
*

Karma: 0
Posts: 35


View Profile
« Reply #2 on: December 30, 2009, 09:47:27 AM »

Hi,

Have you tried my latest patch .27 uboot? I fixed a bug when the partition is really big and its file system format is EXT2 uboot will have problem reading it.

Is there a bin file flying around pingtoo?
Logged

pingtoo
Sr. Member
****

Karma: 15
Posts: 318


View Profile
« Reply #3 on: December 30, 2009, 09:56:55 AM »

Try this http://plugcomputer.org/plugforum/index.php?action=dlattach;topic=1134.0;attach=201.

See the u-boot section, the thread http://plugcomputer.org/plugforum/index.php?topic=1134.30.

Logged

Good Luck Smiley

rickyleeb
Newbie
*

Karma: 0
Posts: 35


View Profile
« Reply #4 on: December 30, 2009, 10:16:45 AM »

Thanks got it installed.

Still finding the plug has problems with the MMC/SD card at boot after the plug has been removed from the mains power

USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0
Error! cmd : 8, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
No MMC card found
** Bad partition 1 **
## Booting image at 00800000 ...
Bad Magic Number

This is a SDHC card I know has worked before so this is stressing me abit
« Last Edit: December 30, 2009, 10:28:03 AM by rickyleeb » Logged

pingtoo
Sr. Member
****

Karma: 15
Posts: 318


View Profile
« Reply #5 on: December 30, 2009, 11:30:39 AM »

correct me if I am wrong. This is how I imagine what happen at your setup.
  • The plug was power offed.
  • Your SD card is in its slot.
  • Your mini-usb is plug in.
  • you connect power to plug
  • the plug begin autoboot sequence
  • autoboot waited 3 seconds
  • in your bootcmd
  • mmcinit
  • ext2load mmc 0 0x800000
  • bootm 0x800000
If I am correct then after mmcinit there should be a message show it detect the kind of SD/MMC card and some of its attributes. this part is not showing in your post, is it because it did not happen? or you skip the message in post?

Also, please verify u-boot version by typing version command at Marvell prompt, the information should include "pingtoo patch.01" at the end.
« Last Edit: December 30, 2009, 11:34:35 AM by pingtoo » Logged

Good Luck Smiley

pingtoo
Sr. Member
****

Karma: 15
Posts: 318


View Profile
« Reply #6 on: December 30, 2009, 01:59:48 PM »

Hi rickyleeb,

I have a new idea, if you can confirm that in you power on process, if you try setup your bootcmd with multiple mmcinit and it will work, I can produce a version u-boot which will do multiple re-try on the cmd: 8 to help your situation.

What do you think?
Logged

Good Luck Smiley

rickyleeb
Newbie
*

Karma: 0
Posts: 35


View Profile
« Reply #7 on: December 30, 2009, 02:42:57 PM »

You are correct about your asumptions. I did skip most of the boot process output.

I did do a ver and the version is the patched one you supplyed.

I can attempt a double the mmcint. If you want to supply a uboot i will try when I get home from work tomorrow (doing a crap shift that ends at 2:30) I will give it a go. Thanks for the help
Logged

pingtoo
Sr. Member
****

Karma: 15
Posts: 318


View Profile
« Reply #8 on: December 31, 2009, 03:50:21 PM »

Hi rickyleeb,

Sorry about the delay, was pull by multiple thing (drive wife shopping..), I attach a version for you to test, this is not a final product. this version have special mmcinit which can a number a argument, the number tell the mmc_init() to call initialize process number of time, if you pass no argument it will at lease try 3 time, actually it will always try three times if the number is less then three. example
Code:
Marvell>> mmcinit 10
cmd 0 resp : 30303061 e59f0030 e59ff014 e59ff014
trying to detect SD card version
cmd 8 resp : 000001aa 00000008 00000000 00000000
cmd 0 resp : 30303061 e59f0030 e59ff014 e59ff014
trying to detect SD card version
cmd 8 resp : 000001aa 00000008 00000000 00000000
cmd 0 resp : 30303061 e59f0030 e59ff014 e59ff014
trying to detect SD card version
cmd 8 resp : 000001aa 00000008 00000000 00000000
cmd 0 resp : 30303061 e59f0030 e59ff014 e59ff014
trying to detect SD card version
cmd 8 resp : 000001aa 00000008 00000000 00000000
cmd 0 resp : 30303061 e59f0030 e59ff014 e59ff014
trying to detect SD card version
cmd 8 resp : 000001aa 00000008 00000000 00000000
cmd 0 resp : 30303061 e59f0030 e59ff014 e59ff014
trying to detect SD card version
cmd 8 resp : 000001aa 00000008 00000000 00000000
cmd 0 resp : 30303061 e59f0030 e59ff014 e59ff014
trying to detect SD card version
cmd 8 resp : 000001aa 00000008 00000000 00000000
cmd 0 resp : 30303061 e59f0030 e59ff014 e59ff014
trying to detect SD card version
cmd 8 resp : 000001aa 00000008 00000000 00000000
cmd 0 resp : 30303061 e59f0030 e59ff014 e59ff014
trying to detect SD card version
cmd 8 resp : 000001aa 00000008 00000000 00000000
cmd 0 resp : 30303061 e59f0030 e59ff014 e59ff014
trying to detect SD card version
cmd 8 resp : 000001aa 00000008 00000000 00000000
SD found. Card desciption is:
Manufacturer:       0x27, OEM "PH"
Product name:       "SD02G", revision 2.0
Serial number:      2085621231
Manufacturing date: 10/2007
CRC:                0x00, b0 = 0

Please post the result code as my example, I want to see how many time it required to initialize your SD card.

BTW, the version command should give you a indication it is a debug version.

* u-boot-rd88f6281Sheevaplug_400db_nand.bin (463.47 KB - downloaded 106 times.)
Logged

Good Luck Smiley

rickyleeb
Newbie
*

Karma: 0
Posts: 35


View Profile
« Reply #9 on: January 01, 2010, 04:45:57 AM »

Here is the output

Marvell>> ver

U-Boot 1.1.4 (Dec 31 2009 - 17:33:34) Marvell version: 3.4.27 - pingtoo debug.01
Marvell>> mmcinit 10
cmd 0 resp : 30303061 e59f0030 e59ff014 e59ff014
trying to detect SD card version
cmd 8 resp : 000001aa 00000008 00000000 00000000
cmd 0 resp : 30303061 e59f0030 e59ff014 e59ff014
trying to detect SD card version
cmd 8 resp : 000001aa 00000008 00000000 00000000
cmd 0 resp : 30303061 e59f0030 e59ff014 e59ff014
trying to detect SD card version
cmd 8 resp : 000001aa 00000008 00000000 00000000
cmd 0 resp : 30303061 e59f0030 e59ff014 e59ff014
trying to detect SD card version
cmd 8 resp : 000001aa 00000008 00000000 00000000
cmd 0 resp : 30303061 e59f0030 e59ff014 e59ff014
trying to detect SD card version
cmd 8 resp : 000001aa 00000008 00000000 00000000
cmd 0 resp : 30303061 e59f0030 e59ff014 e59ff014
trying to detect SD card version
cmd 8 resp : 000001aa 00000008 00000000 00000000
cmd 0 resp : 30303061 e59f0030 e59ff014 e59ff014
trying to detect SD card version
cmd 8 resp : 000001aa 00000008 00000000 00000000
cmd 0 resp : 30303061 e59f0030 e59ff014 e59ff014
trying to detect SD card version
cmd 8 resp : 000001aa 00000008 00000000 00000000
cmd 0 resp : 30303061 e59f0030 e59ff014 e59ff014
trying to detect SD card version
cmd 8 resp : 000001aa 00000008 00000000 00000000
cmd 0 resp : 30303061 e59f0030 e59ff014 e59ff014
trying to detect SD card version
cmd 8 resp : 000001aa 00000008 00000000 00000000
SDHC found. Card desciption is:
Manufacturer:       0x02, OEM "TM"
Product name:       "SD16G", revision 3.2
Serial number:      3490581021
Manufacturing date: 11/2007
CRC:                0x00, b0 = 0
Marvell>>
Logged

rickyleeb
Newbie
*

Karma: 0
Posts: 35


View Profile
« Reply #10 on: January 01, 2010, 05:25:17 AM »

Still finding the unit hangs after a while Sad
Logged

pingtoo
Sr. Member
****

Karma: 15
Posts: 318


View Profile
« Reply #11 on: January 01, 2010, 12:48:09 PM »

Still finding the unit hangs after a while Sad
I think we have communication problem Shocked I am trying to solve the problem you have when cold start uboot can not read mmc. your post seems to indicate you did the "mmcinit 10" from Marvell>> manually. If I am correct please try again by changing your "bootcmd" to include the number argument so I can see when power on what happen. However If I am wrong then your apparently have a working uboot then your can discard my suggestion.

As your plug hang after a while that could be many different possibilities. From hardware problem to bad software setup. there is no way to understand the problem without some sort of indicator.
Logged

Good Luck Smiley

rickyleeb
Newbie
*

Karma: 0
Posts: 35


View Profile
« Reply #12 on: January 01, 2010, 12:55:53 PM »

Ignore that msg about the hanging that was just me complaining. I will go and change the bootcmd now and give it a shot. Sorry I miss understood what you wanted. Must have been more tired than I thought. Worrying I am going to be stuck with a unit that could be faulty (The SD card not being picked up at times, hnaging after a while) kinda makes me want to take the refund insted of possibly throwing away the cash on somthing thats faulty.

Il post the results inabit. Yet again thanks for the help.
Logged

rickyleeb
Newbie
*

Karma: 0
Posts: 35


View Profile
« Reply #13 on: January 01, 2010, 01:14:45 PM »

 0 # Just caught the last bit of the countdown before it unit boots
cmd 0 resp : 30303061 e59f0030 e59ff014 e59ff014
trying to detect SD card version
cmd 8 resp : 000001aa 00000008 00000000 00000000
cmd 0 resp : 30303061 e59f0030 e59ff014 e59ff014
trying to detect SD card version
cmd 8 resp : 000001aa 00000008 00000000 00000000
cmd 0 resp : 30303061 e59f0030 e59ff014 e59ff014
trying to detect SD card version
cmd 8 resp : 000001aa 00000008 00000000 00000000
SDHC found. Card desciption is:
Manufacturer:       0x02, OEM "TM"
Product name:       "SD16G", revision 3.2
Serial number:      3490581021
Manufacturing date: 11/2007
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 ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Logged

pingtoo
Sr. Member
****

Karma: 15
Posts: 318


View Profile
« Reply #14 on: January 01, 2010, 02:09:56 PM »

@rickyleeb,
Looks like this time it work, may be my code have some problem it may have executed all specified iteration. Do you plan to more test? Or you are satisfy the current solution? if you are satisfied then I will prepare a patched version for you. this what I think I will put in the patch. First I will remove the debug message. Second I will make the mmcinit always do three times the init process. Third I will leave the option of doing more then three times and if doing more then three time the debug messages will again be displayed. Let me know how you feel which way to go.
Logged

Good Luck Smiley

Pages: [1] 2
Print
Jump to: