IRC #olimex 2025-09-05

[00:03:33] <guestxob> Hey all, I have some problems with an A20-OLinuXino-LIME board, I suspect it's a hardware issue because there's a chipped capacitor, but I thought I'd ask here
[00:03:33] <guestxob> Ethernet is not working: when I boot, while u-boot is loading, the LEDs are on correctly, but when the kernel starts I get
[00:03:34] <guestxob> [   27.073825] sun7i-dwmac 1c50000.ethernet: Failed to reset the dma
[00:03:34] <guestxob> [   27.080262] sun7i-dwmac 1c50000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed
[00:03:35] <guestxob> [   27.089237] sun7i-dwmac 1c50000.ethernet eth0: stmmac_open: Hw setup failed
[00:03:35] <guestxob> And the Ethernet LEDs turn off.
[00:03:36] <guestxob> I also noticed that during the boot in u-boot, I got this:
[00:03:36] <guestxob> Loading configuration from EEPROM: Error
[00:03:37] <guestxob> Loading configuration from MMC: OK
[00:03:37] <guestxob> Verifying data: Error
[00:03:38] <guestxob> Error
[00:03:38] <guestxob> WARNING: The board cannot be detected!
[00:03:39] <guestxob> Not sure why it did that, but it had wiped even the serial and mac address. I set them manually and rebooted, and the issue is gone. However, I haven't found a way to find out which revision my board is, so I've set a random one, I'm not sure if it could also be the problem.
[00:03:39] <guestxob> I'm using the A20-OLinuXino-bullseye-minimal-20241121-172551.img image, but I've also tried with armbian and debian, Ethernet doesn't work on either.
[00:07:56] <bill-auger> the revision is printed on the PCB
[00:10:24] <guestxob> Is it part of the string like A20-OLinuXino-LIME that is in the top of the rear of the board?
[00:10:49] <bill-auger> A to E - Realtek RTL8211CL
[00:10:49] <bill-auger> F to G2 - Realtek RTL8211E
[00:10:49] <bill-auger> H to L - Micrel KSZ9031
[00:12:06] <guestxob> Could you help me locate it? I have bad eyesight but I didn't think it was that bad
[00:12:35] <guestxob> Ok nvm found it
[00:12:45] <guestxob> My bad, I'll try with the right one now
[00:17:40] <bill-auger> ok i misunderstood too - those rev numbers were for lime2
[00:18:00] <guestxob> Nope, still the same stuff.
[00:18:00] <guestxob> [   24.057887] sun7i-dwmac 1c50000.ethernet: Failed to reset the dma
[00:18:01] <guestxob> [   24.064102] sun7i-dwmac 1c50000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed
[00:18:01] <guestxob> [   24.073056] sun7i-dwmac 1c50000.ethernet eth0: stmmac_open: Hw setup failed
[00:18:02] <guestxob> I've also tried the `ping` command in uboot, and it fails with any host, either local or remote
[00:18:02] <guestxob> DMA reset timeout
[00:18:03] <guestxob> using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
[00:18:03] <guestxob> MAC de:ad:be:ef:00:01
[00:18:04] <guestxob> HOST MAC de:ad:be:ef:00:00
[00:18:04] <guestxob> RNDIS ready
[00:18:05] <guestxob> The remote end did not respond in time.ping failed; host 192.168.1.1 is not alive
[00:18:19] <bill-auger> as for tech support, you would be better sending email
[00:18:56] <guestxob> Yeah I should probably do that, I was hoping it was just a revision mismatch
[00:19:44] <guestxob> Thanks!