* [U-Boot] AmigaOneG3SE
@ 2009-04-20 16:35 Peter Tyser
0 siblings, 0 replies; 3+ messages in thread
From: Peter Tyser @ 2009-04-20 16:35 UTC (permalink / raw)
To: u-boot
Hi all,
I just tried compiling u-boot for the AmigaOneG3SE during testing of a
code change and ran into a number of compiler warnings followed by a
compiler error.
CONFIG_AMIGAONEG3SE is also found in a lot of common files:
common/cmd_bootm.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_fdc.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_fdc.c:#ifndef CONFIG_AMIGAONEG3SE
common/cmd_fdc.c:#ifndef CONFIG_AMIGAONEG3SE
common/cmd_fdc.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_fdc.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_fdc.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_fdc.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_ide.c:#ifndef CONFIG_AMIGAONEG3SE
common/cmd_ide.c:#ifndef CONFIG_AMIGAONEG3SE
common/cmd_ide.c:#if defined(CONFIG_AMIGAONEG3SE) || defined(CONFIG_SC3)
common/cmd_ide.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_ide.c:#ifndef CONFIG_AMIGAONEG3SE
common/cmd_ide.c:#if defined(CONFIG_AMIGAONEG3SE) || defined(CONFIG_SC3)
common/cmd_ide.c:#if defined(CONFIG_AMIGAONEG3SE) || defined(CONFIG_SC3)
common/cmd_ide.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_ide.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_ide.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_ide.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_ide.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_ide.c: !defined(CONFIG_AMIGAONEG3SE)&& \
common/cmd_ide.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_ide.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_ide.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_ide.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_ide.c:#endif /* CONFIG_AMIGAONEG3SE */
common/cmd_nvedit.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_nvedit.c:#endif /* CONFIG_AMIGAONEG3SE */
common/console.c:#ifdef CONFIG_AMIGAONEG3SE
common/env_common.c:#ifdef CONFIG_AMIGAONEG3SE
common/env_common.c:#ifdef CONFIG_AMIGAONEG3SE
common/env_common.c:#ifdef CONFIG_AMIGAONEG3SE
common/env_common.c:#ifdef CONFIG_AMIGAONEG3SE
common/env_nvram.c:#ifdef CONFIG_AMIGAONEG3SE
common/env_nvram.c:#ifdef CONFIG_AMIGAONEG3SE
common/env_nvram.c:#ifdef CONFIG_AMIGAONEG3SE
common/env_nvram.c:#ifdef CONFIG_AMIGAONEG3SE
common/env_nvram.c:#ifdef CONFIG_AMIGAONEG3SE
common/main.c:#ifdef CONFIG_AMIGAONEG3SE
cpu/74xx_7xx/cpu.c:#ifdef CONFIG_AMIGAONEG3SE
cpu/74xx_7xx/cpu.c:#if defined(CONFIG_AMIGAONEG3SE) || defined(CONFIG_SYS_CONFIG_BUS_CLK)
cpu/74xx_7xx/cpu.c:#else /* ! CONFIG_AMIGAONEG3SE and !CONFIG_SYS_CONFIG_BUS_CLK*/
cpu/74xx_7xx/cpu.c:#endif /* CONFIG_AMIGAONEG3SE or CONFIG_SYS_CONFIG_BUS_CLK*/
cpu/74xx_7xx/interrupts.c:#if defined(DEBUG) && !defined(CONFIG_AMIGAONEG3SE)
cpu/74xx_7xx/speed.c:#ifdef CONFIG_AMIGAONEG3SE
cpu/74xx_7xx/start.S:#if defined(CONFIG_AMIGAONEG3SE) || \
cpu/74xx_7xx/traps.c:#ifdef CONFIG_AMIGAONEG3SE
cpu/74xx_7xx/traps.c:#ifdef CONFIG_AMIGAONEG3SE
drivers/rtc/mc146818.c:#ifdef CONFIG_AMIGAONEG3SE
drivers/rtc/mc146818.c:#ifdef CONFIG_AMIGAONEG3SE
drivers/rtc/mk48t59.c:#elif defined(CONFIG_AMIGAONEG3SE)
include/asm-ppc/global_data.h:#ifdef CONFIG_AMIGAONEG3SE
lib_ppc/board.c:#ifdef CONFIG_AMIGAONEG3SE
Anyway, just wanted to drop a line that the build appears to be broken,
and drop a hint that it would be great if someone (Thomas?) would clean
up the Amiga #ifdefs that currently are litter a number of common files.
Is the AmigaOne port being maintained? Does anyone use it? Can it be
removed?:)
It looks like someone else brought this up a while back:
http://lists.denx.de/pipermail/u-boot/2006-January/013030.html
Best,
Peter
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] AmigaOneG3SE
@ 2010-02-18 18:05 Bill Toner
2010-02-19 3:39 ` Peter Tyser
0 siblings, 1 reply; 3+ messages in thread
From: Bill Toner @ 2010-02-18 18:05 UTC (permalink / raw)
To: u-boot
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 all,
I just tried compiling u-boot for the AmigaOneG3SE during testing of a
code change and ran into a number of compiler warnings followed by a
compiler error.
CONFIG_AMIGAONEG3SE is also found in a lot of common files:
common/cmd_bootm.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_fdc.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_fdc.c:#ifndef CONFIG_AMIGAONEG3SE
common/cmd_fdc.c:#ifndef CONFIG_AMIGAONEG3SE
common/cmd_fdc.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_fdc.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_fdc.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_fdc.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_ide.c:#ifndef CONFIG_AMIGAONEG3SE
common/cmd_ide.c:#ifndef CONFIG_AMIGAONEG3SE
common/cmd_ide.c:#if defined(CONFIG_AMIGAONEG3SE) || defined(CONFIG_SC3)
common/cmd_ide.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_ide.c:#ifndef CONFIG_AMIGAONEG3SE
common/cmd_ide.c:#if defined(CONFIG_AMIGAONEG3SE) || defined(CONFIG_SC3)
common/cmd_ide.c:#if defined(CONFIG_AMIGAONEG3SE) || defined(CONFIG_SC3)
common/cmd_ide.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_ide.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_ide.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_ide.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_ide.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_ide.c: !defined(CONFIG_AMIGAONEG3SE)&& \
common/cmd_ide.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_ide.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_ide.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_ide.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_ide.c:#endif /* CONFIG_AMIGAONEG3SE */
common/cmd_nvedit.c:#ifdef CONFIG_AMIGAONEG3SE
common/cmd_nvedit.c:#endif /* CONFIG_AMIGAONEG3SE */
common/console.c:#ifdef CONFIG_AMIGAONEG3SE
common/env_common.c:#ifdef CONFIG_AMIGAONEG3SE
common/env_common.c:#ifdef CONFIG_AMIGAONEG3SE
common/env_common.c:#ifdef CONFIG_AMIGAONEG3SE
common/env_common.c:#ifdef CONFIG_AMIGAONEG3SE
common/env_nvram.c:#ifdef CONFIG_AMIGAONEG3SE
common/env_nvram.c:#ifdef CONFIG_AMIGAONEG3SE
common/env_nvram.c:#ifdef CONFIG_AMIGAONEG3SE
common/env_nvram.c:#ifdef CONFIG_AMIGAONEG3SE
common/env_nvram.c:#ifdef CONFIG_AMIGAONEG3SE
common/main.c:#ifdef CONFIG_AMIGAONEG3SE
cpu/74xx_7xx/cpu.c:#ifdef CONFIG_AMIGAONEG3SE
cpu/74xx_7xx/cpu.c:#if defined(CONFIG_AMIGAONEG3SE) ||
defined(CONFIG_SYS_CONFIG_BUS_CLK)
cpu/74xx_7xx/cpu.c:#else /* ! CONFIG_AMIGAONEG3SE and
!CONFIG_SYS_CONFIG_BUS_CLK*/
cpu/74xx_7xx/cpu.c:#endif /* CONFIG_AMIGAONEG3SE or
CONFIG_SYS_CONFIG_BUS_CLK*/
cpu/74xx_7xx/interrupts.c:#if defined(DEBUG) && !defined(CONFIG_AMIGAONEG3SE)
cpu/74xx_7xx/speed.c:#ifdef CONFIG_AMIGAONEG3SE
cpu/74xx_7xx/start.S:#if defined(CONFIG_AMIGAONEG3SE) || \
cpu/74xx_7xx/traps.c:#ifdef CONFIG_AMIGAONEG3SE
cpu/74xx_7xx/traps.c:#ifdef CONFIG_AMIGAONEG3SE
drivers/rtc/mc146818.c:#ifdef CONFIG_AMIGAONEG3SE
drivers/rtc/mc146818.c:#ifdef CONFIG_AMIGAONEG3SE
drivers/rtc/mk48t59.c:#elif defined(CONFIG_AMIGAONEG3SE)
include/asm-ppc/global_data.h:#ifdef CONFIG_AMIGAONEG3SE
lib_ppc/board.c:#ifdef CONFIG_AMIGAONEG3SE
Anyway, just wanted to drop a line that the build appears to be broken,
and drop a hint that it would be great if someone (Thomas?) would clean
up the Amiga #ifdefs that currently are litter a number of common files.
Is the AmigaOne port being maintained? Does anyone use it? Can it be
removed?:)
It looks like someone else brought this up a while back:
http://lists.denx.de/pipermail/u-boot/2006-January/013030.html
Best,
Peter
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] AmigaOneG3SE
2010-02-18 18:05 [U-Boot] AmigaOneG3SE Bill Toner
@ 2010-02-19 3:39 ` Peter Tyser
0 siblings, 0 replies; 3+ messages in thread
From: Peter Tyser @ 2010-02-19 3:39 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-02-19 3:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-18 18:05 [U-Boot] AmigaOneG3SE Bill Toner
2010-02-19 3:39 ` Peter Tyser
-- strict thread matches above, loose matches on Subject: below --
2009-04-20 16:35 Peter Tyser
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox