odroid-c1+ boot from sd card problem

Post Reply
hyphop
Posts: 68
Joined: Tue Dec 01, 2015 4:22 pm
languages_spoken: english
ODROIDs: ODROID-C1+ & C2
Has thanked: 0
Been thanked: 0
Contact:

odroid-c1+ boot from sd card problem

Post by hyphop »

i try several sd cards but have same result,
device starting and load u-boot turn on blue light
and stop after !!! because cant see sd card anymore ( what WRONG ? board broken or anything else ? ) TNX for reply!!!

Code: Select all

QA5:A;SVN:B72;POC:17F;STS:0;BOOT:0;INIT:10;BOOT:1;INIT:0;READ:0;CHECK:0;PASS:1;
-----------------------------------------------------------------------
* Welcome to Hardkernel's ODROID-C... (Built at 19:33:00 Dec  8 2014) *
--------------------------------------------------------------------CPU : AMLogic S805
MEM : 1024MB (DDR3@792MHz)
BID : HKC1310001
S/N : HKC11122F37E1442
0x0000009f
check SD_boot_type:0x1   card_type:0x1
Loading U-boot...success.


U-boot-00000-geb22ea4-dirty(odroidc@eb22ea4b) (Jul 28 2015 - 22:16:46)

DRAM:  1 GiB
relocation Offset is: 2ff1c000
MMC:   SDCARD: 0, eMMC: 1
mmc write failed
IR init is done!
*** Warning - readenv() failed, using default environment

vpu clk_level = 3
set vpu clk: 182150000Hz, readback: 182150000Hz(0x701)
mode = 6  vic = 4
set HDMI vic: 4
mode is: 6
viu chan = 1
config HPLL
config HPLL done
reconfig packet setting done
MMC read: dev # 0, block # 33984, count 12288 ... 0 blocks read: ERROR
mmc cmd read failed 
There is no valid bmp file at the given address
============================================================
Vendor: Man 035344 Snr a23b6355 Rev: 8.0 Prod: SL32G
            Type: Removable Hard Disk
            Capacity: 30436.5 MB = 29.7 GB (62333952 x 512)
------------------------------------------------------------
Partition     Start Sector     Num Sectors     Type
** Can't read partition table on 0:0 **
============================================================
Net:   Meson_Ethernet
init suspend firmware done. (ret:0)
Hit Enter key to stop autoboot -- :  0 
exit abortboot: 0
** Can't read from device 0 **

** Unable to use mmc 0:1 for fatload **
** Bad partition 1 **
** Bad partition 2 **
Failed to load boot.init, maybe empty file?
MMC read: dev # 0, block # 1216, count 16384 ... 0 blocks read: ERROR
mmc cmd read failed 
MMC read: dev # 0, block # 1088, count 128 ... 0 blocks read: ERROR
mmc cmd read failed 
Wrong Image Format for bootm command
ERROR: can't get kernel image!

try another card and another image 

QA5:A;SVN:B72;POC:17F;STS:0;BOOT:0;INIT:10;BOOT:1;INIT:0;READ:0;CHECK:0;PASS:1;
-----------------------------------------------------------------------
* Welcome to Hardkernel's ODROID-C... (Built at 19:33:00 Dec  8 2014) *
---------------------------------------------------------------CPU : AMLogic S805
MEM : 1024MB (DDR3@792MHz)
BID : HKC1310001
S/N : HKC11122F37E1442
0x0000009f
check SD_boot_type:0x1   card_type:0x1
Loading U-boot...success.


U-boot(odroidc@) (Apr 19 2015 - 21:53:59)

DRAM:  1 GiB
relocation Offset is: 2ff1c000
MMC:   SDCARD: 0, eMMC: 1
mmc write failed
IR init is done!
*** Warning - readenv() failed, using default environment

vpu clk_level = 3
set vpu clk: 182150000Hz, readback: 182150000Hz(0x701)
mode = 6  vic = 4
set HDMI vic: 4
mode is: 6
viu chan = 1
config HPLL
config HPLL done
reconfig packet setting done
MMC read: dev # 0, block # 33984, count 12288 ... 0 blocks read: ERROR
mmc cmd read failed 
There is no valid bmp file at the given address
============================================================
Vendor: Man 035344 Snr a23b6355 Rev: 8.0 Prod: SL32G
            Type: Removable Hard Disk
            Capacity: 30436.5 MB = 29.7 GB (62333952 x 512)
------------------------------------------------------------
Partition     Start Sector     Num Sectors     Type
** Can't read partition table on 0:0 **
============================================================
Net:   Meson_Ethernet
init suspend firmware done. (ret:0)
Hit Enter key to stop autoboot -- :  0 
exit abortboot: 0
** Can't read from device 0 **

