Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 15301] New: Selecting NAND Flash boot media (NAND_BOOT) breaks the uboot build
@ 2023-01-28  0:14 bugzilla
  2023-01-28 20:29 ` [Buildroot] [Bug 15301] " bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2023-01-28  0:14 UTC (permalink / raw)
  To: buildroot

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: unassigned@buildroot.uclibc.org
          Reporter: mintcreeksoftware@gmail.com
                CC: buildroot@uclibc.org
  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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] [Bug 15301] Selecting NAND Flash boot media (NAND_BOOT) breaks the uboot build
  2023-01-28  0:14 [Buildroot] [Bug 15301] New: Selecting NAND Flash boot media (NAND_BOOT) breaks the uboot build bugzilla
@ 2023-01-28 20:29 ` bugzilla
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2023-01-28 20:29 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=15301

Thomas Petazzoni <thomas.petazzoni@bootlin.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@bootlin.com> ---
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-28 20:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-28  0:14 [Buildroot] [Bug 15301] New: Selecting NAND Flash boot media (NAND_BOOT) breaks the uboot build bugzilla
2023-01-28 20:29 ` [Buildroot] [Bug 15301] " bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox