I’m currently working with a DSGW-210-B-26 gateway and following the SDK instructions provided on your Wiki (DSGW-210 RK3328 Gateway Hub Platform | Dusun wiki for the Debian SDK) to build custom images. I’ve generated images for both Buildroot and Debian option at time of run at build.sh init in the Virtual machine running Ubuntu 18.04 as per the documentation and flashed the device using AndroidTool. However, after flashing with either image, I’m unable to access the gateway via Ethernet as I previously could. Connecting through UART, I see the following log error/warning where it is not detecting the ethernet port anymore:
Net: Net Initialization Skipped No ethernet found.
Originally, I used the Ethernet port and SSH for local network access, which is crucial for my work. Re-flashing the gateway with the stock image (DSGW-210-Debian_image_RV1.3.3.zip) restores Ethernet functionality, but this stock firmware lacks the driver support I need to monitor battery status on the device, one of the main reasons I used the SDK was for having access to the battery monitoring hardware.
Given that I’m compiling the image with the SDK, I would expect the necessary drivers for Ethernet to be included. Are there any specific configurations or additional steps required to enable the Ethernet driver in the custom SDK images? Any suggestions beyond what’s available in the guides would be greatly appreciated, as they are somewhat limited in scope.
Thank you @jisea! Found it
Did you try and install the files I gave you? I’m not sue what kernel version the Debian image is, but its too old for my version of the Debian image that comes pre-loaded
@SMARTi thanks your files worked for me and now I am able to get the battery information in the default image.
@DusunIoT is there any workaround to enable the Ethernet port for an SDK-generated image? I tried looking at menuconfig in Buildroot, but there are no options available there.
Hello @Dusun_Yan,
The DSGW-210 gateway does not seem to enable the eth0 port with the Debian image I generated according to the SDK documentation. I tried both Debian and Buildroot, but the results were the same: no Ethernet connection. I am attaching logs captured via PuTTY over UART when using the Debian SDK-generated image (Logs_flashed_imagen_from_SDK_Debian.txt (55.5 KB)
The logs indicate a message: IPv6: ADDRCONF(NETDEV_UP): docker0: link is not ready, suggesting that eth0 may not be functional or at least not communicating (gateway LEDs stay red), and I cannot see it on my local network.
On another note, while I can view logs over UART, I haven’t been able to use it as a console to send commands, even though the wiring is correctly connected (TP1100 for RX and TP1101 for TX). This limitation makes it essential to restore Ethernet (eth0) functionality to communicate with the DSGW 210.
@Dusun_Yan I can’t run ‘cat /etc/dusun_build’ on the DSGW-210 after flashing the image from the SDK because I’m unable to log in using SSH (due to the eth0 issue) or access the console via serial. The serial connection only works for debugging or retrieving logs, not for sending command on my end.
Could you please provide the exact steps you use to compile the image? Additionally, could you share the kernel configuration you’re using and confirm if there’s any specific option in menuconfig that needs to be enabled to support Ethernet functionality?
just follow the guide, cp the debian-rootfs.img to debian/linaro-rootfs.img
then execute ./build.sh init (choose 3) and build.sh
I didn’t make any changes, ethernet is a fundamental feature, it shall be supported by default