$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'}>)
本站资源均来自互联网,仅供研究学习,禁止违法使用和商用,产生法律纠纷本站概不负责!如果侵犯了您的权益请与我们联系!
转载请注明出处: 免费源码网-免费的源码资源网站 » ft e2000q run dpdk
发表评论 取消回复