November 23, 2025, 02:24:42 AM

Recent posts

#1
A64 / Re: eth0 disappears
Last post by frm - November 22, 2025, 02:29:02 AM
I can copy here also the boot log taken from UART:

U-Boot SPL 2021.04+olimex-1-20231103.141125 (Nov 03 2023 - 14:12:49 +0000)
DRAM: 1024 MiB
Trying to boot from MMC1
NOTICE:  BL31: v2.0(debug):
NOTICE:  BL31: Built : 23:33:29, Nov 27 2018
NOTICE:  BL31: Detected Allwinner A64/H64/R18 SoC (1689)
NOTICE:  BL31: Found U-Boot DTB at 0x40b18b8, model: Olimex A64-Olinuxino-eMMC
INFO:    ARM GICv2 driver initialized
INFO:    Configuring SPC Controller
NOTICE:  BL31: PMIC: Detected AXP803 on RSB.
INFO:    PMIC: AXP803: Enabling DRIVEVBUS
INFO:    BL31: Platform setup done
INFO:    BL31: Initializing runtime services
INFO:    BL31: cortex_a53: CPU workaround for 843419 was applied
INFO:    BL31: cortex_a53: CPU workaround for 855873 was applied
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x4a000000
INFO:    SPSR = 0x3c9


U-Boot 2021.04+olimex-1-20231103.141125 (Nov 03 2023 - 14:12:49 +0000) Allwinner Technology

CPU:   Allwinner A64 (SUN50I)
Model: Olimex A64-Olinuxino-eMMC
DRAM:  1 GiB
MMC:   mmc@1c0f000: 0, mmc@1c11000: 1
Loading Environment from EXT4... *** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Allwinner mUSB OTG (Peripheral)
Net:   phy interface7
Could not get PHY for ethernet@1c30000: addr 1
eth1: usb_ether
starting USB...
Bus usb@1c1a000: USB EHCI 1.00
Bus usb@1c1a400: USB OHCI 1.0
Bus usb@1c1b000: USB EHCI 1.00
Bus usb@1c1b400: USB OHCI 1.0
scanning bus usb@1c1a000 for devices... 1 USB Device(s) found
scanning bus usb@1c1a400 for devices... 1 USB Device(s) found
scanning bus usb@1c1b000 for devices... 2 USB Device(s) found
scanning bus usb@1c1b400 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
2274 bytes read in 3 ms (740.2 KiB/s)
## Executing script at 4fc00000
U-boot loaded from SD
Boot script loaded from mmc
Checking for /uEnv.txt...
Checking for /boot/uEnv.txt...
460 bytes read in 2 ms (224.6 KiB/s)
Loaded environment from /boot/uEnv.txt
Loading FIT image...
30553463 bytes read in 1308 ms (22.3 MiB/s)
## Loading kernel from FIT Image at 58000000 ...
   Using 'config-8367' configuration
   Trying 'kernel-1' kernel subimage
     Description:  Linux kernel 5.10.180-olimex
     Type:         Kernel Image
     Compression:  uncompressed
     Data Start:   0x580000d4
     Data Size:    20115464 Bytes = 19.2 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x40080000
     Entry Point:  0x40080000
     Hash algo:    crc32
     Hash value:   b03bc58f
     Hash algo:    sha1
     Hash value:   5e019dd581acd68089a70153bfd56c3f01bd1b47
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading ramdisk from FIT Image at 58000000 ...
....

I guess that "Could not get PHY for ethernet@1c30000: addr 1" might be a sign of an HW issue?
If that's the case I hope I can return the board and get a new one cause it's fresh new.
#2
A64 / eth0 disappears
Last post by frm - November 22, 2025, 02:15:28 AM
Hi all,
I just unboxed my shiny new A64, imaged with the "A64-OLinuXino-bullseye-base-20231106-081613.img" image (stored on SD card).
I do have also the MOD-WIFI-RTL8188EUS-ANT part, so I expect to have 2 ethernet interface: the wired RJ45 eth interface and the wireless one.

Surprisingly, the first one is what's giving me troubles (wired Eth interface).
On the first boot I actually did have "eth0". Then I think I rebooted after reading a message about the DTS tree initial setup being completed (IIRC).
After reboot eth0 was disappeared. I read some thread about Eth interface being multiplexed with the LCD display so I used the "olinuxino-display" utility to set LCD mode to DISABLED. Reboot. Eth0 was there.

Now after another reboot eth0 is gone again.
I tried again to set LCD to DISABLED with "olinuxino-display" and rebooted. Eth0 is still not there.
This is what I see in kernel log:

# dmesg | grep -i ethernet
[    1.309067] dwmac-sun8i 1c30000.ethernet: IRQ eth_wake_irq not found
[    1.309076] dwmac-sun8i 1c30000.ethernet: IRQ eth_lpi not found
[    1.309490] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    1.309513] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 1806 (expect 0)
[    1.309782] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    1.309790] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    1.309797] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    1.309803] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    1.309809] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    1.309816] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    1.418776] dwmac-sun8i 1c30000.ethernet: EMAC reset timeout
[    1.424451] dwmac-sun8i 1c30000.ethernet eth0: stmmac_dvr_remove: removing driver
[    1.440228] dwmac-sun8i: probe of 1c30000.ethernet failed with error -110

