- 07 8月, 2020 9 次提交
-
-
由 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>
-
由 Ovidiu Panait 提交于
Remove ad-hoc CONFIG_SYS_SRAM_START and use CONFIG_SYS_SRAM_BASE instead. Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NOvidiu Panait <ovidiu.panait@windriver.com>
-
由 Ovidiu Panait 提交于
This converts ad-hoc CONFIG_SYS_SRAM_SIZE to Kconfig. Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NOvidiu Panait <ovidiu.panait@windriver.com>
-
由 Ovidiu Panait 提交于
This converts ad-hoc CONFIG_SYS_SRAM_BASE to Kconfig. Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NOvidiu Panait <ovidiu.panait@windriver.com>
-
由 Ovidiu Panait 提交于
In order to be able to replace "#ifdef CONFIG_SYS_SRAM_BASE" sequences with the IS_ENABLED() equivalent, introduce a new boolean Kconfig option that signals whether the platform has SRAM support. Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NOvidiu Panait <ovidiu.panait@windriver.com>
-
- 06 8月, 2020 11 次提交
-
-
https://gitlab.denx.de/u-boot/custodians/u-boot-marvell由 Tom Rini 提交于
- Cleanup in Marvell bubt cmd (Tom & Jagan) - Add a series of MikroTik CRS3xx, 98DX3236 based switches (Luka)
-
由 Tom Rini 提交于
The code around CONFIG_SYS_MMC_ENV_PART has been untested since merge. This can be seen by it referencing 'mmc->part_num' which was migrated elsewhere prior to this code being merged. Cc: Joel Johnson <mrjoel@lixil.net> Cc: Stefan Roese <sr@denx.de> Signed-off-by: NTom Rini <trini@konsulko.com> Acked-by: NStefan Roese <sr@denx.de> Reviewed-by: NStefan Roese <sr@denx.de>
-
由 Luka Kovacic 提交于
Update the MikroTik CRS305-1G-4S flash layout to support redundant UBI partitions. Additionally enable the UBI commands in crs305-1g-4s_defconfig. Signed-off-by: NLuka Kovacic <luka.kovacic@sartura.hr> Cc: Luka Perkov <luka.perkov@sartura.hr> Cc: Jakov Petrina <jakov.petrina@sartura.hr> Reviewed-by: NStefan Roese <sr@denx.de>
-
由 Luka Kovacic 提交于
Add Luka Perkov to CRS3xx-98DX3236 MAINTAINERS. Signed-off-by: NLuka Kovacic <luka.kovacic@sartura.hr> Cc: Luka Perkov <luka.perkov@sartura.hr> Cc: Jakov Petrina <jakov.petrina@sartura.hr> Reviewed-by: NStefan Roese <sr@denx.de>
-
由 Luka Kovacic 提交于
MikroTik CRS328-4C-20S-4S board has a switch chip with an integrated Marvell Prestera 98DX3236 CPU. This commit includes two board variants, namely the factory default one and a Bit variant. The Bit board variant has a bigger Macronix flash. Add basic U-Boot, UART and SPI flash support. Signed-off-by: NLuka Kovacic <luka.kovacic@sartura.hr> Cc: Luka Perkov <luka.perkov@sartura.hr> Cc: Jakov Petrina <jakov.petrina@sartura.hr> Reviewed-by: NStefan Roese <sr@denx.de>
-
由 Luka Kovacic 提交于
MikroTik CRS326-24G-2S board has a switch chip with an integrated Marvell Prestera 98DX3236 CPU. This commit includes two board variants, namely the factory default one and a Bit variant. The Bit board variant has a bigger Macronix flash. Add basic U-Boot, UART and SPI flash support. Signed-off-by: NLuka Kovacic <luka.kovacic@sartura.hr> Cc: Luka Perkov <luka.perkov@sartura.hr> Cc: Jakov Petrina <jakov.petrina@sartura.hr> Reviewed-by: NStefan Roese <sr@denx.de>
-
由 Luka Kovacic 提交于
MikroTik CRS305-1G-4S Bit board has a switch chip with an integrated Marvell Prestera 98DX3236 CPU. The Bit board variant is added, which has a bigger Macronix flash. Add basic U-Boot, UART and Winbond SPI flash support. Signed-off-by: NLuka Kovacic <luka.kovacic@sartura.hr> Cc: Luka Perkov <luka.perkov@sartura.hr> Cc: Jakov Petrina <jakov.petrina@sartura.hr> Reviewed-by: NStefan Roese <sr@denx.de>
-
由 Jagan Teki 提交于
SPI_FLASH_PROTECTION config item is never used in anywhere in the U-Boot tree. Drop it. Signed-off-by: NJagan Teki <jagan@amarulasolutions.com> Reviewed-by: NStefan Roese <sr@denx.de>
-
由 Tom Rini 提交于
- New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: NTom Rini <trini@konsulko.com>
-
-
由 Tom Rini 提交于
- A large number of assorted fixes and minor improvements
-
- 05 8月, 2020 20 次提交
-
-
由 Simon Glass 提交于
Set this variable to 0 to avoid a warning about an unused variable. This happens on gcc 7.5.0 for me. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
The printf() string produces a warning about %d not matching size_t. Fix it and put the format string on one line to avoid a checkpatch warning. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Icenowy Zheng 提交于
We still have some platforms that only implements functionalities in PSCI 0.1 (e.g. Allwinner ARMv7 SoCs). Add a Kconfig option for exporting only PSCI 0.1. The code to export PSCI 0.1 is still available and gets activated by this patch. In addition, default ARCH_SUNXI U-Boot PSCI implementation to export PSCI 0.1, to fix poweroff/reboot regression on Allwinner multi-core ARMv7 SoCs. Signed-off-by: NIcenowy Zheng <icenowy@aosc.io>
-
由 Heinrich Schuchardt 提交于
We currently print the memory size with at least 8 hexadecimal digits. This creates a ragged output on 64 bit boards, e.g. on a Kendryte K210: DRAM bank = 0x0000000000000002 -> start = 0x0000000080600000 -> size = 0x0000000000200000 memstart = 0x0000000000000000 memsize = 0x00000000 flashstart = 0x0000000000000000 flashsize = 0x0000000000000000 flashoffset = 0x0000000000000000 All other numbers are printed with the number of digits needed for the type ulong. So use this value as minimum number of digits (precision) for printing physical addresses. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: NHeiko Schocher <hs@denx.de> Reviewed-by: NStefan Roese <sr@denx.de> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Baruch Siach 提交于
The address of the kernel image is stored in images->ep. zi_start is the offset of execution entry in the image, which is usually 0 for ARM zImage. Fixes boot error when ftd is stored near RAM address 0x0: ERROR: FDT image overlaps OS image (OS=0x0..0x5fd608) Fixes: fbde7589 ("common: bootm: add checks to verify if ramdisk / fdtimage overlaps OS image") Cc: Tero Kristo <t-kristo@ti.com> Signed-off-by: NBaruch Siach <baruch@tkos.co.il>
-
由 Fabio Estevam 提交于
Vagrant Cascadian reported that mx6cuboxi target no longer builds reproducibility on Debian. One example of builds mismatches: 00096680: 696e 6700 736f 756e 642d 6461 6900 6465 ing.sound-dai.de -00096690: 7465 6374 2d67 7069 6f73 0000 tect-gpios.. +00096690: 7465 6374 2d67 7069 6f73 0061 tect-gpios.a This problem happens because all the buffers in fit_image.c are allocated via malloc(), which does not zero out the allocated buffer. Using calloc() fixes this unpredictable behaviour as it guarantees that the allocated buffer are zero initialized. Reported-by: NVagrant Cascadian <vagrant@reproducible-builds.org> Suggested-by: NTom Rini <trini@konsulko.com> Signed-off-by: NFabio Estevam <festevam@gmail.com> Tested-by: NVagrant Cascadian <vagrant@reproducible-builds.org>
-
由 Brian Moyer 提交于
SPL_CLEAR_BSS is called regardless of build type if CONFIG_SPL_EARLY_BSS is defined. Add a guard for CONFIG_SPL_BUILD to fix. Signed-off-by: NBrian Moyer <bdm310@gmail.com>
-
由 Heinrich Schuchardt 提交于
* Move README.clang to doc/build/clang.rst and reformat as reStructeredText. * Indicate that -ffixed-r9 and -ffixed-x18 are used to reserve registers for gd. * Minor editing. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
-
由 Michal Simek 提交于
Fix Kconfig entry indentation for Aspeed ast2500 pin control driver. Fixes: 4f0e44e4 ("aspeed: AST2500 Pinctrl Driver") Signed-off-by: NMichal Simek <michal.simek@xilinx.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Michal Simek 提交于
The commit 47818e23 ("Makefile.lib: include /__symbols__ in dtb if SPL_LOAD_FIT_APPLY_OVERLAY is enabled") enables DT building as overlays based on symbols which depends on SPL. But there is already an option to apply overlays in full U-Boot too. And there are platforms which are not using SPL and there is no option to build DTs with -@ parameter. That's why change dependency on OF_LIBFDT_OVERLAY which is already symbol which is selected when SPL_LOAD_FIT_APPLY_OVERLAY is enabled but also adding support for platforms which don't enable SPL and want to work with overlays on U-Boot prompt. Signed-off-by: NMichal Simek <michal.simek@xilinx.com> Reviewed-by: NHeinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Michal Simek 提交于
Add 4 new phy types which are present in Linux kernel. DP and SGMII types are used on Xilinx ZynqMP devices. Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
由 Stephen Warren 提交于
Remove a double space introduced by my previous fixdep fix. Fixes: 76ae74d3 ("fixdep: fix CONFIG_IS_ENABLED etc. handling") Signed-off-by: NStephen Warren <swarren@nvidia.com>
-
由 Yan Liu 提交于
Current pytest only support upto 2 stage boot; Some boards like TI K3 am6/J7 boards use 3 stage boot. This patch adds u_boot_spl2 to be able to handle the 3-stage boot case. User needs to set "env__spl2_skipped" in u_boot_boardenv config file to use this support. By default it is set to TRUE. Signed-off-by: NYan Liu <yan-liu@ti.com> Signed-off-by: NYan Liu <yan-liu@ti.com>
-
由 Jonas Smedegaard 提交于
This commit moves CONFIG_PREBOOT="usb start" to common/KConfig for all boards also declaring USB_KEYBOARD. Besides simplifying defconfig files, this also enables support for board-specific CONFIG_PREBOOT for sunxi boards: commit 37304aaf ("Convert CONFIG_USE_PREBOOT and CONFIG_PREBOOT to Kconfig") intended to support CONFIG_PREBOOT, but include/configs/sunxi-common.h hardcodes preboot as part of internally defined CONSOLE_STDIN_SETTINGS, silently ignoring any board-specific CONFIG_PREBOOT. Signed-off-by: NJonas Smedegaard <dr@jones.dk> Reviewed-by: NNeil Armstrong <narmstrong@baylibre.com> Series-Cc: Jagan Teki <jagan@amarulasolutions.com> Series-Cc: Lukasz Majewski <lukma@denx.de> Series-Cc: Andre Przywara <andre.przywara@arm.com>
-
由 Marek Szyprowski 提交于
Reset the stored ping IP address before entering a netloop with different protocol to ensure that it won't be interrupted by the received correct ICMP_ECHO_REPLY packet. Signed-off-by: NMarek Szyprowski <m.szyprowski@samsung.com>
-
由 Patrick Delaunay 提交于
Add configuration flag to select the supported dwc driver configuration: - CONFIG_DWC_ETH_QOS_TEGRA186 - CONFIG_DWC_ETH_QOS_IMX - CONFIG_DWC_ETH_QOS_STM32 See Linux driver ethernet/stmicro/stmmac and associated glue layers for other configuration examples. This patch removes the not-selected compatibles and lets the linker remove the unused functions to reduce the size of the driver. Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com>
-
由 Tero Kristo 提交于
Dump lmb status from the bdinfo command. This is useful for seeing the reserved memory regions from the u-boot cmdline. Signed-off-by: NTero Kristo <t-kristo@ti.com>
-
由 Ramon Fried 提交于
Add support for RFC 7440: "TFTP Windowsize Option". This optional feature allows the client and server to negotiate a window size of consecutive blocks to send as an alternative for replacing the single-block lockstep schema. windowsize can be defined statically during compilation by setting CONFIG_TFTP_WINDOWSIZE, or defined in runtime by setting an environment variable: "tftpwindowsize" If not defined, the windowsize is set to 1, meaning that it behaves as it was never defined. Choosing the appropriate windowsize depends on the specific network topology, underlying NIC. You should test various windowsize scenarios and see which best work for you. Setting a windowsize too big can actually decreases performance. Signed-off-by: NRamon Fried <rfried.dev@gmail.com> Reviewed-by: NMarek Vasut <marex@denx.de>
-
由 Yann Gautier 提交于
Move the variable psci_method in .data section when EFI is not activated and the psci driver safely access it before relocation. Without this patch the variable is located in .bss section and the psci probe requested before relocation corrupts the device tree (probe is requested by board_f.c::print_resetinfo()). When EFI_LOADER is activated, this variable in already located in the .data.efi_runtime section by __efi_runtime_data. Signed-off-by: NYann Gautier <yann.gautier@st.com> Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com>
-
由 Doyle, Patrick 提交于
In the unlikely event that both blocks 10 and 11 are marked as bad (on a 32 bit machine), then the process of marking block 10 as bad stomps on cached entry for block 11. There are (of course) other examples. Signed-off-by: NPatrick Doyle <pdoyle@irobot.com> Reviewed-by: NRichard Weinberger <richard@nod.at>
-