Loadable modules are not packed into image

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

Loadable modules are not packed into image

跳至解决方案
2,535 次查看
manjunathmandya
Contributor I

Hi,

    I downloaded SDK ver 0.5 for LS1043A and compiled under yocto environment. I made ethernet module as loadable module and compiled, the image loaded to LS1043A RDB board did not had .ko file

Procedure:

   bitbake -c menuconfig virtual/kernel

  < Made Gianfar the loadable as <M> >

   bitbake -f fsl-xxxx-kernelitb

    This above step generates kernel.itb

Through TFTP boot the image. Iam not able to find gianfar.ko under /etc/lib folder.

  Let me know if iam missing anything here.

Thanks,

Manjunath M N

0 项奖励
回复
1 解答
2,310 次查看
bpe
NXP Employee
NXP Employee

As I have already mentioned, LS1043A has no eTSECs at all. It's multi-rate Ethernet MAC untis are called mEMACs,

they are completely different from eTSECs and always controlled by DPAA/FMan. Refer to LS1043A SDK Manual, Chapter 21

for details. The SDK default kernel configuration does have all necessary options enabled. Hardware-level details are

provided in LS1043ADPAARM.

在原帖中查看解决方案

0 项奖励
回复
4 回复数
2,310 次查看
manjunathmandya
Contributor I

Hi Platon,

Thanks for reply. I downloaded SDK 0.5 version, and compiled code, downloaded kernel.itb file to LS1043ARDB board, i connected a laptop to eth1 and  assigned IP to  eth1 ( now renamed as fm1-mac2 ), tried pinging, it displays network not reachable.

Am i missing anything here.

Thanks,

Manjunath

0 项奖励
回复
2,310 次查看
bpe
NXP Employee
NXP Employee

LS1043A does not have the hardware supported by gianfar.c  It's probably doesn't even build

because it depends on other options not valid  for this device. You cannot use this driver for LS1043A

anyway.


Have a great day,
Platon

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

0 项奖励
回复
2,310 次查看
manjunathmandya
Contributor I

Hi Platon,

   Thanks for reply. Then which is the ethernet driver being used for LS1043A eTSECs ?

Thanks,

Manjunath

0 项奖励
回复
2,311 次查看
bpe
NXP Employee
NXP Employee

As I have already mentioned, LS1043A has no eTSECs at all. It's multi-rate Ethernet MAC untis are called mEMACs,

they are completely different from eTSECs and always controlled by DPAA/FMan. Refer to LS1043A SDK Manual, Chapter 21

for details. The SDK default kernel configuration does have all necessary options enabled. Hardware-level details are

provided in LS1043ADPAARM.

0 项奖励
回复