New: Selecting NAND Flash boot media (NAND_BOOT) breaks the uboot build
https://bugs.busybox.net/show_bug.cgi?id=15301
Bug ID: 15301
Summary: Selecting NAND Flash boot media (NAND_BOOT) breaks the
uboot build
Product: buildroot
Version: 2022.11.1
Hardware: PC
OS: Linux
Status: NEW
Severity: blocker
Priority: P5
Component: Other
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]Target Milestone: ---
Using "make uboot-menuconfig" and selecting Boot Media -> Support for booting from NAND flash (NAND_BOOT) causes the build to fail with the following.
/buildroot/output/host/bin/aarch64-buildroot-linux-gnu-ld.bfd:common/spl/built-in.o: in function `spl_nand_fit_read':
/buildroot/output/build/uboot-lf-5.10.y-1.0.0/common/spl/spl_nand.c:44:
undefined reference to `nand_spl_load_image'
/buildroot/output/host/bin/aarch64-buildroot-linux-gnu-ld.bfd:common/spl/built-in.o: in function `spl_nand_load_element':
/buildroot/output/build/uboot-lf-5.10.y-1.0.0/common/spl/spl_nand.c:56:
undefined reference to `nand_spl_load_image'
/buildroot/output/host/bin/aarch64-buildroot-linux-gnu-ld.bfd:
/buildroot/output/build/uboot-lf-5.10.y-1.0.0/common/spl/spl_nand.c:84:
undefined reference to `nand_spl_load_image'
/buildroot/output/host/bin/aarch64-buildroot-linux-gnu-ld.bfd:common/spl/built-in.o: in function `spl_nand_load_image':
/buildroot/output/build/uboot-lf-5.10.y-1.0.0/common/spl/spl_nand.c:102:
undefined reference to `nand_init'
/buildroot/output/host/bin/aarch64-buildroot-linux-gnu-ld.bfd:
/buildroot/output/build/uboot-lf-5.10.y-1.0.0/common/spl/spl_nand.c:166:
undefined reference to `nand_deselect'
make[3]: *** [scripts/Makefile.spl:420: spl/u-boot-spl] Error 1
make[2]: *** [Makefile:1864: spl/u-boot-spl] Error 2
make[1]: *** [package/pkg-generic.mk:293:
/buildroot/output/build/uboot-lf-5.10.y-1.0.0/.stamp_built] Error 2
make: *** [Makefile:82: _all] Error 2
Target is freescale_imx8mnevk.
Commands issued:
make uboot-menuconfig
Select Boot Media -> Support for booting from NAND flash, exit and save. make uboot-rebuild all
Signature · 6 lines
You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
[Buildroot] [Bug 15301] Selecting NAND Flash boot media (NAND_BOOT) breaks the uboot build
https://bugs.busybox.net/show_bug.cgi?id=15301
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WONTFIX--- Comment #1 from Thomas Petazzoni <[email protected]> --- Thanks for your bug report, but this is not a Buildroot bug, but a U-Boot bug. It should be reported to the U-Boot community: this bug exists outside of Buildroot, if you build the same version of U-Boot, with the same exact configuration produced by Buildroot, you will reproduce the same issue.
Signature · 6 lines
You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot