- 06 Aug, 2018 1 commit
-
-
Han Xu authored
enable fastboot for i.MX8MM flexspi u-boot Signed-off-by:
Han Xu <han.xu@nxp.com> (cherry picked from commit ea221c08862666926e613f649359905400773d9c)
-
- 03 Aug, 2018 1 commit
-
-
Jun Li authored
Always use the new added config for os_desc_config to fix cdev-> os_desc_config may miss set in case we restart usb gadget driver. Signed-off-by:
Li Jun <jun.li@nxp.com> (cherry picked from commit e8efb32e9b7a4fe45c7f21e86052c7f5bcdb6695)
-
- 27 Jul, 2018 1 commit
-
-
Ye Li authored
Set the alert temperature = critical temperature - 20C, to avoid looping the temperature at 85C Signed-off-by:
Ye Li <ye.li@nxp.com>
-
- 26 Jul, 2018 1 commit
-
-
Ye Li authored
When enabling NAND boot, the ubi.mtd should be set to 6 because the one mtdpart is added for tee. Also the MFG_NAND_PARTITION is duplicated in mx6qsabreauto.h and mx6sabre_common.h. We can remove it from mx6qsabreauto.h, since only the sabreauto board have NAND. Signed-off-by:
Ye Li <ye.li@nxp.com>
-
- 25 Jul, 2018 1 commit
-
-
Bai Ping authored
dispmix & mipi phy power domain must be enabled before doing any config for lcfif and dsi. Signed-off-by:
Bai Ping <ping.bai@nxp.com>
-
- 23 Jul, 2018 5 commits
-
-
Peng Fan authored
Add jailhouse boot env. run `jh_netboot` or `jh_mmcboot` to boot Linux. Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Peng Fan authored
Add jailhouse boot env. Use `run jh_netboot` or `jh_mmcboot` to boot Linux. Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Masahiro Yamada authored
Adjust ARM SMC Calling Convention code for U-Boot: - Replace the license block with SPDX - Change path to asm-offsets.h - Define UNWIND() as no-op - Add Kconfig entry - Add asm-offsets Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> (cherry picked from commit c54bcf6805cc6762cb998751b8e005f39ee1dad1)
-
Masahiro Yamada authored
Imports ARM SMC Calling Convention code from Linux 4.11-rc6. The files have been copied as follows: [Linux] [U-Boot] arch/arm/kernel/smccc-call.S -> arch/arm/cpu/armv7/smccc-call.S arch/arm64/kernel/smccc-call.S -> arch/arm/cpu/armv8/smccc-call.S arch/arm/include/asm/opcodes* -> arch/arm/include/asm/opcodes* include/linux/arm-smccc.h -> include/linux/arm-smccc.h Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> (cherry picked from commit c2da86f39ed6cbccccc2736bdc421fd606734232)
-
Luo Ji authored
Android build use different tool chain(gcc 4.9) with yocto(gcc 6.2), 'for' loop initial declarations are not supported in C90, define the variable first before use it. Test: build pass for imx8mm_evk. Change-Id: Idf9a9f21626a02e2e679d2e74410378cd143c3f1 Signed-off-by:
Luo Ji <ji.luo@nxp.com>
-
- 20 Jul, 2018 5 commits
-
-
Ye Li authored
We have add a kconfig for northwest mipi dsi driver in MLK-18945, need to enable it in all mx7ulp evk defconfigs, otherwise they will get build errors. Signed-off-by:
Ye Li <ye.li@nxp.com>
-
Bai Ping authored
Refact the lpddr4 init flow on i.MX8MM EVK board. board level only need to provide the necessary dram init related parameter. Signed-off-by:
Bai Ping <ping.bai@nxp.com>
-
Bai Ping authored
the dram init is board related. But there is still some common part can be reused on different board. The basic flow is common for all the board. only the DDRC and DDR PHY config register setting is different on different board. So extract the LPDDR4 init common flow to make it more generic. baord level only need to provide the DDRC and PHY config register parameter to the common code to finish the dram init. the same method can be use for DDR4. will be added later. Signed-off-by:
Bai Ping <ping.bai@nxp.com>
-
Bai Ping authored
Move the SPL bss and malloc base to OCRAM 0x910000. OCRAM_S will be reserved for dram low power purpose. Signed-off-by:
Bai Ping <ping.bai@nxp.com>
-
Luo Ji authored
Add mipi display config CONFIG_IMX_NORTHWEST_MIPI_DSI for evk_7ulp to align with bsp team. Test: build pass for evk_7ulp. Change-Id: I82a15d8874585ad02668cc6afadc43199797e9e1 Signed-off-by:
Luo Ji <ji.luo@nxp.com>
-
- 19 Jul, 2018 6 commits
-
-
Haibo Chen authored
According to RM, usdhc 100MHz pad setting need to set SRE(slew rate field) to 0x01(Medium Frequency Slew Rate 100MHz), usdhc 200MHz pad setting need to set SRE to 0x11(Max Frequency Slew Rate 200MHz). Signed-off-by:
Haibo Chen <haibo.chen@nxp.com>
-
Ye Li authored
Add board level codes for enabling splash screen on imx8mm EVK. We support two different display connecting to MIPI DSI miniSAS interfaces: 1. MIPI2HDMI daughter card (default) 2. RM67191 OLED panel Users can set "panel" env vairable to "MIPI2HDMI" or "RM67191_OLED" to switch them after reboot. Signed-off-by:
Ye Li <ye.li@nxp.com>
-
Ye Li authored
Enable the video PLL (594Mhz) and clocks in displaymix. Add the LCDIF clock set interface to change its dot clock rate. Update registers header file for LCDIF base address. Signed-off-by:
Ye Li <ye.li@nxp.com>
-
Ye Li authored
Update LCDIF driver for integrating with samsung mipi dsi controller on iMX8MM platform. The changes include: 1. Fix build warning for ARM64 platform. 2. Change max outstanding transactions req to 16 for better performance on system bus. 3. Set ENABLE signal to active low for valid data transfer. Signed-off-by:
Ye Li <ye.li@nxp.com>
-
Ye Li authored
Add a mipi dsi panel driver for RM67191 panel which is attached to mipi dsi controller. Signed-off-by:
Ye Li <ye.li@nxp.com>
-
Ye Li authored
Add new mipi dsi driver sec_mipi_dsim to support the samsung mipi dsi used on iMX8MM and iMX7D platforms. This driver implements the interfaces required by mipi dsi bridge. Users can use mipi dsi bridge common APIs to access it. Signed-off-by:
Ye Li <ye.li@nxp.com>
-
- 18 Jul, 2018 5 commits
-
-
Ye Li authored
Setup the mipi_dsi_northwest driver and register a the HX8363 panel device to mipi dsi bridge in board codes. Signed-off-by:
Ye Li <ye.li@nxp.com>
-
Ye Li authored
Remove the functions for northwest driver and HX8363 driver, change to use mipi dsi bridge interfaces. The mipi_dsi_northwest driver setup and hx8363 init will move to board level codes. Signed-off-by:
Ye Li <ye.li@nxp.com>
-
Ye Li authored
Update the HX8363 mipi panel to use new mipi dsi bridge interfaces to register a panel device and send command packets. So this panel driver can decouple with mipi_dsi_northwest driver. A new header file mipi_dsi_panel.h is added for all panel init functions declare. Signed-off-by:
Ye Li <ye.li@nxp.com>
-
Ye Li authored
Update the mipi_dsi_northwest driver to implement mipi dsi bridge interfaces and register it as a bridge controller. Users can call bridge common interfaces to access the northwest driver, don't need to call its private driver functions. We also add a kconfig entry for this driver, the name is changed to CONFIG_IMX_NORTHWEST_MIPI_DSI Signed-off-by:
Ye Li <ye.li@nxp.com>
-
Ye Li authored
Add a mipi dsi bridge driver to abstract mipi dsi interfaces for mipi panel and display controller drivers. So for panel and display conntroller drivers, they can use same functions to access mipi dsi controller. Signed-off-by:
Ye Li <ye.li@nxp.com>
-
- 17 Jul, 2018 1 commit
-
-
Ye Li authored
We can get the bootimage SD/MMC offset at runtime according to the SOC type and version. No need to use CONFIG_BOOTLOADER_OFFSET_33K and CONFIG_BOOTLOADER_OFFSET_32K any longer, so remove them. Signed-off-by:
Ye Li <ye.li@nxp.com>
-
- 16 Jul, 2018 4 commits
-
-
Silvano di Ninno authored
with tzasc enabled, the GPU is generating AXI bus errors. currently reverting the patch while debuging This reverts commit 225f888b . Signed-off-by:
Silvano di Ninno <silvano.dininno@nxp.com>
-
zhang sanshan authored
CONFIG_CMD_RUN is set to n which do not suppert "run". use getenv to pass boot cmd to bootcmd Change-Id: I3866786758b8dd16b2685ec157e8322daa304374 Signed-off-by:
zhang sanshan <sanshan.zhang@nxp.com>
-
Luo Ji authored
Unlocked device maybe locked when gpt overlay changed, unlock the device after valid gpt is flashed, erase the userdata to ensure safety. Test: device unlocked after valid gpt flashed. Change-Id: I7b0306606c632b7dc5668ea1ff8aad63428f278f Signed-off-by:
Luo Ji <ji.luo@nxp.com>
-
Ye Li authored
Get such warning below in fuse driver, due to a u32 pointer is converted to ulong then passed as ulong pointer. This is dangerous when assigning value to the memory where ulong pointer points to. So use a intermediate variable to hand over value. Also fix the indenting issue in this patch. arch/arm/cpu/armv8/imx8/fuse.c: In function ‘fuse_sense’: arch/arm/cpu/armv8/imx8/fuse.c:33:25: warning: passing argument 3 of ‘call_imx_sip_ret2’ makes pointer from integer without a cast [-Wint-conversion] (unsigned long)val, 0, 0); ^ In file included from ./arch/arm/include/asm/arch/sys_proto.h:7:0, from arch/arm/cpu/armv8/imx8/fuse.c:13: ./arch/arm/include/asm/imx-common/sys_proto.h:94:15: note: expected ‘long unsigned int *’ but argument is of type ‘long unsigned int’ unsigned long call_imx_sip_ret2(unsigned long id, unsigned long reg0, unsigned long *reg1, unsigned long reg2, unsigned long reg3); Signed-off-by:
Ye Li <ye.li@nxp.com>
-
- 13 Jul, 2018 2 commits
-
-
Luo Ji authored
"fastboot reboot bootloader" fails to transmit "OKAY" back to host on imx8qm because fastboot_tx_write_str() will dequeue the IN request first before queue it, cdns3 usb driver will always invoke the complete callback in dequeue, so if we are going to do_reset() in the complete callback, the device will reboot before we can transmit "OKAY" back to host in queue. Check the request status in dequeue first before invoke the complete callback, this is basically ported from kernel. Test: No error messages when run "fastboot reboot bootloader" on imx8qm_mek. Change-Id: I085df3bd0f37480b8636585cc1068d5fcae331c1 Signed-off-by:
Luo Ji <ji.luo@nxp.com>
-
Frank Li authored
uuu can write sd card image to emmc Signed-off-by:
Frank Li <Frank.Li@nxp.com>
-
- 12 Jul, 2018 1 commit
-
-
Ye Li authored
In optee enabled defconfig, the trust zone is enabled in DCD. On iMX6UL/ULL, there is IC limitation that LCDIF master access can only be non-secure, because PL301 hard code the m_3/4/5 to non-secure masters. It causes LCDIF fails to fetch data from memory. This patch adds a workaround to change trust zone Region 0 attribute to allow both secure and non-secure read/write. So it permits the LCDIF master access to memory. Since optee will configure Region 0 by itself, this should not introduce problem to optee. Signed-off-by:
Ye Li <ye.li@nxp.com>
-
- 11 Jul, 2018 2 commits
-
-
Frank Li authored
uuu can write to any position of mmc sdps: boot -f ../mkimage_imx8dv/imx-mkimage/iMX8QX/flash.bin FB: ucmd setenv fastboot_dev mmc FB: ucmd setenv mmcdev ${emmc_dev} FB: ucmd mmc dev ${emmc_dev} FB: flash -raw2sparse all xx.sdcard Signed-off-by:
Frank Li <Frank.Li@nxp.com>
-
Ye Li authored
The CONFIG_USB_GADGET is removed from header file and must add to defconfig, but imx8mm_evk_fspi_defconfig is not udpated. Thus it causes build break. Fix the issue and add other missed configs. Since the fastboot does not support flexspi, we don't enable it. Signed-off-by:
Ye Li <ye.li@nxp.com> Reviewed-by:
Peng Fan <peng.fan@nxp.com>
-
- 09 Jul, 2018 2 commits
-
-
Peng Fan authored
Add jailhouse env. Currently need to pass clk_ignore_unused to bootargs to avoid linux root cell shutdown clocks used by inmates. If only want a minimal clk being on in inmates, the clks could be added in clk_inits_on in linux kernel drivers/clk/imx/clk-imx8mq.c Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Luo Ji authored
CONFIG_USB_GADGET was removed in imx8mm_evk.h, add it to imx8mm_evk_android_defconfig. Also add CONFIG_SDP_LOADADDR to support uuu. Change-Id: Ie8b50b2acadb2779024c7ac7fd0ead65d7189476 Signed-off-by:
Luo Ji <ji.luo@nxp.com>
-
- 06 Jul, 2018 2 commits
-
-
Frank Li authored
uuu will use fastboot command to write emmc Signed-off-by:
Frank Li <Frank.Li@nxp.com>
-
Frank Li authored
if SDP_WRITE and SDP_JUMP addr is zero, use CONFIG_SDP_LOADADDR as default address Signed-off-by:
Frank Li <Frank.Li@nxp.com>
-