- 15 1月, 2015 1 次提交
-
-
由 Marek Vasut 提交于
Allow booting the OpenRTOS payloads via fitImage image type. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@ti.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 29 10月, 2014 1 次提交
-
-
由 Simon Glass 提交于
This is a bit odd in that we are permitted to boot images for either, even though they are separate architectures. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 25 10月, 2014 1 次提交
-
-
由 Jeroen Hofstee 提交于
Signed-off-by: NJeroen Hofstee <jeroen@myspectrum.nl>
-
- 22 10月, 2014 2 次提交
-
-
由 Simon Glass 提交于
Add a new setup@ section to the FIT which can be used to provide a setup binary for booting Linux on x86. This makes it possible to boot x86 from a FIT. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Since sandbox is used for testing, it should be able to 'boot' an image from any archhitecture. This allows us to test an image by loading it in sandbox. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 29 8月, 2014 1 次提交
-
-
由 Simon Glass 提交于
Commit e3a5bbce broke the FIT image tests by not loading a ramdisk even if a load address is provided in the FIT. The rationale was that a load address of 0 should be considered to mean 'do not load'. Add a new load operation which supports this feature, so that the ramdisk will be loaded if a non-zero load address is provided. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 19 6月, 2014 5 次提交
-
-
由 Jeroen Hofstee 提交于
commit 18b06652 "tools: include u-boot version of sha256.h" unconditionally forced the sha256.h from u-boot to be used for tools instead of the host version. This is fragile though as it will also include the host version. Therefore move it to include/u-boot to join u-boot/md5.h etc which were renamed for the same reason. cc: Simon Glass <sjg@chromium.org> Signed-off-by: NJeroen Hofstee <jeroen@myspectrum.nl>
-
由 Simon Glass 提交于
At present this tool only checks the configuration signing. Have it also look at each of the images in the configuration and confirm that they verify. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: Heiko Schocher <hs@denx.de> (v1)
-
由 Simon Glass 提交于
This typo makes the comment confusing. Fix it. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This can be obtained by looking up the image type, so is redundant. It is better to centralise this lookup to avoid errors. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
It is more common to have 0 mean OK, and -ve mean error. Change this function to work the same way to avoid confusion. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 12 6月, 2014 1 次提交
-
-
由 Simon Glass 提交于
When writing values into an FDT it is possible that there will be insufficient space. If the caller gets a useful error then it can potentially deal with the situation. Adjust these functions to return -ENOSPC when the FDT is full. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 22 3月, 2014 1 次提交
-
-
由 Heiko Schocher 提交于
add sha256 support to fit images Signed-off-by: NHeiko Schocher <hs@denx.de> Acked-by: NSimon Glass <sjg@chromium.org>
-
- 20 2月, 2014 1 次提交
-
-
由 Masahiro Yamada 提交于
There is a strange comment in fit_image_load(). This function can be used for loading Kernel Image, FDT as well as ramdisk. Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com> Cc: Simon Glass <sjg@chromium.org> Acked-by: NSimon Glass <sjg@chromium.org>
-
- 20 9月, 2013 3 次提交
-
-
由 Masahiro Yamada 提交于
Becuase fdt_check_header function takes (const void *) type argument, the argument should be passed to it without being casted to (char *). Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
-
由 Masahiro Yamada 提交于
Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Robert P. J. Day 提交于
Typoes fixed: "partion" -> "partition" "retrive", "retreive" -> "retrieve" "th" -> "to" Signed-off-by: NRobert P. J. Day <rpjday@crashcourse.ca>
-
- 17 8月, 2013 1 次提交
-
-
由 Simon Glass 提交于
The timestamp is shown in fit_print_contents() but for some reason not in fit_image_print(). This seems to be an oversight, since it is the latter which is used by bootm. Add timestamp printing in this case. (There is code duplication in these two function, for looking at in a future patch). Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 24 7月, 2013 1 次提交
-
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: NTom Rini <trini@ti.com>
-
- 12 7月, 2013 1 次提交
-
-
由 Simon Glass 提交于
If a specific configuraion is selected by the bootm command, e.g. with 'bootm 84000000#recoveryconf' we must honour this for not just the kernel, but also the ramdisk and FDT. In the conversion to using a common fit_image_load() function for loading images from FITs (commits a51ec63b and 53f375fa) this feature was lost. Reinstate it by passing the selected configuration back from fit_image_load() to boot_get_kernel(), then use this configuration (which is stored in images->fit_uname_cfg) in both boot_get_ramdisk() and boot_get_fdt(). Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 26 6月, 2013 1 次提交
-
-
由 Simon Glass 提交于
Add support for signing images using a new signature node. The process is handled by fdt_add_verification_data() which now takes parameters to provide the keys and related information. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 17 6月, 2013 1 次提交
-
-
由 Simon Glass 提交于
This error may not be defined on some platforms such as MacOS so host compilation will fail. Use one of the more common errors instead. Signed-off-by: NSimon Glass <sjg@chromium.org> Tested-by: NAndreas Bießmann <andreas.devel@googlemail.com> Tested-by: NLubomir Popov <lpopov@mm-sol.com>
-
- 05 6月, 2013 5 次提交
-
-
由 Simon Glass 提交于
Use map_sysmem() to convert from address to pointer, so that sandbox can print FIT information without crashing. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Use the new common code to load a kernel. The functionality should not change. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Use the new common code to load a flat device tree. Also fix up a few casts so that this code works with sandbox. Other than that the functionality should not change. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Use the new common code to load a ramdisk. The functionality should not change. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
At present code to load an image from a FIT is duplicated in the three places where it is needed (kernel, fdt, ramdisk). The differences between these different code copies is fairly minor. Create a new function in the fit code which can handle any of the requirements of those cases. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 15 5月, 2013 9 次提交
-
-
由 Simon Glass 提交于
This code is very large, and in SPL it isn't always useful to print out image information (in fact there might not even be a console active). So disable this feature unless this option is set. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
There are only two left. One is unnecessary and the other can be moved to the header file. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This function will be used to print signatures as well as hashes, so rename it. Also make it static since it is not used outside this file. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NMarek Vasut <marex@denx.de>
-
由 Simon Glass 提交于
This function will be needed by signature checking code, so export it, and also add docs. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
The string " error\n" appears in each error string. Move it out to a common place. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NMarek Vasut <marex@denx.de>
-
由 Simon Glass 提交于
The existing function is long and most of the code is indented a long way. Before adding yet more code, split this out into its own function. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de> (v1)
-
由 Simon Glass 提交于
This is the main entry point to the FIT image verification code. We will be using it to handle image verification with signatures, so rename the function. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NMarek Vasut <marex@denx.de>
-
由 Simon Glass 提交于
This code is never compiled into U-Boot, so move it into a separate file in tools/ to avoid the large #ifdef. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NMarek Vasut <marex@denx.de>
-
由 Simon Glass 提交于
The FIT code is about half the size of the >3000-line image.c. Split this code into its own file. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NMarek Vasut <marex@denx.de>
-