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