** Unable to use mmc 0:1 for fatload **
** Bad partition 1 **
** Bad partition 2 **
Failed to load boot.init, maybe empty file?
MMC read: dev # 0, block # 1216, count 16384 ... 0 blocks read: ERROR
mmc cmd read failed 
MMC read: dev # 0, block # 1088, count 128 ... 0 blocks read: ERROR
mmc cmd read failed 
Wrong Image Format for bootm command
ERROR: can't get kernel image!
odroidc#         
Unknown command '' - try 'help'

User avatar
odroid
Site Admin
Posts: 35266
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 1074 times
Been thanked: 822 times
Contact:

Re: odroid-c1+ boot from sd card problem

Post by odroid »

Which OS image did you flash? Let us know the file name.

Also refer this flashing guide. Try to use "VERIFY" button on our Win32DiskImager.
http://odroid.com/dokuwiki/doku.php?id= ... hing_tools

hyphop
Posts: 68
Joined: Tue Dec 01, 2015 4:22 pm
languages_spoken: english
ODROIDs: ODROID-C1+ & C2
Has thanked: 0
Been thanked: 0
Contact:

Re: odroid-c1+ boot from sd card problem

Post by hyphop »

hi i try this
http://dn.odroid.com/S805/RuneAudio_7in ... _2.8GB.zip
http://dn.odroid.com/S805/Ubuntu/ubuntu ... 020.img.xz

i use linux dd for image writing, i try use adata and sandisk cards
xzcat ubuntu-14.04.3lts-lubuntu-odroid-c1-20151020.img.xz | dd of=/dev/mmcblk0 bs=1M

every time i have seen at u-boot time mmc write failed
u-boot cant see my sd card, but he started from sd card must be work
what wrong

# mmcinfo
Device: SDCARD
Manufacturer ID: 0
OEM: 0
Name: Tran Speed: 40000000
Rd Block Len: 512
SD version 2.0
High Capacity: Yes
Capacity: 31914983424
Boot Part Size: 0
Bus Width: 4-bit

device powered via microusb 2A

odroidc#usb start
(Re)start USB(0)...
USB: dwc_usb driver version: 2.94 6-June-2012
USB (1) peri reg base: c1108820
USB (1) use clock source: XTAL input
USB (1) base addr: 0xc90c0000
dwc_otg: usb_lowlevel_init: Bad value for SNPSID: 0x00000000

Error, couldn't init Lowlevel part

hyphop
Posts: 68
Joined: Tue Dec 01, 2015 4:22 pm
languages_spoken: english
ODROIDs: ODROID-C1+ & C2
Has thanked: 0
Been thanked: 0
Contact:

Re: odroid-c1+ boot from sd card problem

Post by hyphop »

after 1 hour trying ! device started without problem ! but it was one time )))) after reboot same story and didn't started again ((((
i think device is broken !!! started only once from 100 tries

User avatar
odroid
Site Admin
Posts: 35266
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 1074 times
Been thanked: 822 times
Contact:

Re: odroid-c1+ boot from sd card problem

Post by odroid »

I think your card reader seems to be bad.
Try "VERIFY" button on our Win32DiskImager V1.3 if you can access a Windows PC.

Which power supply do you use? Unstable PSU can cause a similar issue you met.
Can you measure the voltage of 5V rail on the 40pin header? It must be stable at 4.75~5.25Volt.
http://www.hardkernel.com/main/products ... &tab_idx=2

hyphop
Posts: 68
Joined: Tue Dec 01, 2015 4:22 pm
languages_spoken: english
ODROIDs: ODROID-C1+ & C2
Has thanked: 0
Been thanked: 0
Contact:

Re: odroid-c1+ boot from sd card problem

Post by hyphop »

sd image workable !!!
which card reader ? i write sd image via USB card reader and compare check sum its same !

BUT 40 pin have only 0.5 V and voltage floating up and down after power up
i have try different PSU via microusb ( 3 power banks 5- 2A and 2 normal adapters 5V 1-2A ) same situation

hyphop
Posts: 68
Joined: Tue Dec 01, 2015 4:22 pm
languages_spoken: english
ODROIDs: ODROID-C1+ & C2
Has thanked: 0
Been thanked: 0
Contact:

Re: odroid-c1+ boot from sd card problem

Post by hyphop »

i have try power up via standard on board jack same result
if i just touch J4 power switch pin by finger and device reboot after i lift my finger from this pin - its normal ?

User avatar
odroid
Site Admin
Posts: 35266
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 1074 times
Been thanked: 822 times
Contact:

Re: odroid-c1+ boot from sd card problem

Post by odroid »

Does it fully boot now?

How did you compare the checksum?
We also need a solution of "VERIFY" on the linux command line. Please help us.

Measure voltage level between GND(pin6) and 5V0(pin2) on the 40pin header.

Yes, J4 is designed for controlling the power path.
http://odroid.com/dokuwiki/doku.php?id= ... off_switch
So it can be more sensitive when the air is dry or higher static current on your body/finger.

hyphop
Posts: 68
Joined: Tue Dec 01, 2015 4:22 pm
languages_spoken: english
ODROIDs: ODROID-C1+ & C2
Has thanked: 0
Been thanked: 0
Contact:

Re: odroid-c1+ boot from sd card problem

Post by hyphop »

i have full boot only sometimes about 1/100
my voltage level between GND(pin6) and 5V0(pin2) = 5V

hyphop
Posts: 68
Joined: Tue Dec 01, 2015 4:22 pm
languages_spoken: english
ODROIDs: ODROID-C1+ & C2
Has thanked: 0
Been thanked: 0
Contact:

Re: odroid-c1+ boot from sd card problem

Post by hyphop »

> How did you compare the check-sum?
i have write small script for writng and checking images in LINUX

image writing

Code: Select all

#  ./write_img ubuntu-14.04.3lts-lubuntu-odroid-c1-20151020.img /dev/mmcblk0

read image from /tmp/ubuntu-14.04.3lts-lubuntu-odroid-c1-20151020.img (5505024000 bytes)
write to /dev/mmcblk0 10752 blocks by 512000 bytes == 5505024000 please wait!!!
10752+0 records in
10752+0 records out
5505024000 bytes (5.5 GB) copied, 389.476 s, 14.1 MB/s

sync and drop all caches !!! this step u can drop

Code: Select all

# sync && echo 1 > /proc/sys/vm/drop_caches
image checking

Code: Select all

# ./write_check ubuntu-14.04.3lts-lubuntu-odroid-c1-20151020.img 

img /tmp/ubuntu-14.04.3lts-lubuntu-odroid-c1-20151020.img
==right md5sum for full image size 5505024000 bytes
f5b185dfb5d97d9a5a4b851b857abf27 ubuntu-14.04.3lts-lubuntu-odroid-c1-20151020.img

==read 10752000 blocks x 512 bytes = 5505024000

==sd /dev/mmcblk0 checksum calculate please wait
f5b185dfb5d97d9a5a4b851b857abf27  -

==image /tmp/ubuntu-14.04.3lts-lubuntu-odroid-c1-20151020.img checksum calculate please wait
f5b185dfb5d97d9a5a4b851b857abf27  -

==sd dd log /tmp/dd.sd.log
10752000+0 records in
10752000+0 records out
5505024000 bytes (5.5 GB) copied, 138.421 s, 39.8 MB/s
==image dd log /tmp/dd.img.log
10752000+0 records in
10752000+0 records out
5505024000 bytes (5.5 GB) copied, 10.3087 s, 534 MB/s

write_img

Code: Select all

#!/bin/sh

usage() {
    echo "Usage 
	$0 IMAGE [ DEVICE ] [ BLOCK_SIZE ] [ BLOCKS ]
    EXAMPLE
	$0 ubuntu-14.04.3lts-lubuntu-odroid-c1-20151020.img  /dev/mmcblk0
    
"
    exit 0 
}

[ $# = 0 ] && usage 

img=$1
mmc=$2
bsize=$3
blocks=$4
blocks2=""

#512*1000 = 512000

[ "$bsize"        ] || bsize=512000
[ "$bsize" = "0"  ] && bsize=512000
[ "$mmc"          ] || mmc="/dev/mmcblk0"
[ "$blocks"       ] && blocks2="blocks=$blocks"

[ -L $img ] && img=$(readlink $img)
img_size=$(stat -c%s $img)

blocks=$(($img_size / $bsize ));
bytes=$(($blocks * $bsize ));
echo "read image from $img ($img_size bytes)"
echo "write to $mmc $blocks blocks by $bsize bytes == $bytes please wait!!!"

dd if=$img bs=$bsize $blocks2 of=$mmc

write_check

Code: Select all

#!/bin/sh

usage() {
    echo "Usage 
	$0 IMAGE [ DEVICE ] [ BLOCK_SIZE ] [ BLOCKS ]
    if u check full image be sure 
	IMAGE_SIZE / BLOCKSIZE == BLOCK * BLOCKSIZE
    EXAMPLE
	$0 ubuntu-14.04.3lts-lubuntu-odroid-c1-20151020.img /dev/mmcblk0
    
"
    exit 0 
}

[ $# = 0 ] && usage 

blocks=$4
bsize=$3
mmc=$2
img=$1


[ "$bsize" ] 	    || bsize=0
[ "$bsize" = "0" ]  && bsize=512

[ "$mmc"          ] || mmc="/dev/mmcblk0"

log_sd="/tmp/dd.sd.log"
log_img="/tmp/dd.img.log"
img_md5=$(cat "$img.md5sum")
[ -L $img ] && img=$(readlink $img)
img_size=$(stat -c%s $img)

[ "$blocks" ]       || blocks=0
[ "$blocks" = "0" ] && blocks=$(($img_size / $bsize))

echo "img $img"
echo "==right md5sum for full image size $img_size bytes"
echo $img_md5
echo ""

bytes=$(($bsize * $blocks));

echo "==read $blocks blocks x $bsize bytes = $bytes"
[ "$bytes" != "$img_size" ] && echo "!!! check not full image size $bytes != $img_size"
echo ""
echo "==sd $mmc checksum calculate please wait"
dd if=$mmc bs=$bsize count=$blocks 2>$log_sd | md5sum
echo ""
echo "==image $img checksum calculate please wait"
dd if=$img bs=$bsize count=$blocks 2>$log_img | md5sum
echo ""
#[ "$img" ] || exit 0
echo "==sd dd log $log_sd"
cat $log_sd
echo "==image dd log $log_img"
cat $log_img


User avatar
odroid
Site Admin
Posts: 35266
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 1074 times
Been thanked: 822 times
Contact:

Re: odroid-c1+ boot from sd card problem

Post by odroid »

hyphop wrote:> How did you compare the check-sum?
i have write small script for writng and checking images in LINUX
Thank you for the nice script.
I've added a link of this thread on our WiKi page.

User avatar
odroid
Site Admin
Posts: 35266
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 1074 times
Been thanked: 822 times
Contact:

Re: odroid-c1+ boot from sd card problem

Post by odroid »

hyphop wrote:i have full boot only sometimes about 1/100
my voltage level between GND(pin6) and 5V0(pin2) = 5V
Was there any voltage drop in the boot process?
Very short period of voltage drop could cause the instable booting because C1+ needs more rush-current in the boot process.

hyphop
Posts: 68
Joined: Tue Dec 01, 2015 4:22 pm
languages_spoken: english
ODROIDs: ODROID-C1+ & C2
Has thanked: 0
Been thanked: 0
Contact:

Re: odroid-c1+ boot from sd card problem

Post by hyphop »

voltage on pin40 go down (just impulse) after start from 5v to 0.5v and stay on 0.5 V all time
voltage on pin2 still stay 5V

i use 5v 2A PSU !!! i think is enough for this device !!!

i dont know what i can do more )))

User avatar
odroid
Site Admin
Posts: 35266
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 1074 times
Been thanked: 822 times
Contact:

Re: odroid-c1+ boot from sd card problem

Post by odroid »

Many no-brand PSU could not generate any stable output.
If your DMM shows constant 5Volt on Pin-2, your PSU should be fine.

So your board could be damaged or defective.
Did you purchase your board from us directly? or any distributor?

hyphop
Posts: 68
Joined: Tue Dec 01, 2015 4:22 pm
languages_spoken: english
ODROIDs: ODROID-C1+ & C2
Has thanked: 0
Been thanked: 0
Contact:

Re: odroid-c1+ boot from sd card problem

Post by hyphop »

i have buy this device from your store directly (http://www.hardkernel.com/main/shop/goo ... hp?lang=en)

big tnx for your responsible!!!

hyphop
Posts: 68
Joined: Tue Dec 01, 2015 4:22 pm
languages_spoken: english
ODROIDs: ODROID-C1+ & C2
Has thanked: 0
Been thanked: 0
Contact:

Re: odroid-c1+ boot from sd card problem

Post by hyphop »

write there because private message not available for me
my order number ....

User avatar
odroid
Site Admin
Posts: 35266
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 1074 times
Been thanked: 822 times
Contact:

Re: odroid-c1+ boot from sd card problem

Post by odroid »

I see.
I edited your post to hide your order info.

hyphop
Posts: 68
Joined: Tue Dec 01, 2015 4:22 pm
languages_spoken: english
ODROIDs: ODROID-C1+ & C2
Has thanked: 0
Been thanked: 0
Contact:

Re: odroid-c1+ boot from sd card problem

Post by hyphop »

hi
today i have another c1+ device - everything work fine - with any power adapter and any sd cards

My previous device was defective!

tnx for help

Post Reply

Return to “Hardware and peripherals”

Who is online

Users browsing this forum: No registered users and 2 guests