[U-Boot] AmigaOneG3SE
Peter Tyser
ptyser at xes-inc.com
Fri Feb 19 04:39:14 CET 2010
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 at 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 at 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
More information about the U-Boot
mailing list