How to port root files system generated by "ls-image-main" in ls1028ardb

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to port root files system generated by "ls-image-main" in ls1028ardb

903件の閲覧回数
gouravjain
Contributor IV

I'm currently in the process of porting the root file system onto the LS1028ardb board, which is booted via the composite firmware "firmware_ls1028ardb_uboot_sdboot.img."

rfs is generated via "bitbake ls-image-main" under the path:

build_ls1028ardb/tmp/deploy/images/ls1028ardb/ls-image-main-ls1028ardb-20231020060114.rootfs.tar.gz

I've come across a potential solution using the flex-installer tool with the following commands:

flex-installer -r <rootfs> -b <boot> -f <firmware> -d /dev/mmcblk0

However, I'm unable to locate the boot partition file for the LLDP SDK.

Here are the software details of the board:

ID=fsl-qoriq-distro
NAME="QorIQ SDK POC (Proof of Concept)"
VERSION="4.1.1 (langdale)"
VERSION_ID=4.1.1
PRETTY_NAME="QorIQ SDK POC (Proof of Concept) 4.1.1 (langdale)"
DISTRO_CODENAME="langdale"
root@ls1028ardb:~# uname -r
6.1.1+g29549c7073bf

Any assistance on this matter would be greatly appreciated.

regards,

Gourav Jain

@yipingwang @LFGP 

0 件の賞賛
返信
8 返答(返信)

725件の閲覧回数
gouravjain
Contributor IV

can you pls share the ubuntu login credential of desktop image ??

0 件の賞賛
返信

722件の閲覧回数
LFGP
NXP TechSupport
NXP TechSupport

hello @gouravjain ,

please try the next credentials:

user/user

 

0 件の賞賛
返信

787件の閲覧回数
LFGP
NXP TechSupport
NXP TechSupport

Please use the command:

bitbake generate-boottgz

in order to generate the boot partition file .tgz , but you will need to start the environment once again.

regards 

LFGP

0 件の賞賛
返信

883件の閲覧回数
LFGP
NXP TechSupport
NXP TechSupport
The next note on the LLDP user guide that apply for your board:
>>
Note: The release version is managed by the Layerscape Yocto SDK Manifest.
The Layerscape LDP build include main and desktop builds. The main build is applicable for all the Layerscape
SoCs and the desktop build is applicable for LS1028ARDB only.
<<
please try to find the desktop build instead main build.
On the other hand, I suggest you to use the LLDP 6.1.36 or 6.1.55
regards,
0 件の賞賛
返信

835件の閲覧回数
gouravjain
Contributor IV
Thanks for your reply..
Could you please provide the steps for porting the "ls-image-main-ls1028ardb-20231020060114.rootfs.tar.gz" file onto the LS1028ARDB board?

regards,
Gourav
0 件の賞賛
返信

828件の閲覧回数
LFGP
NXP TechSupport
NXP TechSupport

you can use flex-installer as next:

$ flex-installer -r ls-image-main-<machine>.tar.gz -d /dev/mmcblk0 (or /dev/sdx)

but in your case :

$ flex-installer -r ls-image-desktop-<machine>.tar.gz -d /dev/mmcblk0 (or /dev/sdx)

please check the subject ""4.5.13 Upgrade the existing Layerscape LDP distro with Yocto bitbake on host""

also note the next when use bitbake:

$ bitbake ls-image-lite
$ bitbake ls-image-main # (if machine=ls1028ardb, should bitbake ls-image-desktop )

4.5.3 Build Layerscape LDP image using bitbake

 

0 件の賞賛
返信

817件の閲覧回数
gouravjain
Contributor IV
Hi,
1) Are you suggesting that I place the only root file system (RFS) onto the SD card? If so, where should I store the PBL/U-Boot/Kernel/DTB images?
2) If all the images are stored on the SD card, what should be the memory layout for each of them?

Additionally, since we are not passing any boot partition in the flex-installer commands, the RFS is being pushed into the P4 partition by default.
0 件の賞賛
返信

728件の閲覧回数
gouravjain
Contributor IV

Thanks,

It worked well.

0 件の賞賛
返信