Issues about OpenIL for LS1028 reference board

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Issues about OpenIL for LS1028 reference board

跳至解决方案
2,206 次查看
0229ender
Contributor I

Hi everyone,

I am new for LS1028 reference board recently, and I have met some issues about this board.

 

1. I used nxp_ls1028ardb-64b_ubuntu_defconfig of OpenIL, and programmed it into SD card. And I boot the board with root successfully, when I use command "apt-get update",(sudo is not avaliable) error occurs as shown in the following figure:

updateerror.png

 2. Also, I tried OpenIL with baremeta framework and I insert SD card to board after compling os successfully, but error occurs as follows,

kernel image.png

Note that left is UART1(COM3), right is UART2(COM4).

Thank you very much,

Best,

Junhui Jiang

0 项奖励
回复
1 解答
2,025 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Are you using Openil 1.5 release?

Please refer to the attached log for "apt-get update", I used the images built from the latest release.

Run the following commands to build the final LS1028ARDB baremetal images:

$cd openil

$ make nxp_ls1028ardb_baremetal-64b_defconfig

$ make

├── sdcard.img --- entire image can be programmed into the SD

Use the following steps to bootup the Linux + Baremetal system with the images built from OpenIL.

1. Insert an SD card (of at least 2 GB size) into any Linux host machine.
2. Then, run the following commands:
$ sudo dd if=./output/images/sdcard.img of=/dev/sdx
# or in some other host machine:
$ sudo dd if=./output/images/sdcard.img of=/dev/mmcblkx
# find the right SD Card device name in your host machine and replace the “sdx” or “mmcblkx”.
3. Then, insert the SD card into the target board and power on.
After the above mentioned steps are complete, the Linux system is booted up on the master core (core 0), and the Baremetal system is booted up on slave core (core 1) automatically.

Thanks,

Yiping

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,026 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Are you using Openil 1.5 release?

Please refer to the attached log for "apt-get update", I used the images built from the latest release.

Run the following commands to build the final LS1028ARDB baremetal images:

$cd openil

$ make nxp_ls1028ardb_baremetal-64b_defconfig

$ make

├── sdcard.img --- entire image can be programmed into the SD

Use the following steps to bootup the Linux + Baremetal system with the images built from OpenIL.

1. Insert an SD card (of at least 2 GB size) into any Linux host machine.
2. Then, run the following commands:
$ sudo dd if=./output/images/sdcard.img of=/dev/sdx
# or in some other host machine:
$ sudo dd if=./output/images/sdcard.img of=/dev/mmcblkx
# find the right SD Card device name in your host machine and replace the “sdx” or “mmcblkx”.
3. Then, insert the SD card into the target board and power on.
After the above mentioned steps are complete, the Linux system is booted up on the master core (core 0), and the Baremetal system is booted up on slave core (core 1) automatically.

Thanks,

Yiping

0 项奖励
回复
2,025 次查看
baiyu
Contributor I

Hi, Yiming

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.

0 项奖励
回复