* a9m2440_defconfig failed to compile
@ 2010-09-07 10:58 Belisko Marek
2010-09-07 12:01 ` Juergen Beisert
0 siblings, 1 reply; 4+ messages in thread
From: Belisko Marek @ 2010-09-07 10:58 UTC (permalink / raw)
To: barebox
Hi,
following steps lead to compilation error (barebox v2010.09.0):
1. make a9m2440_defconfig ARCH=arm
2. make CROSS_COMPILE=arm-linux- ARCH=arm
error: arch/arm/boards/a9m2440/built-in.o: In function `nand_boot':
/home/open-nandra/projects/barebox/arch/arm/boards/a9m2440/a9m2440.c:183:
undefined reference to `s3c24x0_nand_load_image'
It seems in Kconfig for mach-s3c24xx is selected NAND_S3C24X0 but
missing CONFIG_MTD and CONFIG_NAND to properly compile
nand driver for s3c24xx.
Could I send a patch with updated defconfig or exist better solution?
Thanks in advance,
Marek
--
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer
Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
icq: 290551086
web: http://open-nandra.com
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: a9m2440_defconfig failed to compile
2010-09-07 10:58 a9m2440_defconfig failed to compile Belisko Marek
@ 2010-09-07 12:01 ` Juergen Beisert
2010-09-07 12:59 ` Belisko Marek
0 siblings, 1 reply; 4+ messages in thread
From: Juergen Beisert @ 2010-09-07 12:01 UTC (permalink / raw)
To: barebox
Belisko Marek wrote:
> Hi,
>
> following steps lead to compilation error (barebox v2010.09.0):
>
> 1. make a9m2440_defconfig ARCH=arm
> 2. make CROSS_COMPILE=arm-linux- ARCH=arm
>
> error: arch/arm/boards/a9m2440/built-in.o: In function `nand_boot':
> /home/open-nandra/projects/barebox/arch/arm/boards/a9m2440/a9m2440.c:183:
> undefined reference to `s3c24x0_nand_load_image'
>
> It seems in Kconfig for mach-s3c24xx is selected NAND_S3C24X0 but
> missing CONFIG_MTD and CONFIG_NAND to properly compile
> nand driver for s3c24xx.
>
> Could I send a patch with updated defconfig or exist better solution?
Should be repaired in the menu and the source files. The defconfig is not the
correct location to fix it. There are dependencies between these components
that must be part of the menu.
jbe
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | Phone: +49-8766-939 228 |
Vertretung Sued/Muenchen, Germany | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de/ |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: a9m2440_defconfig failed to compile
2010-09-07 12:01 ` Juergen Beisert
@ 2010-09-07 12:59 ` Belisko Marek
2010-09-07 13:31 ` Jean-Christophe PLAGNIOL-VILLARD
0 siblings, 1 reply; 4+ messages in thread
From: Belisko Marek @ 2010-09-07 12:59 UTC (permalink / raw)
To: Juergen Beisert; +Cc: barebox
On Tue, Sep 7, 2010 at 2:01 PM, Juergen Beisert <jbe@pengutronix.de> wrote:
> Belisko Marek wrote:
>> Hi,
>>
>> following steps lead to compilation error (barebox v2010.09.0):
>>
>> 1. make a9m2440_defconfig ARCH=arm
>> 2. make CROSS_COMPILE=arm-linux- ARCH=arm
>>
>> error: arch/arm/boards/a9m2440/built-in.o: In function `nand_boot':
>> /home/open-nandra/projects/barebox/arch/arm/boards/a9m2440/a9m2440.c:183:
>> undefined reference to `s3c24x0_nand_load_image'
>>
>> It seems in Kconfig for mach-s3c24xx is selected NAND_S3C24X0 but
>> missing CONFIG_MTD and CONFIG_NAND to properly compile
>> nand driver for s3c24xx.
>>
>> Could I send a patch with updated defconfig or exist better solution?
>
> Should be repaired in the menu and the source files. The defconfig is not the
> correct location to fix it. There are dependencies between these components
> that must be part of the menu.
Not sure which menu type do you think?
>
> jbe
>
> --
> Pengutronix e.K. | Juergen Beisert |
> Linux Solutions for Science and Industry | Phone: +49-8766-939 228 |
> Vertretung Sued/Muenchen, Germany | Fax: +49-5121-206917-5555 |
> Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de/ |
>
Thanks,
Marek
--
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer
Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
icq: 290551086
web: http://open-nandra.com
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: a9m2440_defconfig failed to compile
2010-09-07 12:59 ` Belisko Marek
@ 2010-09-07 13:31 ` Jean-Christophe PLAGNIOL-VILLARD
0 siblings, 0 replies; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2010-09-07 13:31 UTC (permalink / raw)
To: Belisko Marek; +Cc: barebox
On 14:59 Tue 07 Sep , Belisko Marek wrote:
> On Tue, Sep 7, 2010 at 2:01 PM, Juergen Beisert <jbe@pengutronix.de> wrote:
> > Belisko Marek wrote:
> >> Hi,
> >>
> >> following steps lead to compilation error (barebox v2010.09.0):
> >>
> >> 1. make a9m2440_defconfig ARCH=arm
> >> 2. make CROSS_COMPILE=arm-linux- ARCH=arm
> >>
> >> error: arch/arm/boards/a9m2440/built-in.o: In function `nand_boot':
> >> /home/open-nandra/projects/barebox/arch/arm/boards/a9m2440/a9m2440.c:183:
> >> undefined reference to `s3c24x0_nand_load_image'
> >>
> >> It seems in Kconfig for mach-s3c24xx is selected NAND_S3C24X0 but
> >> missing CONFIG_MTD and CONFIG_NAND to properly compile
> >> nand driver for s3c24xx.
> >>
> >> Could I send a patch with updated defconfig or exist better solution?
> >
> > Should be repaired in the menu and the source files. The defconfig is not the
> > correct location to fix it. There are dependencies between these components
> > that must be part of the menu.
> Not sure which menu type do you think?
Kconfig file
Best Regards,
J.
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-09-07 13:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-07 10:58 a9m2440_defconfig failed to compile Belisko Marek
2010-09-07 12:01 ` Juergen Beisert
2010-09-07 12:59 ` Belisko Marek
2010-09-07 13:31 ` Jean-Christophe PLAGNIOL-VILLARD
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox