Page 1 of 2

SD card compatibility issue.

Unread postPosted: Tue Dec 23, 2014 10:39 am
by odroid
Some SD cards need extra 30~35 seconds of delay to start the boot process.
We've tested several different cards and made a list on this WiKi.
http://odroid.com/dokuwiki/doku.php?id= ... _selection

Note that, sometimes it starts the boot process immediately but sometimes not.

Please reply with your SD card test result.


UPDATE: C1+ has fixed the SD compatibility issue.

Re: SD card compatibility issue.

Unread postPosted: Tue Dec 23, 2014 10:58 am
by ryecoaaron
PNY Turbo Performance 16GB High Speed MicroSDHC Class 10 UHS-1 Up to 90MB/sec Flash Card - P-SDU16GU190-GE

Works well in odroid-c1. Boots right away every time.

Re: SD card compatibility issue.

Unread postPosted: Tue Dec 23, 2014 1:25 pm
by pppdiv
SanDisk Ultra Plus micro SDHC UHS-1 Card (40 MBPS) SDSDQUP-O32G-AC46A

Works well and good performance

Re: SD card compatibility issue.

Unread postPosted: Tue Dec 23, 2014 4:51 pm
by odroid
I've just tested a 128GB SDXC Sandisk micro-SD. Sandisk sent us one sample for free. :D
It boots very well. But the performance is not good. Only 50% of our official micro-SD cards performance.
Code: Select all
# dd if=/dev/zero of=test.tmp oflag=direct bs=500K count=1024     
1024+0 records in                                                               
1024+0 records out                                                             
524288000 bytes (524 MB) copied, 84.3939 s, 6.2 MB/s                           
# dd if=test.tmp of=/dev/null iflag=direct bs=500K count=1024     
1024+0 records in                                                               
1024+0 records out                                                             
524288000 bytes (524 MB) copied, 36.8543 s, 14.2 MB/s

Anyway, it can be a tiny file server solution for small/home office network storage. ;)
If you don't care the size of box, 2TB 2.5inch USB HDD is much more cost-effective with better performance. :twisted:

Re: SD card compatibility issue.

Unread postPosted: Thu Dec 25, 2014 2:47 pm
by venkatbo
I've just tested a 128GB SDXC Sandisk micro-SD...

Just curious, were you able to run the expansion option of the Odroid-Utility on this 128GB card ?
thanks.

Re: SD card compatibility issue.

Unread postPosted: Thu Dec 25, 2014 8:52 pm
by odroid
Yes, I used the ODROID-Utility to expand the rootfs just after first booting.
After rebooting, I could ran the update-kernel without problem.

But this is too much out of topic. :evil:

Re: SD card compatibility issue.

Unread postPosted: Thu Dec 25, 2014 9:33 pm
by venkatbo
Apologize, did not provide additional info - but thought my question was related. When I ran the expand option on a UHS-1 Class 10 64GB PNY on first boot, it appears to have failed in the process. Noticed a ton of error msgs via UART during reboot. Manual expansion via GParted/check-option yielded no fix either. So was wondering what magic makes some such 32GB+ devices compatible and some not.

In that context, I Wondered how you got your 128GB device to work. Hence the relation to compatibility...
thanks.

Re: SD card compatibility issue.

Unread postPosted: Fri Dec 26, 2014 7:59 am
by mdrjr
We got it to work by connecting to the board and it just works.

I've tested a Samsung 64Gb card and it worked just fine.

Re: SD card compatibility issue.

Unread postPosted: Wed Dec 31, 2014 1:38 pm
by stlpaul
My results so far: The most expensive card does not work, and the cheapest card does work. Of course. :)

DOES NOT WORK AT ALL: Samsung Pro 32GB, model MB-MG32DA white and grey card Class 10/UHS-I described as up to 90MB read/80MB write. Blue LED on the C1 never lights, only the red. Left it up for more than 10+ minutes and never boots at all. Tried multiple times & verified the image was written correctly to the card. No luck.
http://www.samsung.com/in/consumer/memo ... -MG32DA/IN

WORKS: MicroCenter 16GB class 10 card works fine, boots immediately. I believe this is actually a re-branded Adata card of unknown model.
http://www.microcenter.com/product/3661 ... Media_Card

Re: SD card compatibility issue.

Unread postPosted: Wed Dec 31, 2014 6:03 pm
by tobetter
venkatbo wrote:Apologize, did not provide additional info - but thought my question was related. When I ran the expand option on a UHS-1 Class 10 64GB PNY on first boot, it appears to have failed in the process. Noticed a ton of error msgs via UART during reboot. Manual expansion via GParted/check-option yielded no fix either. So was wondering what magic makes some such 32GB+ devices compatible and some not.

In that context, I Wondered how you got your 128GB device to work. Hence the relation to compatibility...
thanks.

What about to run "resize2fs" on your linux desktop, if you have, with your MicroSD, not with Odroid Utility? This might be out of topic, but I like to have such field experience.

Re: SD card compatibility issue.

Unread postPosted: Wed Dec 31, 2014 6:08 pm
by tobetter
stlpaul wrote:My results so far: The most expensive card does not work, and the cheapest card does work. Of course. :)

DOES NOT WORK AT ALL: Samsung Pro 32GB, model MB-MG32DA white and grey card Class 10/UHS-I described as up to 90MB read/80MB write. Blue LED on the C1 never lights, only the red. Left it up for more than 10+ minutes and never boots at all. Tried multiple times & verified the image was written correctly to the card. No luck.
http://www.samsung.com/in/consumer/memo ... -MG32DA/IN

WORKS: MicroCenter 16GB class 10 card works fine, boots immediately. I believe this is actually a re-branded Adata card of unknown model.
http://www.microcenter.com/product/3661 ... Media_Card

Hey, thank you for the info. You may be read already this, http://odroid.com/dokuwiki/doku.php?id= ... _selection, C1 have a problem with MicroSD cards and especially Samsung's MicroSD. We are trying to find a workaround anyway.

Re: SD card compatibility issue.

Unread postPosted: Wed Dec 31, 2014 8:50 pm
by crashoverride
I believe I have encountered a related issue here
http://forum.odroid.com/viewtopic.php?f=117&t=7913

Would be helpful if someone experiencing the slow boot issue could test with a serial console plugged and then unplugged from the device to see if it affects the slow boot.

Re: SD card compatibility issue.

Unread postPosted: Thu Jan 01, 2015 3:11 am
by mikronauts
FYI, another success: ADATA class 10 16GB UHS=1 works fine

Re: SD card compatibility issue.

Unread postPosted: Fri Jan 02, 2015 9:08 am
by TomB
My SanDisk 4GB Class 4 Micro SDHC card does NOT work beyond uboot. I guess you can add that to the list.

Re: SD card compatibility issue.

Unread postPosted: Fri Jan 02, 2015 10:36 am
by Zephrant
Kingston 16GB: Works from a cold boot just fine. A reboot or a quick power cycle causes the board to hang, but I've not plugged in a serial cable to find out why yet.

Kingston Digital 16 GB Class 4 microSDHC Flash Card with SD Adapter (SDC4/16GBET)

Re: SD card compatibility issue.

Unread postPosted: Fri Jan 02, 2015 2:18 pm
by TomB
Zephrant wrote:Kingston 16GB: Works from a cold boot just fine. A reboot or a quick power cycle causes the board to hang, but I've not plugged in a serial cable to find out why yet.

Kingston Digital 16 GB Class 4 microSDHC Flash Card with SD Adapter (SDC4/16GBET)

Issuing a "reboot" command with my Sony sd card also causes issues, uboot can still read the card just fine but for some reason linux can't, and it then fails to boot.

Re: SD card compatibility issue.

Unread postPosted: Sat Jan 03, 2015 8:21 pm
by tobetter
TomB wrote:
Zephrant wrote:Kingston 16GB: Works from a cold boot just fine. A reboot or a quick power cycle causes the board to hang, but I've not plugged in a serial cable to find out why yet.

Kingston Digital 16 GB Class 4 microSDHC Flash Card with SD Adapter (SDC4/16GBET)

Issuing a "reboot" command with my Sony sd card also causes issues, uboot can still read the card just fine but for some reason linux can't, and it then fails to boot.

Hey, could you update your C1 with new version?
http://odroid.com/dokuwiki/doku.php?id= ... _note_v1.1

Re: SD card compatibility issue.

Unread postPosted: Mon Jan 05, 2015 1:15 am
by TomB
Yeah, the new disableuhs flag in boot.ini fixed it for me, thanks!

Re: SD card compatibility issue.

Unread postPosted: Mon Jan 05, 2015 7:14 pm
by bohdans
Hi,
Just to update, but I haven't had a chance to try another card yet.
I updated to v1.1 ubuntu, and I had to COMMENT out "setenv disableuhs "disableuhs"" otherwise the device won't boot.
My card is: Samsung Evo UHC1 32Gb

EDIT: Device still will not reboot.

Re: SD card compatibility issue.

Unread postPosted: Mon Jan 05, 2015 7:22 pm
by tobetter
bohdans wrote:Hi,
Just to update, but I haven't had a chance to try another card yet.
I updated to v1.1 ubuntu, and I had to COMMENT out "setenv disableuhs "disableuhs"" otherwise the device won't boot.
My card is: Samsung Evo UHC1 32Gb

EDIT: Device still will not reboot.

Could you tell us what is exact model name of your MicroSD?
Do you success to boot every power cycle with the Card?
Commenting out "disableuhs" can make your C1 boot is little weird to me. :(

Re: SD card compatibility issue.

Unread postPosted: Tue Jan 06, 2015 5:35 pm
by bohdans
Hi,
I am not sure how to get the exact model? As it isn't printed on the card, and I can seem to get the info from anywhere in the system?

Re: SD card compatibility issue.

Unread postPosted: Tue Jan 06, 2015 5:36 pm
by tobetter
bohdans wrote:Hi,
I am not sure how to get the exact model? As it isn't printed on the card, and I can seem to get the info from anywhere in the system?

It would be good enough to show us the photo of your MicroSD, if you do not have anything else.

Re: SD card compatibility issue.

Unread postPosted: Tue Jan 06, 2015 6:33 pm
by bohdans
Dug up my invoice, this is the part number on the invoice: MB-MP32DA
Model: Samsung 32GB Micro SDHC Class 10 EVO
Link: http://www.samsung.com/sg/consumer/memory-storage/memory-card/microsd-card/MB-MP32DA/APC

I double checked, If I uncomment (enable) "setenv disableuhs "disableuhs"" the odroid will not boot with this SD-Card, I just get the Blue LED blinking.
Commenting it out (disabling) allows me to boot, but not reboot.

Just for fun, I bought 2 of the mentioned microSD cards, I put a fresh image on the other card, same issue. Just on the off chance it was a faulty card.

Re: SD card compatibility issue.

Unread postPosted: Tue Jan 06, 2015 6:36 pm
by bohdans
Also on the wiki it seems you have the 64Gb model of my card under the "good" section and the 16Gb model under the "bad/slow"

Re: SD card compatibility issue.

Unread postPosted: Tue Jan 06, 2015 7:15 pm
by tobetter
bohdans wrote:Also on the wiki it seems you have the 64Gb model of my card under the "good" section and the 16Gb model under the "bad/slow"

You have Samsung Orange MicroSD. :(
The 64GB MicroSD on WiKi have different orange behaviour, it supports SDXC. But yours is SDHC.
Can you get a shell via serial console or ssh? If then, could you capture the log when "disableuhs" is enabled?
Seems you have extra MicroSD, so please try Android as well.

Re: SD card compatibility issue.

Unread postPosted: Tue Jan 06, 2015 9:30 pm
by bohdans
No SSH access when it's stuck on boot,
I only just ordered Serial -> USB adapter, so will be a while until I can get logs.

Re: SD card compatibility issue.

Unread postPosted: Tue Jan 06, 2015 9:35 pm
by tobetter
bohdans wrote:No SSH access when it's stuck on boot,
I only just ordered Serial -> USB adapter, so will be a while until I can get logs.

Yeah, it would be very helpful to find the reason. Anyhow let me update if something helpful comes to me.

Re: SD card compatibility issue.

Unread postPosted: Tue Jan 06, 2015 10:30 pm
by cngdxd
Maxell 32G TF C10 48M UHS-1
cant boot
only red led light

ubuntu ver 1.1

EDIT:try Ubuntu rootfs on USB HDD´╝îworking now

Re: SD card compatibility issue.

Unread postPosted: Wed Jan 07, 2015 12:02 am
by odroid
cngdxd wrote:Maxell 32G TF C10 48M UHS-1
cant boot
only red led light

Did you try this flashing process?
http://odroid.com/dokuwiki/doku.php?id= ... hing_tools
Did you flash our latest image?
http://odroid.com/dokuwiki/doku.php?id= ... _note_v1.1

Re: SD card compatibility issue.

Unread postPosted: Sat Jan 10, 2015 1:48 am
by no_akira
Kingston 8GB microSD HC C10

Corrupted after a couple of failed boots....

Will try the ADATA one instead....

Re: SD card compatibility issue.

Unread postPosted: Sat Jan 10, 2015 1:54 am
by tobetter
no_akira wrote:Kingston 8GB microSD HC C10

Corrupted after a couple of failed boots....

Will try the ADATA one instead....

Are you meaning the MicroSD is corrupted by only failure boots multiple times? You haven't use C1 with the MicroSD?

Re: SD card compatibility issue.

Unread postPosted: Fri Jan 16, 2015 5:38 am
by no_akira
Sorry for delay, managed to get the hang of it all now

The Kingston microSD card isn't corrupted its called "user error" failure between chair and keyboard...!

Its was to do with the Android image mucking up the partition table....

In GParted from Device >> create Partition Table

close GParted and then run the dd command

The lubuntu image on the kingston microSD boots fine --- I kinda get the impression that a lot of the problems people are having might be "user error !"

Re: SD card compatibility issue.

Unread postPosted: Fri Jan 16, 2015 6:02 am
by tobetter
no_akira wrote:Sorry for delay, managed to get the hang of it all now

The Kingston microSD card isn't corrupted its called "user error" failure between chair and keyboard...!

Its was to do with the Android image mucking up the partition table....

In GParted from Device >> create Partition Table

close GParted and then run the dd command

The lubuntu image on the kingston microSD boots fine --- I kinda get the impression that a lot of the problems people are having might be "user error !"

Why do you run Gparted for partitioning since you run "dd" command to flash official image. The official image already include partition table at the beginning of itself, and resize the partition by "resize2fs" to extend the size in Ubuntu.

Re: SD card compatibility issue.

Unread postPosted: Fri Jan 16, 2015 6:14 am
by no_akira
You are probably correct, it was just that in GParted the /dev/sdc drive had a little red stop sign by it,"no partition table" and I think I was having problems running the dd burn image command....it was just rapidly running though the dd output but not actually burning the image onto the micoSD card.

Created the table in Devices >> Create Part.. Table and the dd burn image command worked fully. Basically to burn the lubuntu image takes about 5 mins +/- a few mins.

Re: SD card compatibility issue.

Unread postPosted: Tue Jan 20, 2015 6:12 am
by kkjdroid
SanDisk 32GB Class 4 doesn't seem to boot at all.

Kingston 8GB Class 4 takes a LONG time to boot, upwards of 5 minutes, possibly as long as 10 minutes.

I also have a Patriot 16GB Class 10 that a friend is borrowing. I will give it a try when I get it back.

Re: SD card compatibility issue.

Unread postPosted: Wed Jan 21, 2015 8:44 pm
by timok
Transcend microSDHC 8GB Class 4 - boots without delay

Re: SD card compatibility issue.

Unread postPosted: Wed Jan 21, 2015 8:57 pm
by tobetter
timok wrote:Transcend microSDHC 8GB Class 4 - boots without delay

Thank you, would you mind to update us later if your card does not work properly?

Re: SD card compatibility issue.

Unread postPosted: Thu Jan 22, 2015 12:06 pm
by mlinuxguy
UPDATE: works fine with UHS mode enabled

Samsung MicroSDHC 32GB Micro SD HC EVO Class 10 UHS-1 48MB/s Flash Memory Card
Fails to boot no matter how long I wait.
http://www.samsung.com/us/photography/d ... -MP32DA/AM

Downloaded V1.2 ubuntu image, checked md5sum, linux dd to image
note: resized in gparted on my linux server
Boot log follows:
Code: Select all
[    3.529594@2] mmc driver version: 1.07, 2014-06-30: eMMC add hw reset function
[    3.537567@2] host->base fe108e00
[    3.540009@2] pdata->caps 7
[    3.542697@2] pdata->caps2 0
[    3.545578@2] get property:                     port, value:0x00000004
[    3.552048@2] get property:                ocr_avail, value:0x00200080
[    3.558555@2] get property:                    f_min, value:0x000493e0
[    3.565048@2] get property:                    f_max, value:0x05f5e100
[    3.571531@2] get property:             max_req_size, value:0x00020000
[    3.578038@2] get property:                   irq_in, value:0x00000003
[    3.584520@2] get property:                  irq_out, value:0x00000005
[    3.591031@2] get property:                  gpio_cd, str:CARD_6
[    3.597001@2] get property:                  pinname, str:sd
[    3.602616@2] get property:                card_type, value:0x00000005
[    3.609123@2] get property:                gpio_dat3, str:CARD_4
[    3.615098@2] get property:               gpio_volsw, str:GPIOAO_3
[    3.621257@2] normal card in
[    3.624254@2] aml_sd_voltage_switch[1304] : Switched to voltage -> 3.30 V
[    3.685013@0] sd: mmc_rescan_try_freq: trying to init card at 400000 Hz
[    3.685026@2]  reg:2620,clearmask=80008,setmask=10001
[    3.685030@2] reg:2621,clearmask=ff000000,set pin=49
[    3.685033@2] reg:2623,clearmask=7000,setmask=7
[    3.685037@2]  reg:2620,clearmask=200020,setmask=1
[    3.685040@2] reg:2622,clearmask=ff00,set pin=49
[    3.685043@2] reg:2623,clearmask=700000,setmask=7
[    3.753821@1] [aml_sdhc_print_err] sd: rsp CRC error, port=4, Cmd55 Arg 00010000, xfer_step=3, status=3, cmd25=0, fifo_empty=0, fifo_full=0, timeout=0, iSTA=0x4, STAT=0x3e                                                               
[    3.753821@1] Pinmux: REG2=0x000000f0, REG3=0x00000000, REG4=0x00000300, REG5=0x00000000, REG6=0xfc003f4f, REG8=0x00000000
[    3.774207@1] ***********SDHC_REGS***********
[    3.774207@1] ***********SDHC_REGS***********
[    3.778526@1] SDHC_ARGU: 0x001b6077
[    3.781979@1] SDHC_SEND: 0x00000077
[    3.785460@1] SDHC_CTRL: 0xe7ffe400
[    3.788906@1] SDHC_STAT: 0x0000003e
[    3.790090@0] [aml_sdhc_probe] aml_sdhc_probe() success!
[    3.797671@1] SDHC_CLKC: 0x0002f010
[    3.801121@1] SDHC_ADDR: 0x3ec80000
[    3.804578@1] SDHC_PDMA: 0x2c43bcf0
[    3.808055@1] SDHC_MISC: 0xe0000150
[    3.811506@1] SDHC_DATA: 0xa044982c
[    3.814984@1] SDHC_ICTL: 0x00003067
[    3.818433@1] SDHC_ISTA: 0x00000004
[    3.821896@1] SDHC_SRST: 0x00000000
[    3.825370@1] SDHC_ESTA: 0x00000000
[    3.828823@1] SDHC_ENHC: 0x00fe0cff
[    3.832287@1] SDHC_CLK2: 0x0000100f
[    3.835856@1] [aml_sdhc_print_err] sd: rsp CRC error, port=4, Cmd55 Arg 00010000, xfer_step=3, status=3, cmd25=0, fifo_empty=0, fifo_full=0, timeout=0, iSTA=0x4, STAT=0x3e                                                               
[    3.835856@1] Pinmux: REG2=0x000000f0, REG3=0x00000000, REG4=0x00000300, REG5=0x00000000, REG6=0xfc003f4f, REG8=0x00000000
[    3.861745@1] ***********SDHC_REGS***********
[    3.866066@1] SDHC_ARGU: 0x001b6077
[    3.869520@1] SDHC_SEND: 0x00000077
[    3.872983@1] SDHC_CTRL: 0xe7ffe400
[    3.876456@1] SDHC_STAT: 0x0000003e
[    3.879910@1] SDHC_CLKC: 0x0002f010
[    3.883374@1] SDHC_ADDR: 0x3ec80000
[    3.886846@1] SDHC_PDMA: 0x2c43bcf0
[    3.890301@1] SDHC_MISC: 0xe0000150
[    3.893764@1] SDHC_DATA: 0xa044982c
[    3.897237@1] SDHC_ICTL: 0x00003067
[    3.900691@1] SDHC_ISTA: 0x00000004
[    3.904155@1] SDHC_SRST: 0x00000000
[    3.907628@1] SDHC_ESTA: 0x00000000
[    3.911082@1] SDHC_ENHC: 0x00fe0cff
[    3.914545@1] SDHC_CLK2: 0x0000100f
[    3.918714@0] host->base fe108c20
[    3.918760@0] pdata->caps 80000507
[    3.918763@0] pdata->caps2 0
[    3.918767@0] get property:                     port, value:0x00000002
[    3.918770@0] get property:                ocr_avail, value:0x00200000
[    3.918773@0] get property:                    f_min, value:0x000493e0
[    3.918776@0] get property:                    f_max, value:0x02faf080
[    3.918779@0] get property:                  f_max_w, value:0x02faf080
[    3.918779@0] get property:                  f_max_w, value:0x02faf080
[    3.918782@0] get property:             max_req_size, value:0x00020000
[    3.918791@0] get property:                  pinname, str:emmc
[    3.918794@0] get property:                card_type, value:0x00000001
[    3.918800@0] get property:                gpio_dat3, str:BOOT_3
[    3.918805@0] [is_emmc_exist] host->storage_flag=0, POR_BOOT_VALUE=1
[    3.918102@1] [aml_sdhc_print_err] sd: rsp CRC error, port=4, Cmd55 Arg 00010000, xfer_step=3, status=3, cmd25=0, fifo_empty=0, fifo_full=0, timeout=0, iSTA=0x4, STAT=0x3e                                                               
[    3.918102@1] Pinmux: REG2=0x000000f0, REG3=0x00000000, REG4=0x00000300, REG5=0x00000000, REG6=0xfc003f4f, REG8=0x00000000
[    4.017093@1] ***********SDHC_REGS***********
[    4.017093@1] ***********SDHC_REGS***********
[    4.021396@1] SDHC_ARGU: 0x001b6077
[    4.024859@1] SDHC_SEND: 0x00000077
[    4.028335@1] SDHC_CTRL: 0xe7ffe400
[    4.031786@1] SDHC_STAT: 0x0000003e
[    4.034989@0] [aml_sdio_probe] aml_sdio_probe() success!
[    4.035075@0] [dsp]DSP start addr 0xc5e00000
[    4.035104@0] [dsp]register dsp to char divece(257)
[    4.035759@0] aml_rtc rtc.0: rtc core: registered aml_rtc as rtc0
[    4.036550@0] amlogic rfkill init
[    4.036859@0] aml_hw_crypto initialization.
[    4.037930@0] enter rt5616_modinit
[    4.038034@0] dummy_codec_platform_probe
[    4.038415@0] enter aml_i2s_dai_probe
[    4.038420@0] i2s get no clk src setting in dts, use the default mpll 0
[    4.038520@0] enter aml_pcm_dai_probe
[    4.038704@0] test codec dummy_codec
[    4.038708@0] using external codec, index = 1
[    4.038710@0] using external dummy codec
[    4.038794@0] enter spdif_dit_probe
[    4.038796@0] aml_spdif_unmute
[    4.038909@0] codec_name = dummy_codec.0
[    4.039403@2] enter aml_asoc_init
[    4.039428@2] spk_event delay_time = 130
[    4.039493@2] aml_snd_m8 aml_m8_sound_card.4:  dummy_codec <-> aml-i2s-dai.0 mapping ok
[    4.111215@1] SDHC_CLKC: 0x0002f010
[    4.114651@1] SDHC_ADDR: 0x3ec80000
[    4.118128@1] SDHC_PDMA: 0x2c43bcf0
[    4.121578@1] SDHC_MISC: 0xe0000150
[    4.125053@1] SDHC_DATA: 0xa044982c
[    4.128505@1] SDHC_ICTL: 0x00003067
[    4.131968@1] SDHC_ISTA: 0x00000004
[    4.135443@1] SDHC_SRST: 0x00000000
[    4.138896@1] SDHC_ESTA: 0x00000000
[    4.142359@1] SDHC_ENHC: 0x00fe0cff
[    4.145833@1] SDHC_CLK2: 0x0000100f
[    4.149397@1] [aml_sdhc_print_err] sd: rsp CRC error, port=4, Cmd55 Arg 00010000, xfer_step=3, status=3, cmd25=0, fifo_empty=0, fifo_full=0, timeout=0, iSTA=0x4, STAT=0x3e                                                               
[    4.149397@1] Pinmux: REG2=0x000000f0, REG3=0x00000000, REG4=0x00000300, REG5=0x00000000, REG6=0xfc003f4f, REG8=0x00000000
[    4.175281@1] ***********SDHC_REGS***********
[    4.179592@1] SDHC_ARGU: 0x001b6077
..... repeats ....
[    4.778616@0] emmc: mmc_rescan_try_freq: trying to init card at 400000 Hz
[    4.778619@0] aml_emmc_hw_reset 1374
[    6.826484@2] implementor 41 architecture 2 part 30 variant 5 rev 1
[    6.832675@2] Registering SWP/SWPB emulation handler
[    6.837609@2] enter meson_pm_init
[    6.841003@2] enter meson_pm_probe!
[    6.844349@2] meson_pm_probe done !
[    6.848396@2] registered taskstats version 1
[    6.852141@2] regulator-dummy: disabling
[    6.856215@2] Mali DRM initialize, driver name: mali_drm, version 2.1
[    8.786002@0] emmc: mmc_rescan_try_freq: trying to init card at 300000 Hz
[    8.824978@0] aml_emmc_hw_reset 1374
[    9.449696@0] set_vout_mode[156]

Re: SD card compatibility issue.

Unread postPosted: Thu Jan 22, 2015 12:22 pm
by tobetter
mlinuxguy wrote:Samsung MicroSDHC 32GB Micro SD HC EVO Class 10 UHS-1 48MB/s Flash Memory Card
Fails to boot no matter how long I wait.
http://www.samsung.com/us/photography/d ... -MP32DA/AM

Boot log follows:
Code: Select all
[    3.529594@2] mmc driver version: 1.07, 2014-06-30: eMMC add hw reset function
[    3.537567@2] host->base fe108e00
[    3.540009@2] pdata->caps 7
[    3.542697@2] pdata->caps2 0
[    3.545578@2] get property:                     port, value:0x00000004
[    3.552048@2] get property:                ocr_avail, value:0x00200080
[    3.558555@2] get property:                    f_min, value:0x000493e0
[    3.565048@2] get property:                    f_max, value:0x05f5e100
[    3.571531@2] get property:             max_req_size, value:0x00020000
[    3.578038@2] get property:                   irq_in, value:0x00000003
[    3.584520@2] get property:                  irq_out, value:0x00000005
[    3.591031@2] get property:                  gpio_cd, str:CARD_6
[    3.597001@2] get property:                  pinname, str:sd
[    3.602616@2] get property:                card_type, value:0x00000005
[    3.609123@2] get property:                gpio_dat3, str:CARD_4
[    3.615098@2] get property:               gpio_volsw, str:GPIOAO_3
[    3.621257@2] normal card in
[    3.624254@2] aml_sd_voltage_switch[1304] : Switched to voltage -> 3.30 V
[    3.685013@0] sd: mmc_rescan_try_freq: trying to init card at 400000 Hz
[    3.685026@2]  reg:2620,clearmask=80008,setmask=10001
[    3.685030@2] reg:2621,clearmask=ff000000,set pin=49
[    3.685033@2] reg:2623,clearmask=7000,setmask=7
[    3.685037@2]  reg:2620,clearmask=200020,setmask=1
[    3.685040@2] reg:2622,clearmask=ff00,set pin=49
[    3.685043@2] reg:2623,clearmask=700000,setmask=7
[    3.753821@1] [aml_sdhc_print_err] sd: rsp CRC error, port=4, Cmd55 Arg 00010000, xfer_step=3, status=3, cmd25=0, fifo_empty=0, fifo_full=0, timeout=0, iSTA=0x4, STAT=0x3e                                                               
[    3.753821@1] Pinmux: REG2=0x000000f0, REG3=0x00000000, REG4=0x00000300, REG5=0x00000000, REG6=0xfc003f4f, REG8=0x00000000
[    3.774207@1] ***********SDHC_REGS***********
[    3.774207@1] ***********SDHC_REGS***********
[    3.778526@1] SDHC_ARGU: 0x001b6077
[    3.781979@1] SDHC_SEND: 0x00000077
[    3.785460@1] SDHC_CTRL: 0xe7ffe400
[    3.788906@1] SDHC_STAT: 0x0000003e
[    3.790090@0] [aml_sdhc_probe] aml_sdhc_probe() success!
[    3.797671@1] SDHC_CLKC: 0x0002f010
[    3.801121@1] SDHC_ADDR: 0x3ec80000
[    3.804578@1] SDHC_PDMA: 0x2c43bcf0
[    3.808055@1] SDHC_MISC: 0xe0000150
[    3.811506@1] SDHC_DATA: 0xa044982c
[    3.814984@1] SDHC_ICTL: 0x00003067
[    3.818433@1] SDHC_ISTA: 0x00000004
[    3.821896@1] SDHC_SRST: 0x00000000
[    3.825370@1] SDHC_ESTA: 0x00000000
[    3.828823@1] SDHC_ENHC: 0x00fe0cff
[    3.832287@1] SDHC_CLK2: 0x0000100f
[    3.835856@1] [aml_sdhc_print_err] sd: rsp CRC error, port=4, Cmd55 Arg 00010000, xfer_step=3, status=3, cmd25=0, fifo_empty=0, fifo_full=0, timeout=0, iSTA=0x4, STAT=0x3e                                                               
[    3.835856@1] Pinmux: REG2=0x000000f0, REG3=0x00000000, REG4=0x00000300, REG5=0x00000000, REG6=0xfc003f4f, REG8=0x00000000
[    3.861745@1] ***********SDHC_REGS***********
[    3.866066@1] SDHC_ARGU: 0x001b6077
[    3.869520@1] SDHC_SEND: 0x00000077
[    3.872983@1] SDHC_CTRL: 0xe7ffe400
[    3.876456@1] SDHC_STAT: 0x0000003e
[    3.879910@1] SDHC_CLKC: 0x0002f010
[    3.883374@1] SDHC_ADDR: 0x3ec80000
[    3.886846@1] SDHC_PDMA: 0x2c43bcf0
[    3.890301@1] SDHC_MISC: 0xe0000150
[    3.893764@1] SDHC_DATA: 0xa044982c
[    3.897237@1] SDHC_ICTL: 0x00003067
[    3.900691@1] SDHC_ISTA: 0x00000004
[    3.904155@1] SDHC_SRST: 0x00000000
[    3.907628@1] SDHC_ESTA: 0x00000000
[    3.911082@1] SDHC_ENHC: 0x00fe0cff
[    3.914545@1] SDHC_CLK2: 0x0000100f
[    3.918714@0] host->base fe108c20
[    3.918760@0] pdata->caps 80000507
[    3.918763@0] pdata->caps2 0
[    3.918767@0] get property:                     port, value:0x00000002
[    3.918770@0] get property:                ocr_avail, value:0x00200000
[    3.918773@0] get property:                    f_min, value:0x000493e0
[    3.918776@0] get property:                    f_max, value:0x02faf080
[    3.918779@0] get property:                  f_max_w, value:0x02faf080
[    3.918779@0] get property:                  f_max_w, value:0x02faf080
[    3.918782@0] get property:             max_req_size, value:0x00020000
[    3.918791@0] get property:                  pinname, str:emmc
[    3.918794@0] get property:                card_type, value:0x00000001
[    3.918800@0] get property:                gpio_dat3, str:BOOT_3
[    3.918805@0] [is_emmc_exist] host->storage_flag=0, POR_BOOT_VALUE=1
[    3.918102@1] [aml_sdhc_print_err] sd: rsp CRC error, port=4, Cmd55 Arg 00010000, xfer_step=3, status=3, cmd25=0, fifo_empty=0, fifo_full=0, timeout=0, iSTA=0x4, STAT=0x3e                                                               
[    3.918102@1] Pinmux: REG2=0x000000f0, REG3=0x00000000, REG4=0x00000300, REG5=0x00000000, REG6=0xfc003f4f, REG8=0x00000000
[    4.017093@1] ***********SDHC_REGS***********
[    4.017093@1] ***********SDHC_REGS***********
[    4.021396@1] SDHC_ARGU: 0x001b6077
[    4.024859@1] SDHC_SEND: 0x00000077
[    4.028335@1] SDHC_CTRL: 0xe7ffe400
[    4.031786@1] SDHC_STAT: 0x0000003e
[    4.034989@0] [aml_sdio_probe] aml_sdio_probe() success!
[    4.035075@0] [dsp]DSP start addr 0xc5e00000
[    4.035104@0] [dsp]register dsp to char divece(257)
[    4.035759@0] aml_rtc rtc.0: rtc core: registered aml_rtc as rtc0
[    4.036550@0] amlogic rfkill init
[    4.036859@0] aml_hw_crypto initialization.
[    4.037930@0] enter rt5616_modinit
[    4.038034@0] dummy_codec_platform_probe
[    4.038415@0] enter aml_i2s_dai_probe
[    4.038420@0] i2s get no clk src setting in dts, use the default mpll 0
[    4.038520@0] enter aml_pcm_dai_probe
[    4.038704@0] test codec dummy_codec
[    4.038708@0] using external codec, index = 1
[    4.038710@0] using external dummy codec
[    4.038794@0] enter spdif_dit_probe
[    4.038796@0] aml_spdif_unmute
[    4.038909@0] codec_name = dummy_codec.0
[    4.039403@2] enter aml_asoc_init
[    4.039428@2] spk_event delay_time = 130
[    4.039493@2] aml_snd_m8 aml_m8_sound_card.4:  dummy_codec <-> aml-i2s-dai.0 mapping ok
[    4.111215@1] SDHC_CLKC: 0x0002f010
[    4.114651@1] SDHC_ADDR: 0x3ec80000
[    4.118128@1] SDHC_PDMA: 0x2c43bcf0
[    4.121578@1] SDHC_MISC: 0xe0000150
[    4.125053@1] SDHC_DATA: 0xa044982c
[    4.128505@1] SDHC_ICTL: 0x00003067
[    4.131968@1] SDHC_ISTA: 0x00000004
[    4.135443@1] SDHC_SRST: 0x00000000
[    4.138896@1] SDHC_ESTA: 0x00000000
[    4.142359@1] SDHC_ENHC: 0x00fe0cff
[    4.145833@1] SDHC_CLK2: 0x0000100f
[    4.149397@1] [aml_sdhc_print_err] sd: rsp CRC error, port=4, Cmd55 Arg 00010000, xfer_step=3, status=3, cmd25=0, fifo_empty=0, fifo_full=0, timeout=0, iSTA=0x4, STAT=0x3e                                                               
[    4.149397@1] Pinmux: REG2=0x000000f0, REG3=0x00000000, REG4=0x00000300, REG5=0x00000000, REG6=0xfc003f4f, REG8=0x00000000
[    4.175281@1] ***********SDHC_REGS***********
[    4.179592@1] SDHC_ARGU: 0x001b6077
..... repeats ....
[    4.778616@0] emmc: mmc_rescan_try_freq: trying to init card at 400000 Hz
[    4.778619@0] aml_emmc_hw_reset 1374
[    6.826484@2] implementor 41 architecture 2 part 30 variant 5 rev 1
[    6.832675@2] Registering SWP/SWPB emulation handler
[    6.837609@2] enter meson_pm_init
[    6.841003@2] enter meson_pm_probe!
[    6.844349@2] meson_pm_probe done !
[    6.848396@2] registered taskstats version 1
[    6.852141@2] regulator-dummy: disabling
[    6.856215@2] Mali DRM initialize, driver name: mali_drm, version 2.1
[    8.786002@0] emmc: mmc_rescan_try_freq: trying to init card at 300000 Hz
[    8.824978@0] aml_emmc_hw_reset 1374
[    9.449696@0] set_vout_mode[156]

Didn't you have delayed start up with the card on power cycle? Could you check if disableuhs is commented in boot.ini? Some card should be enable the option to start, but it also makes another problem that reboot does not work. :oops:

Re: SD card compatibility issue.

Unread postPosted: Thu Jan 22, 2015 12:29 pm
by mlinuxguy
About 10 minutes after I posted I tested enabling UHS and it works fine.
So that card works in UHS mode, fails with it disabled.

Re: SD card compatibility issue.

Unread postPosted: Thu Jan 22, 2015 12:34 pm
by tobetter
mlinuxguy wrote:About 10 minutes after I posted I tested enabling UHS and it works fine.
So that card works in UHS mode, fails with it disabled.

Correct, but your card won't boot with reboot command.

Re: SD card compatibility issue.

Unread postPosted: Thu Jan 22, 2015 12:38 pm
by mlinuxguy
You are correct, I had to cycle power and it came up fine, reboot command does not come up

Re: SD card compatibility issue.

Unread postPosted: Tue Jan 27, 2015 5:33 pm
by timok
I've got two C1 here. I'm also testing 3 different SD Cards:

Transcend 8GB Class 4
Transcend 4GB Class 6
Samsung microSDHC Pro 32GB UHS 1

The first C1 boots most of the time (I'd say about 80%) without delay.
The second C1 boots nearly never, no matter how long I wait. But if I connect the UART module for debugging and reconnect power, it starts most of the time with ~15 seconds delay and sometimes even without delay. I never had the case of UART module connected and the C1 not booting at all. This behaviour is the same with all 3 SD cards.

Re: SD card compatibility issue.

Unread postPosted: Wed Feb 04, 2015 7:10 am
by sgrin
ADATA Premier microSDHC Class 10 UHS-I 32Gb (can't find it on adata.com, they show Premier Pro only which is not mine)

With disabled UHS in boot.ini works fine (can see some errors in UART).
With enable UHS seems to work ok but can't reboot (need power cycle).

See attached files for UART logs of Ubuntu and Archlinux booting/rebooting with/without UHS.
Logs contain 'cat boot.ini'.
Both OSs were updated beforehand.

Re: SD card compatibility issue.

Unread postPosted: Fri Feb 13, 2015 1:50 pm
by i_reede@amerisys.com
Can hardkernel give us a list of compatible cards... It's getting old pretty fast to buy cards at random and "hope" tehy work. The same is also true for micro hdmi cables.. we have bought a few, most of them simply don't work... some need extra ground wire between the Micro-hdmi jack shield and ground, other simply don't work on the C1 yet work perfectly well on other hosts. Frrustration is sinking in withh these little snags that hurt an otherwise great product.

So please give us your list of known compatible SD cards so we can buy cards knowing they WILL work instead of playing trial and error.

Re: SD card compatibility issue.

Unread postPosted: Fri Feb 13, 2015 2:40 pm
by odroid
At this moment, we can say only "99.9% of Sandisk cards works with C1".

It is very hard to make the list of cards due to the irregular/erratic different reports.
For example, Samsung EVO UHS-1 works well except for the 30-secodns-delay-boot issue.
But some people told us it boots quickly but it shows the non-reboot-issue.
We've thought that each batches of SD card might be slightly different characteristics.. But we are not sure. :(


As we noted on this link, there are some cable manufacturers don't follow the HDMI standard.
viewtopic.php?f=80&t=3323
At this moment, we can say "Hardkernel web store", "Ameridroid web store" and "LiliputeDirect web store" are selling the compatible cable.
We heard from some customers that "Pollin" seems not to be selling the compatible cable.
BTW, we are shipping around several thousands of ODROIDs every month. Only 15~20% of customers are buying our HDMI cable probably.
I think 1% or less of ODROID users might have the issue of the HDMI cable compatibility.
We really regret why we didn't apply the standard HDMI type-A connector even the board size could be bigger.

Re: SD card compatibility issue.

Unread postPosted: Mon Mar 02, 2015 4:04 am
by sgrin
Can we help you somehow to improve SD compatibility?

Re: SD card compatibility issue.

Unread postPosted: Mon Mar 02, 2015 12:25 pm
by ludengping
mikronauts wrote:FYI, another success: ADATA class 10 16GB UHS=1 works fine


ADATA class 10 works well for me too.

Re: SD card compatibility issue.

Unread postPosted: Sat Mar 07, 2015 3:47 am
by vientito

Re: SD card compatibility issue.

Unread postPosted: Thu Mar 12, 2015 8:26 pm
by Fabry
I have it and it seems to work well (no boot delay, the best performance) even if I have not tested it for long time.

Using this my simple benchmark:
Code: Select all
#!/bin/bash

echo Write test of 128MB with blocks of 4, 8, 16, 32, 64 e 1024KB
dd if=/dev/zero of=zero.img bs=4K count=32768 oflag=direct
rm zero.img
dd if=/dev/zero of=zero.img bs=8K count=16384 oflag=direct
rm zero.img
dd if=/dev/zero of=zero.img bs=16K count=8192 oflag=direct
rm zero.img
dd if=/dev/zero of=zero.img bs=32K count=4096 oflag=direct
rm zero.img
dd if=/dev/zero of=zero.img bs=64K count=2048 oflag=direct
rm zero.img
dd if=/dev/zero of=zero.img bs=1M count=128 oflag=direct

echo Read test of 128MB with blocks of 4, 8, 16, 32, 64 e 1024KB
dd if=zero.img of=/dev/null bs=4K count=32768 iflag=direct
dd if=zero.img of=/dev/null bs=8K count=16384 iflag=direct
dd if=zero.img of=/dev/null bs=16K count=8192 iflag=direct
dd if=zero.img of=/dev/null bs=32K count=4096 iflag=direct
dd if=zero.img of=/dev/null bs=64K count=2048 iflag=direct
dd if=zero.img of=/dev/null bs=1M count=128 iflag=direct

rm zero.img

I obtain the result (UHS-1 mode ON):

  • SanDisk 16GB Ultra read speed is from minimum 8.3MB/s to maximum 35.5MB/s
  • SanDisk 16GB Extreme read speed is from minimum 10.2MB/s to maximum 36.5MB/s
  • SanDisk 16GB Ultra write speed is from minimum 1.4MB/s to maximum 12.5MB/s
  • SanDisk 16GB Extreme write speed is from minimum 2.6MB/s to maximum 30.5MB/s

Read speed is about the same (but little better on Extreme), but Write speed is much better on Extreme.

Boot time (to text console) decrease of about 2 sec with Extreme (i.e. like 14-15 sec with Extreme and 16-17 sec with Ultra).

PS
With UHS-1 mode OFF, maximum speed is limited to about 20-21MB/s