iMX6 sabre lite always in download mode

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

iMX6 sabre lite always in download mode

Jump to solution
2,077 Views
xiaochao0131
Contributor III

I downloaded the latest uboot(v2015.07)and built it with the configuration (make nitrogen6q_defconfig) ,then I flash it in the windows 7with mfgtools, when I connect the sabre lite Board to my PC I saw the device being recognized as HID-compliant device, I press Start button and saw loading uboot, loading kernel ..., then It appeared "jumping to OS image", It shows No device connected after several seconds, I checked the ucl2.xml and modified the pid and vid as below:

<STATE name="Updater"   dev="MSC" vid="0525" pid="A4A5"/>,I found the device was recognized as Mass Storage Device in Windows Devices Manager after mfgtool show "jumping to OS image", so I changed the vid and pid of "Updater" to the pid and vid of the Mass storage Device. I pressed the SW4(hareware reset button in the board), Mfgtools shows Done after about 30 seconds. Then I reset the SW1 to D1=OFF, D2=OFF and power off power on the board, there is nothing appear in the serial port. The board is still in the state of download mode. Below is my config files(ucl2.xml and dfg.ini).

By the way, after flash the uboot, the serial port shows the information of uboot only one time, there is nothing appear when I reboot the board(By press SW4 reset button). No debug message and the board is in download mode.

Original Attachment has been moved to: cfg.ini.zip

Original Attachment has been moved to: ucl2.xml.zip

Original Attachment has been moved to: uboot.log.zip

Labels (3)
0 Kudos
1 Solution
1,107 Views
gary_bisson
Senior Contributor III

Hi,

A couple of things:

- Latest U-Boot for this board is now 2016.03:

https://boundarydevices.com/u-boot-v2016-03/

- You can download the latest images from here:

Index of /u-boot-images

- By default MFGTools isn't supported so we recommend just using U-Boot:

  - Once you see U-Boot on the serial console, stop its execution by pressing any key.

  - Insert an SD card with 6x_upgrade and u-boot.nitrogen6q files (from link above)

  - Type 'run upgradeu' on the serial console

The above procedure will flash the U-Boot from the SD card to the NOR flash. The fact that you always are in download mode means that you erased the NOR flash at some point.

Regards,

Gary

View solution in original post

0 Kudos
7 Replies
1,108 Views
gary_bisson
Senior Contributor III

Hi,

A couple of things:

- Latest U-Boot for this board is now 2016.03:

https://boundarydevices.com/u-boot-v2016-03/

- You can download the latest images from here:

Index of /u-boot-images

- By default MFGTools isn't supported so we recommend just using U-Boot:

  - Once you see U-Boot on the serial console, stop its execution by pressing any key.

  - Insert an SD card with 6x_upgrade and u-boot.nitrogen6q files (from link above)

  - Type 'run upgradeu' on the serial console

The above procedure will flash the U-Boot from the SD card to the NOR flash. The fact that you always are in download mode means that you erased the NOR flash at some point.

Regards,

Gary

0 Kudos
1,107 Views
xiaochao0131
Contributor III

Hi Gary,

Thanks for your reply.

I think I did something wrong with my board, I cannot enter U-boot now, when I connect the board to my PC, there is nothing appear in the serial port or display. The only way to enter U-boot is using mfgtools, press "start" button,  then it can enter u-boot , but it doesn't show "u-boot" in serial console, it shows "=>" in the serial console.

0 Kudos
1,107 Views
gary_bisson
Senior Contributor III

Hi,

Yes I meant using MFGTools just to start U-Boot, then the rest of the MFGTools procedure (loading kernel etc...) won't be working.

But loading U-Boot is sufficient, having "=>" is ok, this the U-Boot prompt.

Regards,

Gary

0 Kudos
1,107 Views
xiaochao0131
Contributor III

Hi Gary,

I tried the method you provide above, I got the below massage in serial console:

U-Boot 2015.07-15178-g73588dc (Jul 22 2016 - 09:00:25 +0800)              
                                                                          
CPU:   Freescale i.MX6Q rev1.2 996 MHz (running at 792 MHz)               
Reset cause: POR                                                          
Board: SABRE Lite                                                         
I2C:   ready                                                              
DRAM:  1 GiB                                                              
MMC:   FSL_SDHC: 0, FSL_SDHC: 1                                           

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

auto-detected panel 1280x720M@60                                          
Display: hdmi:1280x720M@60 (1280x720)                                     
In:serial                                                             
Out:   serial                                                             
Err:   serial                                                             
Net:   Micrel ksz9021 at 6                                                
FEC [PRIME]                                                               
Error: FEC address not set.                                               
, usb_ether                                                               
Error: usb_ether address not set.                                         
                                                                          
Hit any key to stop autoboot:  0                                          
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode                 
flags: ncq stag pm led clo only pmp pio slum part                         
No port device detected!                                                  
** Bad device size - sata 0 **                                            
                                                                          
SATA device 1: unknown device                                             
** Bad device sata 1 **                                                   
MMC: no card present                                                      
MMC: no card present                                                      
** Bad device mmc 0 **                                                    
MMC: no card present                                                      
MMC: no card present                                                      
** Bad device mmc 1 **                                                    
starting USB...                                                           
USB0:   Port not available.                                               
USB1:   USB EHCI 1.00                                                     
scanning bus 1 for devices... 2 USB Device(s) found                       
   scanning usb for storage devices... 0 Storage Device(s) found      
   scanning usb for ethernet devices... 0 Ethernet Device(s) found    
                                                                          
6x_bootscript not found                                                   
                                                                          
serial console at 115200, 8N1                                             
                                                                          
details at http://boundarydevices.com/6q_bootscript                       
no block devices found                                                    
=> run upgradeu                                                           
                                                                          
SATA device 0: Model:  Firm:  Ser#:                                       
        Type: Hard Disk                                               
        Capacity: not available                                       
... is now current device                                                 
** Bad device size - sata 0 **                                            
                                                                          
SATA device 1: unknown device                                             
** Bad device sata 1 **                                                   
MMC: no card present                                                      
MMC: no card present                                                      
** Bad device mmc 0 **                                                    
switch to partitions #0, OK                                               
mmc1 is current device                                                    
** No partition table - mmc 1 **                                          
                                                                          
USB device 0: unknown device                                              
** Bad device usb 0 **                                                    
                                                                          
USB device 1: unknown device                                              

** Bad device usb 1 **

0 Kudos
1,107 Views
gary_bisson
Senior Contributor III

Hi,

Please read my instructions:

Insert an SD card with 6x_upgrade and u-boot.nitrogen6q files (from link above)

Your log shows that there's no SD card inserted on the board.

Regards,

Gary

0 Kudos
1,107 Views
xiaochao0131
Contributor III

Hi Gary,

I changed the other SD Card and run upgradeu, I update the u-boot successfully. Maybe the problem is my SD Card.

I reset the board and found the latest u-boot has been flash into the board. Version is 2016.03.

Thank you very much.

0 Kudos
1,107 Views
xiaochao0131
Contributor III

Hi Gary,

The SD Card has already in my board.  Below is my step: 1. Open serial port and Power on the board.

2. I used "imx_usb u-boot.imx" command to force the board into U-boot.

3. There is information come from serial port, then I press any key to pause it.

4. I insert the SD Card into my board, and run upgradeu.

Then the serial console print above message.

0 Kudos