
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_i...
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