Loadable modules are not packed into image

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

Loadable modules are not packed into image

Jump to solution
883 Views
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 Kudos
1 Solution
658 Views
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.

View solution in original post

0 Kudos
4 Replies
658 Views
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 Kudos
658 Views
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 Kudos
658 Views
manjunathmandya
Contributor I

Hi Platon,

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

Thanks,

Manjunath

0 Kudos
659 Views
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 Kudos