Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] build for AT91 fails
@ 2008-03-11 12:27 Habib Bouaziz-Viallet
  2008-03-11 14:07 ` Ulf Samuelsson
  0 siblings, 1 reply; 5+ messages in thread
From: Habib Bouaziz-Viallet @ 2008-03-11 12:27 UTC (permalink / raw)
  To: buildroot

Hi all !

I'm facing a problem with targeting 'at91sam9261ek'



Checking build system dependencies:
BUILDROOT_DL_DIR clean:                         Ok
CC clean:                                       Ok
CXX clean:                                      Ok
CPP clean:                                      Ok
CFLAGS clean:                                   Ok
INCLUDES clean:                                 Ok
CXXFLAGS clean:                                 Ok
which installed:                                Ok
sed works:                                      Ok (/bin/sed)
GNU make version '3.81':                        Ok
C compiler '/usr/bin/gcc'
C compiler version '4.1.2':                     Ok
C++ compiler '/usr/bin/g++'
C++ compiler version '4.1.2':                   Ok
bison installed:                                Ok
flex installed:                                 Ok
gettext installed:                              Ok
makeinfo installed:                             Ok
Build system dependencies:                      Ok

rm -rf /home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC/buildroot-config
mkdir -p /home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC
cp -dpRf package/config/buildroot-config
/home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC/buildroot-config
toolchain/patch-kernel.sh
/home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC/linux-2.6.24
toolchain/kernel-headers \
                linux-2.6.24-\*.patch{,.gz,.bz2}
toolchain/patch-kernel.sh
/home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC/linux-2.6.24
target/device/Atmel/at91sam9261ek/kernel-patches linux-2.6.24-\*.patch
;
Aborting.  'target/device/Atmel/at91sam9261ek/kernel-patches' is not a
directory.
make: *** [/home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC/linux-2.6.24/.patched]
Erreur 1

May be ../at91sam9261ek/kernel-patches is a symlink ?

please help.

-- 
M. Bouaziz-Viallet

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] build for AT91 fails
  2008-03-11 12:27 [Buildroot] build for AT91 fails Habib Bouaziz-Viallet
@ 2008-03-11 14:07 ` Ulf Samuelsson
  2008-03-11 14:46   ` Habib Bouaziz-Viallet
  0 siblings, 1 reply; 5+ messages in thread
From: Ulf Samuelsson @ 2008-03-11 14:07 UTC (permalink / raw)
  To: buildroot



> Hi all !
> 
> I'm facing a problem with targeting 'at91sam9261ek'
> 
> 
> 
> Checking build system dependencies:
> BUILDROOT_DL_DIR clean:                         Ok
> CC clean:                                       Ok
> CXX clean:                                      Ok
> CPP clean:                                      Ok
> CFLAGS clean:                                   Ok
> INCLUDES clean:                                 Ok
> CXXFLAGS clean:                                 Ok
> which installed:                                Ok
> sed works:                                      Ok (/bin/sed)
> GNU make version '3.81':                        Ok
> C compiler '/usr/bin/gcc'
> C compiler version '4.1.2':                     Ok
> C++ compiler '/usr/bin/g++'
> C++ compiler version '4.1.2':                   Ok
> bison installed:                                Ok
> flex installed:                                 Ok
> gettext installed:                              Ok
> makeinfo installed:                             Ok
> Build system dependencies:                      Ok
> 
> rm -rf /home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC/buildroot-config
> mkdir -p /home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC
> cp -dpRf package/config/buildroot-config
> /home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC/buildroot-config
> toolchain/patch-kernel.sh
> /home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC/linux-2.6.24
> toolchain/kernel-headers \
>                linux-2.6.24-\*.patch{,.gz,.bz2}
> toolchain/patch-kernel.sh
> /home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC/linux-2.6.24
> target/device/Atmel/at91sam9261ek/kernel-patches linux-2.6.24-\*.patch
> ;
> Aborting.  'target/device/Atmel/at91sam9261ek/kernel-patches' is not a
> directory.

When you build against a new kernel, you have to make sure that
you generate the appropriate directories.
Also, the latest maxim.org.za patches should be present.

A known deficiency, and an update would be welcome.

Best Regards
Ulf Samuelsson

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] build for AT91 fails
  2008-03-11 14:07 ` Ulf Samuelsson
@ 2008-03-11 14:46   ` Habib Bouaziz-Viallet
  2008-03-11 14:51     ` Ulf Samuelsson
  0 siblings, 1 reply; 5+ messages in thread
From: Habib Bouaziz-Viallet @ 2008-03-11 14:46 UTC (permalink / raw)
  To: buildroot

