Package: u-boot-sunxi
Version: 2025.01-3
Not affected: 2023.01+dfsg-2+deb12u1

Dear maintainer,

I have an Olimex A20-OLinuXino-Lime2 board (Allwinner A20 SoC). It boots from a SD card with the U-Boot image for A20-OLinuXino-Lime2 provided by the u-boot-sunxi package. U-Boot boots GRUB in EFI mode and GRUB boots the Linux kernel.

USB works with the image from u-boot-sunxi 2023.01+dfsg-2+deb12u1 (bookworm) but not with the one from u-boot-sunxi 2025.01-3 (trixie). As a result, USB keyboard and storage are not available in U-Boot and GRUB.

A20-OLinuXino-Lime2 20232023.01+dfsg-2+deb12u1: USB OK
A20-OLinuXino-Lime2 2025.01-3 :                 USB KO

Note: U-Boot can boot GRUB in EFI mode from the SD card, GRUB can boot a Linux kernel and USB works in the kernel with both versions.

---------------------

I also have a Rikomagic MK802II stick (Allwinner A10 SoC). The u-boot-sunxi package does not provide a dedicated flavour for this model, so I tried flavours intended for other devices based on the same SoC:
- A10-OLinuXino-Lime
- Cubieboard
- Linksprite_pcDuino
- Mini-X

The HDMI output and SD card work in U-Boot and GRUB with all flavours; USB devices (keyboard or storage) work with all flavours of the bookworm package but do not work with most flavours of the trixie package (the exception being with trixie pcduino flavour):

A10-OLinuXino-Lime 2023.01+dfsg-2+deb12u1: USB OK
A10-OLinuXino-Lime 2025.01-3:              USB KO
Cubieboard         2023.01+dfsg-2+deb12u1: USB OK
Cubieboard         2025.01-3:              USB KO
Linksprite_pcDuino 2023.01+dfsg-2+deb12u1: USB OK
Linksprite_pcDuino 2025.01-3:              USB OK
Mini-X             2023.01+dfsg-2+deb12u1: USB OK
Mini-X             2025.01-3:              USB KO

Note: U-Boot can boot GRUB in EFI mode from the SD card, GRUB can boot a Linux kernel and USB works in the kernel with all flavours and versions.

---------------------

I took screenshots and copied the text by hand:

================================================

U-Boot 2023.01+dfsg-2+deb12u1 (Apr 18 2024 - 22:00:21 +0000) Allwinner Technology
CPU:   Allwinner A20 (SUN7I)
Model: Olimex A20-OLinuXino-LIME2
DRAM:  1 GiB
Core:  54 devices, 24 uclasses, devicetree: separate
WDT:   Not starting watchdog@1c20c90
MMC:   mmc@1c0f000: 0
Loading Environement from FAT... Unable to read "uboot.env" from mmc0:1...
HDMI connected: Setting up a 1680x1050 dvi console (overscan 0x0)
In:    serial
Out:   vidconsole
Err:   vidconsole
Allwinner mUSB OTG (Peripheral)
Net:   eth0: ethernet@1c50000, eth1: usb_ether
starting USB...
Bus usb@1c14000: USB EHCI 1.00
Bus usb@1c14400: USB OHCI 1.0
Bus usb@1c1c000: USB EHCI 1.00
Bus usb@1c1c400: USB OHCI 1.0
scanning bus usb@1c14000 for devices... 1 USB Device(s) found
scanning bus usb@1c14400 for devices... 1 USB Device(s) found
scanning bus usb@1c1c000 for devices... 1 USB Device(s) found
scanning bus usb@1c1c400 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
=>

================================================

U-Boot 2025.01-3 (Apr 08 2025 - 23:07:41 +0000) Allwinner Technology
CPU:   Allwinner A20 (SUN7I)
Model: Olimex A20-OLinuXino-LIME2
DRAM:  1 GiB
Core:  114 devices, 25 uclasses, devicetree: separate
WDT:   Not starting watchdog@1c20c90
MMC:   mmc@1c0f000: 0
Loading Environement from FAT... Unable to read "uboot.env" from mmc0:1...
HDMI connected: Setting up a 1680x1050 dvi console (overscan 0x0)
In:    serial,usbkbd
Out:   serial,vidconsole
Err:   serial,vidconsole
failed to get usb PHY
No USB device found
Net:   eth0: ethernet@1c50000

starting USB...
Bus usb@1c14000: Port not available.
Bus usb@1c14400: Port not available.
Bus usb@1c1c000: Port not available.
Bus usb@1c1c400: Port not available.
Hit any key to stop autoboot:  0

================================================

U-Boot 2023.01+dfsg-2+deb12u1 (Apr 18 2024 - 22:00:21 +0000) Allwinner Technology
CPU:   Allwinner A10 (SUN4I)
Model: Olimex A10-OLinuXino-LIME
DRAM:  1 GiB
Core:  68 devices, 23 uclasses, devicetree: separate
WDT:   Not starting watchdog@1c20c90
MMC:   mmc@1c0f000: 0
Loading Environement from FAT... Unable to read "uboot.env" from mmc0:1...
HDMI connected: Setting up a 1280x1024 dvi console (overscan 0x0)
In:    serial
Out:   vidconsole
Err:   vidconsole
Net:   No ethernet found.

starting USB...
Bus usb@1c14000: USB EHCI 1.00
Bus usb@1c14400: USB OHCI 1.0
Bus usb@1c1c000: USB EHCI 1.00
Bus usb@1c1c400: USB OHCI 1.0
scanning bus usb@1c14000 for devices... 1 USB Device(s) found
scanning bus usb@1c14400 for devices... 2 USB Device(s) found
scanning bus usb@1c1c000 for devices... 2 USB Device(s) found
scanning bus usb@1c1c400 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
=>

================================================

U-Boot 2025.01-3 (Apr 08 2025 - 23:07:41 +0000) Allwinner Technology
CPU:   Allwinner A10 (SUN4I)
Model: Olimex A10-OLinuXino-LIME
DRAM:  1 GiB
Core:  79 devices, 24 uclasses, devicetree: separate
WDT:   Not starting watchdog@1c20c90
MMC:   mmc@1c0f000: 0
Loading Environement from FAT... Unable to read "uboot.env" from mmc0:1...
HDMI connected: Setting up a 1280x1024 dvi console (overscan 0x0)
In:    serial,usbkbd
Out:   serial,vidconsole
Err:   serial,vidconsole
Net:   Could not get PHY for emac: addr 1
No ethernet found.

starting USB...
Bus usb@1c14000: Port not available.
Bus usb@1c14400: Port not available.
Bus usb@1c1c000: Port not available.
Bus usb@1c1c400: Port not available.
Hit any key to stop autoboot:  0


================================================

U-Boot 2023.01+dfsg-2+deb12u1 (Apr 18 2024 - 22:00:21 +0000) Allwinner Technology
CPU:   Allwinner A10 (SUN4I)
Model: Cubietech Cubieboard
DRAM:  1 GiB
Core:  68 devices, 23 uclasses, devicetree: separate
WDT:   Not starting watchdog@1c20c90
MMC:   mmc@1c0f000: 0
Loading Environement from FAT... Unable to read "uboot.env" from mmc0:1...
HDMI connected: Setting up a 1280x1024 dvi console (overscan 0x0)
In:    serial
Out:   vidconsole
Err:   vidconsole
Net:   No ethernet found.

starting USB...
Bus usb@1c14000: USB EHCI 1.00
Bus usb@1c14400: USB OHCI 1.0
Bus usb@1c1c000: USB EHCI 1.00
Bus usb@1c1c400: USB OHCI 1.0
scanning bus usb@1c14000 for devices... 1 USB Device(s) found
scanning bus usb@1c14400 for devices... 2 USB Device(s) found
scanning bus usb@1c1c000 for devices... 2 USB Device(s) found
scanning bus usb@1c1c400 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
=>

================================================

U-Boot 2025.01-3 (Apr 08 2025 - 23:07:41 +0000) Allwinner Technology
CPU:   Allwinner A10 (SUN4I)
Model: Cubietech Cubieboard
DRAM:  1 GiB
Core:  78 devices, 24 uclasses, devicetree: separate
WDT:   Not starting watchdog@1c20c90
MMC:   mmc@1c0f000: 0
Loading Environement from FAT... Unable to read "uboot.env" from mmc0:1...
HDMI connected: Setting up a 1280x1024 dvi console (overscan 0x0)
In:    serial,usbkbd
Out:   serial,vidconsole
Err:   serial,vidconsole
Net:   Could not get PHY for emac: addr 1
No ethernet found.

starting USB...
Bus usb@1c14000: Port not available.
Bus usb@1c14400: Port not available.
Bus usb@1c1c000: Port not available.
Bus usb@1c1c400: Port not available.
Hit any key to stop autoboot:  0

================================================

U-Boot 2023.01+dfsg-2+deb12u1 (Apr 18 2024 - 22:00:21 +0000) Allwinner Technology
CPU:   Allwinner A10 (SUN4I)
Model: Linksprite pcDuino
DRAM:  1 GiB
Core:  64 devices, 21 uclasses, devicetree: separate
WDT:   Not starting watchdog@1c20c90
MMC:   mmc@1c0f000: 0
Loading Environement from FAT... Unable to read "uboot.env" from mmc0:1...
HDMI connected: Setting up a 1280x1024 dvi console (overscan 0x0)
In:    serial
Out:   vidconsole
Err:   vidconsole
Net:   No ethernet found.

starting USB...
Bus usb@1c14000: USB EHCI 1.00
Bus usb@1c14400: USB OHCI 1.0
Bus usb@1c1c000: USB EHCI 1.00
Bus usb@1c1c400: USB OHCI 1.0
scanning bus usb@1c14000 for devices... 1 USB Device(s) found
scanning bus usb@1c14400 for devices... 2 USB Device(s) found
scanning bus usb@1c1c000 for devices... 1 USB Device(s) found
scanning bus usb@1c1c400 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
=>

================================================

U-Boot 2025.01-3 (Apr 08 2025 - 23:07:41 +0000) Allwinner Technology
CPU:   Allwinner A10 (SUN4I)
Model: Linksprite pcDuino
DRAM:  1 GiB
Core:  71 devices, 22 uclasses, devicetree: separate
WDT:   Not starting watchdog@1c20c90
MMC:   mmc@1c0f000: 0
Loading Environement from FAT... Unable to read "uboot.env" from mmc0:1...
HDMI connected: Setting up a 1280x1024 dvi console (overscan 0x0)
In:    serial,usbkbd
Out:   serial,vidconsole
Err:   serial,vidconsole
Net:   Could not get PHY for emac: addr 1
No ethernet found.

starting USB...
Bus usb@1c14000: USB EHCI 1.00
Bus usb@1c14400: USB OHCI 1.0
Bus usb@1c1c000: USB EHCI 1.00
Bus usb@1c1c400: USB OHCI 1.0
scanning bus usb@1c14000 for devices... 1 USB Device(s) found
scanning bus usb@1c14400 for devices... 2 USB Device(s) found
scanning bus usb@1c1c000 for devices... 1 USB Device(s) found
scanning bus usb@1c1c400 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
=>

================================================

U-Boot 2023.01+dfsg-2+deb12u1 (Apr 18 2024 - 22:00:21 +0000) Allwinner Technology
CPU:   Allwinner A10 (SUN4I)
Model: FineRiver Mini X-Plus
DRAM:  1 GiB
Core:  63 devices, 20 uclasses, devicetree: separate
WDT:   Not starting watchdog@1c20c90
MMC:   mmc@1c0f000: 0
Loading Environement from FAT... Unable to read "uboot.env" from mmc0:1...
HDMI connected: Setting up a 1280x1024 dvi console (overscan 0x0)
In:    serial
Out:   vidconsole
Err:   vidconsole
Net:   No ethernet found.
starting USB...
Bus usb@1c13000: Port not available.
Bus usb@1c14000: USB EHCI 1.00
Bus usb@1c14400: USB OHCI 1.0
Bus usb@1c1c000: USB EHCI 1.00
Bus usb@1c1c400: USB OHCI 1.0
scanning bus usb@1c14000 for devices... 1 USB Device(s) found
scanning bus usb@1c14400 for devices... 2 USB Device(s) found
scanning bus usb@1c1c000 for devices... 2 USB Device(s) found
scanning bus usb@1c1c400 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
=>

================================================

U-Boot 2025.01-3 (Apr 08 2025 - 23:07:41 +0000) Allwinner Technology
CPU:   Allwinner A10 (SUN4I)
Model: FineRiver Mini X-Plus
DRAM:  1 GiB
Core:  73 devices, 21 uclasses, devicetree: separate
WDT:   Not starting watchdog@1c20c90
MMC:   mmc@1c0f000: 0
Loading Environement from FAT... Unable to read "uboot.env" from mmc0:1...
HDMI connected: Setting up a 1280x1024 dvi console (overscan 0x0)
In:    serial,usbkbd
Out:   serial,vidconsole
Err:   serial,vidconsole
Net:   No ethernet found.

starting USB...
Bus usb@1c13000: failed to get usb PHY
Port not available.
Bus usb@1c14000: Port not available.
Bus usb@1c14400: Port not available.
Bus usb@1c1c000: Port not available.
Bus usb@1c1c400: Port not available.
Hit any key to stop autoboot:  0

Reply via email to