LS2088ARDB - How to load kernel module pktgen?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LS2088ARDB - How to load kernel module pktgen?

ソリューションへジャンプ
2,546件の閲覧回数
tsungmin_wang
Contributor III

Hi dears,

I have a ls2088ardb board, and I want to test the network with kernel module pktgen.

But I found that I can't "modprobe pktgen" even I have turn pktgen on in kernel.

I have tried to get information by "modinfo pktgen".

And I got "modinfo: ERROR: Module pktgen not found."

 

I build kernel from https://source.codeaurora.org/external/qoriq/qoriq-components/linux

Here are the commands I build kernel.

  • make defconfig lsdk.config
  • make menuconfig
  • make
  • make modules

I built kernel on ls2088ardb, and I follow the manual to copy the files to /boot.

  • cp arch/arm64/boot/Image.gz /boot/
  • cp arch/arm64/boot/dts/freescale/*.dtb /boot/
  • make modules_install

 

After rebooting ls2088ardb, it looks like that pktgen is not compiled,

I can't find pktgen.ko in /lib/modules or the compiled source directory.

Can someone tell me how to include the pktgen module (/proc/net/pktgen) ?

 

Board: LS2088ARDB

SDK: LSDK-20.04-V5.4-update-290520 

Kernel Version: 5.4.3 

 

0 件の賞賛
返信
1 解決策
2,535件の閲覧回数
tsungmin_wang
Contributor III

Hi, dears.

I have solved the problem.

It should use flex-builder to build the custom kernel.

 

 

flex-builder -c linux:custom -a arm64
flex-builder -c linux -a arm64

 

 

Thanks.

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
2,536件の閲覧回数
tsungmin_wang
Contributor III

Hi, dears.

I have solved the problem.

It should use flex-builder to build the custom kernel.

 

 

flex-builder -c linux:custom -a arm64
flex-builder -c linux -a arm64

 

 

Thanks.

0 件の賞賛
返信