Unbricking : Recovery failed on i.MX6Q Sabre Lite

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unbricking : Recovery failed on i.MX6Q Sabre Lite

Jump to solution
5,198 Views
youneschalabi
Contributor III

Hi all,

My i.MX6Q Sabre Lite board is broken, because when turning it on, I have any display on the gtkterm output.

I decided to unbrick it, following this method : http://boundarydevices.com/unbricking-nitrogen6x-sabre-lite-i-mx6-board/

but when launching the imx_usb script with a u-boot.bin, I've got the following message error :

main:Could not open device vid=0x15a2 pid=0x54 err=-3

I searched on the net about this error but I couldn't find anything !!!

Does anyone have an idea, please ?

Labels (1)
0 Kudos
1 Solution
2,890 Views
AlbertT
Contributor V

Hello,

Make sure your board is in recovery mode (using the command lsusb) and try to launch imx_sub with sudo.

Best regards.

View solution in original post

0 Kudos
11 Replies
2,891 Views
AlbertT
Contributor V

Hello,

Make sure your board is in recovery mode (using the command lsusb) and try to launch imx_sub with sudo.

Best regards.

0 Kudos
2,890 Views
youneschalabi
Contributor III

Hi Albert, thanks for your answer, it has really helped me, so now I can have a U-boot on the serial console.

Trying to recover the SPI Flash, I follow this site :

i.MX6x SABRE Lite SPI Flash Recovery - Linux on ARM - eewiki

But when running the command :

MX6Q SABRELITE U-Boot > load mmc ${mmcdev}:1 0x10800000 v2013.04.imx

I have this log :

Unknown command 'load' - try 'help'

Do you have an idea ?

Do I have to run also the upgradeu command ?

Thanks in advance for your answers.

Younes

0 Kudos
2,890 Views
AlbertT
Contributor V

Hello,

The load commands depends on the u-boot version you are using, some has it some others don't. So maybe you should recompile a u-boot from boundary devices which should have it. Regarding the upgradeu command I don't use at all, I make everything "by hands", so I won't be able to give you advices about it. My method is this one :

* copy my u-boot to my sd card

* boot with imx_usb_loader

* copy to flash (mmc read 0x10800000 0 800 ; sf probe 1; sf erase 0 0x40000; sf write 0x10800000 0 0x40000)

* Reboot

Best regards

2,890 Views
youneschalabi
Contributor III

Hi Albert,

Thanks for your help, now when I start the board I have U-boot launching.

On my µSD card I have a kernel and rootfs from LTIB but when starting the boot, I have a memory allocation problem, you can see the log on the following:

CPU:   Freescale i.MX6Q rev1.2 at 792 MHz

Reset cause: POR

Board: SABRE Lite

DRAM:  1 GiB

MMC:   FSL_SDHC: 0, FSL_SDHC: 1

SF: Detected SST25VF016B with page size 4 KiB, total 2 MiB

No panel detected: default to HDMI

enable_hdmi: setup HDMI monitor

Display: HDMI (1024x768)

In:    serial

Out:   serial

Err:   serial

Net:   using phy at 6

FEC

Hit any key to stop autoboot:  0

ERROR : memory not allocated

Did I do something wrong ?

Regards

0 Kudos
2,890 Views
AlbertT
Contributor V

Wow, sorry I've never had this error. Maybe look in the code to see what fails.

0 Kudos
2,890 Views
youneschalabi
Contributor III

Hi Albert,

Sorry for disturbing you again, but when I switch the board to USB OTG Recovery mode, and entring the command : lsusb

I can't find the Freescale entry !!! (Tried several times ..)

I tried to launch the scrip : imx_loader anyway, but it doesn't work :smileysad:

How can I force the board to get again the freescale entry ?

Best regards

0 Kudos
2,890 Views
AlbertT
Contributor V

Are you sure you linked your board to your computer by USB ?

0 Kudos
2,890 Views
youneschalabi
Contributor III

Yes of course I already did it. But now when linking the board to my computer by USB, turning the switches to USB OTG and reseting the board. Any entry named Freescale semi..... appears !!!

0 Kudos
2,890 Views
AlbertT
Contributor V

I don't understand, does it work now ?

0 Kudos
2,890 Views
youneschalabi
Contributor III

Now it doesn't work !!

When I turn on the board I have no display on the output serial line.

And I can't get again the Freescale entry with the lsusb command !! (Tired all the possibilities of the switches).

0 Kudos
2,889 Views
AlbertT
Contributor V

Well that is strange, my method to get to recovery mode is this one (I guess you're doing it well but just to check) :

* put the switch number 1 (there is two little "thing" on the switch) toward the processor and let the number 2 toward the exterior of the board.

* link by usb (OTG) the card and your computer and by serial

* boot the board and try lsusb and your computer

If it doesn't work then I don't know

0 Kudos