Seeed Studio reComputer Industrial J4012

Hi,

I’m trying to get balenaOS running on the reComputer Industrial J4012 and have managed to successfully flash it using the “Seeed reComputer J4012 16GB” image. I’m able to connect to the device over serial, but it can’t access the internet via its LAN2 port. As far as I can tell this is because the reComputer J4012 has only one LAN port, while the reComputer Industrial has one normal LAN port and one PoE port. BalenaOS recognises the PoE port but cannot see the normal LAN port (kernel driver seems to be missing?). The interface doesn’t show when using ifconfig -a, but both are listed when running lspci:

> lspci
0001:00:00.0 PCI bridge: NVIDIA Corporation Device 229e (rev a1)
0001:01:00.0 Ethernet controller: Microchip Technology / SMSC Device 7430 (rev 11)
0004:00:00.0 PCI bridge: NVIDIA Corporation Device 229c (rev a1)
0004:01:00.0 Non-Volatile memory controller: Shenzhen Longsys Electronics Co., Ltd. Device 5216 (rev 01)
0008:00:00.0 PCI bridge: NVIDIA Corporation Device 229c (rev a1)
0008:01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)

I was wondering if there was an alternative image I should be using or if there’s a known way of getting balenaOS to recognise this port?

More info on the device here.

Thanks,
Adam

1 Like

Hello @adam_stamp first of all welcome to the balena community!

I don’t have the Industrial one, I checked my reComputer J4012 but i’m not able to see the LAN2. Let me ping the balena devices team to explore this, probably the industrial J4012 is not 100% compatible with the image that we do have.

Could you please confirm what OS version are you testing?

Let’s stay connected

1 Like

Hi, thanks for your response

The OS version I’ve tried is 6.0.21. I’m able to get it to connect and show on balenaCloud over the PoE port (LAN1+PSE), however for our actual application we need both ports.

Cheers

@adam_stamp i’m asking to Seeed Studio if we need to add any specific driver or BSP to the J4012 image that we have to enable the J4012 industrial.

We will keep you posted!

1 Like

Thanks for the update, I’ve found that I can get the port working (at least on some networks) by building the Microchip driver lan743x and insmoding it however would be great to have this in the image by default!

1 Like

Awesome @adam_stamp thanks for sharing that it works.

Could you please open a PR on the J4012 repository with the new drivers?

I’m afraid I’m not sure how I’d do that, I’ve just built the driver as a one off kernel module file rather than as an entire image. Do you have any instructions for incorporating this into the image?

@adam_stamp can you open a PR in GitHub - balena-os/balena-jetson-orin: Balena integration repository for Jetson Orin devices to add/enable the driver for the J4012 device-type? I assume it’s just “CONFIG_LAN743X=m” that’s needed, or are there some other configs needed as well?

2 Likes

Thanks, the PR is here: recipes-kernel/linux: Add reComputer Industrial J4012 ethernet driver by astampcv · Pull Request #514 · balena-os/balena-jetson-orin · GitHub

Please let me know if there’s any issues, I haven’t used Yocto before so not sure if the syntax is correct

1 Like

Thanks, sure, I’ll check the PR and let you know

1 Like

Hi @adam_stamp , your change is now available in the v6.0.47 OS image release

2 Likes

Amazing, thanks - will try it out

Let us know how it works @adam_stamp

Hi, all working correctly now. Thanks for your help!

1 Like