23 Jan, 2020
1 commit
-
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
09 Dec, 2019
1 commit
-
Fixes for 2020.01
------------------ imx8qxp_mek: increase buffer sizes and args number
- Fixes for imx7ulp
- imx8mm: Fix the first root clock in imx8mm_ahb_sels[]
- colibri_imx7: reserve DDR memory for Cortex-M4
- vining2000: fixes and convert to ethernet DM
- imx8m: fix rom version check to unbreak some B0 chips
- tbs2910: Disable VxWorks image booting support
06 Dec, 2019
1 commit
-
U-Boot binary has grown in such a way that it goes beyond the reserved
area for the environment variables.Running "saveenv" followed by a "reset" causes U-Boot to hang because
of this overlap.Fix this problem by increasing the CONFIG_ENV_OFFSET size.
Also, in order to prevent this same problem in the future, use
CONFIG_BOARD_SIZE_LIMIT, which will detect the overlap in build-time.CONFIG_BOARD_SIZE_LIMIT does not accept math expressions, so declare
CONFIG_ENV_OFFSET with its direct value instead.Signed-off-by: Fabio Estevam
Acked-by: Pierre-Jean Texier
Tested-by: Pierre-Jean Texier
Acked-by: Joris Offouga
Tested-by: Joris Offouga
04 Dec, 2019
1 commit
-
Like in Linux, just use CONFIG_MTD to compile the MTD stack.
Signed-off-by: Miquel Raynal
Reviewed-by: Boris Brezillon
21 Nov, 2019
2 commits
-
- In ARMv8 NXP Layerscape platforms we also need to make use of
CONFIG_SYS_RELOC_GD_ENV_ADDR now, do so.
- On ENV_IS_IN_REMOTE, CONFIG_ENV_OFFSET is never used, drop the define
to 0.
- Add Kconfig entry for ENV_ADDR.
- Make ENV_ADDR / ENV_OFFSET depend on the env locations that use it.
- Add ENV_xxx_REDUND options that depend on their primary option and
SYS_REDUNDAND_ENVIRONMENT
- On a number of PowerPC platforms, use SPL_ENV_ADDR not CONFIG_ENV_ADDR
for the pre-main-U-Boot environment location.
- On ENV_IS_IN_SPI_FLASH, check not for CONFIG_ENV_ADDR being set but
rather it being non-zero, as it will now be zero by default.
- Rework the env_offset absolute in env/embedded.o to not use
CONFIG_ENV_OFFSET as it was the only use of ENV_OFFSET within
ENV_IS_IN_FLASH.
- Migrate all platforms.Cc: Wolfgang Denk
Cc: Joe Hershberger
Cc: Patrick Delaunay
Cc: uboot-stm32@st-md-mailman.stormreply.com
Signed-off-by: Tom Rini
Acked-by: Joe Hershberger
Reviewed-by: Simon Goldschmidt -
Today in initr_reloc_global_data() we use some non-obvious tests to
determine if we need to relocate the env_addr within gd or not. In
order to facilitate migration of other symbols to Kconfig we need to
introduce a new symbol for this particular use case.Cc: Wolfgang Denk
Cc: Joe Hershberger
Signed-off-by: Tom Rini
08 Nov, 2019
1 commit
-
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
08 Oct, 2019
1 commit
-
CONFIG_SECURE_BOOT is too generic and forbids to use it for cross
architecture purposes. If Secure Boot is required for imx, this means to
enable and use the HAB processor in the soc.Signed-off-by: Stefano Babic
24 Aug, 2019
1 commit
-
This converts the following to Kconfig:
CONFIG_FSL_USDHCSigned-off-by: Adam Ford
[trini: Add IMX8M, TARGET_S32V234EVB to FSL_USDHC list]
Signed-off-by: Tom Rini
23 Jun, 2019
1 commit
-
Converted to use fsl_esdhc_imx for i.MX platforms.
Signed-off-by: Yangbo Lu
Tested-by: Steffen Dirkwinkel
Reviewed-by: Peng Fan
Reviewed-by: Lukasz Majewski
Reviewed-by: Martyn Welch
Acked-by: Jason Liu
05 May, 2019
1 commit
-
This converts the following to Kconfig:
CONFIG_SUPPORT_EMMC_BOOTAs requested by Michal Simek , these boards
have no eMMC so CONFIG_SUPPORT_EMMC_BOOT has not been migrated:xilinx_zynqmp_zc1275_revB
xilinx_zynqmp_zc1751_xm018_dc4
xilinx_zynqmp_zc1751_xm019_dc5
xilinx_zynqmp_zcu100_revC
xilinx_zynqmp_zcu102_rev1_0
xilinx_zynqmp_zcu102_revA
xilinx_zynqmp_zcu102_revB
xilinx_zynqmp_zcu104_revA
xilinx_zynqmp_zcu104_revC
xilinx_zynqmp_zcu106_revA
xilinx_zynqmp_zcu111_revASigned-off-by: Alex Kiernan
Acked-by: Lukasz Majewski
Acked-by: Patrick Delaunay
Acked-by: Ramon Fried
Reviewed-by: Andy Shevchenko
Tested-by: Sébastien Szymanski
01 May, 2019
1 commit
-
Porting to DM and i.MX8
------------------------- warp7 to DM
- kp_imx53 to DM
- Warnings in DT
- MX8QM support
- colibri-imx6ull to DM
- imx7d-pico to DM
- ocotp for MX8
30 Apr, 2019
1 commit
-
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
26 Apr, 2019
2 commits
-
This commit switches to DM USB for warp7 and warp7_bl33 defconfigs.
Signed-off-by: Pierre-Jean Texier
Signed-off-by: Joris Offouga
Reviewed-by: Fabio Estevam -
This commit switches to DM SERIAL for warp7 and warp7_bl33 defconfigs.
Signed-off-by: Pierre-Jean Texier
Signed-off-by: Joris Offouga
Reviewed-by: Fabio Estevam
08 Feb, 2019
1 commit
-
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
29 Jan, 2019
5 commits
-
This patch converts the warp7 and warp7_bl33 board ports over to using the
DM PMIC model.Signed-off-by: Bryan O'Donoghue
Reviewed-by: Peng Fan
Cc: Peng Fan
Cc: Fabio Estevam
Cc: Stefano Babic -
This commit switches to DM I2C for warp7 and warp7_bl33 defconfigs.
Signed-off-by: Bryan O'Donoghue
Reviewed-by: Peng Fan
Cc: Peng Fan
Cc: Fabio Estevam
Cc: Stefano Babic -
Switches on the IMX7 pinctrl driver for the warp7 and warp7_bl33 ports,
necessary to convert over to DM for this board.It is necessary to switch on pinctrl and GPIO in one go.
Signed-off-by: Bryan O'Donoghue
Cc: Peng Fan
Cc: Fabio Estevam
Cc: Stefano Babic -
Converts from fixed initialization of MMC to DM initialization of MMC.
Signed-off-by: Bryan O'Donoghue
Cc: Albert Aribaud
Cc: Peng Fan
Cc: Fabio Estevam
Cc: Stefano Babic -
This patch adds DT file hooks for imx7s-warp.dtb to the warp7 and
warp7_bl33 builds.Signed-off-by: Bryan O'Donoghue
Reviewed-by: Peng Fan
Cc: Albert Aribaud
Cc: Peng Fan
Cc: Fabio Estevam
Cc: Stefano Babic
19 Jan, 2019
1 commit
-
The bounce buffer is used by a few drivers (most of the MMC drivers)
to overcome limitations in their respective DMA implementation.This moves the configuration to Kconfig and makes it user-selectable
(even though it will be a required feature to make those drivers
work): the expected usage is for drivers depending on this to 'select'
it unconditionally from their respective Kconfig (see follow-up
patches).This commit includes a full migration using moveconfig.py to ensure
that each commit compiles. To ensure bisectability we update
dependencies of various drivers to now select BOUNCE_BUFFER when needed.[trini: Squash all patches to ensure bisectability]
Signed-off-by: Tom Rini
Signed-off-by: Philipp Tomsich
Reviewed-by: Otavio Salvador [dw_mmc portion]
Reviewed-by: Fabio Estevam [mxsmmc portion]
Reviewed-by: Simon Glass [tegra portion]
17 Dec, 2018
1 commit
-
This enable FIT image support.
Signed-off-by: Pierre-Jean Texier
14 Nov, 2018
1 commit
-
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
22 Oct, 2018
1 commit
-
We may have, the not yet considered, scenario where OPTEE is loaded before
u-boot and *not* by u-boot, e.g, the boot flow using the ARM Trusted
Firmware (ATF), where in the 32bit flow is:
BootRom->ATF(BL2)->Optee(BL32)->u-boot(BL33)In this case we need still to reserve the memory used by optee, to avoid
for example to realocate ourself to the same address at the end of DRAM.
So, we change here the dependencies on the OPTEE lib and we set the default
size and base of TZRAM to zero.Signed-off-by: Rui Miguel Silva
Signed-off-by: Bryan O'Donoghue
Cc: Fabio Estevam
Cc: Ryan Harkin
Cc: u-boot@lists.denx.de
17 Aug, 2018
1 commit
-
We have the following cases:
- CONFIG_NR_DRAM_BANKS was defined, migrate normally
- CONFIG_NR_DRAM_BANKS_MAX was defined and then used for
CONFIG_NR_DRAM_BANKS after a check, just migrate it over now.
- CONFIG_NR_DRAM_BANKS was very oddly defined on p2771-0000-* (to 1024 +
2), set this to 8.Signed-off-by: Tom Rini
08 Aug, 2018
1 commit
-
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
04 Jun, 2018
1 commit
-
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
26 Apr, 2018
7 commits
-
Booting the following image with tip-of-tree we get a CAAM DECO error (and
subsequent crash due to a kernel bug in 4.1).http://freescale.github.io/#download -> BoardsWaRPboard community - WaRP -
Wearable Reference PlatformFSL Community BSP 2.3fsl-image-multimediawaylandImage: fsl-image-multimedia-imx7s-warp-20180323-90.rootfs.sdcard
Error:
caam 30900000.caam: Entropy delay = 3200
caam 30900000.caam: failed to acquire DECO 0caam 30900000.caam: failed to acquire DECO 0
caam 30900000.caam: Entropy delay = 12400
caam 30900000.caam: failed to acquire DECO 0
caam 30900000.caam: failed to instantiate RNG
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at
/home/jenkins/workspace/fsl-community-bsp-pyro_xwayland_2/build/tmp/work-shared/imx7s-warp/kernel-source/mm/vmalloc.c:1465
caam_remove+0x6)
Trying to vfree() nonexistent vm area (88047000)
Modules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted
4.1.36-4.1-1.0.x-imx-warp7+ga543d1b #1
Hardware name: Freescale i.MX7 Dual (Device Tree)
[] (unwind_backtrace) from [] (show_stack+0x10/0x14)
[] (show_stack) from [] (dump_stack+0x78/0x8c)
[] (dump_stack) from []
(warn_slowpath_common+0x80/0xb0)
[] (warn_slowpath_common) from []
(warn_slowpath_fmt+0x30/0x40)
[] (warn_slowpath_fmt) from [] (caam_remove+0x6c/0x3f4)
[] (caam_remove) from [] (caam_probe+0x874/0xfa8)
[] (caam_probe) from [] (platform_drv_probe+0x48/0xa4)
[] (platform_drv_probe) from []
(driver_probe_device+0x174/0x2a8)
[] (driver_probe_device) from []
(__driver_attach+0x8c/0x90)
[] (__driver_attach) from []
(bus_for_each_dev+0x68/0x9c)
[] (bus_for_each_dev) from []
(bus_add_driver+0xf4/0x1e8)
[] (bus_add_driver) from [] (driver_register+0x78/0xf4)
[] (driver_register) from []
(do_one_initcall+0x8c/0x1d0)
[] (do_one_initcall) from []
(kernel_init_freeable+0x140/0x1d0)
[] (kernel_init_freeable) from []
(kernel_init+0x8/0xe8)
[] (kernel_init) from [] (ret_from_fork+0x14/0x2c)
---[ end trace d5f941204ed8cb28 ]---
caam: probe of 30900000.caam failed with error -11
Unable to handle kernel NULL pointer dereference at virtual address
00000004
pgd = 80004000
[00000004] *pgd=00000000
Internal error: Oops: 805 [#1] PREEMPT SMP ARM[] (caam_sm_startup) from [] (caam_sm_init+0x50/0x58)
[] (caam_sm_init) from [] (do_one_initcall+0x8c/0x1d0)
[] (do_one_initcall) from []
(kernel_init_freeable+0x140/0x1d0)
[] (kernel_init_freeable) from []
(kernel_init+0x8/0xe8)
[] (kernel_init) from [] (ret_from_fork+0x14/0x2c)
Code: e59d300c e2832010 e5843008 e5834068 (e58a2004)
---[ end trace d5f941204ed8cb29 ]---
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000bFix: Enable the CAAM correctly by setting CONFIG_ARMV7_BOOT_SEC_DEFAULT=y
in the upstream defconfig.Signed-off-by: Bryan O'Donoghue
Cc: Fabio Estevam
Cc: Breno Lima
Reviewed-by: Fabio Estevam
Tested-by: Breno Lima -
setexpr allows us to do arithmetic for env variables - something that is
both useful and required when doing HAB authentication without hard-coding
HAB load addresses.This patch enables CMD_SETEXPR for the WaRP7 defconfig.
Signed-off-by: Bryan O'Donoghue
Tested-by: Breno Lima
Reviewed-by: Fabio Estevam -
This patch enables CONFIG_BOOTM_TEE. Once enabled its possible to
chain-load Linux through OPTEE.Loading kernel to 0x80800000
=> run loadimageLoad FDT to 0x83000000
=> run loadfdtLoad OPTEE to 0x84000000
=> fatload mmc 0:5 0x84000000 /lib/firmware/uTee.opteeThen chain-load to the kernel via OPTEE
=> bootm 0x84000000 - 0x83000000
Image Name:
Image Type: ARM Trusted Execution Environment Kernel Image (uncompressed)
Data Size: 249844 Bytes = 244 KiB
Load Address: 9dffffe4
Entry Point: 9e000000
Verifying Checksum ... OK
Loading Kernel Image ... OKSigned-off-by: Bryan O'Donoghue
Tested-by: Breno Lima
Reviewed-by: Fabio Estevam -
Various function associated with booting the WaRP7 in High Assurance Boot
(HAB) mode are enabled by switching on CONFIG_SECURE_BOOT.This patch enables CONFIG_SECURE_BOOT for the WaRP7 defconfig.
Signed-off-by: Bryan O'Donoghue
Tested-by: Breno Lima
Reviewed-by: Fabio Estevam -
In order to sign images with the IMX code-signing-tool (CST) we need to
know the load address of a given image. The best way to derive this load
address is to make it into a define - so that u-boot.cfg contains the
address - which we can then parse when generating the IMX CST headers.This patch makes the OPTEE_LOAD_ADDR available via u-boot.cfg for further
parsing by external tools.Signed-off-by: Bryan O'Donoghue
Reviewed-by: Ryan Harkin
Tested-by: Breno Lima
Reviewed-by: Fabio Estevam -
Requires setting CONFIG_OPTEE=y and setting an OPTEE TrustZone DRAM base in
include/configs/warp7.h.Signed-off-by: Bryan O'Donoghue
Tested-by: Breno Lima
Reviewed-by: Fabio Estevam -
This enable generic file system commands (load, ls).
Signed-off-by: Pierre-Jean TEXIER
Reviewed-by: Fabio Estevam
Acked-by: Bryan O'Donoghue
09 Apr, 2018
1 commit
-
Migrate the CONFIG_FSL_ESDHC option to Kconfig.
Signed-off-by: Mario Six
11 Feb, 2018
1 commit
-
On the NIOS2 and Xtensa architectures, we do not have
CONFIG_SYS_TEXT_BASE set. This is a strict migration of the current
values into the defconfig and removing them from the headers.I did not attempt to add more default values in and for now will leave
that to maintainers.Signed-off-by: Tom Rini
11 Oct, 2017
1 commit
-
Having this as a 'default y' is rather annoying because it doesn't
actually compile unless other options are defined in the board header:../cmd/bootm.c: In function 'do_imls_nor':
../cmd/bootm.c:330:7: error: 'CONFIG_SYS_MAX_FLASH_BANKS' undeclared (first use in this function); did you mean 'CONFIG_SYS_MAX_FLASH_SECT'?
i < CONFIG_SYS_MAX_FLASH_BANKS; ++i, ++info) {Make it 'default n' so people who develop new boards that start from a
blank defconfig have one less compilation failure to debug.Signed-off-by: Tuomas Tynkkynen
04 Oct, 2017
2 commits
-
The g_dnl USB settings for the vendor ID, product ID and manufacturer are
actually common settings that can and should be shared by all the gadgets.Make them common by renaming them, and convert all the users.
Reviewed-by: Simon Glass
Reviewed-by: Lukasz Majewski
Signed-off-by: Maxime Ripard -
We need to select an interface for the usb_ether gadget, and they haven't
been converted to Kconfig yet. Add a choice to make sure we have an option
selected, and convert all the users.Reviewed-by: Łukasz Majewski
Reviewed-by: Simon Glass
Signed-off-by: Maxime Ripard