From: "Chan Kim" <ckim@etri.re.kr>
To: "U-Boot Mailing List" <u-boot@lists.denx.de>
Subject: board_init.c file not compiled
Date: Tue, 16 Nov 2021 19:05:42 +0900 [thread overview]
Message-ID: <071701d7dad1$83eee310$8bcca930$@etri.re.kr> (raw)
Hello all,
I'm new to u-boot and having difficulty while trying to build u-boot for our
test board.(arm64, armv8)
I wanted to try the "SPL falcon" mode". The DDR is not ready yet in the
board.
A small scp chip(cortex-M7) will initialize clk and will load
kernel(including initramfs), dtb, u-boot-spl, images to a small internal
RAM.
And the AP chip will start from the u-boot-spl. (I know some low-level init
can be skipped)
I added SPL related config settings and ran this command.
make CROSS_COMPILE=aarch64-none-elf- ab21m_defconfig
make CROSS_COMPILE=aarch64-none-elf-
I see "u-boot/arch/arm/lib/crt0_64.S:88: undefined reference to
`board_init_f_alloc_reserve'" error during the u-boot build. (not related to
SPL).
By comparing the build process with that of rk3036 board (arm board with
SUPPORT_SPL, no SUPPORT_TPL), I found in my case even common/board_init.c is
not compiled.
Where should I look? I'm reading the documents or build scripts here and
there but can't figure it out.
Thank you.
Chan Kim
next reply other threads:[~2021-11-16 12:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-16 10:05 Chan Kim [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-11-18 7:53 board_init.c file not compiled Chan Kim
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='071701d7dad1$83eee310$8bcca930$@etri.re.kr' \
--to=ckim@etri.re.kr \
--cc=u-boot@lists.denx.de \
/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