Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla@busybox.net
To: buildroot@uclibc.org
Subject: [Buildroot] [Bug 15301] New: Selecting NAND Flash boot media (NAND_BOOT) breaks the uboot build
Date: Sat, 28 Jan 2023 00:14:25 +0000	[thread overview]
Message-ID: <bug-15301-163@https.bugs.busybox.net/> (raw)

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

             reply	other threads:[~2023-01-28  0:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-28  0:14 bugzilla [this message]
2023-01-28 20:29 ` [Buildroot] [Bug 15301] Selecting NAND Flash boot media (NAND_BOOT) breaks the uboot build bugzilla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-15301-163@https.bugs.busybox.net/ \
    --to=bugzilla@busybox.net \
    --cc=buildroot@uclibc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox