[U-Boot] u-boot compilation error for altera socfpga cyclon 5 if gpio included
Simon Glass
sjg at chromium.org
Sat May 23 05:14:29 CEST 2015
Hi,
On 21 May 2015 at 04:51, Altunbas Sabri (DC-IA/EAH2)
<sabri.altunbas at boschrexroth.de> wrote:
>
> Hi,
>
> Thanks for response
I suggest you cc me on your reply else I may miss it.
>
> I don't find this path in my u-boot. Perhaps I use u-boot-2013-01-01.
>
> I crated it and gpio.h in it. But it doesn't work.
What version of U-Boot are you using?
You could try to figure out why it is complaining about the missing
file and where you should put it for find the problem.
make V=1
will give you verbose output.
Also it's best to put your reply at the bottom of your response.
Regards,
Simon
>
> Best regards
>
>
> >-----Ursprüngliche Nachricht-----
> >Von: sjg at google.com [mailto:sjg at google.com] Im Auftrag von Simon Glass
> >Gesendet: Mittwoch, 20. Mai 2015 01:16
> >An: Altunbas Sabri (DC-IA/EAH2)
> >Cc: u-boot at lists.denx.de
> >Betreff: Re: [U-Boot] u-boot compilation error for altera socfpga cyclon 5 if gpio
> >included
> >
> >Hi,
> >
> >On 12 May 2015 at 07:53, Altunbas Sabri (DC-IA/EAH2)
> ><sabri.altunbas at boschrexroth.de> wrote:
> >> Hi All,
> >>
> >> I use u-boot for altera socfpga cyclone 5 and want to include gpio-functionality
> >with
> >>
> >> "#define CONFIG_CMD_GPIO"
> >>
> >> in file
> >>
> >> uboot-socfpga/include/configs/ socfpga_cyclone5.h
> >>
> >> and get the following compilation error
> >>
> >> ......................
> >> .....................
> >> In file included from cmd_gpio.c:12:0:
> >> /media/tux/work/0/uboot/software/spl_bsp/uboot-
> >socfpga/include/asm/gpio.h:1:27: fatal error: asm/arch/gpio.h: No such file or
> >directory
> >> #include <asm/arch/gpio.h>
> >> ^
> >> compilation terminated.
> >> make[2]: *** Keine Regel vorhanden, um das Target ».depend«,
> >> benötigt von »libcommon.o«, zu erstellen. Schluss.
> >> make[2]: Verzeichnis »uboot-socfpga/common« wird verlassen
> >> make[1]: *** [common/libcommon.o] Fehler 2
> >
> >I think you need to add that file (even if empty) to:
> >
> >arch/arm/mach-socfpga/include/mach
> >
> >Regards,
> >Simon
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
More information about the U-Boot
mailing list