Boot U-boot from QSPI/OSPI Flash and Kernel from eMMC on i.MX8QXP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Boot U-boot from QSPI/OSPI Flash and Kernel from eMMC on i.MX8QXP

1,218 Views
kailas_kharse
Contributor IV

Hello Team,

I am using i.MX8QXP custom board, I have Octal Flash Memory connected via Flex-SPI, I wanted to boot the board using the following configuration: My requirement is to load the U-boot from Octal Flash and Kernel from eMMC memory as Flash Memory size is 32MB it cannot accommodate both kernel and U-boot at the same time. 

I am able to load the u-boot on Octal Flash (OSPI Flash) and boot the bootloader in my custom board but unable to load the kernel from eMMC.

On MEK board I am able to boot u-boot from OSPI Flash and kernel from eMMC.

I am getting the following error on the custom board which is developed using i.MX8QXP C0.

When loading kernel and u-boot on eMMC:

[*]-Video Link 0it6263_i2c_reg_read, read err 3
faill to read from it6263 revision, ret 3
(1920 x 1080)
[0] dpu@56180000, video
[1] lvds-channel@0, display
[2] lvds-to-hdmi-bridge@4c, video_bridge
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc0(part 0) is current device
flash target is MMC:0

When Booting U-boot from Octal Flash (OSPI Flash) and kernel from eMMC I am getting following error.

[*]-Video Link 0it6263_i2c_reg_read, read err 3
faill to read from it6263 revision, ret 3
(1920 x 1080)
[0] dpu@56180000, video
[1] lvds-channel@0, display
[2] lvds-to-hdmi-bridge@4c, video_bridge
In: serial
Out: serial
Err: serial
MMC: no card present

Can you please Help How Can I debug this issue?

 

Thanks & Regards,

Kailas K.

 

Labels (2)
0 Kudos
1 Reply

1,210 Views
igorpadykov
NXP Employee
NXP Employee

Hi Kailas

 

one can check "/dev/mmcblk" boot parameter in successful log and

make the same for qspi case.

May be useful to look at imx8qxp_mek.h:

https://source.codeaurora.org/external/imx/uboot-imx/tree/include/configs/imx8qxp_mek.h?h=imx_v2020....

General description can be found in  i.MX Linux User’s Guide​

Table 11. Common kernel boot parameters  i.MX Linux Release Notes

 

Best regards
igor

0 Kudos