- Jan 16, 2020
-
-
Vignesh Raghavendra authored
Rename CONFIG_SPL_DMA_SUPPORT to CONFIG_SPL_DMA. This allows to use macros such as CONFIG_IS_ENABLED() that allow conditional compilation of code for SPL and U-Boot. Signed-off-by:
Vignesh Raghavendra <vigneshr@ti.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
- Jan 14, 2020
-
-
Heinrich Schuchardt authored
Add the missing Sphinx documentation. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
- Jan 10, 2020
-
-
Han Nandor authored
DS3232 is an i2c RTC with 236 bytes of battery-backed SRAM. Add an RTC driver for DS3232 device, which provides time and date support. Also read and write functions are provided, which can be used to access the SRAM memory. Signed-off-by:
Nandor Han <nandor.han@vaisala.com>
-
Angelo Durgehello authored
Full conversion to dm for all boards, legacy code removed. Signed-off-by:
Angelo Durgehello <angelo.dureghello@timesys.com>
-
Angelo Durgehello authored
Full conversion to dm for all boards, legacy code removed. Signed-off-by:
Angelo Durgehello <angelo.dureghello@timesys.com>
-
- Jan 07, 2020
-
-
Cristian Ciocaltea authored
This patch adds a new section "Launching a UEFI binary from a FIT image" documenting the usage of the CONFIG_BOOTM_EFI extension to bootm command that offers a verified boot alternative for UEFI binaries such as GRUB2. Signed-off-by:
Cristian Ciocaltea <cristian.ciocaltea@gmail.com> Reviewed-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
Cristian Ciocaltea authored
This patch adds an example FIT image description file demonstrating the usage of bootm command to securely launch UEFI binaries. Signed-off-by:
Cristian Ciocaltea <cristian.ciocaltea@gmail.com> Reviewed-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
Andy Shevchenko authored
When the `dfu` command is called from the U-Boot environment, it now accepts an optional parameter that specifies a timeout (in seconds). If a DFU connection is not made within that time the `dfu` command exits (as it would if Ctrl+C was pressed). If the timeout is left empty or being zero the `dfu` command behaves as it does now. This is useful for allowing U-Boot to check to see if anything wants to upload new firmware before continuing to boot. The patch is based on the commit https://github.com/01org/edison-u-boot/commit/5e966ccc3c65c18c9783741fa04e0c45e021780c by Sebastien Colleur, which has been heavily reworked due to U-Boot changes in the past. Signed-off-by:
Brad Campbell <bradjc5@gmail.com> Signed-off-by:
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
-
- Dec 27, 2019
-
-
Jeffy Chen authored
Add documentation about packing optional second level boot-loader with mkimage tool. Signed-off-by:
Jeffy Chen <jeffy.chen@rock-chips.com> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
Andy Yan authored
The defconfig file for ROC-CC-RK3308 is roc-cc-rk3308_defconfig. Fixes: 7f08bfb7 ("doc: rockchip: Add documentation for rk3308 based boards") Signed-off-by:
Andy Yan <andy.yan@rock-chips.com> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
- Dec 15, 2019
-
-
Simon Glass authored
Add support for coral which is a range of Apollo Lake-based Chromebook released in 2017. This also includes reef released in 2016, since it is based on the same SoC. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Simon Glass authored
Add a GPIO driver which uses the pinctrl driver to access the pad information. This driver relies on the GPIO nodes being subnodes to the pinctrl device. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Simon Glass authored
Recent Intel SoCs share a pinctrl mechanism with many common elements. Add an implementation of this core functionality, allowing SoC-specific drivers to avoid adding common code. As well as a pinctrl driver this provides a GPIO driver based on the same code. Once other SoCs use this driver we may consider moving more properties to the device tree (e.g. the community info and pad definitions). Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Simon Glass authored
We don't want to include dt-structs.h in header files, so add a note about that. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Simon Glass authored
At present PCI auto-configuration happens in U-Boot both before and after relocation. This is a waste of time and may mess up static addresses used in board_init_f(). Adjust the code to supporting doing auto-configuration once, after relocation, under control of a device-tree property. This is needed for Apollo Lake for debugging the silicon-init code. Once the UART is moved to a different MMIO address the debug UART does not work and any debug output in Apollo Lake's arch_fsp_init_r() causes a hang. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
- Dec 13, 2019
-
-
Heinrich Schuchardt authored
Describe that a signature node can be added to a binary device tree using the mkimage tool. Provide an example device tree node. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
Rasmus Villemoes authored
Commit 656d8da9 (doc: Remove duplicated documentation directory) got rid of most of Documentation/. But there's still an obviously useless .gitignore left behind. Also, there's a copy of the linux kernel's net/ethernet.txt binding imported from v5.0, while the existing one in doc/ is from 4.0-rc1. So replace the latter by the former, and making Documentation/ finally empty. Signed-off-by:
Rasmus Villemoes <rasmus.villemoes@prevas.dk> Reviewed-by:
Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
-
- Dec 10, 2019
-
-
Rick Chen authored
Add descriptions about U-Boot SPL feature and how to build and run. Signed-off-by:
Rick Chen <rick@andestech.com> Cc: KC Lin <kclin@andestech.com> Cc: Alan Kao <alankao@andestech.com>
-
Rick Chen authored
This would help to make the necessary changes in drivers and device trees in U-Boot tree itself. This feature would also be helpful to not pass dtb during opensbi builds. Signed-off-by:
Jagan Teki <jagan@amarulasolutions.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Anup Patel <anup.patel@wdc.com> Signed-off-by:
Rick Chen <rick@andestech.com>
-
- Dec 09, 2019
-
-
Alex Marginean authored
A couple of optional properties have been introduced for Aquantia PHY allowing the driver to set up wiring related configuration points that are otherwise driven by firmware. Signed-off-by:
Alex Marginean <alexandru.marginean@nxp.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Alex Marginean authored
It defines that PHY nodes must be children on MDIO bus nodes and defines the only required property in U-Boot, reg. This property along with the example provided are copied over from Linux. Signed-off-by:
Alex Marginean <alexandru.marginean@nxp.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Grygorii Strashko authored
Based on commit 980066e6d964 ("dt-bindings: phy: dp83867: Add documentation for disabling clock output") of mainline linux kernel. The clock output is generally only used for testing and development and not used to daisy-chain PHYs. It's just a source of RF noise afterward. Add a mux value for "off". I've added it as another enumeration to the output property. In the actual PHY, the mux and the output enable are independently controllable. However, it doesn't seem useful to be able to describe the mux setting when the output is disabled. Document that PHY's default setting will be left as is if the property is omitted. Signed-off-by:
Grygorii Strashko <grygorii.strashko@ti.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Joe Hershberger authored
Part of the env cleanup moved this out of the environment code and into the net code. However, this helper is sometimes needed even when the net stack isn't included. Move the helper to lib/net_utils.c like it's similarly-purposed string_to_ip(). Also rename the moved function to similar naming. Signed-off-by:
Joe Hershberger <joe.hershberger@ni.com> Reported-by:
Ondrej Jirman <megous@megous.com>
-
- Dec 06, 2019
-
-
AKASHI Takahiro authored
This document gives a brief description about ASN1 compiler as well as ASN1 decoder. Signed-off-by:
AKASHI Takahiro <takahiro.akashi@linaro.org>
-
- Dec 05, 2019
-
-
Andy Yan authored
After commit d8765e24 ("Enable building of u-boot.itb on Rockchip platform"), u-boot.itb will automatically generated by "make all" command, manually command "make u-boot.itb" is no longer needed. Signed-off-by:
Andy Yan <andy.yan@rock-chips.com> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
- Dec 03, 2019
-
-
Lihua Zhao authored
Enhance do_bootm_vxworks() to support Linux compatible standard DTB for ARM and PPC, when the least significant bit of flags in VxWorks bootargs is set. Otherwise it falls back to the existing bootm flow which is now legacy. Signed-off-by:
Lihua Zhao <lihua.zhao@windriver.com> Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Thomas Hebb authored
Signed-off-by:
Thomas Hebb <tommyhebb@gmail.com>
-
- Nov 17, 2019
-
-
Andy Yan authored
Add build documentation for rk3308 based boards. Signed-off-by:
Andy Yan <andy.yan@rock-chips.com> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
- Nov 10, 2019
-
-
Joseph Chen authored
support parse regulator standard property: regulator-off-in-suspend; regulator-init-microvolt; regulator-suspend-microvolt: regulator_get_suspend_enable regulator_set_suspend_enable regulator_get_suspend_value regulator_set_suspend_value Signed-off-by:
Joseph Chen <chenjh@rock-chips.com> Signed-off-by:
Elaine Zhang <zhangqing@rock-chips.com> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
- Nov 08, 2019
-
-
Udit Agarwal authored
Rename the CONFIG_SECURE_BOOT name to CONFIG_NXP_ESBC to avoid conflicts with UEFI secure boot. Signed-off-by:
Udit Agarwal <udit.agarwal@nxp.com> Signed-off-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
- Nov 02, 2019
-
-
Simon Glass authored
Add a note about the driver name in the of-platdata documentation since the naming must follow the compatible string. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
- Oct 31, 2019
-
-
Sam Protsenko authored
Add optional parameter to 'avb verify' sub-command, so that user is able to specify which slot to use, in case when user's partitions are slotted. If that parameter is omitted, the behavior of 'avb verify' will be the same as before, so user API is content. Signed-off-by:
Sam Protsenko <semen.protsenko@linaro.org> Reviewed-by:
Igor Opaniuk <igor.opaniuk@gmail.com> Acked-by:
Igor Opaniuk <igor.opaniuk@gmail.com>
-
Patrick Delaunay authored
Add weak callback to allow board specific behavior - flush - initiated This patch prepare usage of DFU back end for communication with STM32CubeProgrammer on stm32mp1 platform with stm32prog command. Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com>
-
Patrick Delaunay authored
Add a virtual DFU backend to allow board specific read and write (for OTP update for example). Acked-by:
Lukasz Majewski <lukma@denx.de> Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com>
-
Patrick Delaunay authored
Add the support of MTD partition for the MTD backend. The expected dfu_alt_info for one alternate on the mtd device : <name> part <part_id> <name> partubi <part_id> "partubi" also erase up to the end of the partition after write operation. For example: dfu_alt_info = "spl part 1;u-boot part 2; UBI partubi 3" U-Boot> dfu 0 mtd nand0 Acked-by:
Lukasz Majewski <lukma@denx.de> Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com>
-
Patrick Delaunay authored
Add DFU backend for MTD device: allow to read and write on all MTD device (NAND, SPI-NOR, SPI-NAND,...) For example : > set dfu_alt_info "nand_raw raw 0x0 0x100000" > dfu 0 mtd nand0 This MTD backend provides the same level than dfu nand backend for NAND and dfu sf backend for SPI-NOR; So it can replace booth of them but it also add support of spi-nand. > set dfu_alt_info "nand_raw raw 0x0 0x100000" > dfu 0 mtd spi-nand0 The backend code is based on the "mtd" command introduced by commit 5db66b3a ("cmd: mtd: add 'mtd' command") Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com>
-
Patrick Delaunay authored
Add support of DFU for several interface/device with one command. The format for "dfu_alt_info" in this case is : - <interface> <dev>'='alternate list (';' separated) - each interface is separated by '&' The previous behavior is always supported. One example for NOR (bootloaders) + NAND (rootfs in UBI): U-Boot> env set dfu_alt_info \ "sf 0:0:10000000:0=spl part 0 1;u-boot part 0 2; \ u-boot-env part 0 3&nand 0=UBI partubi 0,3" U-Boot> dfu 0 list DFU alt settings list: dev: SF alt: 0 name: spl layout: RAW_ADDR dev: SF alt: 1 name: ssbl layout: RAW_ADDR dev: SF alt: 2 name: u-boot-env layout: RAW_ADDR dev: NAND alt: 3 name: UBI layout: RAW_ADDR U-Boot> dfu 0 $> dfu-util -l Found DFU: [0483:5720] ver=9999, devnum=96, cfg=1,\ intf=0, alt=3, name="UBI", serial="002700333338511934383330" Found DFU: [0483:5720] ver=9999, devnum=96, cfg=1,\ intf=0, alt=2, name="u-boot-env", serial="002700333338511934383330" Found DFU: [0483:5720] ver=9999, devnum=96, cfg=1,\ intf=0, alt=1, name="u-boot", serial="002700333338511934383330" Found DFU: [0483:5720] ver=9999, devnum=96, cfg=1,\ intf=0, alt=0, name="spl", serial="002700333338511934383330" Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com>
-
Patrick Delaunay authored
Copy the partition support from NAND backend to SF, support part and partubi option. In case of ubi partition, erase the rest of the partition as it is mandatory for UBI. The added code is under compilation flag CONFIG_DFU_SF_PART activated by default. for example: U-Boot> env set dfu_alt_info "spl part 0 1;\ u-boot part 0 2;u-boot-env part 0 3;UBI partubi 0 4" U-Boot> dfu 0 sf 0:0:10000000:0 Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com>
-
Patrick Delaunay authored
Add documentation for dfu stack and "dfu" command. Reviewed-by:
Lukasz Majewski <lukma@denx.de> Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com>
-
- Oct 28, 2019
-
-
Bin Meng authored
This adds a reST document for how to build U-Boot host tools, including information for both Linux and Windows. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com>
-