LS2088ARDB - How to load kernel module pktgen?

cancel
Showing results for 
Search instead for 
Did you mean: 

LS2088ARDB - How to load kernel module pktgen?

Jump to solution
77 Views
Contributor I

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 Kudos
1 Solution
66 Views
Contributor I

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.

View solution in original post

0 Kudos
1 Reply
67 Views
Contributor I

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.

View solution in original post

0 Kudos