Hello,
I've i.MX8 Quadmax board and I'm trying to run imx-4.14.98-2.0.0_ga on it.
The problem is that the board is constantly restarting at boot:
U-Boot 2018.03-imx_v2018.03_4.14.98_2.0.0_ga+g87a19df (Mar 10 2022 - 10:17:47 +0000)
CPU: Freescale i.MX8QM revB A53 at 1200 MHz at 28C
Model: Freescale i.MX8QM MEK
Board: iMX8QM MEK
Boot: SD1
DRAM: 5.8 GiB
start sata init
SATA link 0 timeout.
TCPC: Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C0 0x51]
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... Run CMD11 1.8V switch
*** Warning - bad CRC, using default environmentFailed (-5)
[pcie_ctrla_init_rc] LNK DOWN 8600000
In: serial
Out: serial
Err: serialBuildInfo:
- SCFW f83a2bed, SECO-FW 92ef1143, IMX-MKIMAGE dd023400, ATF 1cb68fa
- U-Boot 2018.03-imx_v2018.03_4.14.98_2.0.0_ga+g87a19df"Synchronous Abort" handler, esr 0x96000004
elr: 0000000080080420 lr : 00000000800439a4 (reloc)
elr: 0000000087ecd420 lr : 0000000087e909a4
x0 : 0000000085678510 x1 : 2e73666b75750ceb
x2 : 0000000000000003 x3 : 000000000000000a
x4 : 0000000000000000 x5 : 000000000000006d
x6 : 0000000085678510 x7 : 0000000000000000
x8 : 0000000085680240 x9 : 0000000000000008
x10: 00000000ffffffd8 x11: 0000000000000006
x12: 000000000001869f x13: 0000000000000200
x14: 000000008565ac1c x15: 00000000ffffffff
x16: 0000000000002080 x17: 0000000000000000
x18: 000000008566ada8 x19: 0000000087efbd60
x20: 0000000000000003 x21: 0000000087efbb50
x22: 0000000085678510 x23: 0000000000000000
x24: 0000000087efcb70 x25: 0000000000000000
x26: 0000000000000000 x27: 0000000000000000
x28: 0000000085678410 x29: 000000008565cb40Resetting CPU ...
resetting ...
What I did was
$ repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-sumo -m imx-4.14.98-2.0.0_ga.xml
$ MACHINE=imx8qmmek DISTRO=fsl-imx-xwayland source fsl-setup-release.sh -b build-xwayland
$ bitbake fsl-image-validation-imx
Then deployed the images on sd card.
Any idea why is this happening?
BR,
Boris
Solved! Go to Solution.
Ok, it looks like I was using corrupted SD card or there were some issues with my card reader. Changed both and now I can boot with my custom build.
Thank you for the support!
how about trying the demo images from nxp official website?
“https://www.nxp.com/webapp/Download?colCode=L4.14.98_2.0.0_MX8QM&appType=license”
if you couldn't download it, try this link
After I modified the uuu.auto in L4.14.98 and the demo images are working fine.
Any idea what might be missing in my manual build?
the built image should the same as demo images, what built images did you use? I remembered that I used 4.14.98 built image on my imx8mq board before, don't have such issue
I just did"
$ repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-sumo -m imx-4.14.98-2.0.0_ga.xml
$ MACHINE=imx8qmmek DISTRO=fsl-imx-xwayland source fsl-setup-release.sh -b build-xwayland
$ bitbake fsl-image-validation-imx
Then deployed the images on sd card.
Am I missing some step? Something related to uboot?
how about replacing demo kernel images by your own built kernel images? could you have the same issue? did you download demo images to the same SD card, everything is ok, right?
Ok, it looks like I was using corrupted SD card or there were some issues with my card reader. Changed both and now I can boot with my custom build.
Thank you for the support!
good news!