2008/3/11, Ulf Samuelsson <ulf.samuelsson@atmel.com>:
>
>
>  > Hi all !
>  >
>  > I'm facing a problem with targeting 'at91sam9261ek'
>  >
>  >
>  >
>  > Checking build system dependencies:
>  > BUILDROOT_DL_DIR clean:                         Ok
>  > CC clean:                                       Ok
>  > CXX clean:                                      Ok
>  > CPP clean:                                      Ok
>  > CFLAGS clean:                                   Ok
>  > INCLUDES clean:                                 Ok
>  > CXXFLAGS clean:                                 Ok
>  > which installed:                                Ok
>  > sed works:                                      Ok (/bin/sed)
>  > GNU make version '3.81':                        Ok
>  > C compiler '/usr/bin/gcc'
>  > C compiler version '4.1.2':                     Ok
>  > C++ compiler '/usr/bin/g++'
>  > C++ compiler version '4.1.2':                   Ok
>  > bison installed:                                Ok
>  > flex installed:                                 Ok
>  > gettext installed:                              Ok
>  > makeinfo installed:                             Ok
>  > Build system dependencies:                      Ok
>  >
>  > rm -rf /home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC/buildroot-config
>  > mkdir -p /home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC
>  > cp -dpRf package/config/buildroot-config
>  > /home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC/buildroot-config
>  > toolchain/patch-kernel.sh
>  > /home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC/linux-2.6.24
>  > toolchain/kernel-headers \
>  >                linux-2.6.24-\*.patch{,.gz,.bz2}
>  > toolchain/patch-kernel.sh
>  > /home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC/linux-2.6.24
>  > target/device/Atmel/at91sam9261ek/kernel-patches linux-2.6.24-\*.patch
>  > ;
>  > Aborting.  'target/device/Atmel/at91sam9261ek/kernel-patches' is not a
>  > directory.
>
>
> When you build against a new kernel, you have to make sure that
>  you generate the appropriate directories.
>  Also, the latest maxim.org.za patches should be present.

I though that make creates appropriate directories for kernel patches.

Ok John suggest me to create 'kernel-patches' directory but you know
that there is a directory
'target/device/Atmel/Linux/kernel-patches-2.6.20.4/' in within some
patches are already present

habib at mizar:~/PROJETS/PERSO/buildroot$ ll
target/device/Atmel/Linux/kernel-patches-2.6.20.4
total 764
-rw-r--r-- 1 habib commun 775953 2008-03-11 13:36 linux-2.6.20.4-atmel.patch


I'll give it a try with John suggestions

>
>  A known deficiency, and an update would be welcome.

svn up did not help.
>
>  Best Regards
>
> Ulf Samuelsson
>
>

Many thanks

-- 
M. Bouaziz-Viallet

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] build for AT91 fails
  2008-03-11 14:46   ` Habib Bouaziz-Viallet
@ 2008-03-11 14:51     ` Ulf Samuelsson
  2008-03-11 15:33       ` Habib Bouaziz-Viallet
  0 siblings, 1 reply; 5+ messages in thread
From: Ulf Samuelsson @ 2008-03-11 14:51 UTC (permalink / raw)
  To: buildroot


> 2008/3/11, Ulf Samuelsson <ulf.samuelsson@atmel.com>:
>>
>>
>>  > Hi all !
>>  >
>>  > I'm facing a problem with targeting 'at91sam9261ek'
>>  >
>>  >
>>  >
>>  > Checking build system dependencies:
>>  > BUILDROOT_DL_DIR clean:                         Ok
>>  > CC clean:                                       Ok
>>  > CXX clean:                                      Ok
>>  > CPP clean:                                      Ok
>>  > CFLAGS clean:                                   Ok
>>  > INCLUDES clean:                                 Ok
>>  > CXXFLAGS clean:                                 Ok
>>  > which installed:                                Ok
>>  > sed works:                                      Ok (/bin/sed)
>>  > GNU make version '3.81':                        Ok
>>  > C compiler '/usr/bin/gcc'
>>  > C compiler version '4.1.2':                     Ok
>>  > C++ compiler '/usr/bin/g++'
>>  > C++ compiler version '4.1.2':                   Ok
>>  > bison installed:                                Ok
>>  > flex installed:                                 Ok
>>  > gettext installed:                              Ok
>>  > makeinfo installed:                             Ok
>>  > Build system dependencies:                      Ok
>>  >
>>  > rm -rf /home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC/buildroot-config
>>  > mkdir -p /home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC
>>  > cp -dpRf package/config/buildroot-config
>>  > /home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC/buildroot-config
>>  > toolchain/patch-kernel.sh
>>  > /home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC/linux-2.6.24
>>  > toolchain/kernel-headers \
>>  >                linux-2.6.24-\*.patch{,.gz,.bz2}
>>  > toolchain/patch-kernel.sh
>>  > /home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC/linux-2.6.24
>>  > target/device/Atmel/at91sam9261ek/kernel-patches linux-2.6.24-\*.patch
>>  > ;
>>  > Aborting.  'target/device/Atmel/at91sam9261ek/kernel-patches' is not a
>>  > directory.
>>
>>
>> When you build against a new kernel, you have to make sure that
>>  you generate the appropriate directories.
>>  Also, the latest maxim.org.za patches should be present.
> 
> I though that make creates appropriate directories for kernel patches.
> 
> Ok John suggest me to create 'kernel-patches' directory but you know
> that there is a directory
> 'target/device/Atmel/Linux/kernel-patches-2.6.20.4/' in within some
> patches are already present
> 

You should  create 
'target/device/Atmel/arch-arm/kernel-patches-2.6.24/'
not
'target/device/Atmel/Linux/kernel-patches-2.6.24/'

"Linux" is for merged avr32/arm patches.

You need then to download the patch from maxim.org.za/at91_26.html
and put in that directory.


Best Regards
Ulf Samuelsson 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] build for AT91 fails
  2008-03-11 14:51     ` Ulf Samuelsson
@ 2008-03-11 15:33       ` Habib Bouaziz-Viallet
  0 siblings, 0 replies; 5+ messages in thread
From: Habib Bouaziz-Viallet @ 2008-03-11 15:33 UTC (permalink / raw)
  To: buildroot

2008/3/11, Ulf Samuelsson <ulf.samuelsson@atmel.com>:
>
>  > 2008/3/11, Ulf Samuelsson <ulf.samuelsson@atmel.com>:
>  >>
>  >>
>  >>  > Hi all !
>  >>  >
>  >>  > I'm facing a problem with targeting 'at91sam9261ek'
>  >>  >
>  >>  >
>  >>  >
>  >>  > Checking build system dependencies:
>  >>  > BUILDROOT_DL_DIR clean:                         Ok
>  >>  > CC clean:                                       Ok
>  >>  > CXX clean:                                      Ok
>  >>  > CPP clean:                                      Ok
>  >>  > CFLAGS clean:                                   Ok
>  >>  > INCLUDES clean:                                 Ok
>  >>  > CXXFLAGS clean:                                 Ok
>  >>  > which installed:                                Ok
>  >>  > sed works:                                      Ok (/bin/sed)
>  >>  > GNU make version '3.81':                        Ok
>  >>  > C compiler '/usr/bin/gcc'
>  >>  > C compiler version '4.1.2':                     Ok
>  >>  > C++ compiler '/usr/bin/g++'
>  >>  > C++ compiler version '4.1.2':                   Ok
>  >>  > bison installed:                                Ok
>  >>  > flex installed:                                 Ok
>  >>  > gettext installed:                              Ok
>  >>  > makeinfo installed:                             Ok
>  >>  > Build system dependencies:                      Ok
>  >>  >
>  >>  > rm -rf /home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC/buildroot-config
>  >>  > mkdir -p /home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC
>  >>  > cp -dpRf package/config/buildroot-config
>  >>  > /home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC/buildroot-config
>  >>  > toolchain/patch-kernel.sh
>  >>  > /home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC/linux-2.6.24
>  >>  > toolchain/kernel-headers \
>  >>  >                linux-2.6.24-\*.patch{,.gz,.bz2}
>  >>  > toolchain/patch-kernel.sh
>  >>  > /home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC/linux-2.6.24
>  >>  > target/device/Atmel/at91sam9261ek/kernel-patches linux-2.6.24-\*.patch
>  >>  > ;
>  >>  > Aborting.  'target/device/Atmel/at91sam9261ek/kernel-patches' is not a
>  >>  > directory.
>  >>
>  >>
>  >> When you build against a new kernel, you have to make sure that
>  >>  you generate the appropriate directories.
>  >>  Also, the latest maxim.org.za patches should be present.
>  >
>  > I though that make creates appropriate directories for kernel patches.
>  >
>  > Ok John suggest me to create 'kernel-patches' directory but you know
>  > that there is a directory
>  > 'target/device/Atmel/Linux/kernel-patches-2.6.20.4/' in within some
>  > patches are already present
>  >
>
>
> You should  create
>  'target/device/Atmel/arch-arm/kernel-patches-2.6.24/'
>  not
>  'target/device/Atmel/Linux/kernel-patches-2.6.24/'
>
>  "Linux" is for merged avr32/arm patches.
>
>  You need then to download the patch from maxim.org.za/at91_26.html
>  and put in that directory.
Ok right it works fine now. Thank you very much Ulf (and John too) i
just understand the meaning of the build error !!
>
>
>  Best Regards
>
> Ulf Samuelsson
>


-- 
M. Bouaziz-Viallet

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-03-11 15:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-11 12:27 [Buildroot] build for AT91 fails Habib Bouaziz-Viallet
2008-03-11 14:07 ` Ulf Samuelsson
2008-03-11 14:46   ` Habib Bouaziz-Viallet
2008-03-11 14:51     ` Ulf Samuelsson
2008-03-11 15:33       ` Habib Bouaziz-Viallet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox