How to burn U-boot using JTAG for IMX6Q

cancel
Showing results for 
Search instead for 
Did you mean: 

How to burn U-boot using JTAG for IMX6Q

171 Views
Contributor I

Hi,

We've design a custom board based on IMX6Q. Currently we are using a SD card to burn U-boot bootloader. Is there any way to burn U-boot boot loader using J-Link Segger JTAG debugger without using SD card? #uboot #jtag

0 Kudos
2 Replies

5 Views
Senior Contributor II

Hi Vijana Maparathna 

Please refer the link for loading u-boot using j-link and make the following changes in imx6q-2gb-oocd-0.8.0.cfg file

1) Comment this line  #ft2232_device_desc "VPACLink", #ft2232_layout oocdlink, #ft2232_vid_pid 0x0403 0x6010

2) Instead of interface ft2232 line write interface jlink

You can also load u-boot using ddr stress test tool,please refer link.

Instead of 6,7 step you can follow following steps on j-link commander:

1) h
2) loadbin  u-boot.bin 0x17800000
3) SetPC 0x17800000
4) wreg CPSR 0x000001d3
5) g

Let us know in case of any concerns.

 

Regards,

Karan Gajjar

5 Views
Contributor I

Thank you

0 Kudos