View unanswered posts | View active topics It is currently Thu Jun 27, 2019 8:43 am



Reply to topic  [ 38 posts ]  Go to page 1, 2, 3, 4  Next
 Boot from SD card - status update 
Author Message
Site Admin

Joined: Sun Mar 13, 2011 11:52 am
Posts: 390
Post Boot from SD card - status update
The Utilite boot from SD card issue has been thoroughly investigated in the past few days. The issue is caused by incorrect initialization of certain SD cards both in U-Boot and in Linux kernel.
To address the issue we are releasing separate patches for U-Boot and kernel:

(a) U-Boot needs to be updated to the latest version. Update package and installation instructions are available at http://www.utilite-computer.com/wiki/index.php/U-Boot_Update#Installation_Procedure. The updated U-Boot has been tested to work with 1.8V SD cards that previously have not been detected correctly.
(b) O/S image with updated kernel will be released within 2-3 days.

_________________
---------------------------
Igor Vaisbein
Utilite Product Manager

---------------------------


Thu Nov 21, 2013 4:41 pm
Profile

Joined: Sat Nov 09, 2013 1:53 pm
Posts: 14
Location: Germany-NRW
Post Re: Boot from SD card - status update
This does not work for me:
CM-FX6 # mmc dev 2
Card did not respond to voltage select!
mmc2(part 0) is current device
CM-FX6 # mmc rescan
Card did not respond to voltage select!
CM-FX6 # mmc part
Card did not respond to voltage select!
## Unknown partition table
CM-FX6 #

U-Boot 2009.08-cm-fx6-0.91+tools (Nov 19 2013 - 14:56:48)

CPU: Freescale i.MX6 family TO6.4 at 792 MHz
Temperature: 49 C, calibration data 0x59b51969
mx6q pll1: 792MHz
mx6q pll2: 528MHz
mx6q pll3: 480MHz
mx6q pll8: 50MHz
ipg clock : 66000000Hz
ipg per clock : 66000000Hz
uart clock : 80000000Hz
cspi clock : 60000000Hz
ahb clock : 132000000Hz
axi clock : 264000000Hz
emi_slow clock: 29333333Hz
ddr clock : 528000000Hz
usdhc1 clock : 198000000Hz
usdhc2 clock : 198000000Hz
usdhc3 clock : 198000000Hz
usdhc4 clock : 198000000Hz
nfc clock : 11000000Hz
Board: CM-FX6:[ WDOG ]
Boot Device: SD
I2C: ready
RAM Configuration:
Bank #0: 10000000 1 GB
Bank #1: 80000000 1 GB
NAND: No NAND device found!!!
0 MiB
MMC: FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2
JEDEC ID: 0xbf:0x25:0x41
Reading SPI NOR flash 0xc0000 [0x2000 bytes] -> ram 0x17e030e0
SUCCESS

In: serial
Out: serial
Err: serial
Net: got MAC address from IIM: 00:00:00:00:00:00



Testet with Transcend 32Gbyte and hama 16Gbyte.


Thu Nov 21, 2013 5:49 pm
Profile

Joined: Tue Jul 16, 2013 5:53 pm
Posts: 183
Location: Austria Korneuburg
Post Re: Boot from SD card - status update
The updated U-Boot version works for my configuration:
I can now boot Utilite pro from:
-32 GB Kingston Class 10 card
-32 GB Transcend Class 10 card

For the Kingston Card the output looks like this:

CM-FX6 # mmc dev 2
mmc2 is current device
CM-FX6 # mmc part

Partition Map for UNKNOWN device 2 -- Partition Type: DOS

Partition Start Sector Num Sectors Type
1 2048 24576 83
2 26624 24576 83
3 51200 1024 83
4 52224 3917824 5 Extd
5 54272 1048576 83
6 1102849 262143 83
7 1364993 2097151 83
8 3462145 507903 83
CM-FX6 # mmc rescan

Thank you,
Peter
http://bitkistl.blogspot.com


Thu Nov 21, 2013 6:25 pm
Profile WWW

Joined: Wed Jul 31, 2013 6:05 pm
Posts: 52
Post Re: Boot from SD card - status update
root@utilite-ubuntu-desktop:~# /home/utilite/Downloads/utilite-bootloader-update.sh
CompuLab CM-FX6 (Utilite) boot loader update utility 1.0 (Nov 21 2013)
>> Board CPU: mx6q
>> Board DRAM: 2gb

>> Looking for boot loader image file: cm-fx6-u-boot-mx6q-2gb
!! Can't find correct boot loader image file for the board
!! Boot loader update failed!


What I am doing wrong?


Fri Nov 22, 2013 4:12 pm
Profile

Joined: Tue Jul 16, 2013 5:53 pm
Posts: 183
Location: Austria Korneuburg
Post Re: Boot from SD card - status update
try the following:
open terminal
sudo -i /*get root access
whoami /*check if you are root now
cd <change to the directory where you unpacked the stuff>
e.g. cd /home/utilite/Downloads/
ls -l /* check if all the files are there
./utilite-bootloader-update.sh


Last edited by peba on Fri Nov 22, 2013 4:35 pm, edited 1 time in total.



Fri Nov 22, 2013 4:31 pm
Profile WWW

Joined: Sat Nov 09, 2013 1:53 pm
Posts: 14
Location: Germany-NRW
Post Re: Boot from SD card - status update
I found the failure.
The card was not complete inserted into the slot.
After reading this thread (viewtopic.php?f=58&t=1422) I pushed the card deeper with the right angle.
...And now everything is fine.

Please see the added photo. It should look like in this way to mount successful.

Greetings
Juergen

PS: All microSD-cards are OK now.


Attachments:
MMC5.jpg
MMC5.jpg [ 207.06 KiB | Viewed 11136 times ]
Fri Nov 22, 2013 4:32 pm
Profile

Joined: Mon Dec 09, 2013 5:06 am
Posts: 11
Post Re: Boot from SD card - status update
It still doesn't work for me, although I correctly inserted the card in the slot (I heard a click sound, and I can feel the spring). I tried with 2 different cards, but I always get "Card did not respond to voltage select!" when I try any of the mmc commands.

The env is as follow :
Code:
CM-FX6 # printenv
bootdelay=3
autoload=no
loadaddr=0x10800000
baudrate=115200
console=ttymxc3,115200
kernel=uImage-cm-fx6
bootscr=boot.scr
video_hdmi=mxcfb0:dev=hdmi,1920x1080M-24@50,if=RGB24
video_dvi=mxcfb0:dev=dvi,1280x800M-24@50,if=RGB24
mmcdev=2
satadev=0
mmcroot=/dev/mmcblk0p2 rw rootwait
sataroot=/dev/sda2 rw rootwait
nandroot=/dev/mtdblock4 rw
nandrootfstype=ubifs
mmcargs=setenv bootargs console=${console} root=${mmcroot} ${video}
sataargs=setenv bootargs console=${console} root=${sataroot} ${video}
nandargs=setenv bootargs console=${console} root=${nandroot} rootfstype=${nandrootfstype} ${video}
loadmmcbootscript=fatload mmc ${mmcdev} ${loadaddr} ${bootscr}
loadsatabootscript=fatload sata ${satadev} ${loadaddr} ${bootscr}
mmcbootscript=echo Running bootscript from mmc ...; source ${loadaddr}
satabootscript=echo Running bootscript from sata ...; source ${loadaddr}
mmcloadkernel=fatload mmc ${mmcdev} ${loadaddr} ${kernel}
sataloadkernel=fatload sata ${satadev} ${loadaddr} ${kernel}
mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${loadaddr}
sataboot=echo Booting from sata ...; run sataargs; bootm ${loadaddr}
nandboot=echo Booting from nand ...; run nandargs; nand read ${loadaddr} 0 400000 && bootm ${loadaddr}
run_eboot=echo Starting EBOOT ...; mmc dev ${mmcdev} && mmc rescan && mmc read 10042000 a 400 && go 10042000
bootcmd=mmc dev ${mmcdev}; if mmc rescan; then if run loadmmcbootscript; then run mmcbootscript; else if run mmcloadkernel; then run mmcboot; fi; fi; else if sata init; then if run loadsatabootscript; then run satabootscript; else if run sataloadkernel; then run sataboot; fi; fi; fi; fi;
ethaddr=00:01:c0:14:23:a5
serial=CM-FX6-C1200QM-D2G-N0-ND0-U5-E-A-WB-V100-131124-0001c01423a5
stdin=serial
stdout=serial
stderr=serial
ethact=FEC0
Environment size: 1834/8188 bytes


U-Boot is:
U-Boot 2009.08-cm-fx6-0.91+tools (Nov 19 2013 - 14:56:48)


Sat Dec 14, 2013 6:24 pm
Profile
Site Admin

Joined: Sun Mar 13, 2011 11:52 am
Posts: 390
Post Re: Boot from SD card - status update
"Card did not respond to voltage select!" messages means that U-Boot does not detect the card. In case U-Boot is up-to-date it is possible that the SD socket itself is faulty. Are there any SD cards that you manage to use with the unit (either in U-Boot or in Linux)?

_________________
---------------------------
Igor Vaisbein
Utilite Product Manager

---------------------------


Tue Dec 17, 2013 10:01 am
Profile

Joined: Mon Dec 09, 2013 5:06 am
Posts: 11
Post Re: Boot from SD card - status update
No, I tried with another new SD card I bought (again), and I still get the exact same issue...
This is just depressing.


Wed Feb 05, 2014 10:44 pm
Profile

Joined: Mon Dec 09, 2013 5:06 am
Posts: 11
Post Re: Boot from SD card - status update
igorv, do you think I should start contacting compulab by email for support?


Sat Feb 08, 2014 10:05 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 38 posts ]  Go to page 1, 2, 3, 4  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.