Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imx-6.1.55-2.2.0.xml / pico-imx6ul: u-boot compilation fails due to missing imx6_spl.h file #24

Open
nlarealti opened this issue Apr 3, 2024 · 0 comments

Comments

@nlarealti
Copy link

Based on the configuration made on issue #23 reported here:

repo init -u https://github.com/TechNexion/tn-imx-yocto-manifest.git -b mickledore_6.1.y-next -m imx-6.1.55-2.2.0.xml
repo sync -j4
WIFI_FIRMWARE=n DISTRO=fsl-imx-fb MACHINE=pico-imx6ul BASEBOARD=pi source tn-setup-release.sh -b build

Then tweaking recipes-bsp/u-boot/u-boot-tn-imx/ files to avoid the issue #23.

diff --git a/recipes-bsp/u-boot/u-boot-tn-imx/rescue-fragment-uboot.cfg b/recipes-bsp/u-boot/u-boot-tn-imx/rescue-fragment-uboot.cfg
index c9275e20d9f0..5ec9ebeb5807 100644
--- a/recipes-bsp/u-boot/u-boot-tn-imx/rescue-fragment-uboot.cfg
+++ b/recipes-bsp/u-boot/u-boot-tn-imx/rescue-fragment-uboot.cfg
@@ -1,2 +1,3 @@
+CONFIG_TEXT_BASE=0x0
 CONFIG_BOOTDELAY=0
 # CONFIG_DISTRO_DEFAULTS is not set
diff --git a/recipes-bsp/u-boot/u-boot-tn-imx_2023.04.bb b/recipes-bsp/u-boot/u-boot-tn-imx_2023.04.bb
index d2897151e53e..75c1a8a6bf46 100644
--- a/recipes-bsp/u-boot/u-boot-tn-imx_2023.04.bb
+++ b/recipes-bsp/u-boot/u-boot-tn-imx_2023.04.bb
@@ -24,7 +24,7 @@ SRCBRANCH = "tn-imx_v2023.04_6.1.55_2.2.0-next"
 SRC_URI = "${SRCSERVER};branch=${SRCBRANCH}${SRCOPTIONS}"
 SRCREV = "174e58e79da52505b466ebf38c25a0228058003a"
 SRC_URI:append = " file://splash.bmp"
-SRC_URI:append:rescue = " file://rescue-fragment-uboot.cfg"
+SRC_URI:append = " file://rescue-fragment-uboot.cfg"

Compiling u-boot fails with the following error:

| .../imx6-6.1.55/build/tmp/work/pico_imx6ul-poky-linux-gnueabi/u-boot-tn-imx/2023.04-r0/git/include/configs/pico-imx6ul.h:15:10: fatal error: imx6_spl.h: No such file or directory
|    15 | #include "imx6_spl.h"
|       |          ^~~~~~~~~~~~

Is there any clue to fix it ?

Regards,
Nelio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant