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

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

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

426 Views
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 Kudos
8 Replies

248 Views
gouravjain
Contributor IV

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

0 Kudos

245 Views
LFGP
NXP TechSupport
NXP TechSupport

hello @gouravjain ,

please try the next credentials:

user/user

 

0 Kudos

310 Views
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 Kudos

406 Views
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 Kudos

358 Views
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 Kudos

351 Views
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 Kudos

340 Views
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 Kudos

251 Views
gouravjain
Contributor IV

Thanks,

It worked well.

0 Kudos