Booting iMX6SX from EIM-NOR.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Booting iMX6SX from EIM-NOR.

846件の閲覧回数
keithstenson
Contributor I

Hi.  

 

I'm trying to get a bare board up and running with the iMX6SX processor and have looked at the chapters in the manual and on forums explaining the IVT.  I am trying to boot from standard NOR flash memory (parallel)  with the base address located at 0x5000_0000 on CS0.  I do not want to use u-boot for this.  I can burn the flash memory and run/debug from it using the IAR toolchain ok but when I start the board without a debugger it doesn't boot.

 

typedef struct

{

  uint32_t header;

  uint32_t *entry;

  uint32_t reserved1;

  uint32_t *dcd;

  boot_data_t *boot_data;

  uint32_t *self;

  uint32_t *csf;

  uint32_t reserved2;

} image_vector_table_t;

 

My IVT is shown below and is located at 0x1000 from the start of the ROM at 0x5000_0000

50001000: d1002040 dc400050 00000000 00000000

50001010: 3c420050 00100050 00000000 00000000

 

entry          - 0x500040dc  - first instruction of the program to be executed

dcd            - NULL

boot_data   - 0x5000423c - pointer to the boot data

self             - 0x50001000 - pointer to the IVT's own address

csf              - NULL

 

My boot data (located at 0x5000423c) is 

typedef struct
  {
  void *ImagePtr;
  UWORD32 SizeOfProgramImage;
  UWORD32 PlugInFlag;
  }tBootData;

 

ImagePtr                      - 0x500040dc  this is the same ptr as used in IVT.entry 

SizeOfProgramImage - 0  // I do not want anything copied

PlugInFlag                    - 0

 

Have I got this completely wrong?

 

Many Thanks

ラベル(1)
0 件の賞賛
返信
1 返信

750件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

  At the first sight the described boot data structures are correct. You may create

request (ticket) in order to get boot utility for boot crash analyzing.

 

 

Sales and Support|NXP 

 

 

  Also, please check Your connection scheme if proper for i.MX6 SX NOR boot pins are

used. Refer to Table 8-9 (EIM IOMUX pin configuration) of the i.MX 6SoloX Reference

Manual, Rev. 1, 6/2016.

 

  It makes sense to verify boot options for NOR, I mean Table 8-8 (EIM boot eFUSE descriptions)

of the Manual.

 

Have a great day,

Yuri

 

------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer

button. Thank you!

0 件の賞賛
返信