public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Aneesh V <aneesh@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Master branch broken for omap4_panda (SPL_BUILD)
Date: Tue, 04 Oct 2011 19:45:36 +0530	[thread overview]
Message-ID: <4E8B1508.7020706@ti.com> (raw)
In-Reply-To: <CAKnK67SBY0stg6dgVKT-5CZ2h-Q86jNE6yXGs8nZsgVVXBFY5A@mail.gmail.com>

Hi Sergio,

On Tuesday 04 October 2011 12:20 AM, Aguirre, Sergio wrote:
> Hi all,
>
> I'm trying to build this commit:
>
> http://git.denx.de/?p=u-boot.git;a=commit;h=7b8ffea2ac44097ed1c99ba70b8c6a4cf12ba0b4
>
> with:
>
> make omap4_panda_config
> make
>
> But it fails for spl build, while trying to link libfat.o with
> malloc()/free() functions.
>
> Git-bisect throws this commit to blame:
>
> http://git.denx.de/?p=u-boot.git;a=commit;h=ac4977719e157bcb3c45c70d9dd781164727530d
>
> Has anyone seen this?

Yes, I tried this just now and I am also facing this issue. I can fix
the build issue using the following change. But that doesn't solve the
problem. We do not have heap in SPL. So, this is a real serious problem
for any SPL that has FAT support. I will try to setup a heap in SDRAM
as soon as I get some time to work on this.

---
diff --git a/common/Makefile b/common/Makefile
index 2edbd71..b424beb 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -29,7 +29,6 @@ LIB	= $(obj)libcommon.o
  ifndef CONFIG_SPL_BUILD
  COBJS-y += main.o
  COBJS-y += command.o
-COBJS-y += dlmalloc.o
  COBJS-y += exports.o
  COBJS-$(CONFIG_SYS_HUSH_PARSER) += hush.o
  COBJS-y += image.o
@@ -176,6 +175,7 @@ COBJS-$(CONFIG_USB_KEYBOARD) += usb_kbd.o
  endif

  COBJS-y += console.o
+COBJS-y += dlmalloc.o
  COBJS-y += memsize.o
  COBJS-y += stdio.o



>
> Regards,
> Sergio
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot

  reply	other threads:[~2011-10-04 14:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-03 18:50 [U-Boot] Master branch broken for omap4_panda (SPL_BUILD) Aguirre, Sergio
2011-10-04 14:15 ` Aneesh V [this message]
2011-10-04 14:51   ` Wolfgang Denk
2011-10-04 15:37     ` Aneesh V
2011-10-04 18:05       ` Wolfgang Denk
2011-10-05  9:42         ` Aneesh V
2011-10-07  1:40     ` Tom Rini
2011-10-07  5:27       ` Wolfgang Denk
2011-10-04 15:11 ` [U-Boot] [PATCH] omap: spl: fix build break due to changes in FAT Aneesh V
2011-10-04 15:38   ` Wolfgang Denk
2011-10-04 16:00     ` Aneesh V
2011-10-04 16:17     ` Scott Wood

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=4E8B1508.7020706@ti.com \
    --to=aneesh@ti.com \
    --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