How to configure ls1043adrb in u-boot for supporting pcie

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

How to configure ls1043adrb in u-boot for supporting pcie

462 Views
zhangxianghui
Contributor I
I want u-boot support pcie . u-boot version 2018.03. I modified some files. I run "flex-builder -c boot -m ls1043ardb -b sd", but tip show "/home/ubuntu/flexbuild_lsdk1809/packages/firmware/u-boot/drivers/pci/fsl_pci_init.c:34:10: fatal error: asm/fsl_pci.h: No such file or directory #include ^~~~~~~~~~~~~~~ compilation terminated. /home/ubuntu/flexbuild_lsdk1809/packages/firmware/u-boot/drivers/pci/fsl_pci_init.c:34:10: fatal error: asm/fsl_pci.h: No such file or directory #include ^~~~~~~~~~~~~~~ compilation terminated. " How I compile my project ?
Labels (1)
0 Kudos
1 Reply

354 Views
Pavel
NXP Employee
NXP Employee

It looks like that LSDK on your host PC is not completely installed.

Use the following command sequence under Ubuntu 18:

$ sudo apt-get install git

$ tar xvzf flexbuild_lsdk1809.tgz

$ cd flexbuild

$ source setup.env

 

wget http://www.nxp.com/lgfiles/sdk/lsdk1809/app_components_arm64.tgz

wget http://www.nxp.com/lgfiles/sdk/lsdk1809/bootpartition_arm64_lts_4.14.tgz

wget http://www.nxp.com/lgfiles/sdk/lsdk1809/arm64-modules-4.14.67.tgz       

wget http://www.nxp.com/lgfiles/sdk/lsdk1809/bootpartition_arm64_lts_4.9.tgz 

wget http://www.nxp.com/lgfiles/sdk/lsdk1809/arm64-modules-4.9.124.tgz

 

flex-builder -i mkrfs -a arm64

 

tar xvzf app_components_arm64.tgz -C build/apps

sudo tar xvzf arm64-modules-4.14.67.tgz -C build/rfs/rootfs_ubuntu_bionic_arm64/lib/modules

flex-builder -i compressrfs -a arm64

sudo tar xvzf arm64-modules-4.9.124.tgz -C build/rfs/rootfs_ubuntu_bionic_arm64/lib/modules

 

flex-builder -c linux -a arm64

 

flex-builder -i merge-component -a arm64

 

flex-builder -i compressrfs -a arm64

 

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

Have a great day,
Pavel Chubakov

 

-------------------------------------------------------------------------------
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