Why is the BRIDGE option disabled in the kernel?

It became necessary to use both Ethernet ports in Bridge mode. In Current factory image “202311” Bridge support is disable. An attempt to build the kernel by enabling this option was unsuccessful. After the Kernel, the download stops. According to the logs, it is unclear what the problem is. Has anyone encountered this problem? Is there a solution?

1 Like

There is a patch required for bridging the interfaces, please see this pull request (it’s for my arch linux kernel, but I think you can use it.)

2 Likes

Here is answer on my own question.
We have compiled kernel with support bridge option.It in DEB format.
Here is bash script for upgrade kernel and link on DEB.

sudo cp /boot/extlinux/extlinux.conf /boot/extlinux/extlinux.conf_
sudo mv /boot/System.map-5.15.0-starfive /boot/System.map-5.15.0-starfive_
sudo mv /boot/vmlinuz-5.15.0-starfive /boot/vmlinuz-5.15.0-starfive_
sudo mv /boot/initrd.img-5.15.0-starfive /boot/initrd.img-5.15.0-starfive_
sudo mv /boot/config-5.15.0-starfive /boot/config-5.15.0-starfive_
sudo dpkg -i /home/user/linux-image-5.15.0-starfive_5.15.0-starfive-13_riscv64.deb&&(cp -f /boot/extlinux/extlinux.conf_ /boot/extlinux/extlinux.conf;rm /boot/*_)