Using imx6rex-u-boot-1GB-production.bin

Answered
0
0

Hi all,

the bin looks like

B6 01 00 EA 00 00 00 00 00 00 00 00… to address 0×400, manual page 406, boot SD

IVT

D1 00 20 40 header

E0 06 80 27 entry, abs addr of first instruction

00 00 00 00 reserved

2C 04 80 27 abs addr of DCD

20 04 80 27 abs addr of boot data

00 04 80 27 self, abs addr of IVT

00 00 00 00 unsecure boot

00 00 00 00 reserved

Boot Data Structure

00 00 80 27 start, abs addr of image

28 99 06 00 length

00 00 00 00 no plugin

DCD

D2 02 A0 40 length= 02A0 = 672

CC 02 9C 04 length= 668

02 0E 07 98 00 0C 00 00

02 0E 07 58 00 00 00 00

02 0E 05 88 00 00 00 30
….

The ‘entry’ means that the application, u-boot, is copied to address 0xE0068027, around 600MB from the beginning of the RAM.
DCD is copied to 0x2C048027.
But why is self, the abs address of IVT at 0×00048027, a memory area which is described as reserved, page 214, table 2-1?
Is ‘start’, 0×00008027, the address on the SD? If so, why a size of 0×28990600, much larger than the bin file?

Many thanks for your help.

  • You must to post comments
Best Answer
0
0

Wow, you must understand iMX6 really well. You can try to run it from SD. Try this “magic” command: mw.l 0x020d8040 0x3040; mw.l 0x020d8044 0x10000000; reset

More info here: http://www.imx6rex.com/software/how-to-uboot-compile-flash-update/#uboot_from_sd

I know, there are some differences in uBoot bins. Some bins need to be flashed to 0×0 (that is the case of the old uboot binaries), some need to have offset 0×400. The most of the new bins need to go to 0×400. Have a look inside the binary and check the first few bytes.

  • You must to post comments
0
0

Hello Dirk,
I only compiled the Freescale original source code with few changes for iMX6 Rex hardware. I have not done any changes in memory mapping. Why are you investigating it?
- Robert

  • You must to post comments
0
0

:)

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.