- 24 8月, 2020 2 次提交
-
-
由 Simon Glass 提交于
This converts the following to Kconfig: CONFIG_SPLASH_SCREEN CONFIG_SPLASH_SCREEN_ALIGN CONFIG_SPLASHIMAGE_GUARD CONFIG_SPLASH_SOURCE Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Tom Rini 提交于
This converts the following to Kconfig: CONFIG_NETCONSOLE Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 20 8月, 2020 8 次提交
-
-
由 Michal Simek 提交于
There is no reason to have firmware specific structure in clock driver. Move it to generic location and also initialize enum values which is based on https://lore.kernel.org/linux-arm-kernel/20200318125003.GA2727094@kroah.com/ recommended way to go to make sure that values guaranteed by compiler. Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
由 Michal Simek 提交于
There is no need to setup this variable if bootm_low and bootm_size variable are properly setup. If fdt_high variable is missing U-Boot is asking LMB to return free memory which is not used. Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
由 Ibai Erkiaga 提交于
Removes duplicated definition of PAYLOAD_ARG_CNT and define it in the firmware driver. Additionally fixes payload buffer declarations without macro usage Signed-off-by: NIbai Erkiaga <ibai.erkiaga-elorza@xilinx.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
由 Michal Simek 提交于
Enable DFU tftp support for firmware update. Fill dfu_ram_tftp variable to have command present for showing how to use it. boot FIT image has been created from below fragment. Key part is that type of image has to be firmware. Also based on experiment load property is completely ignored and base addresses are taken from dfu_alt_info variable. $ cat update_uboot.its /dts-v1/; / { description = "Automatic U-Boot update"; #address-cells = <1>; images { Image { description = "Kernel"; data = /incbin/("/tftpboot/Image"); compression = "none"; arch = "arm64"; type = "firmware"; os = "linux"; load = <0x80000>; entry = <0x80000>; hash-1 { algo = "sha1"; }; }; system.dtb { description = "DTB"; data = /incbin/("/tftpboot/system.dtb"); compression = "none"; arch = "arm64"; type = "firmware"; load = <0>; hash-1 { algo = "sha1"; }; }; }; }; $ mkimage -f update_uboot.its /tftpboot/boot When U-Boot starts get IP address and server IP. dhcp setenv serverip 192.168.0.105 And then run prepared command. run dfu_ram_tftp Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
由 Michal Simek 提交于
Image should be loaded to 0x80000 address and not to $kernel_addr_r. Also kernel_addr, fdt_addr and fdt_size in zynqmp case are not defined that's why define it to be aligned with Versal. Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
由 Ashok Reddy Soma 提交于
Mini U-boot runs on lower foot print of 256KB OCM. Hence 8K memory for malloc may not be required. Reduce it by 1.5K. Signed-off-by: NAshok Reddy Soma <ashok.reddy.soma@xilinx.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
由 Michal Simek 提交于
New function should be called from board dram_init() because it initialized gd->ram_base/ram_size. It finds the lowest available memory. On systems with multiple memory nodes finding out the first memory node by fdtdec_setup_mem_size_base() is not enough because this memory can be above actual U-Boot VA mapping. Currently only mapping till 39bit is supported (Full 44bit mapping was removed by commit 7985cdf7 ("arm64: Remove non-full-va map code")). If DT starts with the first memory node above 39bit address then system can be unpredictable. The function is available only when multiple memory bank support is enabled. Calling fdtdec_setup_memory_banksize() from dram_init() is not possible because fdtdec_setup_memory_banksize() is saving dram information to bd structure which is placed on stack but not initialized at this time. Also stack is placed at location setup in dram_init(). Signed-off-by: NMichal Simek <michal.simek@xilinx.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Frank Wunderlich 提交于
add reset constants used for SATA to header file Signed-off-by: NFrank Wunderlich <frank-w@public-files.de>
-
- 18 8月, 2020 1 次提交
-
-
由 Masahiro Yamada 提交于
Make the include guard match to the file name. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
- 15 8月, 2020 9 次提交
-
-
由 Oleksandr Andrushchenko 提交于
Free resources used by Xen board before jumping to Linux kernel. Signed-off-by: NOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Signed-off-by: NAnastasiia Lukianenko <anastasiia_lukianenko@epam.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Anastasiia Lukianenko 提交于
Add initial infrastructure for Xen para-virtualized block device. This includes compile-time configuration and the skeleton for the future driver implementation. Add new class UCLASS_PVBLOCK which is going to be a parent for virtual block devices. Add new interface type IF_TYPE_PVBLOCK. Implement basic driver setup by reading XenStore configuration. Signed-off-by: NAndrii Anisov <andrii_anisov@epam.com> Signed-off-by: NAnastasiia Lukianenko <anastasiia_lukianenko@epam.com> Signed-off-by: NOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
-
由 Oleksandr Andrushchenko 提交于
Make required updates to run on u-boot. Signed-off-by: NOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Signed-off-by: NAnastasiia Lukianenko <anastasiia_lukianenko@epam.com>
-
由 Oleksandr Andrushchenko 提交于
Make required updates to run on u-boot and strip test code. Signed-off-by: NAnastasiia Lukianenko <anastasiia_lukianenko@epam.com> Signed-off-by: NOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
-
由 Andrii Anisov 提交于
Port sscanf implementation from mini-os and introduce new Kconfig option to enable it: CONFIG_SSCANF. Disable by default. Signed-off-by: NAndrii Anisov <andrii_anisov@epam.com> Signed-off-by: NAnastasiia Lukianenko <anastasiia_lukianenko@epam.com> Signed-off-by: NOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
-
由 Oleksandr Andrushchenko 提交于
Add wait_event_timeout - sleep until a condition gets true or a timeout elapses. This is a stripped version of the same from Linux kernel with the following u-boot specific modifications: - no wait queues supported - use u-boot timer to detect timeouts - check for Ctrl-C pressed during wait Signed-off-by: NOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Signed-off-by: NAnastasiia Lukianenko <anastasiia_lukianenko@epam.com> [trini: Drop atomic_read from gadget/ether.c as this has existed for a while and now causes problems] Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Oleksandr Andrushchenko 提交于
Make required updates to run on u-boot. Strip functionality not needed by U-boot. Signed-off-by: NOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Signed-off-by: NAnastasiia Lukianenko <anastasiia_lukianenko@epam.com>
-
由 Oleksandr Andrushchenko 提交于
Port hypervisor related code from Mini-OS. This is referencing the code of Mini-OS from [1] by Huang Shijie and Volodymyr Babchuk which is for ARM64. Update essential arch code to support required bit operations, memory barriers etc. Copyright for the bits ported belong to at least the following authors, please see related files for details: Copyright (c) 2002-2003, K A Fraser Copyright (c) 2005, Grzegorz Milos, gm281@cam.ac.uk,Intel Research Cambridge Copyright (c) 2014, Karim Allah Ahmed <karim.allah.ahmed@gmail.com> [1] - https://github.com/zyzii/mini-os.gitSigned-off-by: NOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Signed-off-by: NAnastasiia Lukianenko <anastasiia_lukianenko@epam.com> [trini: Drop wmb() from musb-net/linux-compat.h now] Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Andrii Anisov 提交于
Introduce a minimal Xen guest board running as a virtual machine under Xen Project's hypervisor [1], [2]. Part of the code is ported from Xen mini-os and also uses work initially done by different authors from NXP: please see relevant files for their copyrights. [1] https://xenbits.xen.org [2] https://wiki.xenproject.org/Signed-off-by: NAndrii Anisov <andrii_anisov@epam.com> Signed-off-by: NOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Signed-off-by: NAnastasiia Lukianenko <anastasiia_lukianenko@epam.com>
-
- 14 8月, 2020 7 次提交
-
-
由 Heinrich Schuchardt 提交于
Define default load addresses and the device tree name for the Sipeed MAIX. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
-
由 Oleksandr Andrushchenko 提交于
Add essential and required Xen interface headers only taken from the stable Linux kernel stable/linux-5.7.y at commit 66dfe4522160 Linux 5.7.5. These are better suited for U-boot than the original headers from Xen as they are the stripped versions of the same. At the same time use public protocols from Xen RELEASE-4.13.1, at commit 6278553325a9 update Xen version to 4.13.1 as those have more comments in them. Signed-off-by: NOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Signed-off-by: NAnastasiia Lukianenko <anastasiia_lukianenko@epam.com> Acked-by: NPeng Fan <peng.fan@nxp.com>
-
由 Chia-Wei, Wang 提交于
Move the BOOTCOMMAND definition from the board inclusion header to the default configuration file. Signed-off-by: NChia-Wei, Wang <chiawei_wang@aspeedtech.com>
-
由 Chia-Wei, Wang 提交于
The hardcoded platform variables such as DRAM base address are not common to Aspeed SoCs AST24xx/AST25xx/AST26xx. This patch replaces those hardcoded with macros defined in a newly added header, where the basic SoC HW information are assigned accordingly. Signed-off-by: NChia-Wei, Wang <chiawei_wang@aspeedtech.com>
-
由 Rayagonda Kokatanur 提交于
Add api to get dma regions. Signed-off-by: NRayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>
-
由 AKASHI Takahiro 提交于
Under the current implementation, all the signatures, if any, in a signed image must be verified before loading it. Meanwhile, UEFI specification v2.8b section 32.5.3.3 says, Multiple signatures are allowed to exist in the binary’s certificate table (as per PE/COFF Section “Attribute Certificate Table”). Only one hash or signature is required to be present in db in order to pass validation, so long as neither the SHA-256 hash of the binary nor any present signature is reflected in dbx. This patch makes the semantics of signature verification compliant with the specification mentioned above. Signed-off-by: NAKASHI Takahiro <takahiro.akashi@linaro.org> Reported-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
-
由 AKASHI Takahiro 提交于
In this commit, efi_signature_verify(with_sigdb) will be re-implemented using pcks7_verify_one() in order to support certificates chain, where the signer's certificate will be signed by an intermediate CA (certificate authority) and the latter's certificate will also be signed by another CA and so on. What we need to do here is to search for certificates in a signature, build up a chain of certificates and verify one by one. pkcs7_verify_one() handles most of these steps except the last one. pkcs7_verify_one() returns, if succeeded, the last certificate to verify, which can be either a self-signed one or one that should be signed by one of certificates in "db". Re-worked efi_signature_verify() will take care of this step. Signed-off-by: NAKASHI Takahiro <takahiro.akashi@linaro.org>
-
- 11 8月, 2020 4 次提交
-
-
由 Lokesh Vutla 提交于
j7200-evm has minor differences with j721e-evm based on the IPs available in the SoC. Introduce separate build targets for j7200-evm to incorporate the differences. Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com> Reviewed-by: NSuman Anna <s-anna@ti.com>
-
由 Faiz Abbas 提交于
Enable configs to facilitate booting from USB Mass Storage devices as well as USB peripheral boot Signed-off-by: NFaiz Abbas <faiz_abbas@ti.com>
-
由 Faiz Abbas 提交于
Add offset and environment related configs used for booting from DFU. Signed-off-by: NFaiz Abbas <faiz_abbas@ti.com>
-
由 Faiz Abbas 提交于
Create a new API spl_usb_load() that takes the filename as a parameter instead of taking the default U-boot PAYLOAD_NAME Signed-off-by: NFaiz Abbas <faiz_abbas@ti.com>
-
- 09 8月, 2020 2 次提交
-
-
由 Heinrich Schuchardt 提交于
Up to now we used the value of the bootargs environment variable as load options in the boot manager. This is not correct. The data has to be taken from the Boot#### variable. Let the boot manager copy the optional data of the EFI_LOAD_OPTION as load options to the loaded image protocol. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
-
由 Heinrich Schuchardt 提交于
The bootefi bootmgr command has to set the load options for a loaded image from the value of BootXXXX variable. If the boot manager is not used, the value is set from the environment variable bootargs (or efi_selftest). Factor out a common function efi_set_load_options(). Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
-
- 08 8月, 2020 7 次提交
-
-
由 Tom Rini 提交于
This converts the following to Kconfig: CONFIG_SYS_MMC_ENV_DEV CONFIG_SYS_MMC_ENV_PART Note that with this conversion we now have consistent behavior with respect to ensuring that we have always selected the correct MMC device and hardware partition. Signed-off-by: NTom Rini <trini@konsulko.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 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>
-