Closed danie007 closed 2 years ago
@nxpfrankli can you comment on this?
Back to ROM, SDP is old method. We have give up this way.
Please check config and nxp release uboot. nxp 2020 uboot should already switch SPL SDP.
Our U-Boot version is 2020.04 yet we're seeing this error! What does that signify?
Please check config and nxp release uboot.
What should I be checking on these? Could you be more specific.
CC @tkmozhi
It is boards file. refer: board/freescale/imx8mm_evk/spl.c
int spl_board_boot_device(enum boot_device boot_dev_spl) { switch (boot_dev_spl) { case SD2_BOOT: case MMC2_BOOT: return BOOT_DEVICE_MMC1; case SD3_BOOT: case MMC3_BOOT: return BOOT_DEVICE_MMC2; case QSPI_BOOT: return BOOT_DEVICE_NOR; case NAND_BOOT: return BOOT_DEVICE_NAND; case USB_BOOT: return BOOT_DEVICE_BOARD; default: return BOOT_DEVICE_NONE; } }
Need return BOOT_DEVICE_BOARD.
@nxpfrankli I've verified the above functions on the NXP i.MX 8MM EVK and everything works as expected. However in CompuLab BSP, it's seem like that they've scraped the SDP related parts.
If the CompuLab BSP is void of these options, how should I add these? Are there any references?
Thanks in advance.
CC @tkmozhi
what's your means? board/freescale/imx8mm_evk/spl.c is refer code.
@nxpfrankli Thanks for your support 😇 The issue is resolved with this patch note from one of the collaborators (@vraevsky) of compulab-yokneam/meta-bsp-imx8mm repo.
CC @tkmozhi
We're trying to flash the bootloader on CompuLab IOT-GATE-iMX8 EVK that is based on NXP i.MX 8MM application processor, we get the following error.
We referenced this issue, which talks about "Back to ROM, SDP" error and verified that we're using the latest and supported U-Boot version (v2020.04).
NOTE: We checked that the SDP is working by running the
uuu -lsusb
command and also checked thatfastboot
is enabled and working on the U-Boot.CC @tkmozhi