my kernel is:

# uname -a
Linux viesmann-olinuxino 5.10.180-olimex #092646 SMP Tue Jul 25 09:28:50 UTC 2023 aarch64 GNU/Linux

is this a known issue?
#3
A20 / Re: A20-OLinuXino-MICRO ILITEK...
Last post by Globici - November 21, 2025, 09:23:37 PM
It seems like
  olimage.core.setup.kernel:
    modules:
      blacklist:
        - sun4i_gpadc_iio
        - sun4i_gpadc
      enable:
        - g_serial
        - sun4i_ts
        - ili210x
should work but it doesn't.

If I rebuild the kernel with the driver would it work ?
#4
Neo6502 / Re: Trouble flashing firmware ...
Last post by LubOlimex - November 21, 2025, 11:17:50 AM
Which USB connector and what USB cable do you use? You need USB type C for powering and USB type A for downloading new software, cable like this:

https://www.olimex.com/Products/Components/Cables/USB/USB-CABLE-AM-AM/

You disconnect the power supply USB-C cable, then press the BOOT button and plug the USB-A cable to USB host connector. Your computer will show a new drive. Once this new drive shows copy the .uf2 file to it. Once the firmware is programmed the drive will disappear. This means the RP2040 now has the new firmware loaded.
#5
Neo6502 / Trouble flashing firmware on N...
Last post by alicesphere - November 21, 2025, 10:36:44 AM
Hi everyone,
I'm new to the Olimex retro boards and just started working with the Neo6502. I'm trying to flash new firmware through the USB interface, but the upload fails halfway with a timeout almost every time.

I've followed the instructions from the Neo6502 resources page and tried different USB cables and ports, but no change. The board powers on normally and the bootloader seems to start, but the flashing process never completes.

Has anyone experienced unreliable USB flashing on the Neo6502? Is there a known issue with certain host OS versions? Should I be using a specific baud rate or tool version? Would flashing via SWD be more stable?

Any tips would be really appreciated. Thank you!
#6
A20 / Re: [Source][PoC] U-Boot + Ker...
Last post by ludingwa - November 21, 2025, 05:08:59 AM
Really cool to see these older A20 boards getting a new life with Debian Trixie.
#7
NXP / Re: Mainline buildroot / iMX8M...
Last post by mike105105 - November 20, 2025, 10:18:52 PM
I mean, just look at the dts section I pasted.  The phy reset gpio is being set to gpio4 02, but the pinctrl for it is specifying gpio4 22. The node for the other ethernet is swapped as well.  The correct gpio is specified in the pinctrl, but the wrong one is specified for the reset.  They are each set to the others reset gpio.

Michael
#8
A20 / A20-OLinuXino-MICRO ILITEK 211...
Last post by Globici - November 20, 2025, 05:25:30 PM
Hi, I am using Linux a20-olinuxino 5.10.180-olimex #140708 SMP Fri Dec 22 14:08:29 UTC 2023 armv7l GNU/Linux on my A20-OLinuXino-MICRO REV. L but I can't find a way of adding support for the ILITEK 211706000 Touchscreen driver.

Can you please guide me on how to install the driver ?

Some details :
=== Operating System ===
Name: Debian GNU/Linux
Version: 11 (bullseye)
ID: debian
VERSION_ID: 11

LSB Information:
Distributor ID:   Debian
Description:   Debian GNU/Linux 11 (bullseye)
Release:   11
Codename:   bullseye

=== Kernel Information ===
Kernel Version: 5.10.180-olimex
Kernel Release: #140708 SMP Fri

Thanks in advance !
#9
NXP / Re: Mainline buildroot / iMX8M...
Last post by LubOlimex - November 20, 2025, 08:22:08 AM
Sorry can you elaborate further? I am not sure if I understand the problem clearly. They are GPIOs how can these be swapped?
#10
NXP / Re: Mainline buildroot / iMX8M...
Last post by mike105105 - November 19, 2025, 04:52:42 PM
There seems to be an issue with every dts patch I have found for this board, even the one in the olimex buildroot-imx repo. The ethernet reset GPIOs are swapped between the 2 interfaces.  For example, buildroot-imx/board/olimex/imx8mp/linux/0001-dts-add-imx8mp-olimex.patch:
&eqos {
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_eqos>;
    phy-mode = "rgmii-id";
    phy-handle = <&ethphy0>;
        phy-reset-gpios = <&gpio4 02 GPIO_ACTIVE_LOW>;
        .
        .
        .
pinctrl_eqos: eqosgrp {
        fsl,pins = <
            .
                        .
                        .
            MX8MP_IOMUXC_SAI2_RXC__GPIO4_IO22        0x19
        >;
    };

I was wondering why my yocto build only had 1 ethernet port come up, the patch I was using was messed up slightly different and managed to have the second ethernet configured close enough to work.