- 14 10月, 2019 33 次提交
-
-
由 Fabio Estevam 提交于
Use imx_ddr_size() to retrieve the total DDR size instead of passing a hardcoded memory size. imx_ddr_size() calculates the memory size based on the actual MMDC registers values and is useful to detect misconfigurations, so switch to this more robust approach. Signed-off-by: NFabio Estevam <festevam@gmail.com>
-
由 Fabio Estevam 提交于
i.MX7ULP uses the same MMDC controller IP as found on i.MX53 and i.MX6, so build mmdc_size.c for i.MX7ULP as well. Signed-off-by: NFabio Estevam <festevam@gmail.com>
-
由 Fabio Estevam 提交于
The original imx_ddr_size() implementation had some issues reported by checkpatch like this: CHECK: Prefer kernel type 'u32' over 'uint32_t' #127: FILE: arch/arm/mach-imx/mmdc_size.c:16: + uint32_t ctl; WARNING: Prefer 'unsigned int' to bare use of 'unsigned' #151: FILE: arch/arm/mach-imx/mmdc_size.c:40: + unsigned ctl = readl(&mem->ctl); Fix all of them. Signed-off-by: NFabio Estevam <festevam@gmail.com>
-
由 Fabio Estevam 提交于
Place imx_ddr_size() into a separate file. The motivation for doing this is to be able to easily reuse imx_ddr_size() on i.MX7ULP. Currently imx_ddr_size() is inside arch/arm/mach-imx/cpu.c, which is not built for i.MX7ULP. Changing the logic to allow building cpu.c for i.MX7UP would require adding several ifdef's, leading to a not a very elegant solution. To allow better reuse, just place imx_ddr_size() into a common mmdc_size.c file. Signed-off-by: NFabio Estevam <festevam@gmail.com> Signed-off-by: NStefano Babic <sbabic@denx.de>
-
由 Shyam Saini 提交于
This also enables mtd configs which are required by nandbcb command. This command would be used to configure boot control block(BCB) while writing spl image on nand device. Signed-off-by: NShyam Saini <shyam.saini@amarulasolutions.com>
-
由 Igor Opaniuk 提交于
Implementation of pmic_get() uses uclass_find_device_by_name(), which behaviour was changed in 4213609c ("drivers: core: use strcmp when find device by name"). Now we have to supply full node name with unit address. Fixes boot issue: U-Boot 2019.07-00788-g0ef6e69a1e-dirty (Jul 19 2019 - 15:27:02 +0300) CPU: Freescale i.MX7D rev1.3 1000 MHz (running at 792 MHz) CPU: Extended Commercial temperature grade (-20C to 105C) at 41C Reset cause: POR DRAM: 512 MiB initcall sequence 9ffd3a4c failed at call 87803c61 (err=-19) ERROR Please RESET the board Fixes: 4213609c("drivers: core: use strcmp when find device by name") Signed-off-by: NIgor Opaniuk <igor.opaniuk@toradex.com> Reviewed-by: NOleksandr Suvorov <oleksandr.suvorov@toradex.com>
-
由 Sjoerd Simons 提交于
When building a FIT image for SPL to load also take into account the configured external offset. This allows the SPL to load the u-boot FIT image correctly when configuring SECURE_BOOT on i.mx6 is enabled (with CONFIG_FIT_EXTERNAL_OFFSET=0x3000). Note this doesn't allow secure booting; but it does allow an unsigned SPL/u-boot with secure boot support eanbled to boot on open device. Signed-off-by: NSjoerd Simons <sjoerd.simons@collabora.co.uk>
-
由 Igor Opaniuk 提交于
Remove legacy sdboot wrapper as distroboot can be used instead. Signed-off-by: NIgor Opaniuk <igor.opaniuk@toradex.com>
-
由 Igor Opaniuk 提交于
Remove legacy sdboot wrapper as distroboot can be used instead. Signed-off-by: NIgor Opaniuk <igor.opaniuk@toradex.com>
-
由 Igor Opaniuk 提交于
Remove legacy sdboot wrapper as distroboot can be used instead. Signed-off-by: NIgor Opaniuk <igor.opaniuk@toradex.com>
-
由 Igor Opaniuk 提交于
Remove legacy sdboot wrapper as distroboot can be used instead. Signed-off-by: NIgor Opaniuk <igor.opaniuk@toradex.com>
-
由 Ye Li 提交于
Modify the SPL TEXT base from OCRAM alias to OCRAM base 0x100000, so we can use full OCRAM not limit to 96KB Signed-off-by: NYe Li <ye.li@nxp.com> Reviewed-by: NOleksandr Suvorov <oleksandr.suvorov@toradex.com>
-
由 Ye Li 提交于
When running SPL on iMX8, the A core starts at address 0 which is a alias to OCRAM 0x100000. The alias only map first 96KB of OCRAM, so this require the SPL size can't beyond 96KB. But when using SPL DM, the size increase significantly and may exceed 96KB. So to fix the problem, we will change SPL linker address to OCRAM address 0x100000. And then jump to the absolute address not the PC relative address for entering OCRAM. Signed-off-by: NYe Li <ye.li@nxp.com> Reviewed-by: NOleksandr Suvorov <oleksandr.suvorov@toradex.com>
-
由 Lukasz Majewski 提交于
This patch updates envs responsible for using USB pendrive as a SWUpdate based tool for recovery and update. Signed-off-by: NLukasz Majewski <lukma@denx.de>
-
由 Lukasz Majewski 提交于
This patch converts the TPC70 to use driver model and device tree description in both SPL and u-boot proper. Notable changes (DM/DTS conversion): - PINCTRL{_IMX6} - DM_I2C - enable 'regulator' and 'pmic' commands - DM_MMC and BLK (USDHC) - DM_ETH - DM WDT (including SYSRESET) Signed-off-by: NLukasz Majewski <lukma@denx.de>
-
由 Lukasz Majewski 提交于
This commit adds new file - imx6q-kp-u-boot.dtsi with a set of u-boot specific properties for imx6q KP device. Signed-off-by: NLukasz Majewski <lukma@denx.de>
-
由 Lukasz Majewski 提交于
This commit defines the TPC70 imx6q board with device tree description. Signed-off-by: NLukasz Majewski <lukma@denx.de>
-
由 Lukasz Majewski 提交于
This change sets the default state of LEDs on TPC70. Signed-off-by: NLukasz Majewski <lukma@denx.de>
-
由 Lukasz Majewski 提交于
This is a cosmetic change, just to use proper define instead of magic numbers. Signed-off-by: NLukasz Majewski <lukma@denx.de>
-
由 Lukasz Majewski 提交于
The TPC70 can boot from SD card (debug/development) and eMMC (production). The board_boot_order() function provides a run time check for the device from which one wants to boot (it is selected by GPIO pins setup). Moreover, a fallback to SD card is provided if the detection is not possible or working properly. Signed-off-by: NLukasz Majewski <lukma@denx.de>
-
由 Lukasz Majewski 提交于
The TPC70 can boot from eMMC's boot0. This patch allows it to update this HW partition's SPL. Signed-off-by: NLukasz Majewski <lukma@denx.de>
-
由 Lukasz Majewski 提交于
Signed-off-by: NLukasz Majewski <lukma@denx.de>
-
由 Jun Nie 提交于
Support distro boot for pico imx7d in FIT image case. Signed-off-by: NJun Nie <jun.nie@linaro.org> Tested-by: NJoris Offouga <offougajoris@gmail.com>
-
由 Jun Nie 提交于
Add config to enable CAAM so that hardware random number generator works. Signed-off-by: NJun Nie <jun.nie@linaro.org>
-
由 Adam Ford 提交于
With the OCRAM expanded to 256KB and the SPL_PINCTRL enabled with -u-boot.dtsi entries to include the pinmuxing in SPL, the manual code setting up the pinmux can go away. This patch removes the legacy pinmuxing code from the board file. Signed-off-by: NAdam Ford <aford173@gmail.com> Reviewed-by: NFabio Estevam <festevam@gmail.com>
-
由 Adam Ford 提交于
With the 256KB of OCRAM available to SPL now, there should be enough room to enable the pinmuxing in SPL from the device tree. This patch enables SPL_PINCTRL et al and adds the serial and usdhc pin mux references to the -u-boot.dtsi file so the pins can be configured from the device tree. Signed-off-by: NAdam Ford <aford173@gmail.com> Reviewed-by: NFabio Estevam <festevam@gmail.com> Reviewed-by: NPeng Fan <peng.fan@nxp.com>
-
由 Adam Ford 提交于
Since this board config only supports, the i.MX6D/i.MX6Q configurations, 256K of on-chip RAM is available which increases the space available to SPL to help further reduce board code and further enable device tree functions. This patch enables 256K of RAM. Signed-off-by: NAdam Ford <aford173@gmail.com> Reviewed-by: NFabio Estevam <festevam@gmail.com>
-
由 Soeren Moch 提交于
So we can remove lots of legacy config code. Signed-off-by: NSoeren Moch <smoch@web.de>
-
由 Soeren Moch 提交于
So we can get rid of legacy pci config code. PCI_PNP is not required for this board, remove it to reduce the size of the u-boot binary. DM_PCI does not start the host controller automatically anymore. Do so in preboot instead. Signed-off-by: NSoeren Moch <smoch@web.de>
-
由 Soeren Moch 提交于
Signed-off-by: NSoeren Moch <smoch@web.de>
-
由 Sjoerd Simons 提交于
Both the distro boot configuration as well as the general pxe support standardized on fdtfile as the variable to hold the dtb filename. Adjust to follow that such that e.g. "pxe boot" will just work. Signed-off-by: NSjoerd Simons <sjoerd.simons@collabora.co.uk>
-
由 Shawn Guo 提交于
The Meerkat96 board, based on the NXP i.MX7D SoC, is a member of 96Boards community and complies with all Consumer Edition board specifications. https://www.novtech.com/products/meerkat96.html https://www.96boards.org/product/imx7-96/ The initial supported/tested devices include: - Debug serial - SD - USB Host (with Ethernet) With these support, it's good enough for loading Linux Kernel from SD or Ethernet over USB. Signed-off-by: NShawn Guo <shawn.guo@linaro.org> Reviewed-by: NPeng Fan <peng.fan@nxp.com> Tested-by: NManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
-
由 Shawn Guo 提交于
It imports device tree source of meerkat96 board from Linux Kernel. Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
-
- 13 10月, 2019 1 次提交
-
-
由 Tom Rini 提交于
We don't need to pull in anything from the MIPS job so exclude that from the new bcm job and make it clear it's building only ARM. Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 12 10月, 2019 6 次提交
-
-
https://gitlab.denx.de/u-boot/custodians/u-boot-x86由 Tom Rini 提交于
- Remember the device being emulated for Sandbox PCI - Update Kconfig options for FSP 1.0 - Drop RESET_BASE and RESET_SEG_SIZE that are no longer used
-
由 Tom Rini 提交于
- Assorted cleanups - FAT bugfixes - mediatek platform updates
-
由 Tom Rini 提交于
- Various improvements to dra7xx, keystone 3, am65x SoCs - Platform updates - remoteproc improvements
-
由 Marek Szyprowski 提交于
Add support for quad (64bits) memory access specifier. Signed-off-by: NMarek Szyprowski <m.szyprowski@samsung.com> Acked-by: NLukasz Majewski <lukma@denx.de>
-
由 Heinrich Schuchardt 提交于
If out of memory, return -1 and not -ENOMEM from get_contents(). Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
-
由 Heinrich Schuchardt 提交于
When hitting an invalid FAT cluster while reading a file always print an error message and return an error code. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
-