the problem of FRWY-LS1012A SDK Installation

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

the problem of FRWY-LS1012A SDK Installation

1,344 Views
13540372905
Contributor I

We are using the frwy-ls1012a development board for the project. At present, there are some problems with the SDK installation (according to the official document, the board is installed on the sd card, and it will hang when the root file system is mounted). The specific log is as follows:

[FAILED] Failed to start Virtualization daemon.
See 'systemctl status libvirtd.service' for details.
[ 13.796468] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[ 13.796468]
[ 13.805632] CPU: 0 PID: 1 Comm: systemd Tainted: G C 4.14.83 #1
[ 13.812690] Hardware name: LS1012A FRWY Board (DT)
[ 13.817485] Call trace:
[ 13.819944] [<ffff000008089b80>] dump_backtrace+0x0/0x3c0
[ 13.825352] [<ffff000008089f54>] show_stack+0x14/0x20
[ 13.830413] [<ffff000008ce3fa8>] dump_stack+0x9c/0xbc
[ 13.835474] [<ffff0000080ce878>] panic+0x11c/0x28c
[ 13.840272] [<ffff0000080d2968>] complete_and_exit+0x0/0x20
[ 13.845853] [<ffff0000080d29d0>] do_group_exit+0x38/0xa0
[ 13.851174] [<ffff0000080dd544>] get_signal+0xfc/0x490
[ 13.856320] [<ffff000008088730>] do_signal+0x170/0xbf8
[ 13.861466] [<ffff000008089830>] do_notify_resume+0xc0/0xf8

0 Kudos
Reply
5 Replies

1,163 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello liu xin,

Please deploy rootfs image rootfs_ubuntu_bionic_arm64_<timestamp>.tgz to the specific SD partition.

You could insert SD card to you host PC, then copy rootfs_ubuntu_bionic_arm64_<timestamp>.tgz to the specific SD partition

Please specify bootargs as the following(assume the rootfs is in the third partition of the SD card)

setenv bootargs "console=ttyS0,115200 root=/dev/mmcblk0p3 rw earlycon=uart8250,mmio,0x21c0500"

Boot the system with the following command

=> booti <image_addr> - <dtb_addr>

I uploaded rootfs image rootfs_ubuntu_bionic_LS_arm64.tgz in the following, which is built with LSDK1812 default configuration, you could download and use it.

https://pan.baidu.com/s/1YZL7aK0n2BZsKgruQI1oHQ
提取码:
j78k

If your problem remains, please capture your whole console log to me to do more investigation.


Have a great day,
TIC

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

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply

1,163 Views
13540372905
Contributor I

Thank you for your reply.

I want to know booti - what are image_addr and dtb_addr, how do I find them

0 Kudos
Reply

1,163 Views
13540372905
Contributor I

=> booti <image_addr> - <dtb_addr>这个里面image和dtb 分别指的是那些文件

0 Kudos
Reply

1,163 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please get Image and fsl-ls1012a-frwy.dtb in bootpartition_LS_arm64_lts_4.14.tgz, please download it as the following.

wget http://www.nxp.com/lgfiles/sdk/lsdk1812/bootpartition_LS_arm64_lts_4.14.tgz

If you have flex-build environment, you could use the following command to deploy images to the SD device.

$ flex-installer -b bootpartition_<arch>_<version>.tgz -r rootfs_ubuntu_<version>.tgz -d /dev/mmcblk0

You also you copy Image and fsl-ls1012a-frwy.dtb to the specify partition of SD card(for example the second partition)

$ ext2load mmc 0:2 81000000 Image

$ ext2load mmc 0:2 82000000 fsl-ls1012a-frwy.dtb

$ booti 81000000 - 82000000


Have a great day,
TIC

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

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply

1,163 Views
13540372905
Contributor I

Thank you for your reply, I have a question that  execute the command:flex-installer -b bootpartition_<arch>_<version>.tgz -r rootfs_ubuntu_<version>.tgz -d /dev/mmcblk0 ,the boot partition will have hdr_ls1012afrwy_bs.out,config-4.14.83 and fsl-ls1012a-frwy.dtb files,what is the function of those files? and how are they produced?

0 Kudos
Reply