Help required: i.MX6Q's internal boot ROM related queries

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

Help required: i.MX6Q's internal boot ROM related queries

Jump to solution
2,312 Views
rajansrivastava
NXP Employee
NXP Employee

Can someone please help me (a reference to some document will be appreciated):

1. If i.MX6q is not booting up (nothing shows up on UART-console), how to trace IBR (internal boot ROM software) to know why IBR is not booting, say from SD card? This is the case of non-XIP (non execute-in-place, or indirect boot)

2. Does i.MX6q (ARM2 board) support XIP (ie, direct boot)? I couldn't find details of this mode in RM or any other document.

Regards,

Rajan

Labels (1)
Tags (2)
1 Solution
1,676 Views
MT
NXP Employee
NXP Employee

In the security reference manual there is a memory map (figure 4-3) which has the Log Buffer Pointer.

Sent from Blackberry

View solution in original post

5 Replies
1,676 Views
admin
Specialist II

The i.MX6x does not have an external boot mode. The iROM will always be executed out of reset.

The IVT and Boot Data Structuress in the Flashed image will determine if code is copied or XIP.

Regards,

Brett

1,676 Views
MT
NXP Employee
NXP Employee

Not sure what you mean by non-execute in place.

A quick check to see if the i.MX6 is running is to connect the board to a PC using a USB cable (if you have the USBOTG port brought out) and see if the Manufacturing Tool can connect. This will tell you if the i.MX6 is running. If the i.MX6 does not find a valid image it will try to download an image via USB

0 Kudos
Reply
1,676 Views
rajansrivastava
NXP Employee
NXP Employee

By XIP (execute in place), I meant ARM (A9) executes first code (after coming out of reset) from NOR flash (without copying instructions from NOR flash to RAM).

Via RealView-JTAG-debugger, I can see ARM is stuck inside IBR executing some loop. Certainly IBR faced some issue in the NOR flash image that's why IBR is not proceeding in expected way. Does IBR maintain any status/log/traces somewhere that I can see using JTAG?

0 Kudos
Reply
1,677 Views
MT
NXP Employee
NXP Employee

In the security reference manual there is a memory map (figure 4-3) which has the Log Buffer Pointer.

Sent from Blackberry

1,676 Views
rajansrivastava
NXP Employee
NXP Employee

Thanks Mark, that helped ☺

Do you have idea for the other question in the same message?

Regards,

Rajan

0 Kudos
Reply