Hello, I am following BSP L6.1.36_2.1.0 and following the instructions I have successfully built core-image-minimal on an off the shelf 8MPlus -BB EVK board (Rev1) [imx8mpevk]. I am trying to install to qspi where I can adjust the uboot scripting to boot to eMMC. I've run uuu -b qspi imx-boot-tagged and it programs successfully. But when I try to boot the image it fails with:
U-Boot SPL 2023.04-lf_v2023.04+g49b102d988 (Nov 21 2023 - 07:28:53 +0000)
DDRINFO: start DRAM init
DDRINFO: DRAM rate 4000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
SEC0: RNG instantiated
Normal Boot
Trying to boot from BOOTROM
Boot Stage: Primary boot
image offset 0x1000, pagesize 0x1, ivt offset 0x0
Can't support legacy image
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
I have another build environment where I have an older version of u-boot running that is not compatible with the xwayland build I ultimately want to do. So I expect this version of u-boot built from the yocto infrastructure from scratch should be compatible and work.
For background the yocto download:
repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-mickledore -m imx-6.1.55-2.2.0.xml
repo sync
unset BB_ENV_EXTRAWHITE
EULA=1 DISTRO=fsl-imx-xwayland MACHINE=imx8mpevk source imx-setup-release.sh -b bld-xwayland
bitbake core-image-minimal
Searching I found references to ATF_LOAD_ADDR being incorrect in some old configuration someone was using a couple years ago. I assume those issues would not be impacting this latest version.
Thanks in advance for any help,
Larry
Hello,
Have you tried with the pre-built image?
https://www.nxp.com/webapp/Download?colCode=L6.1.36_2.1.0_MX8MP&appType=license
If you're only testing uboot this should help.
Saludos,
Aldo.
I really have to compile the images in preparation for our custom board. I have to do a late build in the "formal" way from NXP for the EVK board and verify the build works and we can exercise the hardware. Then I'll have a base that I build on for a custom board and change it to the desired resulting image and run the same tests. Using precompiled images won't help when the new board arrives and without knowing I can successfully build it, I'll be at a loss if it's something I'm doing wrong etc. If I can't build successfully for the dev board I can't imagine the path forward with something NXP won't be supporting directly.
Hello,
If you’re only testing switching uboot versions, then prebuilt image should help on speed up things and just rip things when building your own image.
Also, it is recommend to use the uboot and kernel versions that are compatible with each other, for this you may refer to the release notes of our BSP, available here:
https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/embedded-linux-for...
Best regards,
Aldo.