* [Buildroot] [PATCH] Add sam-ba to at91sam926*_defconfig
@ 2012-04-11 13:06 Alexandre Belloni
2012-04-11 13:35 ` Thomas Petazzoni
2012-04-15 9:23 ` Peter Korsgaard
0 siblings, 2 replies; 11+ messages in thread
From: Alexandre Belloni @ 2012-04-11 13:06 UTC (permalink / raw)
To: buildroot
Signed-off-by: Alexandre Belloni <alexandre.belloni@piout.net>
---
configs/at91sam9260dfc_defconfig | 4 ++++
configs/at91sam9261ek_defconfig | 5 +++++
configs/at91sam9263ek_defconfig | 4 ++++
3 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/configs/at91sam9260dfc_defconfig b/configs/at91sam9260dfc_defconfig
index 3cd58ac..921afa8 100644
--- a/configs/at91sam9260dfc_defconfig
+++ b/configs/at91sam9260dfc_defconfig
@@ -2,6 +2,10 @@
BR2_arm=y
BR2_arm926t=y
+# Host utilities
+#
+BR2_PACKAGE_HOST_SAM_BA=y
+
# First stage bootloader
BR2_TARGET_AT91BOOTSTRAP=y
BR2_TARGET_AT91BOOTSTRAP_BOARD="at91sam9260ek"
diff --git a/configs/at91sam9261ek_defconfig b/configs/at91sam9261ek_defconfig
index 73edd89..b801bbe 100644
--- a/configs/at91sam9261ek_defconfig
+++ b/configs/at91sam9261ek_defconfig
@@ -2,6 +2,11 @@
BR2_arm=y
BR2_arm926t=y
+
+# Host utilities
+#
+BR2_PACKAGE_HOST_SAM_BA=y
+
# First stage bootloader
BR2_TARGET_AT91BOOTSTRAP=y
BR2_TARGET_AT91BOOTSTRAP_BOARD="at91sam9261ek"
diff --git a/configs/at91sam9263ek_defconfig b/configs/at91sam9263ek_defconfig
index e4a44f1..2cd82c0 100644
--- a/configs/at91sam9263ek_defconfig
+++ b/configs/at91sam9263ek_defconfig
@@ -2,6 +2,10 @@
BR2_arm=y
BR2_arm926t=y
+# Host utilities
+#
+BR2_PACKAGE_HOST_SAM_BA=y
+
# First stage bootloader
BR2_TARGET_AT91BOOTSTRAP=y
BR2_TARGET_AT91BOOTSTRAP_BOARD="at91sam9263ek"
--
1.7.5.4
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH] Add sam-ba to at91sam926*_defconfig
2012-04-11 13:06 [Buildroot] [PATCH] Add sam-ba to at91sam926*_defconfig Alexandre Belloni
@ 2012-04-11 13:35 ` Thomas Petazzoni
2012-04-11 13:50 ` Jean-Christophe PLAGNIOL-VILLARD
2012-04-15 9:23 ` Peter Korsgaard
1 sibling, 1 reply; 11+ messages in thread
From: Thomas Petazzoni @ 2012-04-11 13:35 UTC (permalink / raw)
To: buildroot
Le Wed, 11 Apr 2012 15:06:50 +0200,
Alexandre Belloni <alexandre.belloni@piout.net> a ?crit :
> Signed-off-by: Alexandre Belloni <alexandre.belloni@piout.net>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH] Add sam-ba to at91sam926*_defconfig
2012-04-11 13:35 ` Thomas Petazzoni
@ 2012-04-11 13:50 ` Jean-Christophe PLAGNIOL-VILLARD
2012-04-11 19:24 ` Alexandre Belloni
2012-04-15 9:19 ` Peter Korsgaard
0 siblings, 2 replies; 11+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-04-11 13:50 UTC (permalink / raw)
To: buildroot
On 15:35 Wed 11 Apr , Thomas Petazzoni wrote:
> Le Wed, 11 Apr 2012 15:06:50 +0200,
> Alexandre Belloni <alexandre.belloni@piout.net> a ?crit :
>
> > Signed-off-by: Alexandre Belloni <alexandre.belloni@piout.net>
>
> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
this soc config I disagree
I run on ARM and PPC and samba is x86 only
Best Regards,
J.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH] Add sam-ba to at91sam926*_defconfig
2012-04-11 13:50 ` Jean-Christophe PLAGNIOL-VILLARD
@ 2012-04-11 19:24 ` Alexandre Belloni
2012-04-15 9:19 ` Peter Korsgaard
1 sibling, 0 replies; 11+ messages in thread
From: Alexandre Belloni @ 2012-04-11 19:24 UTC (permalink / raw)
To: buildroot
On Wed, Apr 11, 2012 at 03:50:31PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote :
> > Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> this soc config I disagree
>
> I run on ARM and PPC and samba is x86 only
>
That makes sense. Should we detect the host arch and disable sam-ba ?
I guess we can do that whitout overcomplicating the host infrastructure.
--
Alexandre Belloni
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH] Add sam-ba to at91sam926*_defconfig
2012-04-11 13:50 ` Jean-Christophe PLAGNIOL-VILLARD
2012-04-11 19:24 ` Alexandre Belloni
@ 2012-04-15 9:19 ` Peter Korsgaard
2012-04-15 13:56 ` Jean-Christophe PLAGNIOL-VILLARD
1 sibling, 1 reply; 11+ messages in thread
From: Peter Korsgaard @ 2012-04-15 9:19 UTC (permalink / raw)
To: buildroot
>>>>> "Jean-Christophe" == Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> writes:
Hi,
Jean-Christophe> this soc config I disagree
Jean-Christophe> I run on ARM and PPC and samba is x86 only
You build buildroot ON ARM/PPC? That's very uncommon (well, gcc110 is
ppc64 - But still). Nevertheless, nothing breaks by including sam-ba in
the build, your host dir just gets a little bit bigger. In this case I
would say the advantage for the common case (build on x86 for at91
development) outweighs the minor disadvantage for your use case.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH] Add sam-ba to at91sam926*_defconfig
2012-04-11 13:06 [Buildroot] [PATCH] Add sam-ba to at91sam926*_defconfig Alexandre Belloni
2012-04-11 13:35 ` Thomas Petazzoni
@ 2012-04-15 9:23 ` Peter Korsgaard
1 sibling, 0 replies; 11+ messages in thread
From: Peter Korsgaard @ 2012-04-15 9:23 UTC (permalink / raw)
To: buildroot
>>>>> "Alexandre" == Alexandre Belloni <alexandre.belloni@piout.net> writes:
Alexandre> Signed-off-by: Alexandre Belloni <alexandre.belloni@piout.net>
Alexandre> ---
Alexandre> configs/at91sam9260dfc_defconfig | 4 ++++
Alexandre> configs/at91sam9261ek_defconfig | 5 +++++
Alexandre> configs/at91sam9263ek_defconfig | 4 ++++
Alexandre> 3 files changed, 13 insertions(+), 0 deletions(-)
You forgot 9g20dfc. I've fixed that and committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH] Add sam-ba to at91sam926*_defconfig
2012-04-15 9:19 ` Peter Korsgaard
@ 2012-04-15 13:56 ` Jean-Christophe PLAGNIOL-VILLARD
2012-04-15 17:04 ` Peter Korsgaard
0 siblings, 1 reply; 11+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-04-15 13:56 UTC (permalink / raw)
To: buildroot
On 11:19 Sun 15 Apr , Peter Korsgaard wrote:
> >>>>> "Jean-Christophe" == Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> writes:
>
> Hi,
>
> Jean-Christophe> this soc config I disagree
>
> Jean-Christophe> I run on ARM and PPC and samba is x86 only
>
> You build buildroot ON ARM/PPC? That's very uncommon (well, gcc110 is
> ppc64 - But still). Nevertheless, nothing breaks by including sam-ba in
> the build, your host dir just gets a little bit bigger. In this case I
> would say the advantage for the common case (build on x86 for at91
> development) outweighs the minor disadvantage for your use case.
I've a quad Arm and a quad G4
except you expect a packet you install to work I expect to detect the HOST
type and propose it only if it work
Best Regards,
J.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH] Add sam-ba to at91sam926*_defconfig
2012-04-15 13:56 ` Jean-Christophe PLAGNIOL-VILLARD
@ 2012-04-15 17:04 ` Peter Korsgaard
2012-04-16 12:34 ` Jean-Christophe PLAGNIOL-VILLARD
0 siblings, 1 reply; 11+ messages in thread
From: Peter Korsgaard @ 2012-04-15 17:04 UTC (permalink / raw)
To: buildroot
>>>>> "Jean-Christophe" == Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> writes:
Hi,
>> You build buildroot ON ARM/PPC? That's very uncommon (well, gcc110 is
>> ppc64 - But still). Nevertheless, nothing breaks by including sam-ba in
>> the build, your host dir just gets a little bit bigger. In this case I
>> would say the advantage for the common case (build on x86 for at91
>> development) outweighs the minor disadvantage for your use case.
Jean-Christophe> I've a quad Arm and a quad G4
Both of those are significantly slower than a recent x86, but all the
power to you for using it.
Jean-Christophe> except you expect a packet you install to work I
Jean-Christophe> expect to detect the HOST type and propose it only if
Jean-Christophe> it work
We don't have any concept of host type in Kconfig, so I don't see how we
could possibly do that.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH] Add sam-ba to at91sam926*_defconfig
2012-04-15 17:04 ` Peter Korsgaard
@ 2012-04-16 12:34 ` Jean-Christophe PLAGNIOL-VILLARD
2012-04-16 13:23 ` Thomas Petazzoni
0 siblings, 1 reply; 11+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-04-16 12:34 UTC (permalink / raw)
To: buildroot
On 19:04 Sun 15 Apr , Peter Korsgaard wrote:
> >>>>> "Jean-Christophe" == Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> writes:
>
> Hi,
>
> >> You build buildroot ON ARM/PPC? That's very uncommon (well, gcc110 is
> >> ppc64 - But still). Nevertheless, nothing breaks by including sam-ba in
> >> the build, your host dir just gets a little bit bigger. In this case I
> >> would say the advantage for the common case (build on x86 for at91
> >> development) outweighs the minor disadvantage for your use case.
>
> Jean-Christophe> I've a quad Arm and a quad G4
>
> Both of those are significantly slower than a recent x86, but all the
> power to you for using it.
>
> Jean-Christophe> except you expect a packet you install to work I
> Jean-Christophe> expect to detect the HOST type and propose it only if
> Jean-Christophe> it work
>
> We don't have any concept of host type in Kconfig, so I don't see how we
> could possibly do that.
I did it on dtc
HOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \
sed -e 's/\(cygwin\).*/cygwin/')
this work on unix
Best Regards,
J.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH] Add sam-ba to at91sam926*_defconfig
2012-04-16 12:34 ` Jean-Christophe PLAGNIOL-VILLARD
@ 2012-04-16 13:23 ` Thomas Petazzoni
2012-04-16 13:31 ` Jean-Christophe PLAGNIOL-VILLARD
0 siblings, 1 reply; 11+ messages in thread
From: Thomas Petazzoni @ 2012-04-16 13:23 UTC (permalink / raw)
To: buildroot
Le Mon, 16 Apr 2012 14:34:29 +0200,
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> a ?crit :
> I did it on dtc
>
> HOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \
> sed -e 's/\(cygwin\).*/cygwin/')
>
> this work on unix
But it does not allow to do Kconfig dependencies.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH] Add sam-ba to at91sam926*_defconfig
2012-04-16 13:23 ` Thomas Petazzoni
@ 2012-04-16 13:31 ` Jean-Christophe PLAGNIOL-VILLARD
0 siblings, 0 replies; 11+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-04-16 13:31 UTC (permalink / raw)
To: buildroot
On 15:23 Mon 16 Apr , Thomas Petazzoni wrote:
> Le Mon, 16 Apr 2012 14:34:29 +0200,
> Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> a ?crit :
>
> > I did it on dtc
> >
> > HOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \
> > sed -e 's/\(cygwin\).*/cygwin/')
> >
> > this work on unix
>
> But it does not allow to do Kconfig dependencies.
you can use env in Kconfig
option env="KERNELVERSION"
in barebox or kernel
Best Regards,
J.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2012-04-16 13:31 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-11 13:06 [Buildroot] [PATCH] Add sam-ba to at91sam926*_defconfig Alexandre Belloni
2012-04-11 13:35 ` Thomas Petazzoni
2012-04-11 13:50 ` Jean-Christophe PLAGNIOL-VILLARD
2012-04-11 19:24 ` Alexandre Belloni
2012-04-15 9:19 ` Peter Korsgaard
2012-04-15 13:56 ` Jean-Christophe PLAGNIOL-VILLARD
2012-04-15 17:04 ` Peter Korsgaard
2012-04-16 12:34 ` Jean-Christophe PLAGNIOL-VILLARD
2012-04-16 13:23 ` Thomas Petazzoni
2012-04-16 13:31 ` Jean-Christophe PLAGNIOL-VILLARD
2012-04-15 9:23 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.