- 15 8月, 2020 6 次提交
-
-
由 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>
-
由 Peng Fan 提交于
Add support for Xen para-virtualized serial driver. This driver fully supports serial console for the virtual machine. Please note that as the driver is initialized late, so no banner nor memory size is visible. Signed-off-by: NPeng Fan <peng.fan@nxp.com> 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>
-
由 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 25 次提交
-
-
由 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>
-
由 Peng Fan 提交于
Introduce CONFIG_XEN to make U-Boot could be used as bootloader for a virtual machine. Without bootloader, we could successfully boot up android on XEN, but we need need bootloader to support A/B, dm verify and etc. Signed-off-by: NPeng Fan <peng.fan@nxp.com> Signed-off-by: NOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Signed-off-by: NAnastasiia Lukianenko <anastasiia_lukianenko@epam.com>
-
由 Anastasiia Lukianenko 提交于
Signed-off-by: NAnastasiia Lukianenko <anastasiia_lukianenko@epam.com>
-
由 Chia-Wei, Wang 提交于
Switch DTB provider form OF_EMBED to OF_SEPARATE to avoid the compile warning message: ==================== WARNING ====================== CONFIG_OF_EMBED is enabled. This option should only be used for debugging purposes. Please use CONFIG_OF_SEPARATE for boards in mainline. See doc/README.fdt-control for more info. ==================================================== Signed-off-by: NChia-Wei, Wang <chiawei_wang@aspeedtech.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>
-
由 Chia-Wei, Wang 提交于
Rename the ast2500-board.c to board_common.c and place the renamed file under the ast2500 folder. Signed-off-by: NChia-Wei, Wang <chiawei_wang@aspeedtech.com>
-
由 Chia-Wei, Wang 提交于
The original lowlevel_init function of AST2500 is written in C. However, the C runtime environment is not ready until _main execution. This patch adds the assembly version of the lowlevel_init function. Additional initialization to DRAM configuration and LPC reset source are also added. Signed-off-by: NChia-Wei, Wang <chiawei_wang@aspeedtech.com>
-
由 Chia-Wei, Wang 提交于
Update maintainers for Aspeed SoC platforms. Signed-off-by: NChia-Wei, Wang <chiawei_wang@aspeedtech.com>
-
由 Srinath Mannam 提交于
Add support for IPROC PAXC PCIe RC driver. Signed-off-by: NSrinath Mannam <srinath.mannam@broadcom.com> Signed-off-by: NRayagonda Kokatanur <rayagonda.kokatanur@broadcom.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Rayagonda Kokatanur 提交于
Add api to get dma regions. Signed-off-by: NRayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>
-
https://gitlab.denx.de/u-boot/custodians/u-boot-riscv由 Tom Rini 提交于
- Fix HiFive Unleashed the broken problem by call fix_fdt() before reserve_fdt(). Please refer to https://www.mail-archive.com/u-boot@lists.denx.de/msg379444.html for master u-boot broken for HiFive Unleashed. - Add unaligned exception cmd. - Refine sifive/fu540 spl flow. - Add additional crash information for efi. - Update sipeed/maix doc. - Two minor refine.
-
由 Pragnesh Patel 提交于
There may be a chance that board specific fix_fdt() will change the size of FDT blob so it's safe to call reserve_fdt() after fix_fdt() otherwise global data (gd) will overwrite with FDT blob values. Fixes: a8492e25 ("riscv: Expand the DT size before copy reserved memory node") Signed-off-by: NPragnesh Patel <pragnesh.patel@sifive.com> Reviewed-by: NBin Meng <bmeng.cn@gmail.com> Reviewed-by: NRick Chen <rick@andestech.com> Reviewed-by: NAtish Patra <atish.patra@wdc.com>
-
由 Heinrich Schuchardt 提交于
If an exception occurs, the relocated program counter and return address are required for an analysis. With this patch you get: => exception undefined Unhandled exception: Illegal instruction EPC: 0000000080595908 RA: 000000008059c0c6 TVAL: 000000008030c01e EPC: 0000000080007908 RA: 000000008000e0c6 reloc adjusted We can use the relocated addresses to find the involved functions in u.boot.map: .text.do_undefined 0x0000000080007908 0x8 cmd/built-in.o .text.cmd_process 0x000000008000dfcc 0x11a common/built-in.o 0x000000008000dfcc cmd_process If an exception occurs in an UEFI binary additionally the load addresses of the UEFI binaries are needed. With this patch: => setenv efi_selftest exception => bootefi selftest Unhandled exception: Illegal instruction EPC: 000000008042e18a RA: 000000008042e18a TVAL: 000000008030c01e EPC: 000000007fea018a RA: 000000007fea018a reloc adjusted UEFI image [0x0000000000000000:0xffffffffffffffff] '/\selftest' UEFI image [0x000000008042e000:0x000000008042e43f] pc=0x18a '/bug.efi' The value pc=0x18a matches the position of the illegal instruction in efi_selftest_miniapp_exception.efi (loaded as /bug.efi); asm volatile (".word 0xffffffff\n"); 00000180 93 85 C5 11 1C 64 22 85 82 97 FF FF FF FF 1C 64 Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: NSean Anderson <seanga2@gmail.com> Tested-by: NSean Anderson <seanga2@gmail.com> Reviewed-by: NBin Meng <bin.meng@windriver.com> Reviewed-by: NRick Chen <rick@andestech.com>
-
由 Heinrich Schuchardt 提交于
The command 'exception' can be used to test the handling of exceptions. Currently the exception command only allows to create an illegal instruction exception on RISC-V. Provide a sub-command 'exception unaligned' to cause a misaligned load address exception. Adjust the online help for 'exception undefined'. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: NRick Chen <rick@andestech.com>
-
由 Heinrich Schuchardt 提交于
Provide the required settings for the debug UART. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: NSean Anderson <seanga2@gmail.com>
-
由 Heinrich Schuchardt 提交于
The MAIXDUINO runs fine with the sipeed_maix_bitm_defconfig but a different board id parameter should be passed to kflash. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: NSean Anderson <seanga2@gmail.com>
-
由 Heinrich Schuchardt 提交于
We should not initialize a variable if the value is overwritten before being read. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: NBin Meng <bin.meng@windriver.com> Reviewed-by: NPragnesh Patel <pragnesh.patel@sifive.com> Tested-by: NPragnesh Patel <pragnesh.patel@sifive.com> Reviewed-by: NRick Chen <rick@andestech.com>
-
由 Heinrich Schuchardt 提交于
After if (ret) return ret; we know that ret is zero. Don't check it again. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: NBin Meng <bin.meng@windriver.com> Reviewed-by: NRick Chen <rick@andestech.com>
-
由 Bin Meng 提交于
It's better to keep all SPL related functions in the same spl.c. Signed-off-by: NBin Meng <bin.meng@windriver.com> Reviewed-by: NLeo Liang <ycliang@andestech.com> Reviewed-by: NRick Chen <rick@andestech.com> Reviewed-by: NPragnesh Patel <pragnesh.patel@sifive.com> Tested-by: NPragnesh Patel <pragnesh.patel@sifive.com>
-
由 Bin Meng 提交于
This option was enabled during the earlier U-Boot porting time. Now we already have the OTP driver in place and the unique MAC address is read from the OTP, there is no need to turn on this option. Signed-off-by: NBin Meng <bin.meng@windriver.com> Reviewed-by: NLeo Liang <ycliang@andestech.com> Reviewed-by: NRick Chen <rick@andestech.com> Reviewed-by: NPragnesh Patel <pragnesh.patel@sifive.com> Tested-by: NPragnesh Patel <pragnesh.patel@sifive.com>
-
由 Bin Meng 提交于
All FU540 driver related options should be in the SoC level Kconfig. Signed-off-by: NBin Meng <bin.meng@windriver.com> Reviewed-by: NRick Chen <rick@andestech.com> Reviewed-by: NPragnesh Patel <pragnesh.patel@sifive.com> Tested-by: NPragnesh Patel <pragnesh.patel@sifive.com>
-
由 Bin Meng 提交于
spl_soc_init() seems to be a better name, as all SPL functions names start from the spl_ prefix. Signed-off-by: NBin Meng <bin.meng@windriver.com> Reviewed-by: NRick Chen <rick@andestech.com> Reviewed-by: NPragnesh Patel <pragnesh.patel@sifive.com> Tested-by: NPragnesh Patel <pragnesh.patel@sifive.com>
-
由 Bin Meng 提交于
Use the generic board_init_f() provided by the RISC-V library codes. Signed-off-by: NBin Meng <bin.meng@windriver.com> Reviewed-by: NRick Chen <rick@andestech.com> Reviewed-by: NPragnesh Patel <pragnesh.patel@sifive.com> Tested-by: NPragnesh Patel <pragnesh.patel@sifive.com>
-
由 Bin Meng 提交于
The generic SPL version of board_init_f() should give a call to board specific codes to initialize board in the SPL phase. Signed-off-by: NBin Meng <bin.meng@windriver.com> Reviewed-by: NRick Chen <rick@andestech.com> Reviewed-by: NPragnesh Patel <pragnesh.patel@sifive.com> Tested-by: NPragnesh Patel <pragnesh.patel@sifive.com>
-
- 13 8月, 2020 9 次提交
-
-
https://gitlab.denx.de/u-boot/custodians/u-boot-marvell由 Tom Rini 提交于
- Fix dtc warnings for some MVEBU boards
-
https://gitlab.denx.de/u-boot/custodians/u-boot-stm由 Tom Rini 提交于
- Use IS_ENABLED to prevent ifdef in board_key_check for STM32MP - Add STM32 FMC2 EBI controller driver - Fix dwc3-sti-glue which allows STiH410-B2260 to boot again - Add fitImage its entry for 587-200 DHCOR SoM - Add both PDK2 and DRC02 DT into DHCOM fitImage its - Fix DHCOM KS8851 ethernet MAC address - Remove stm32mp1 board.c file - Use const for struct node_info in board stm32mp1.c file
-
由 Stefan Roese 提交于
Fix this dtc warning: Warning (avoid_default_addr_size) Signed-off-by: NStefan Roese <sr@denx.de> Cc: Marek Behún <marek.behun@nic.cz>
-
由 Stefan Roese 提交于
Fix these dtc warnings: Warning (reg_format) Warning (avoid_default_addr_size) Signed-off-by: NStefan Roese <sr@denx.de> Cc: Chris Packham <judge.packham@gmail.com> Reviewed-by: NChris Packham <judge.packham@gmail.com>
-
由 Stefan Roese 提交于
Fix this dtc warning: Warning (avoid_default_addr_size) Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Stefan Roese 提交于
Fix this dtc warning: Warning (avoid_default_addr_size) Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Patrick Delaunay 提交于
Use const for the variable nodes in ft_board_setup, this patch follow fdt_fixup_mtdparts prototype and no more use stack. Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com> Reviewed-by: NPatrice Chotard <patrice.chotard@st.com>
-
由 Patrick Delaunay 提交于
Remove the file board/st/stm32mp1/board.c which is not more compiled since commit 156732cc8939 ("board: stm32mp1: move the function board_debug_uart_init in spl.c") Fixes: 4fb46816 ("board: stm32mp1: move the function board_debug_uart_init in spl.c") Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com> Reviewed-by: NPatrice Chotard <patrice.chotard@st.com>
-
由 Marek Vasut 提交于
The STM32MP1 DHCOM has two ethernet interfaces, the on-SoM DWMAC and KS8851. Set eth1addr for the KS8851 to a MAC address of the DWMAC incremented by 1. The MAC of the DWMAC is set from on-SoM EEPROM already, but the MAC address of KS8851 was left uninitialized, so fix this. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Patrice Chotard <patrice.chotard@st.com> Cc: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: NPatrice Chotard <patrice.chotard@st.com>
-