how to setup developing environment using network file system as root file system?

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

how to setup developing environment using network file system as root file system?

1,779 Views
cnweibo
Contributor II

I am trying to build out the development environment for ls1043ardb dev board.

The idea is: 

1. build uboot,linux kernel, rootfs for my 1043ardb board on vmware ubuntu guest os;

2. tftp the kernel, dtb for uboot to use;

3. set nfs from ubuntu host as the rootfs for uboot to bootup linux

4. bootm,booti ... on the ls1043ardb uboot command line interface.

Can anyone share me how to implement that idea into reality?

I have found plenty of images, binary files on the build/images directory, but i can not figure out which is which: which is the kernel, which is the device tree binary, how to tranfer those file to uboot and give right boot args to uboot...

Please help me to figure it out.

Thanks~

 

Labels (1)
Tags (2)
0 Kudos
3 Replies

1,773 Views
Pavel
NXP Employee
NXP Employee

See the Section 4.4.7.9.3 ib SDK 2.0-1703 documentation about NFS using on the LS1043a board:

https://www.nxp.com/docs/en/supporting-information/QORIQ-SDK-2.0-IC-REV0.pdf

0 Kudos

1,757 Views
cnweibo
Contributor II

Sorry, according to that manual, i can not find the uboot.bin, rcw.bin,ucode.bin,ppa.itb file.

I use the lsdk21.08 to build out images, not the yocto

Where i can find those composite component binary files?

How can i do the similar job with the lsdk21.08 as build environment toolchain?

thanks~!

0 Kudos

1,747 Views
Pavel
NXP Employee
NXP Employee

See attached file about using the flex-builder.

Use the following command for .pbl file building:

"flex-builder -c atf -m ls1046ardb -b sd"

 

This file contains RCW and PBL.

 

Use the following command for u-boot binary image building:

flex-builder -c uboot -m ls1046ardb -b sd

 

Use the following command for .itb file building:

flex-builder -i mklinux -a arm64

 

See required files in the following folders:

/flexbuild_lsdk2108/build/firmware/atf/ls1046ardb$

/flexbuild_lsdk2108/build/images$

/flexbuild_lsdk2108/build/firmware/u-boot/ls1046ardb$

0 Kudos