- 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 10 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>
-
Luo Ji authored
Open configs to enable A/B dual bootloader feature for imx8m. Test: A/B dual bootloader feature works on imx8m. Change-Id: Ia0ef8ca6957ec6288ceee3fe9065532a96c1f772 Signed-off-by:
Luo Ji <ji.luo@nxp.com>
-
Luo Ji authored
A/B switch logic will be moved to SPL stage if dual bootloader feature is enable, in such case, we just need to verify single slot which is selected in SPL stage. Test: verify and boot ok for imx8m. Change-Id: Iafe0d2d4aea1c178551940808416eec4a3547259 Signed-off-by:
Luo Ji <ji.luo@nxp.com>
-
Luo Ji authored
Move the A/B slot check to SPL, the A/B slot switch workflow is just like what we have in libavb_ab. Test: A/B select works fine on imx8m. Change-Id: Ie3d827a9be0298b491bf2bc8d48833597fd70e90 Signed-off-by:
Luo Ji <ji.luo@nxp.com>
-
Luo Ji authored
The userdata partition size for some platforms (like imx8/imx8m) could be larger than 4GB, use "unsigned long int" to store the partition size instead of "unsigned int". Test: Get correct userdata partition size for imx8m. Change-Id: Ib626fa2c3c64dde4eba3a93ee0455f45d1286c9f Signed-off-by:
Luo Ji <ji.luo@nxp.com>
-
Luo Ji authored
Fix the null dereferenced issues from converity scan results. issue id: 3618300:Dereference after null check 3618364:Dereference after null check 3618463:Dereference after null check 3618470:Explicit null dereferenced 3618520:Dereference after null check Test: issue fixed by converity scan. Change-Id: I577ed094a1f9b493de61b84827c0e1157a4fbd2f Signed-off-by:
Luo Ji <ji.luo@nxp.com>
-
Ye Li authored
According to ADD, the target frequency for NOC bus clock is 750Mhz, the default setting from ROM is selecting the PLL1_800M_clk as source. This patch sets the PLL3 to 750Mhz and select it as the source of NOC clock root. Signed-off-by:
Ye Li <ye.li@nxp.com> Reviewed-by:
Peng Fan <peng.fan@nxp.com>
-
Ye Li authored
Change to use clock API "clock_set_target_val" to set DRAM APB clock root for DDR4 init. Signed-off-by:
Ye Li <ye.li@nxp.com>
-
Ye Li authored
Some debug codes in DDR init are used, which set NOC and NOC APB clocks to 25M OSC and causes slow booting and poor performance in SPL and u-boot. Change to original codes which only set DRAM APB clock to 200Mhz and use clock API to implement it. Some trailing spaces are also trimmed in this patch. Signed-off-by:
Ye Li <ye.li@nxp.com>
-
- 04 Jul, 2018 2 commits
-
-
Luo Ji authored
Fix build warnings in u-boot. Change-Id: I1944657d2d89a03c0d2303a22a09538dfaa5fd2c Signed-off-by:
Luo Ji <ji.luo@nxp.com>
-
Luo Ji authored
Android Things has supported load fdt from "oem_bootloader" partition, open related configs. Change-Id: I82476d71abd9cbeab60b4d2b5fbb402e37c0916b Signed-off-by:
Luo Ji <ji.luo@nxp.com>
-