- 10 11月, 2019 6 次提交
-
-
由 Levin Du 提交于
Without the prefix, "same-as-spl" in `u-boot,spl-boot-order` will not work as expected. When board_boot_order() `spl-boot-order.c` meets "same-as-spl", it gets the conf by looking the boot_devices table by boot source, and parse the node by the conf with: node = fdt_path_offset(blob, conf); which will failed without the "/" indicating the path. Currently only entries of boot_devices in rk3399 have the "/" prefix. Therefore add the missing ones in other boards. Signed-off-by: NLevin Du <djw@t-chip.com.cn> Reviewed-by: NPhilipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: NKever Yang <kever.yang@rock-chips.com>
-
由 Kever Yang 提交于
Use the same SPL_STACK_R_ADDR in Kconfig instead of each board config; default to 0x4000000(64MB) instead of 0x80000(512KB) for this address can support all the SoCs including those may have only 64MB memory, and also reserve enough space for atf, kernel(in falcon mode) loading. After the ATF entry move to 0x40000, the stack from 0x80000 may be override when loading ATF bl31. Signed-off-by: NKever Yang <kever.yang@rock-chips.com>
-
由 Heiko Stuebner 提交于
A trusted execution environment should also get loaded as loadable from a fit image, so add the possibility to present a tee.elf to make_fit_atf.py that then gets included as additional loadable into the generated its. For ease of integration the additional loadable is created as atf_(x+1) after all others to re-use core generation loops. Tested against the combinations of 1-part-atf and multi-part-atf each time with and without a tee binary present. Signed-off-by: NHeiko Stuebner <heiko@sntech.de> Reviewed-by: NKever Yang <kever.yang@rock-chips.com>
-
由 Emmanuel Vadot 提交于
rk3328 can use same-as-spl option so next loaders are loaded from the same medium. Add the boot order in the rock64 dts otherwise booting from sdcard will result in u-boot looking into the eMMC. Signed-off-by: NEmmanuel Vadot <manu@freebsd.org> Reviewed-by: NPeter Robinson <pbrobinson@gmail.com> Tested-by: NPeter Robinson <pbrobinson@gmail.com> Reviewed-by: NKever Yang <kever.yang@rock-chips.com>
-
由 Simon South 提交于
Add a call to rk3328_configure_cpu() during initialization to set the CPU-clock frequency. Signed-off-by: NSimon South <simon@simonsouth.net> Reviewed-by: NKever Yang <kever.yang@rock-chips.com>
-
由 Andy Yan 提交于
Specification - Rockchip RK3399 - LPDDR4 - TF sd scard slot - eMMC - M.2 B-Key for 4G LTE - AP6256 for WiFi + BT - Gigabit ethernet - HDMI out - 40 pin header - USB 2.0 x 2 - USB 3.0 x 1 - USB 3.0 Type-C x 1 - TYPE-C Power supply Commit details of rk3399-leez-p710.dts sync from linus tree for Linux 5.4-rc1: "arm64: dts: rockchip: Add dts for Leez RK3399 P710 SBC" (sha1: fc702ed49a8668a17343811ee28214d845bfc5e6) Signed-off-by: NAndy Yan <andyshrk@gmail.com> Reviewed-by: NKever Yang <kever.yang@rock-chips.com>
-
- 04 11月, 2019 27 次提交
-
-
由 Igor Opaniuk 提交于
Add subcommand for add writing BCB only, where we provide appropriate offsets for firmware1 and firmware2 and size. Example of usage: > nandbcb bcbonly 0x00180000 0x00080000 0x00200000 Writing 1024 bytes to 0x0: randomizing OK Writing 1024 bytes to 0x20000: randomizing OK Signed-off-by: NIgor Opaniuk <igor.opaniuk@toradex.com> Tested-by: NMax Krummenacher <max.krummenacher@toradex.com> Reviewed-by: NOleksandr Suvorov <oleksandr.suvorov@toradex.com>
-
由 Igor Opaniuk 提交于
Move code for writing FCB/DBBT pages to a separate function Signed-off-by: NIgor Opaniuk <igor.opaniuk@toradex.com> Tested-by: NMax Krummenacher <max.krummenacher@toradex.com> Reviewed-by: NOleksandr Suvorov <oleksandr.suvorov@toradex.com>
-
由 Igor Opaniuk 提交于
Add support for updating FCB/DBBT on i.MX7: - additional new fields in FCB structure - Leverage hardware BCH/randomizer for writing FCB Signed-off-by: NIgor Opaniuk <igor.opaniuk@toradex.com> Tested-by: NMax Krummenacher <max.krummenacher@toradex.com> Reviewed-by: NOleksandr Suvorov <oleksandr.suvorov@toradex.com>
-
由 Igor Opaniuk 提交于
Extend GPMI Integrated ECC Control Register Description, include additional defines for enabling randomizer function and providing proper randomizer type. For additional details check i.MX7 APR, section 9.6.6.3 GPMI Integrated ECC Control Register Description (GPMI_ECCCTRLn) Signed-off-by: NIgor Opaniuk <igor.opaniuk@toradex.com> Tested-by: NMax Krummenacher <max.krummenacher@toradex.com> Reviewed-by: NOleksandr Suvorov <oleksandr.suvorov@toradex.com>
-
由 Oliver Graute 提交于
Add i.MX8QM ROM 7720a1 board support Boot log as below: U-Boot 2019.10-rc3-00004-gd073e0242f (Sep 20 2019 - 08:24:13 +0200) CPU: NXP i.MX8QM RevB A53 at 1200 MHz Model: Advantech iMX8QM Qseven series Board: ROM-7720-A1 4GB Build: SCFW 65afe5f6 Boot: SD2 DRAM: 4 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2 Loading Environment from MMC... OK In: serial@5a060000 Out: serial@5a060000 Err: serial@5a060000 Net: eth0: ethernet@5b040000Could not get PHY for FEC1: addr 1 , eth-1: ethernet@5b050000 Hit any key to stop autoboot: 0 Signed-off-by: NOliver Graute <oliver.graute@kococonnector.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <festevam@gmail.com> Cc: Peng Fan <peng.fan@nxp.com> Cc: Simon Glass <sjg@chromium.org> Cc: Ye Li <ye.li@nxp.com> Cc: uboot-imx <uboot-imx@nxp.com>
-
由 Peng Fan 提交于
Sync dts for i.MX8MM from Linux Kernel 5.4.0-rc1 Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Hannes Schmelzer 提交于
This commit adds support for the brppt2 board. The board is based on the i.mx6 dual-lite SoC. Signed-off-by: NHannes Schmelzer <hannes.schmelzer@br-automation.com>
-
由 Anatolij Gustschin 提交于
Borrow ID reading code from Ye Li (NXP U-Boot, commit ID 5b443e3e2617) but drop imx-mkimage commit ID reading since we now use in tree mkimage. Signed-off-by: NAnatolij Gustschin <agust@denx.de> Reviewed-by: NPeng Fan <peng.fan@nxp.com>
-
由 Ye Li 提交于
Need to pass total 5 arguments for SIP HAB call on i.MX8MQ, so update the interface to add new argument. Signed-off-by: NYe Li <ye.li@nxp.com> [agust: fixed imx8m-power-domain build] Signed-off-by: NAnatolij Gustschin <agust@denx.de> Reviewed-by: NPatrick Wildt <patrick@blueri.se> Reviewed-by: NPeng Fan <peng.fan@nxp.com>
-
由 Peng Fan 提交于
Add function and new command "auth_cntr" for secure boot support. When booting with life cycle set to OEM closed, we need to use this function to authenticate the OS container and load kernel & FDT from OS container to their destination. Also add image authentication call when loading container images. Users can set CONFIG_AHAB_BOOT=y to enable the feature. It is not set at default. Signed-off-by: NYe Li <ye.li@nxp.com> Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Peng Fan 提交于
Enable bd71837 pmic for i.MX8MM EVK board, need to set voltage for DRAM and linux suspend voltage requirement. Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Peng Fan 提交于
It will be easy to separate SD/EMMC when booting in SPL stage, then no need to bother which device is BOOT_DEVICE_MMC1/2. Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Peng Fan 提交于
Add init_nand_clk to enable gpmi nand clock. Since i.MX8MQ not use CCF, so we still use legacy mode to configure the clock. Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Peng Fan 提交于
Improve the IRQ response latency by setting GIC root clock source to sys_pll2_200m from osc. Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Peng Fan 提交于
The i.MX8MQ B1 uses OCOTP_HW_OCOTP_READ_FUSE_DATA register for chip id. It returns a magic number 0xff0055aa. update get_cpu_rev to support it, and enable ocotp clock to access ocotp. Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Sébastien Szymanski 提交于
Migrate to DM_VIDEO, update the device tree and remove code that is no longer necessary. Reviewed-by: NPeng Fan <peng.fan@nxp.com> Signed-off-by: NSébastien Szymanski <sebastien.szymanski@armadeus.com>
-
由 Sébastien Szymanski 提交于
Migrate to DM_ETH and remove code that is no longer necessary. Reviewed-by: NPeng Fan <peng.fan@nxp.com> Signed-off-by: NSébastien Szymanski <sebastien.szymanski@armadeus.com>
-
由 Patrick Wildt 提交于
This updates the i.MX8MQ device trees and, necessarily, also the i.MX8MQ clock bindings. These are taken verbatim from from the Linux kernel version v5.4-rc2, which three small changes which were already part of the previous device tree: * Keep the PSCI reserved memory range * Keep the alias for ethernet, so that the MAC address can be set * Keep the modified #include for the IOMUXC pins Signed-off-by: NPatrick Wildt <patrick@blueri.se> Acked-by: NPeng Fan <peng.fan@nxp.com>
-
由 Lukasz Majewski 提交于
This commit converts mccmon6's u-boot proper (in a single commit to avoid build breaks) to use solely DM/DTS. The DTS description of the mccmon6 has been ported from Linux kernel (v4.20, SHA1: 8fe28cb58bcb235034b64cbbb7550a8a43fd88be) Signed-off-by: NLukasz Majewski <lukma@denx.de>
-
由 Lukasz Majewski 提交于
The TPC70 is equipped with DS1307 RTC device. Add code to enable support for it. Signed-off-by: NLukasz Majewski <lukma@denx.de>
-
由 Igor Opaniuk 提交于
Add u-boot,dm-pre-reloc properties for uart pinmux configuration nodes, which enables UART as early as possible (before relocation). Without this we miss almost the half of output (U-boot version, CPU defails, Reset cause, DRAM details etc.). Fixes: cd69e8ef ("colibri-imx6ull: migrate pinctrl and regulators to dtb/dm") Reviewed-by: NOleksandr Suvorov <oleksandr.suvorov@toradex.com> Reviewed-by: NFabio Estevam <festevam@gmail.com> Signed-off-by: NIgor Opaniuk <igor.opaniuk@toradex.com>
-
由 Igor Opaniuk 提交于
Introduce imx6ull-colibri-u-boot.dtsi for u-boot specific properties to keep original imx6ull-colibri.dts in sync with Linux. Move all contents of imx6ull-colibri.dts to imx6ull-colibri.dtsi + additionally fix checkpatch warnings. Reviewed-by: NOleksandr Suvorov <oleksandr.suvorov@toradex.com> Reviewed-by: NFabio Estevam <festevam@gmail.com> Signed-off-by: NIgor Opaniuk <igor.opaniuk@toradex.com>
-
由 Marek Vasut 提交于
According to IMX28CEC rev. 4, 10/2018, Table 15. Recommended Operating Conditions, page 16, the VDDD should be set to 1.55V when the CPU is operating at 454MHz. This is the case in U-Boot, hence increase the VDDD voltage. This fixes instability when performing TFTP transfers. Increase the brownout threshold to 1.4V. The documentation recommends 1.45V setting for the brownout, however, this triggers failure during power block init, so keep the brownout slightly lower. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Stefano Babic <sbabic@denx.de> Reviewed-by: NFabio Estevam <festevam@gmail.com>
-
由 Claudius Heine 提交于
Signed-off-by: NClaudius Heine <ch@denx.de>
-
由 Claudius Heine 提交于
imx6_is_bmode_from_gpr9 always returns false, because IMX6_SRC_GPR10_BMODE is 1<<28 and gets casted to u8 on return. This moves the function body into imx6_src_get_boot_mode, since that is the only one using it and it is on the same abstraction level (accessing registers directly). Signed-off-by: NClaudius Heine <ch@denx.de>
-
由 Manivannan Sadhasivam 提交于
Add devicetree support for iMXQXP AI_ML board from Einfochips. Signed-off-by: NManivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Reviewed-by: NPeng Fan <peng.fan@nxp.com> Reviewed-by: NLukasz Majewski <lukma@denx.de>
-
由 Parthiban Nallathambi 提交于
Firmware Configuration Block(FCB) for imx6ul(l) needs to be BCH encoded. Signed-off-by: NParthiban Nallathambi <pn@denx.de> Acked-by: NShyam Saini <shyam.saini@amarulasolutions.com> Acked-by: NPeng Fan <peng.fan@nxp.com>
-
- 03 11月, 2019 7 次提交
-
-
由 Grygorii Strashko 提交于
Synchronize CPSW/MDIO/PHY DT nodes with latest linux - replace deprecated phy_id property with phy-handle. Signed-off-by: NGrygorii Strashko <grygorii.strashko@ti.com> Cc: Lokesh Vutla <lokeshvutla@ti.com> Cc: Hannes Schmelzer <hannes.schmelzer@br-automation.com> Cc: Heiko Schocher <hs@denx.de> Cc: Felix Brack <fb@ltec.ch> Cc: Jean-Jacques Hiblot <jjhiblot@ti.com>
-
由 Grygorii Strashko 提交于
Synchronize CPSW/MDIO/PHY DT nodes with latest linux - replace deprecated phy_id property with phy-handle. Signed-off-by: NGrygorii Strashko <grygorii.strashko@ti.com> Cc: Lokesh Vutla <lokeshvutla@ti.com>
-
由 Grygorii Strashko 提交于
Synchronize CPSW/MDIO/PHY DT nodes with latest linux - replace deprecated phy_id property with phy-handle. Signed-off-by: NGrygorii Strashko <grygorii.strashko@ti.com> Cc: Lokesh Vutla <lokeshvutla@ti.com>
-
由 Fabio Estevam 提交于
Introduce disable_ipu_clock(). This is done in preparation for configuring the NoC registers on i.MX6QP in SPL. Afer the NoC registers are set the IPU clocks can be disabled. Signed-off-by: NFabio Estevam <festevam@gmail.com> Reviewed-by: NPeng Fan <peng.fan@nxp.com>
-
由 Fabio Estevam 提交于
The code can be made simpler by using setbits_le32(), so switch to it. Signed-off-by: NFabio Estevam <festevam@gmail.com> Reviewed-by: NPeng Fan <peng.fan@nxp.com>
-
由 Simon Glass 提交于
We already a message indicating that U-Boot is about to jump to SPL, so make this one a debug() to reduce code size. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
-
由 Simon Glass 提交于
We don't need to do this and it is done (in more detail) in U-Boot proper. Drop this to save code space. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
-