LS1028ARDB,OpenIL boot from SD card fail

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

LS1028ARDB,OpenIL boot from SD card fail

2,078 Views
baiyu
Contributor I

1. I have complie sdcard.img following document below successfully. (environment:ubuntu 18.04 LTS running as virtual machine in my windows pc)

pastedImage_4.pngpastedImage_1.png

2. the sdcard.img burn into the sd card successfully

pastedImage_2.png

3. copy below file to sd card

pastedImage_3.png

4. Insert the SD card into the LS1028ARDB, the DIP switch (SW2) set as manual shows.

pastedImage_5.png

5. Link the board with Tera Term

   the screen shows nothing.

Labels (1)
0 Kudos
7 Replies

1,994 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello yu bai,

The image sdcard.img contains entire image can be programmed into the SD, includes RCW, DTB, U-Boot, kernel, rootfs, and necessary applications.

$ sudo dd if=./sdcard.img of=/dev/sdx

/dev/sdx is the SD card device name in your host machine.

So, no need step 3 at all.

Thanks,

Yiping

0 Kudos

1,994 Views
baiyu
Contributor I

Hi, Yiming

Do I need mount my sd card with sdcard.img to the target board(ls1028ardb)?

In the boot mode (show in tera term), i just input "df -h“ command, the result shows the sd card(mmcblk0) is not mounted?

Is that the root cause?

Thanks a lot.

白钰/Vito, ICT解决方案架构师/ICT Solution Architect

Mobile: 15651689508

Mail: baiyu@pmlabs.com.cn

网络通信与安全紫金山实验室

江苏省南京市江宁区秣周东路9号

0 Kudos

1,994 Views
yipingwang
NXP TechSupport
NXP TechSupport

In the following command, /dev/sdx should be the device name not partition name.

$ sudo dd if=./sdcard.img of=/dev/sdx

/dev/sdx is the SD card device name in your host machine.

You should use the following command.

sudo dd if=/.sdcard.img of=/dev/sdb

0 Kudos

1,994 Views
baiyu
Contributor I

hi,Yiming

Thanks.

I already flash the sdcard.img(for openIL) to the SD card using my PC.

My question is, do i need also mount(挂载)the SD card to the LS1028ARDB board. Currently, when I insert the SD card to the board slot, then set SW2 as 1001001, then power on, the tera term(serial communication tool) shows nothing. the serial port also set as manual said. 

How to solve this? I used the SD card shipped with the board.

0 Kudos

1,994 Views
yipingwang
NXP TechSupport
NXP TechSupport

You need to run the following command to deploy images to SD card, please use /dev/sdb which is the device name not partition name.

sudo dd if=./sdcard.img of=/dev/sdb

0 Kudos

1,994 Views
baiyu
Contributor I

hi, Yiming

Flow your suggestion, setp 3 is jumped. But, it still not work

Furthermore, wchich OpenIL version and makefile is recommended? V1.7 or V1.8, 64b, unbuntu, or emmc?

Thanks a lot.

白钰/Vito, ICT解决方案架构师/ICT Solution Architect

Mobile: 15651689508

Mail: baiyu@pmlabs.com.cn

网络通信与安全紫金山实验室

江苏省南京市江宁区秣周东路9号

0 Kudos

1,994 Views
baiyu
Contributor I

Hi, Yiming

Thanks for your reply.

But, when delete step 3, the board also can't work.

1. Before burn sdcard.img to the SD card, the card is formated.

2. For the DIP switch setting, i just need follow the document,yes? just set SW2, other SW will not be changed?

3. for which version and makefile is recommend from your side? OpenIL1.7 or 1.8? 64b or ubuntu or emmc?

4. I just need set SW2, insert the SD card, and open tera term, then power on the board? it seems the screen still show nothing on tera term.

Thanks a lot.

0 Kudos