Imx6 quad fastboot failed with No such device

cancel
Showing results for 
Search instead for 
Did you mean: 

Imx6 quad fastboot failed with No such device

187 Views
Contributor II

Here's my question which confused me for few days:

I use imx_usb_loader and fastboot to flash nor flash and have successfully loaded u-boot to the RAM via imx_usb_loader, when I try to flash recovery image to nor flash, I get errors: 

Messages from Host PC:

test002@test002:~/test002/030003$ sudo fastboot flash spi:0x0 initramfs.nor
[sudo] password for test002:
< waiting for device >
target reported max download size of 117440512 bytes
sending 'spi:0x0' (32768 KB)...
OKAY [ 1.514s]
writing 'spi:0x0'...
FAILED (status read failed (No such device))
finished. total time: 18.179s

Messages from Minicom:

Run bootcmd_mfg: echo Running fastboot...; fastboot 0
Hit any key to stop autoboot: 0
Running fastboot...
WARNING: unknown variable: partition-type:spi:0x0
Starting download of 33554432 bytes
....................................................................................................................................................
............................................................................................................
downloading of 33554432 bytes finished
SF: Detected S25FL256S_64K with page size 256 Bytes, erase size 64 KiB, total 3B
Erasing 'spi': offset 0x0 length: 0x2000000

I have tried different cables and different host PCs with both Ubuntu and Windows, the problem is still unresolved.

Any idea is appreciated. 

Labels (2)
Tags (2)
0 Kudos
1 Reply

5 Views
NXP TechSupport
NXP TechSupport

Hi 文明 徐

imx_usb_loader is not supported by nxp as this is third party tool.

Questions for its usage can be posted on

Issues · boundarydevices/imx_usb_loader · GitHub 

or check useful links:

Imx usb loader - Variscite Wiki 

Booting Linux through USB on the i.MX6 sabre sd platform in a few commands 

Alternatively one can try with nxp tools and software described on:

i.MX Software | NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos