ft e2000q run dpdk

        

$1 macb_uio
$2 3200c000.ethernet

        echo $1 > /sys/bus/platform/devices/$2/driver_override
        echo $2 > /sys/bus/platform/drivers/$1/bind
        echo "Successfully bind platform device $2 to driver $1"

        echo macb_uio > /sys/bus/platform/devices/3200c000.ethernet/driver_override
        echo 3200c000.ethernet > /sys/bus/platform/drivers/macb_uio/bind

        echo macb_uio > /sys/bus/platform/devices/soc:switch0/driver_override
        echo soc:switch0 > /sys/bus/platform/drivers/macb_uio/bind


        echo 3200c000.ethernet > /sys/bus/platform/devices/3200c000.ethernet/driver/unbind
        echo macb_uio > /sys/bus/platform/devices/3200c000.ethernet/driver_override
        echo 3200c000.ethernet > /sys/bus/platform/drivers/macb_uio/bind


        echo soc:switch0  > /sys/bus/platform/devices/soc:switch0/driver/unbind

        echo macb_uio > /sys/bus/platform/devices/soc:switch0/driver_override
        echo soc:switch0 > /sys/bus/platform/drivers/macb_uio/bind

[  646.481395] phytium_macb 3200c000.ethernet: gem-ptp-timer ptp clock unregistered.
[  646.671922] macb_uio 3200c000.ethernet: mapping 1K dma=0xf9f07000 host=00000000199ab8fb
[  646.671950] macb_uio 3200c000.ethernet: unmapping 1K dma=0xf9f07000 host=00000000199ab8fb


/home/dpdk_ft_e2000/dpdk-kmods-macb_uio_v5.0_release/linux/macb_uio


bash ../../../dpdk-macb_v5.0_release/usertools/dpdk-pdevbind.sh -q eth3


Depends on [n]: SPI [=y] && SPI_MASTER [=y] && (ARCH_PHYTIUM || COMPILE_TEST [=n]) || SPI [=y] && SPI_MASTER [=y] && (ARCH_PHYTIUM || COMPILE_TEST [=n])

PLAT
PHYT_PCI


check-config: CONFIG_SPI_PHYTIUM changed from - to y: policy<{'arm64': 'y'}>)
check-config: CONFIG_SPI_PHYTIUM_PCI changed from - to n: policy<{'arm64': 'y'}>)
check-config: CONFIG_SPI_PHYTIUM_PLAT changed from - to y: policy<{'arm64': 'y'}>)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值