- Nov 25, 2017
-
-
Philipp Tomsich authored
To better support bootin through an ATF or OPTEE, we need to streamline some of the logic for when the FDT is appended to an image: depending on the image type, we'd like to append the FDT not at all (the case for the OS boot), to the 'firmware' image (if it is a U-Boot) or to one of the loadables (if the 'firmware' is an ATF, an OPTEE, or some other image-type and U-Boot is listed in the loadabled). To achieve this goal, we drop the os_boot flag and track the type of image loaded. If it is of type IH_OS_U_BOOT, we append the FDT. Signed-off-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by:
York Sun <york.sun@nxp.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Philipp Tomsich authored
Mainly a stylistic change: convert the load_addr and entry_point fields of struct spl_image_info to uintptr_t (from ulong). Signed-off-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Philipp Tomsich authored
When loading a full U-Boot with detached device-tree using the SPL FIT backend, we should store the address of the FDT loaded as part of the SPL image info: this allows us to fixup the FDT with additional info we may want to propagate onward. Signed-off-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Philipp Tomsich authored
To boot on ARMv8 systems with ARM Trusted Firmware, we need to assemble an ATF-specific parameter structure and also provide the address of the images started by ATF (e.g. BL3-3, which may be the full U-Boot). To allow us to identify an ARM Trusted Firmware contained in a FIT image, this adds the necessary definitions. Signed-off-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
- Nov 24, 2017
-
-
git://git.denx.de/u-boot-arcTom Rini authored
-
Alexey Brodkin authored
As per ARC HS databook (see chapter 5.3.3.2) it is required to add 3 NOPs after each write to IC_IVIC which we do from now on. Signed-off-by:
Alexey Brodkin <abrodkin@synopsys.com> Cc: Eugeniy Paltsev <paltsev@synopsys.com>
-
Alexey Brodkin authored
Currently slave cores will be kick-started even if we want to dry run bootm which is not what we really want. Signed-off-by:
Alexey Brodkin <abrodkin@synopsys.com> Cc: Eugeniy Paltsev <paltsev@synopsys.com>
-
Eugeniy Paltsev authored
The HSDK can manage some pins via CREG registers block. Signed-off-by:
Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by:
Alexey Brodkin <abrodkin@synopsys.com>
-
git://git.denx.de/u-boot-dmTom Rini authored
-
- Nov 23, 2017
-
-
Simon Glass authored
Return exit code 1 when test fail so that callers can detect this. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
MRC (Memory Reference Code) is a binary blob used to set up the SDRAM controller on some Intel boards. Add a test for this feature. With this test coverage on binman is back up to 100%. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add a test for this feature. It allows SPL to hold a pointer to the microcode block. This is used for 64-bit U-Boot on x86. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This allows us to put the 16-bit x86 start-up code in SPL. Add a test for it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add a test that we can pad the BSS with zero bytes. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Files that are never imported are not shown in the test-coverage report. Detect these and show an error. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Make a minor tweak to fix test coverage. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add a main program so that the tests can be executed directly, without going through the main binman program. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add a test that the 'entry' module works with or without importlib. The tests are numbered so that they are executed in the correct order. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
There is a little check at the top of entry.py which decides if importlib is available. At present this has no test coverage. To add this we will need to import the module twice, once with importlib and once without. In preparation for allowing a test to control the importing of this module, remove all global imports of the 'entry' module. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Rather that overwrite this, append to it, in case the caller has already set up the path correctly. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
The tool has changed slightly since it was originally written. Update the tests to suit. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
The tests were broken by two separate commits which adjusted the output when boards are listed. Fix this by adding back a PowerPC board and putting the name of each board in the test. Fixes: b9f7d881 (powerpc, 5xx: remove some "5xx" remains) Fixes: 8d7523c5 (buildman: Allow showing the list of boards with -n) Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Accessing the network slows down the test and limits the environment in which it can be run. Add an option to disable network tests. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
The checkpatch tool was updated but the patman tests were not. Fix this. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This script runs the tests but does not report failure. Also it always returns an exit code of 0 even on failure. Fix these problems by checking the result of each test. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
These warnings are not useful for binman tests. Disable them. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
At present these tests use the same filename as patman. This adds confusion when running all tests, since error messages look very similar. In fact binman tries to run the wrong tests at present. Rename the tests. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
These test programs are includedd as binary files in U-Boot to avoid having to build them (and associated toolchain differences). Instructions on building are in the files themselves, but it seems better to provide a Makefile which can be manually run when desired. Add a Makefile, separate from the normal build system, to handle this. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
The process is not obvious. Add a little section to explain how to move a board to use binman. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
There is a debugging option in the Makefile to allow people to figure out which u-boot.dtsi files are used in the build. But is it not easy to use since it only shows files it finds, not those it is looking for. Update it and update the mention of it to the docs. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Nov 22, 2017
-
- Nov 21, 2017
-
-
Philipp Tomsich authored
A few header files still have a definition of CONFIG_ENV_SIZE, causing warnings during buildman runs. This removes the duplicate definitions from evb_px5.h, geekbox.h and rv1108_common.h. Signed-off-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
Enter download mode if the download key pressed. Signed-off-by:
Andy Yan <andy.yan@rock-chips.com> Acked-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> [Converted printfs in boot_mode.c to debug/pr_err:] Signed-off-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
Rockchip bootrom will enter download mode if it returns from spl/tpl with a non-zero value and couldn't find a valid image in the backup partition. This patch provide a method to instruct the system to back to bootrom download mode by checking the BROM_DOWNLOAD_FLAG register. As the bootrom download function relys on some modules such as interrupts, so we need to back to bootrom as early as possbile before the tpl/spl code override the interrupt configurations. Signed-off-by:
Andy Yan <andy.yan@rock-chips.com> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com> Acked-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
setup_boot_mode function use the same logic but different mode register address across all the rockchip platforms, so it's better to make this function reused across all the platforms, and let the mode register address setting from the config file. Signed-off-by:
Andy Yan <andy.yan@rock-chips.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Acked-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
fix typo Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de> Acked-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
Using priv for new sysreset driver binding. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> Acked-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
Philipp Tomsich authored
After applying the merged sysreset driver, there are build failures due to an out-of-sync Makefile. This updates drivers/sysreset/Makefile to address these build failures. Signed-off-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
Use a common driver for all Rockchip SOC instead of one for each SoC. Use driver_data for reg offset. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> Acked-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
Philipp Tomsich authored
With all targets converted to generate prepadded images, this removes the spl_boot0 field from our config structure and removes the unused code-path (for images that are not prepadded): i.e. spl_boot0 is now implied as 'true' and the code is specialised by removing the other case. Signed-off-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-