- 08 8月, 2020 19 次提交
-
-
由 Simon Glass 提交于
At present with sunxi 64-bit, the Makefile builds u-boot-sunxi-with-spl.bin and then binman overwrites it with its own version. But the binman definition lacks some parts, in particular BL31. For now, work around this with a hack. Tested-by: NAndre Przywara <andre.przywara@arm.com> Tested-by: NHeinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: NSimon Glass <sjg@chromium.org> Fixes: 42b18df8 ("x86: Makefile: Drop explicit targets built by binman")
-
由 Heinrich Schuchardt 提交于
On some devices the environment variable serial# cannot be overwritten. Set the variable only if it is not set. For our unit test it is sufficient to test if any value for serial-number is set. Fixes: 8a5cdf60 ("test: efi_selftest: Do not force serial# setting") Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
-
由 Tom Rini 提交于
- SquashFS support - Assorted bugfixes
-
由 Heinrich Schuchardt 提交于
The hush parser not enabled for some boards, e.g. sipeed_maix_bitm_defconfig. With CONFIG_HUSH_PARSER=n a double quotation mark is not interpreted as the beginning of a string. Use a single quotation mark instead. Furthermore without the hush parser variables have to be referenced as ${varname}. Add the missing braces. Reported-by: NSean Anderson <seanga2@gmail.com> Fixes: 8b86c609 ("test/py: add test of basic shell functionality") Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
-
由 Stephen Warren 提交于
Modify various test/py filesystem creation routines to support systems that don't implement the metadata_csum ext4 feature. Signed-off-by: NStephen Warren <swarren@nvidia.com>
-
由 Jway Lin 提交于
Add LED support for Cortina Access Presidio Engineering Board Signed-off-by: NJway Lin <jway.lin@cortina-access.com> Signed-off-by: NAlex Nemirovsky <alex.nemirovsky@cortina-access.com> Reviewed-by: NSimon Glass <sjg@chromium.org> CC: Simon Glass <sjg@chromium.org>
-
由 Jway Lin 提交于
Add Cortina Access LED controller support for CAxxxx SOCs Signed-off-by: NJway Lin <jway.lin@cortina-access.com> Signed-off-by: NAlex Nemirovsky <alex.nemirovsky@cortina-access.com> CC: Simon Glass <sjg@chromium.org> Add head file fixed link error and remove unused flashing function Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Tom Rini 提交于
So that the tests we now have for squashfs can run, add squashfs-tools for mksquashfs. Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Joao Marcos Costa 提交于
Add Python scripts to test 'ls' and 'load' commands. The scripts generate a SquashFS image and clean the directory after the assertions, or if an exception is raised. Signed-off-by: NJoao Marcos Costa <joaomarcos.costa@bootlin.com>
-
由 Joao Marcos Costa 提交于
Adds an 'else if' statement inside the loop to check for symbolic links. Signed-off-by: NJoao Marcos Costa <joaomarcos.costa@bootlin.com>
-
由 Joao Marcos Costa 提交于
Add call to zlib's 'uncompress' function. Add function to display the right error message depending on the decompression's return value. Signed-off-by: NJoao Marcos Costa <joaomarcos.costa@bootlin.com>
-
由 Joao Marcos Costa 提交于
Add zlib (v1.2.11) uncompr() function to U-Boot. SquashFS depends on this function to decompress data from a raw disk image. The actual support for zlib into SquashFS sources will be added in a follow-up commit. Signed-off-by: NJoao Marcos Costa <joaomarcos.costa@bootlin.com>
-
由 Joao Marcos Costa 提交于
Add 'ls' and 'load' commands. Signed-off-by: NJoao Marcos Costa <joaomarcos.costa@bootlin.com>
-
由 Joao Marcos Costa 提交于
Add support for SquashFS filesystem. Right now, it does not support compression but support for zlib will be added in a follow-up commit. Signed-off-by: NJoao Marcos Costa <joaomarcos.costa@bootlin.com>
-
由 Simon Glass 提交于
Add various fixes and improvements to this command that were missed in the original version. Unfortunately I forgot to send v2. - Fix Kconfig name - Use a separate variable for the remaining search length - Correct a minor bug - Move into a separate test suite - Add -q flag to the 'quiet' test to test operation when console is enabled - Enable the feature for sandbox Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Allow tests that need console recording to be marked, so they can be skipped if it is not available. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
The test flags used by driver model are currently not available to other tests. Rather than creating two sets of flags, make these flags generic by changing the DM_ prefix to UT_ and moving them to the test.h header. This will allow adding other test flags without confusion. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
On boards without console recording these function are currently missing. It is more convenient for them to be present but to return dummy values. That way if we know that a test needs recording, we can check if it is available, and skip the test if not, while avoiding #ifdefs. Update the header file according and adjust console_record_reset_enable() to return an error if recording is not available. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Some lines of the output are not worth testing, or not worth testing in their entirety. For example, when checking a hex dump we know that the hex-dump routine can display ASCII so we only need to check the hex bytes, not the ASCII dump. Add a new test macros which can check only part of a console line. Sometimes it is useful to skip a line altogether, so add a macro for that also. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 07 8月, 2020 21 次提交
-
-
由 Tom Rini 提交于
- Assorted mkimage improvements related to FIT images and verified boot
-
由 Patrick Oppenlander 提交于
The external data is located after the mmapped FDT pointed to by 'old_fdt', not in the newly created FDT we are importing into at 'fdt'. Signed-off-by: NPatrick Oppenlander <patrick.oppenlander@gmail.com>
-
由 Patrick Oppenlander 提交于
This patch addresses issue #2 for signed configurations. -----8<----- Including the image cipher properties in the configuration signature prevents an attacker from modifying cipher, key or iv properties. Signed-off-by: NPatrick Oppenlander <patrick.oppenlander@gmail.com> Reviewed-by: NPhilippe Reynes <philippe.reynes@softathome.com>
-
由 Patrick Oppenlander 提交于
Previously, mkimage -F could be run multiple times causing already ciphered image data to be ciphered again. Signed-off-by: NPatrick Oppenlander <patrick.oppenlander@gmail.com> Reviewed-by: NPhilippe Reynes <philippe.reynes@softathome.com>
-
由 Patrick Oppenlander 提交于
Also replace fdt_delprop/fdt_setprop with fdt_setprop as fdt_setprop can replace an existing property value. Signed-off-by: NPatrick Oppenlander <patrick.oppenlander@gmail.com> Reviewed-by: NPhilippe Reynes <philippe.reynes@softathome.com>
-
由 Patrick Oppenlander 提交于
Previously mkimage would process any node matching the regex cipher.* and apply the ciphers to the image data in the order they appeared in the FDT. This meant that data could be inadvertently ciphered multiple times. Switch to processing a single cipher node which exactly matches FIT_CIPHER_NODENAME. Signed-off-by: NPatrick Oppenlander <patrick.oppenlander@gmail.com> Reviewed-by: NPhilippe Reynes <philippe.reynes@softathome.com>
-
https://gitlab.denx.de/u-boot/custodians/u-boot-usb由 Tom Rini 提交于
- XHCI updates to support MIPS better
-
由 Tom Rini 提交于
- Migrate a few SRAM related options to Kconfig, related cleanups.
-
由 Ovidiu Panait 提交于
blkcache_init manually relocates blkcache list pointers when CONFIG_NEEDS_MANUAL_RELOC is enabled. However, it is called very late in the boot sequence, which could be a problem if previous boot calls execute blkcache operations with the non-relocated pointers. For example, mmc is initialized earlier and might call blkcache_invalidate (in mmc_select_hwpart()) when trying to load the environment from mmc via env_load(). To fix this issue, move blkcache_init boot call earlier, before mmc gets initialized. Acked-by: NAngelo Dureghello <angelo.dureghello@timesys.com> Tested-by: NAngelo Dureghello <angelo.dureghello@timesys.com> Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NOvidiu Panait <ovidiu.panait@windriver.com>
-
由 Ovidiu Panait 提交于
Extend manual relocation of block_cache list pointers to all platforms that enable CONFIG_NEEDS_MANUAL_RELOC. Remove m68k-specific checks and provide a single implementation that adds gd->reloc_off to the pre-relocation pointers. Acked-by: NAngelo Dureghello <angelo.dureghello@timesys.com> Tested-by: NAngelo Dureghello <angelo.dureghello@timesys.com> Reviewed-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NEric Nelson <eric@nelint.com> Signed-off-by: NOvidiu Panait <ovidiu.panait@windriver.com> [trini: Add guard around DECLARE_GLOBAL_DATA_PTR to avoid size growth] Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Ovidiu Panait 提交于
Remove the initr_serial->serial_initialize indirection and call serial_initialize directly. Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NOvidiu Panait <ovidiu.panait@windriver.com>
-
由 Ovidiu Panait 提交于
serial_initialize is called only during the common init sequence, after relocation (in common/board_r.c). Because it has a void return value, it has to wrapped in initr_serial. In order to be able to get rid of this indirection, make serial_initialize return int. Remove extern from prototype in order to silence the following checkpatch warning: check: extern prototypes should be avoided in .h files Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NOvidiu Panait <ovidiu.panait@windriver.com>
-
由 Ovidiu Panait 提交于
Use IS_ENABLED() instead of #ifdef in blk_post_probe function. No functional change intended. Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NOvidiu Panait <ovidiu.panait@windriver.com> [trini: Fix thinko and use CONFIG_HAVE_BLOCK_DEVICE in IS_ENABLED()] Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Ovidiu Panait 提交于
Now that all arch specific code was converted to setup_bdinfo, we can remove setup_board_part1. Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NOvidiu Panait <ovidiu.panait@windriver.com>
-
由 Ovidiu Panait 提交于
Factor out ppc-specific bdinfo setup from generic init sequence to arch_setup_bdinfo in arch/powerpc/lib/bdinfo.c. Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NOvidiu Panait <ovidiu.panait@windriver.com>
-
由 Ovidiu Panait 提交于
Factor out m68k-specific bdinfo setup to arch_setup_bdinfo in arch/m68k/lib/bdinfo.c. Also, use if(IS_ENABLED()) instead of #ifdef where possible. Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NOvidiu Panait <ovidiu.panait@windriver.com>
-
由 Ovidiu Panait 提交于
Move sram related bdinfo from arch-specific setup_board_part1 to generic code in setup_bdinfo. Also use "if (IS_ENABLED(CONFIG_SYS_HAS_SRAM))" instead of "#ifdef CONFIG_SYS_SRAM_BASE". Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NOvidiu Panait <ovidiu.panait@windriver.com>
-
由 Ovidiu Panait 提交于
Move all assignments to gd->bd->bi_mem{start,size} to generic code in setup_bdinfo. Xtensa architecture is special in this regard as it defines its own handling of gd->bd->bi_mem{start,size} fields. In order to avoid defining a weak SDRAM function, let arch_setup_bdinfo overwrite the generic flags. For ARC architecture, remove ARCH_EARLY_INIT_R from Kconfig since it is not needed anymore. Also, use gd->ram_base to populate bi_memstart to avoid an ifdef. Signed-off-by: NOvidiu Panait <ovidiu.panait@windriver.com> Acked-by: NAlexey Brodkin <abrokdin@synopsys.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Ovidiu Panait 提交于
Certain architectures (ppc, mips, sh, m68k) use setup board_part1 and setup_board_part2 calls during pre-relocation init to populate gd->bd boardinfo fields. This makes the generic init sequence cluttered with arch-specific ifdefs. In order to clean these arch-specific sequences from generic init, introduce arch_setup_bdinfo weak initcall so that everyone can define their own bdinfo setup routines. Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NOvidiu Panait <ovidiu.panait@windriver.com>
-
由 Ovidiu Panait 提交于
Introduce setup_bdinfo initcall as a generic routine to populate bdinfo fields. Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NOvidiu Panait <ovidiu.panait@windriver.com>
-
由 Ovidiu Panait 提交于
bi_sramstart and bi_sramsize are generic members of the bd_info structure, so move the m68k/powerpc-specific prints to generic code. Also, print them only if SRAM support is enabled via CONFIG_SYS_HAS_SRAM. Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NOvidiu Panait <ovidiu.panait@windriver.com>
-