* [U-Boot] Undefined reference to `boot_relocate_fdt'
@ 2008-11-03 21:28 Juan Pablo Gómez
2008-11-04 0:43 ` Jerry Van Baren
2008-11-04 19:08 ` Michal Simek
0 siblings, 2 replies; 3+ messages in thread
From: Juan Pablo Gómez @ 2008-11-03 21:28 UTC (permalink / raw)
To: u-boot
His I'm trying to build u-boot for a xupv2p board, but with the newest
version this is appearing during the make :
*
$make xupv2p_config
$make*
-Map u-boot.map -o u-boot
common/libcommon.a(cmd_bootm.o): In function `do_bootm_subcommand':
/home/juanwalker/software/projects/u-boot/common/cmd_bootm.c:505: undefined
reference to `boot_relocate_fdt'
make: *** [u-boot] Error 1
--
Regards, Juan Pablo
Muchas gracias.
Atentamente, Juan Pablo G?mez
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] Undefined reference to `boot_relocate_fdt'
2008-11-03 21:28 [U-Boot] Undefined reference to `boot_relocate_fdt' Juan Pablo Gómez
@ 2008-11-04 0:43 ` Jerry Van Baren
2008-11-04 19:08 ` Michal Simek
1 sibling, 0 replies; 3+ messages in thread
From: Jerry Van Baren @ 2008-11-04 0:43 UTC (permalink / raw)
To: u-boot
Juan Pablo G?mez wrote:
> His I'm trying to build u-boot for a xupv2p board, but with the newest
> version this is appearing during the make :
> *
> $make xupv2p_config
> $make*
>
> -Map u-boot.map -o u-boot
> common/libcommon.a(cmd_bootm.o): In function `do_bootm_subcommand':
> /home/juanwalker/software/projects/u-boot/common/cmd_bootm.c:505: undefined
> reference to `boot_relocate_fdt'
> make: *** [u-boot] Error 1
Hi Juan,
That is odd. It works for me on a PowerPC target (I don't have
microblaze support set up). Your config has CONFIG_LIBFDT enabled,
which is why do_bootm_subcommand is calling boot_relocate_fdt. I don't
see any obvious reason why boot_relocate_fdt isn't in your build (it is
defined in common/image.c and enabled by CONFIG_LIBFDT).
One thing you could do is to save your make output into a log file
make > make.log
and then find the line that compiles image.c (it likely will be the
*second* time, the first time is making host tools). Cut and paste it
onto the command line (in the common/ subdirectory) BUT CHANGE the flags
at the end of the gcc command from:
-c -o image.o image.c
to:
-C -E -o image.pp image.c
This stops after running the preprocessor and puts the result in
"image.pp". Maybe you can get a clue what happened to your
boot_relocate_fdt() from that???
Best regards,
gvb
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] Undefined reference to `boot_relocate_fdt'
2008-11-03 21:28 [U-Boot] Undefined reference to `boot_relocate_fdt' Juan Pablo Gómez
2008-11-04 0:43 ` Jerry Van Baren
@ 2008-11-04 19:08 ` Michal Simek
1 sibling, 0 replies; 3+ messages in thread
From: Michal Simek @ 2008-11-04 19:08 UTC (permalink / raw)
To: u-boot
Hi Juan,
this change arise with some new patches. Latest v2008.10 release is OK.
I will track it where is the problem.
Currently FDT support for microblaze is not in the repo.
Just disable libfdt (comment #define CONFIG_OF_LIBFDT) in config files(ml401.h,
xupv2p.h).
Thanks,
Michal
> His I'm trying to build u-boot for a xupv2p board, but with the newest
> version this is appearing during the make :
> *
> $make xupv2p_config
> $make*
>
> -Map u-boot.map -o u-boot
> common/libcommon.a(cmd_bootm.o): In function `do_bootm_subcommand':
> /home/juanwalker/software/projects/u-boot/common/cmd_bootm.c:505: undefined
> reference to `boot_relocate_fdt'
> make: *** [u-boot] Error 1
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-11-04 19:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-03 21:28 [U-Boot] Undefined reference to `boot_relocate_fdt' Juan Pablo Gómez
2008-11-04 0:43 ` Jerry Van Baren
2008-11-04 19:08 ` Michal Simek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox