Fastboot no device

I can enter upgrade mode by pressing any key during booting, and the serial console displays:

Product checking: pass!
normal power on
boot wol: disable
InUsbBurn
[MSG]sof
Set Addr 5
Get DT cfg
Get DT cfg
set CFG

But when I execute:
fastboot devices

it shows nothing.

I connect usb-c to my PC’s usb. And another connection is serial to usb.
hdmi connects to a screen and display “Khadas” logo after entering upgrade mode.

Why is this happening? How can I make fastboot recognize the device?

PS: I tried on Windows usb-tool. It can connect successfully.

You should execute fastboot in u-boot command to enter fastboot mode.

kvim#fastboot 
g_dnl_register: g_dnl_driver.name = usb_dnl_fastboot

USB RESET
SPEED ENUM

USB RESET
SPEED ENUM

On PC:

nick@Nick:~$ sudo fastboot devices
1234567890	fastboot

1 Like