Does LS1046A RDB support PCIE 3.0 ?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Does LS1046A RDB support PCIE 3.0 ?

2,313 次查看
南刘ln
Contributor I
I did tests for a storage which is Gen3. But the LS1046A RDB indicates this storage is Gen2. So , my question is : Does LS1046ARDB support PCIE 3.0 ?
0 项奖励
回复
7 回复数

2,279 次查看
yipingwang
NXP TechSupport
NXP TechSupport

LS1046ARDB supports PCIe 3.0.

0 项奖励
回复

2,266 次查看
南刘ln
Contributor I
Device 0: unknown device PCIe1: pcie@3400000 Root Complex: no link PCIe2: pcie@3500000 Root Complex: x1 gen2 PCIe3: pcie@3600000 Root Complex: no link ........................................................................... NXP LSDK tiny 2108 (based on Yocto) TinyLinux login: Thanks ! I boot the LS1046ARDB board with a SD card , but you can see from above booting log , PCIe2 is gen 2. And how can I deploy a SD Card to support PCIE gen3.0 ?
0 项奖励
回复

2,168 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to section "To automatically download and deploy LSDK images to the target storage drive on a Linux host machine or a reference board." in LSDKUG_Rev21.08.pdf.

0 项奖励
回复

2,104 次查看
南刘ln
Contributor I

Thanks very much ! I deployed a SD card succeeded regarding your suggestion .

But PCIE device can't be recognized ,

I tried command :

echo 1 > /sys/bus/pci/rescan ,

lspci ,

cat /proc/partitions

lsblk.

No PCIE device be found ! 

I checked the log of booting process , PCIE device can be detected : 

PCIe1: pcie@3400000 Root Complex: no link
PCIe2: pcie@3500000 Root Complex: no link
PCIe3: pcie@3600000 Root Complex: x1 gen2

 Below is one segment of the log after entered system:

NXP LSDK 2108 main (custom based on ubuntu 20.04)
localhost login: root
Password:
Welcome to NXP LSDK 2108 main (custom based on ubuntu 20.04) (GNU/Linux 5.10.35 aarch64)

* Support: https://www.nxp.com
* Licensing: https://lsdk.github.io/eula
Last login: Wed Jul 21 19:00:46 UTC 2021 on ttyS0

root@localhost:~# echo 1> /sys/bus/pci/rescan
root@localhost:~# lspci
root@localhost:~# cat /proc/partitions
major minor #blocks name

1 0 4096 ram0
1 1 4096 ram1
1 2 4096 ram2
1 3 4096 ram3
1 4 4096 ram4
1 5 4096 ram5
1 6 4096 ram6
1 7 4096 ram7
1 8 4096 ram8
1 9 4096 ram9
1 10 4096 ram10
1 11 4096 ram11
1 12 4096 ram12
1 13 4096 ram13
1 14 4096 ram14
1 15 4096 ram15
31 0 524288 mtdblock0
31 1 65536 mtdblock1
31 2 65536 mtdblock2
179 0 31260672 mmcblk0
179 1 65536 mmcblk0p1
179 2 1228800 mmcblk0p2
179 3 131072 mmcblk0p3
179 4 29762560 mmcblk0p4

 

Do you know how to solve this problem ?  Thanks !!!

0 项奖励
回复

2,023 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Under u-boot, please type the following command, then boot Linux Kernel.

=> pci enum

0 项奖励
回复

2,020 次查看
南刘ln
Contributor I
Thanks very much. It succeeded .And I'm approching the final answer . I know RCW[144-159] needed to be modified to 5577 to support PCIE Gen3. But the current value is 5559 . I'm wondering how can I modify RCW ? Can I achieve this goal in uboot mode ? The current value of RCW is as below : Reset Configuration Word (RCW): 00000000: 0c150012 0e000000 00000000 00000000 00000010: 11335559 40005012 60040000 c1000000 00000020: 00000000 00000000 00000000 00238800 00000030: 20124000 00003101 00000096 00000001 Model: LS1046A RDB Board Board: LS1046ARDB, boot from SD
0 项奖励
回复

1,971 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please install flexbuild_lsdk2108 and rebuild firmware image.

$ source setup.env

$ flex-builder -c rcw -m ls1046ardb

Please modify rcw configuration file components/firmware/rcw/ls1046ardb/RR_FFSSPPPH_1133_5559/rcw_1800_sdboot.rcw according to your requirement.

Rebuild rcw.

$ flex-builder -c rcw -m ls1046ardb

Rebuild firmware image for SD

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

$ flex-builder -i mkfw -m ls1046ardb -b sd

 

 

0 项奖励
回复