LS1021A-TWR: Missing eth devices

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

LS1021A-TWR: Missing eth devices

684 次查看
z_v
Contributor I

Hello,

I compiled kernel 4.1.13 with ls1021a_defconfig.

The root file system is busybox 1.25.1.

For some reason, there are no eth devices. Only 'lo'

Can you explain why ?

With Yokto's kernel, it works fine.

I want to use a newer kernel from kernel.org

Thank you,

Z.V

标签 (1)
标记 (1)
0 项奖励
2 回复数

546 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello Vered Zvi,

As I answered you previously, please use the following procedure to build Linux Kernel image manually.

I assume that you have already installed the standalone Toolchain provided in SDK 2.0 ARMv7 Image ISO in the folder /opt/fsl-qoriq/2.0/.
1. Please execute the following commands to export CC and LD environment.
$source /opt/fsl-qoriq/2.0/environment-setup-cortexa7hf-vfp-neon-fsl-linux-gnueabi
2. Go to Kernel source folder, configure Linux Kernel
$ cp arch/arm/configs/ls1021a_defconfig    .config
Configure Kernel according your requirement and save the configuration
$ make ARCH=arm menuconfig
3. Build uImage with the following command, and get uImage in the folder arch/arm/boot/.
$ make -j 4 uImage ARCH=arm LOADADDR=0x80008000
4. Build dtb file, and get the file ls1021a-twr.dtb in the folder arch/arm/boot/dts/.
$ make ARCH=arm ls1021a-twr.dtb

If your problem remains, please provide the whole UART console log.


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励

546 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello Vered Zvi,

Have your tried whether Yocto Kernel worked fine with your built rootfs filesystem?

Would you please provide you Kernel 4.1.13  boot up console log?


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励