public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Peter Tyser <ptyser@xes-inc.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] AmigaOneG3SE
Date: Thu, 18 Feb 2010 21:39:14 -0600	[thread overview]
Message-ID: <4B7E07E2.8040208@xes-inc.com> (raw)
In-Reply-To: <96749c4f1002181005o31569a12x2ebd26f9b0215cf2@mail.gmail.com>

Bill Toner wrote:
> There's a small group forming to work on updating the MAI/AmigaOneG3SE board
> build for u-boot.
>
> http://amigaworld.net/modules/newbb/viewtopic.php?mode=viewtopic&topic_id=30736&forum=15&start=0&viewmode=flat&order=0
>
> I'm so far unable to get a complete make run through. Strangely, I'm getting
> an error that there is no .depend target for the _depend to trigger. but the
> Makefile does include rules.mk same as the sbc8641d Makefile does, and that
> one seems to build fine, so I'm using that for comparison. If I add a second
> name to the .depend target
> .depend $(obj).depend:
> then it does give a message that two identical names for that target are
> present, so I believe the rules.mk is being included. I'm struggling to
> understand this issue.
>
> We've also requested sources from the binary image distributor and are
> waiting a response. There's an image in my board that works, so someone was
> able to compile something at some point in the past... I'll try getting that
> version from git as well and see if it builds that way while we wait for an
> answer.
>
> If there's any advice available for someone learning their way around u-boot
> sources and makefiles, we'd appreciate it.
>   

Hi Bill,
In board/MAI/AmigaOneG3SE/Makefile some of the files listed in $(COBJS) 
don't exist, eg ../bios_emulator/x86interface.c.  $(SRCS) is created 
from $(COBJS), which in turn makes the .depend target in rules.mk fail.

It looks like some of the missing files were removed in this commit:

commit 221838cc7eb178370ff62aa05920a582e12ac322
Author: Jason Jin <Jason.jin@freescale.com>
Date:   Tue Jul 10 09:03:22 2007 +0800

    Remove the bios emulator from MAI board.

    The bios emulator in the MAI board can not pass compile
    and have a lot of crap in it. remove it and will have a
    clean and small bios emulator in the drivers directory
    which can be uesed for every board.

    Signed-off-by: Jason Jin <Jason.jin@freescale.com>

However, as Jason noted the AmigaOneG3SE wasn't compiling prior to his 
commit.

If I were in your shoes I would dig into the current U-Boot code and 
start getting familiar with it as it will likely take a bit of work to 
get the AmigaOneG3SE working again.  Perhaps if you go far enough back 
in U-Boot's history you can find a point where the AmigaOneG3SE will 
compile and run to use as a working reference.  If you know which 
version currently works for you that would be a good starting point.

Best,
Peter

  reply	other threads:[~2010-02-19  3:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-18 18:05 [U-Boot] AmigaOneG3SE Bill Toner
2010-02-19  3:39 ` Peter Tyser [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-04-20 16:35 Peter Tyser

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=4B7E07E2.8040208@xes-inc.com \
    --to=ptyser@xes-inc.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