Booting from SD Card , Connecting to the target

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Booting from SD Card , Connecting to the target

Jump to solution
1,713 Views
beshofayez
Contributor II

Hello,

We are designing a SoftWare for the target

Board : i.MX 6 series , Dual Lite , ARM Cortex-A9 Core.

When setting the boot pins to SD on cpu Boot Mode, we are getting terminal:

Observed behavior :  Exception stack ( 0xe4061f90 to 0xe4061fd8 ) as observed in attached image.

also, I have another problem

using Software : DS-5 over Eclipse

I couldn't connect to the target by using USB or Ethernet.

By connecting USB Cable and Ethernet Cable.

Expected behavior : message from Microsoft connecting to the target.

Observed behavior :  there is no message and i couldn't establish connection between computer and Target.

can anyone provide some helps on this?

Thanks in advance!

Labels (1)
Tags (1)
1 Solution
1,444 Views
igorpadykov
NXP Employee
NXP Employee

one can copy full image (without partitioning) please refer to

attached Linux Guide sect.4.3.2 Copying the full SD card image,

or with partitioning using sect.4.3.3 Partitioning the SD/MMC card.

To connect to the target by USB Cable one needs to remove card,

then bootloader falls to Serial Downloader mode, USB OTG port should

be used.

~igor

View solution in original post

0 Kudos
8 Replies
1,443 Views
igorpadykov
NXP Employee
NXP Employee

Hi Besho

"Exception stack" error usually is caused by wrong image (for other board)

or ddr errors, please run ddr test for custom board

i.MX6/7 DDR Stress Test Tool V2.20

use FSL Linux BSP (uboot board/freescale/mx6sabresd/mx6solo_4x_mt41j128.cfg

should be changed with new ddr settings found from ddr test)

L3.14.28_1.0.0_iMX6QDLS_BUNDLE (REV L3.14.28_1.0.0)

i.MX 6Quad, i.MX 6Dual, i.MX 6DualLite, i.MX 6Solo Linux Binary Demo Files and Linux BSP Documentation

SABRE Board Reference Design|Freescale

DS5 connection procedure

ARM DS-5 Quick Start (i.MX6) - BlueWiki

Best regards

igor

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

Note: If this post answers your question, please click the Correct Answer button. Thank you!

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

1,444 Views
beshofayez
Contributor II

Thank you For fast response @igorpadykov

my SDCard Was delivered with it's Software.

i set the boot pins to SD on CPU Boot Mode and then i had this exception.

i could't replace this Soft Ware image without formatting this SDCard.

the problem is that i couldn't connect to the target by USB Cable.

the question is :

Should i format SDCard to download the right image by Computer and insert it again to the target to boot correctly and then i can connect to the target correctly .

Am i right?!

Thanks in advance!

0 Kudos
1,445 Views
igorpadykov
NXP Employee
NXP Employee

one can copy full image (without partitioning) please refer to

attached Linux Guide sect.4.3.2 Copying the full SD card image,

or with partitioning using sect.4.3.3 Partitioning the SD/MMC card.

To connect to the target by USB Cable one needs to remove card,

then bootloader falls to Serial Downloader mode, USB OTG port should

be used.

~igor

0 Kudos
1,444 Views
beshofayez
Contributor II

Thank you For fast response igorpadykov

sorry for my Questions.

First i downloaded (.sdcard image ) <fsl-image-gui-x11-imx6qdlsolo.sdcard>

and tried to boot from SDCard . i didn't have any message on the terminal or HDMI according booting.

Second i removed SDCard trying to connect to the board by USB OTG and also i couldn't connect to the board.

Note : I use DS-5 v5.22.0

Sorry for disturbance and a lot of questions .

Thanks in advance!

0 Kudos
1,444 Views
igorpadykov
NXP Employee
NXP Employee

when you are saying "trying to connect to the board by USB OTG" and "I use DS-5 v5.22.0"

what do you mean ? I think you should use hardware like DSTREAM with DS5

ARM Information Center

ARM Information Center

what reference design is based your board ?

~igor

1,444 Views
beshofayez
Contributor II

Thank you for your fast response igorpadykov

but i think that i should first solve the problem of booting first. am i right?!!

is the package that i have downloaded right or not?!!

Thanks in advance

0 Kudos
1,444 Views
igorpadykov
NXP Employee
NXP Employee

it is not possible to answer if package that you have downloaded right or not,

because it is not known what reference design is based your board.

If, for example, it is based on sabrelite - images should be taken from

boundary devices place.

~igor

0 Kudos
1,444 Views
beshofayez
Contributor II

Thank you very much igorpadykov

you supported me a lot and you asked all my questions . supported me to investigate more.

and i can now Boot from SD Card Properly .

Thanks again

0 Kudos