- 08 10月, 2019 40 次提交
-
-
由 Otavio Salvador 提交于
This add the boot menu option for the NYMPH baseboard as well as a specific config file for users which wish to use it as a pre-defined board. Signed-off-by: NOtavio Salvador <otavio@ossystems.com.br>
-
由 Otavio Salvador 提交于
This add the boot menu option for the DWARF baseboard as well as a specific config file for users which wish to use it as a pre-defined board. Signed-off-by: NOtavio Salvador <otavio@ossystems.com.br>
-
由 Fabio Berton 提交于
Update pico-hobbit-imx7d_defconfig using pico-imx7d_defconfig as base to fix device tree file generation. With this all pico-imx7d are creating u-boot-dtb.img files. Signed-off-by: NFabio Berton <fabio.berton@ossystems.com.br>
-
由 Fabio Estevam 提交于
When CONFIG_SPL_OS_BOOT is selected, it is still convenient to be able to escape from Falcon mode and boot to U-Boot proper. Add a mechanism that allows booting in U-Boot proper when the key 'c' is entered on console at boot time. Signed-off-by: NFabio Estevam <festevam@gmail.com> Signed-off-by: NOtavio Salvador <otavio@ossystems.com.br>
-
由 Fabio Estevam 提交于
Sync the Falcon mode instructions with the ones fro pico-imx7d. Signed-off-by: NFabio Estevam <festevam@gmail.com> Signed-off-by: NOtavio Salvador <otavio@ossystems.com.br>
-
由 Fabio Estevam 提交于
Add support for the VXT VL050-8048NT-C01 panel connected through the 24 bit parallel LCDIF interface. Signed-off-by: NFabio Estevam <festevam@gmail.com> Signed-off-by: NOtavio Salvador <otavio@ossystems.com.br>
-
由 Fabio Estevam 提交于
U-Boot binary has grown in such a way that it goes beyond the reserved area for the environment variables. Running "saveenv" 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: NFabio Estevam <festevam@gmail.com> Signed-off-by: NFabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: NOtavio Salvador <otavio@ossystems.com.br>
-
由 Otavio Salvador 提交于
This add the boot menu option for the DWARF baseboard as well as a specific config file for users which wish to use it as a pre-defined board. Signed-off-by: NOtavio Salvador <otavio@ossystems.com.br>
-
由 Stefano Babic 提交于
This reverts commit 62a52f3f85bf33e286632e99f0d39b2c166af0c4.
-
由 Breno Matheus Lima 提交于
Currently it's not possible to authenticate the U-Boot proper of mx6ul_14x14_evk_defconfig target: Authenticate image from DDR location 0x877fffc0... bad magic magic=0x0 length=0x00 version=0x3 bad length magic=0x0 length=0x00 version=0x3 bad version magic=0x0 length=0x00 version=0x3 spl: ERROR: image authentication fail Commit 0633e134 ("imx: hab: Increase CSF_SIZE for i.MX6 and i.MX7 devices") has increased CSF_SIZE to avoid a possible issue when booting encrypted boot images. Commit d21bd69b ("tools: mkimage: add firmware-ivt image type for HAB verification") is hardcoding the CSF and IVT sizes, the new CSF size is not being considered and u-boot-ivt.img fails to boot. Avoid hardcoded CSF and IVT size to fix this issue. Signed-off-by: NBreno Lima <breno.lima@nxp.com> Reviewed-by: NFabio Estevam <festevam@gmail.com>
-
由 Peng Fan 提交于
i.MX8QM does not share same FUSE MAC word index, so update the word index for i.MX8QM. Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Peng Fan 提交于
Move cpu desc code to cpu driver directory and name it imx8_cpu.c No functional change. Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Peng Fan 提交于
Add sc_pm_is_partition_started to check whether a partition has been started. This will be used to detect M4 partition booted up or not, then we could choose which dtb to use. If M4 is up, we need use dtb, such as imx8qm-mek-rpmsg.dtb. Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Peng Fan 提交于
Add OP-TEE device tree node for Linux according to args passed from ATF. If ATF has been built with OP-TEE running, boot_pointer[1] will indicate that. Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Peng Fan 提交于
We use information from ATF to know whether OP-TEE is running or not. So save args passed from ATF. Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Peng Fan 提交于
On i.MX8QM, sid is programmable, so we could program sid according the value encoded in device tree. This patch support legacy bindings which are still being used by XEN and new bindings used by Linux Kernel. Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Peng Fan 提交于
Add sc_rm_set_master_sid to set stream sid of masters to make sure they could use smmu. Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Peng Fan 提交于
Enable CONFIG_OF_SYSTEM_SETUP to let U-Boot could disable device tree nodes that could not be used by Linux. Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Peng Fan 提交于
When resource is not assigned to non-secure Linux, if linux continue to use the node, linux may crash or hang. So need to set the node status to disabled for not owned resources. The resource id is in the power-domains property in device tree, so parse the power-domains property to get the resource id and use scfw api to check whether it is owned by current partition. Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Peng Fan 提交于
imx8qm-mek.dtb is the correct fdt file, not fsl-imx8qxp-mek.dtb Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Peng Fan 提交于
There is SMMU in i.MX8QM. To use SMMU in Linux, need power up it. Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Peng Fan 提交于
Add is_imx8qm helper which could be used by SoC and Driver code. Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Ye Li 提交于
Since SCU MU driver has been bound in dm_init, so we don't need to bind it again. Just replace by using uclass function to probe it. Signed-off-by: NYe Li <ye.li@nxp.com> Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Peng Fan 提交于
Introduce i.MX8 container set configuration file and add example Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Peng Fan 提交于
Because FIT could not be used for AHAB secure boot on i.MX8, so switch to use container image that could let SPL verify ATF and U-Boot with AHAB. Enable HUSH_PARSER in defconfig to make run netboot could work. Note: The AHAB related code has not been added. Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Peng Fan 提交于
Because FIT could not be used for AHAB secure boot on i.MX8, so switch to use container image that could let SPL verify ATF and U-Boot with AHAB. Note: The AHAB related code has not been added. Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Peng Fan 提交于
To support SPL loading container file, add a new Makefile target, and introduce a new Kconfig file to source the cfg file which will be parsed by mkimage. Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Peng Fan 提交于
i.MX8 only support AHAB secure boot with Container format image, we could not use FIT to support secure boot, so introduce container support to let SPL could load container images. Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Cc: Tien Fong Chee <tien.fong.chee@intel.com> Cc: York Sun <york.sun@nxp.com> Cc: Marek Vasut <marex@denx.de> Cc: Alex Kiernan <alex.kiernan@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Cc: Kever Yang <kever.yang@rock-chips.com> Cc: Heiko Schocher <hs@denx.de> Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Peng Fan 提交于
Add parsing i.MX8 Container file support, this is to let SPL could load images in a container file to destination address. Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Peng Fan 提交于
The first stage of flash.bin is larger than 584 * 512, so when writting u-boot.itb, some data will be override. Enlarge the CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR to fix boot. Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Peng Fan 提交于
The changes were added by following patch: commit <9002e735> ("imx: mx6sabresd: fix boot hang with video") commit <f45ec8fc> ("imx6: dts: add 'u-boot, dm-pre-reloc' to soc and ipu nodes") Let's move the U-Boot specific change to imx6qdl-u-boot.dtsi Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Peng Fan 提交于
Enable CONFIG_DM_REGULATOR_FIXED to let vbus regulator work. Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Breno Matheus Lima 提交于
Since commit 6e1f4d26 ("arm: imx-common: add SECURE_BOOT option to Kconfig") the SECURE_BOOT option is selected through Kconfig. Cleanup comments in code to align with this change. Signed-off-by: NBreno Lima <breno.lima@nxp.com> Reviewed-by: NFabio Estevam <festevam@gmail.com>
-
由 Breno Matheus Lima 提交于
In case CONFIG_SECURE_BOOT is enabled we need to limit the SPL size to avoid a possible HAB failure event: --------- HAB Event 1 ----------------- event data: 0xdb 0x00 0x14 0x42 0x33 0x22 0x33 0x00 0x00 0x00 0x00 0x0f 0x00 0x90 0x70 0x00 0x00 0x01 0x10 0x00 STS = HAB_FAILURE (0x33) RSN = HAB_INV_ADDRESS (0x22) CTX = HAB_CTX_TARGET (0x33) ENG = HAB_ENG_ANY (0x00) As explained in Commit 23612534 ("spl: imx6: Provide a SPL_SIZE_LIMIT default") the i.MX6 SPL size limit is 68KB. The ROM code is copying the image size defined in boot data to its respective load address, in case we exceed the OCRAM free region a HAB invalid address failure event is generated. The maximum CSF size is defined in CONFIG_CSF_SIZE, reduce SPL size limit based on this configuration. Signed-off-by: NBreno Lima <breno.lima@nxp.com> Reviewed-by: NFabio Estevam <festevam@gmail.com>
-
由 Breno Matheus Lima 提交于
Move CONFIG_CSF_SIZE to Kconfig and define default value as 0x4000. mx8mqevk requires 0x2000 add this configuration in imx8mq_evk_defconfig file. Signed-off-by: NBreno Lima <breno.lima@nxp.com> Reviewed-by: NFabio Estevam <festevam@gmail.com>
-
由 Fabio Estevam 提交于
Currently the SPL binary is 67 kB, which leaves only 1 kB of free internal RAM space. The following options can be safely removed to save some precious SPL space: - CONFIG_SPL_FS_EXT4: u-boot-dtb.img is stored in raw sector via dd command (at offset 69 kB) - CONFIG_SPL_I2C_SUPPORT: I2C is not used during SPL - CONFIG_SPL_OS_BOOT: no need to make Falcon mode supported by default After this change the SPL binary size gets down to 51 kB. Signed-off-by: NFabio Estevam <festevam@gmail.com> Reviewed-by: NPeng Fan <peng.fan@nxp.com>
-
由 Ye Li 提交于
On i.MX7ULP B0, there is change in NIC clock dividers architecture. On A0, the NIC1 BUS and EXT dividers were in a chain with NIC1 DIV, but on B0 they are parallel with NIC1 DIV. So now the dividers are independent. This patch modifies the scg_nic_get_rate function according to this change. Signed-off-by: NYe Li <ye.li@nxp.com> Acked-by: NPeng Fan <peng.fan@nxp.com>
-
由 Ye Li 提交于
The normal target frequency for ULP A7 core is 500Mhz, but now ROM set the core frequency to 413Mhz. So change it to 500Mhz in u-boot. Signed-off-by: NYe Li <ye.li@nxp.com> Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Peng Fan 提交于
Since there is no register for CPU revision, we use ROM version to check the A0 or B0 chip. Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Ye Li 提交于
The GPU uses APLL PFD2 as its clock parent (483.84Mhz) with divider set to 1. This frequecy is out of ULP A0 spec. The MAX rate for GPU is 350Mhz. So we simply configure the APLL PFD2 to 345.6Mhz (FRAC=28) to workaround the problem. The correct fix should let GPU handle the clock rate in kernel. Signed-off-by: NYe Li <ye.li@nxp.com> Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-