25 Mar, 2016
2 commits
-
Since from mx7, we use fixed IVT offset for all boot devices.
Introduce a new configuration CONFIG_IMX_FIXED_IVT_OFFSET for this.Signed-off-by: Peng Fan
Signed-off-by: Ye.Li
(cherry picked from commit 88e0a3552b08627b18d98380a32dbafacb18854b)
(cherry picked from commit 3d52e221ed444dab96038a2417d1dcb2217ad593) -
Update imximage for parsing and adding plugin codes to IVT.
Signed-off-by: Ye Li
07 Oct, 2015
1 commit
-
When CHECK_BITS_SET was added, they forgot to add
a new command table, and instead overwrote the
previous table.Signed-off-by: Troy Kisky
Tested-by: Fabio Estevam
26 Jul, 2015
1 commit
-
* Extend imximage DCD version 2 to support DCD commands
CMD_WRITE_CLR_BIT 4 [address] [mask bit] means:
while ((*address & ~mask) != 0);
CMD_CHECK_BITS_SET 4 [address] [mask bit] means:
while ((*address & mask) != mask);
CMD_CHECK_BITS_CLR 4 [address] [mask bit] means:
*address = *address & ~mask;
* Add set_dcd_param_v2 helper function to set DCD
command parametersSigned-off-by: Adrian Alonso
Signed-off-by: Peng Fan
10 Jul, 2015
1 commit
-
imximage header size is 4-byte, not 8-byte aligned.
This produces .imx images that a Vybrid cannot boot
on.Fix by adding a "padding" field in header.
Signed-off-by: Albert ARIBAUD (3ADEV)
10 Feb, 2015
1 commit
-
Add QuadSPI boot support to imximage tool.
Note: The QuadSPI configuration parameters at offset 0x400 are not
included in this patch. Need other tools to generate the parameters
part.Signed-off-by: Ye.Li
09 Sep, 2014
1 commit
-
According to mx53 and mx6 reference manuals:
"The maximum size of the DCD limited to 1768 bytes."
As each DCD entry consists of 8 bytes, we have a total of 1768 / 8 = 221, and
excluding the first entry, which is the header leads to 220 as the maximum
number for DCD size.Reported-by: Jonas Karlsson
Signed-off-by: Fabio Estevam
Acked-by: Nitin Garg
Acked-by: Nitin Garg
15 Oct, 2013
1 commit
-
Signed-off-by: Wolfgang Denk
31 Aug, 2013
3 commits
-
Add support for setting the CSF (Command Sequence File) pointer
which is used for HAB (High Assurance Boot) in the imximage by
adding e.g.CSF 0x2000
in the imximage.cfg file.
This will set the CSF pointer accordingly just after the padded
data image area. The boot_data.length is adjusted with the
value from the imximage.cfg config file.The resulting u-boot.imx can be signed with the FSL HAB tooling.
The generated CSF block needs to be appended to the u-boot.imx.Signed-off-by: Stefano Babic
-
Change to dynamically allocate the imx_header to correctly
allocate the IVT, Boot Data and DCD at correct locations
depending on the boot media.Also check that the Image Vector Table Offset + IVT +
Boot Data + DCD -
Doing a make distclean; make mx6qsabresd_config; make
and hexdump -C u-boot.imx | less...
00000360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000003f0 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 |................|
^^^^^^^^^^^
00000400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00001000 13 00 00 ea 14 f0 9f e5 14 f0 9f e5 14 f0 9f e5 |...ê.ð.å.ð.å.ð.å|
...shows the flash_offset value being written into the final
generated image, wich is not correct.Instead create flash_offset as static variable such that the
generated image is "clean".00000360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00001000 13 00 00 ea 14 f0 9f e5 14 f0 9f e5 14 f0 9f e5 |...ê.ð.å.ð.å.ð.å|Signed-off-by: Stefano Babic
24 Jul, 2013
1 commit
-
Signed-off-by: Wolfgang Denk
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini
05 May, 2013
1 commit
-
The MX53 ROM loads the data from NAND in multiples of pages and
supports maximum page size of 4k. Thus, align the image and header
to 4k to be safe from ROM bugs.Signed-off-by: Marek Vasut
Cc: Albert ARIBAUD
Cc: Benoît Thébaudeau
Cc: Fabio Estevam
Cc: Scott Wood
Cc: Stefano Babic
Cc: Tom Rini
28 Apr, 2013
1 commit
-
Implement BOOT_OFFSET command for imximage. This command is parallel
to current BOOT_FROM command, but allows more flexibility in configuring
arbitrary image header offset. Also add an imximage.cfg with default
offset values into arm/arch/imx-common/ so the board-specific imximage.cfg
can include this file to avoid magic constants.The syntax of BOOT_OFFSET command is "BOOT_OFFSET ".
Signed-off-by: Marek Vasut
Cc: Albert ARIBAUD
Cc: Benoît Thébaudeau
Cc: Fabio Estevam
Cc: Scott Wood
Cc: Stefano Babic
Cc: Tom Rini
Acked-by: Stefano Babic
Acked-by: Stefan Roese
20 Oct, 2012
1 commit
-
Call with the value the function will use
instead of going through a pointer.Signed-off-by: Troy Kisky
27 Mar, 2012
1 commit
-
The flash header supports different flash offsets for different
boot devices. E.g. parallel NOR or OneNAND use a different offset
than FLASH_OFFSET_STANDARD (== 0x400).The flash offset is correctly read from the configuration in
parse_cfg_cmd(). But is then overwritten wrongly in set_imx_hdr_v1/2().Fix this by removing this overwriting. Use the flash offset
correctly read from the configuration, instead.If there is no flash_offset read from the configuration file, i.e.
the BOOT_FROM tag is missing, exit with an error message.Signed-off-by: Dirk Behme
CC: Jason Liu
CC: Stefano Babic
Tested-by: Stefano Babic
12 Feb, 2012
1 commit
-
The i.MX6 processor can boot from NOR flash and SATA disks,
additionally. Add the flash offsets for these additional
boot modes.Signed-off-by: Dirk Behme
Signed-off-by: Fabio Estevam
CC: Stefano Babic
CC: Jason Liu
Acked-by: Jason Liu
13 Apr, 2011
1 commit
-
"make tools-all" should allow building tools such as mkimage and the new
imximage without any config, but imximage.c currently fails to build
with:
imximage.h:27:20: error: config.h: No such file or directoryconfig.h is not needed in imximage.h nor in imximage.c, and imximage.h
is only included from imximage.c, so drop this include to fix the build.Signed-off-by: Loïc Minier
02 Feb, 2011
1 commit
-
This patch add the MX53 boot image support.
This patch has been tested on Freescale MX53EVK board
and MX51EVK board.Signed-off-by: Jason Liu
24 Feb, 2010
1 commit
-
Running mkimage to generate an imximage produces a SEGFAULT
on 64 bit machines due to pointer arithmetic limited to 32 bit.Signed-off-by: Stefano Babic
Acked-by: Kim Phillips
26 Jan, 2010
1 commit
-
This patch adds support for "imximage" (MX Boot Image)
to the mkimage utility. The imximage is used on the Freescales's
MX.25, MX.35 and MX.51 processors.Further details under doc/README.imximage.
This patch was tested on a Freescale mx51evk board.
Signed-off-by: Stefano Babic