Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] mxs-bootloader: Barebox entry point symbol changed in 2012.08
@ 2012-10-18  8:02 Maxime Ripard
  2012-10-18 19:53 ` Arnout Vandecappelle
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Maxime Ripard @ 2012-10-18  8:02 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 boot/mxs-bootlets/barebox_ivt.bd |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/boot/mxs-bootlets/barebox_ivt.bd b/boot/mxs-bootlets/barebox_ivt.bd
index e02ddd6..0c67e9c 100644
--- a/boot/mxs-bootlets/barebox_ivt.bd
+++ b/boot/mxs-bootlets/barebox_ivt.bd
@@ -28,7 +28,7 @@ section (0) {
 	//----------------------------------------------------------
 
         load barebox;
-        load ivt (entry = barebox:exception_vectors) > 0x8000;
+        load ivt (entry = barebox:start) > 0x8000;
 	hab call 0x8000;
 
 }
-- 
1.7.9.5

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

* [Buildroot] [PATCH] mxs-bootloader: Barebox entry point symbol changed in 2012.08
  2012-10-18  8:02 [Buildroot] [PATCH] mxs-bootloader: Barebox entry point symbol changed in 2012.08 Maxime Ripard
@ 2012-10-18 19:53 ` Arnout Vandecappelle
  2012-10-19  8:01   ` Maxime Ripard
  2012-10-19  9:00   ` Peter Korsgaard
  2012-11-17  8:07 ` Maxime Ripard
  2012-11-17  8:33 ` Peter Korsgaard
  2 siblings, 2 replies; 8+ messages in thread
From: Arnout Vandecappelle @ 2012-10-18 19:53 UTC (permalink / raw)
  To: buildroot

On 18/10/12 10:02, Maxime Ripard wrote:
> Signed-off-by: Maxime Ripard<maxime.ripard@free-electrons.com>
> ---
>   boot/mxs-bootlets/barebox_ivt.bd |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/boot/mxs-bootlets/barebox_ivt.bd b/boot/mxs-bootlets/barebox_ivt.bd
> index e02ddd6..0c67e9c 100644
> --- a/boot/mxs-bootlets/barebox_ivt.bd
> +++ b/boot/mxs-bootlets/barebox_ivt.bd
> @@ -28,7 +28,7 @@ section (0) {
>   	//----------------------------------------------------------
>
>           load barebox;
> -        load ivt (entry = barebox:exception_vectors)>  0x8000;
> +        load ivt (entry = barebox:start)>  0x8000;
>   	hab call 0x8000;
>
>   }

  Shouldn't this somehow depend on the selected barebox version then?

  Regards,
  Arnout

-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

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

* [Buildroot] [PATCH] mxs-bootloader: Barebox entry point symbol changed in 2012.08
  2012-10-18 19:53 ` Arnout Vandecappelle
@ 2012-10-19  8:01   ` Maxime Ripard
  2012-10-19  9:00   ` Peter Korsgaard
  1 sibling, 0 replies; 8+ messages in thread
From: Maxime Ripard @ 2012-10-19  8:01 UTC (permalink / raw)
  To: buildroot

Hi Arnout,

Le 18/10/2012 21:53, Arnout Vandecappelle a ?crit :
> On 18/10/12 10:02, Maxime Ripard wrote:
>> Signed-off-by: Maxime Ripard<maxime.ripard@free-electrons.com>
>> ---
>>   boot/mxs-bootlets/barebox_ivt.bd |    2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/boot/mxs-bootlets/barebox_ivt.bd
>> b/boot/mxs-bootlets/barebox_ivt.bd
>> index e02ddd6..0c67e9c 100644
>> --- a/boot/mxs-bootlets/barebox_ivt.bd
>> +++ b/boot/mxs-bootlets/barebox_ivt.bd
>> @@ -28,7 +28,7 @@ section (0) {
>>       //----------------------------------------------------------
>>
>>           load barebox;
>> -        load ivt (entry = barebox:exception_vectors)>  0x8000;
>> +        load ivt (entry = barebox:start)>  0x8000;
>>       hab call 0x8000;
>>
>>   }
> 
>  Shouldn't this somehow depend on the selected barebox version then?

Well, I thought so at first, but since the next barebox release is in
less than two weeks now, and the 2012.07 (the only one we support that
is still using exception_vectors symbol) will be removed at that time,
so I finally gave up to write that code, just to have it removed/be
irrelevant in two weeks.

Maxime

-- 
Maxime Ripard, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

* [Buildroot] [PATCH] mxs-bootloader: Barebox entry point symbol changed in 2012.08
  2012-10-18 19:53 ` Arnout Vandecappelle
  2012-10-19  8:01   ` Maxime Ripard
@ 2012-10-19  9:00   ` Peter Korsgaard
  2012-10-19  9:41     ` Maxime Ripard
  1 sibling, 1 reply; 8+ messages in thread
From: Peter Korsgaard @ 2012-10-19  9:00 UTC (permalink / raw)
  To: buildroot

>>>>> "Arnout" == Arnout Vandecappelle <arnout@mind.be> writes:

 >> load barebox;
 >> -        load ivt (entry = barebox:exception_vectors)>  0x8000;
 >> +        load ivt (entry = barebox:start)>  0x8000;
 >> hab call 0x8000;
 >> 
 >> }

 Arnout>  Shouldn't this somehow depend on the selected barebox version then?

Indeed. What happens if people use <2012.08?

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH] mxs-bootloader: Barebox entry point symbol changed in 2012.08
  2012-10-19  9:00   ` Peter Korsgaard
@ 2012-10-19  9:41     ` Maxime Ripard
  0 siblings, 0 replies; 8+ messages in thread
From: Maxime Ripard @ 2012-10-19  9:41 UTC (permalink / raw)
  To: buildroot

Le 19/10/2012 11:00, Peter Korsgaard a ?crit :
>>>>>> "Arnout" == Arnout Vandecappelle <arnout@mind.be> writes:
> 
>  >> load barebox;
>  >> -        load ivt (entry = barebox:exception_vectors)>  0x8000;
>  >> +        load ivt (entry = barebox:start)>  0x8000;
>  >> hab call 0x8000;
>  >> 
>  >> }
> 
>  Arnout>  Shouldn't this somehow depend on the selected barebox version then?
> 
> Indeed. What happens if people use <2012.08?

It will fail to execute barebox, and will loop trying to execute it.
But once again, if things go as usual, this is only a matter of two weeks...

I can resubmit in two weeks if you prefer.

-- 
Maxime Ripard, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

* [Buildroot] [PATCH] mxs-bootloader: Barebox entry point symbol changed in 2012.08
  2012-10-18  8:02 [Buildroot] [PATCH] mxs-bootloader: Barebox entry point symbol changed in 2012.08 Maxime Ripard
  2012-10-18 19:53 ` Arnout Vandecappelle
@ 2012-11-17  8:07 ` Maxime Ripard
  2012-11-17  8:32   ` Peter Korsgaard
  2012-11-17  8:33 ` Peter Korsgaard
  2 siblings, 1 reply; 8+ messages in thread
From: Maxime Ripard @ 2012-11-17  8:07 UTC (permalink / raw)
  To: buildroot

Hi Peter,

Le 18/10/2012 10:02, Maxime Ripard a ?crit :
> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> ---
>  boot/mxs-bootlets/barebox_ivt.bd |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/boot/mxs-bootlets/barebox_ivt.bd b/boot/mxs-bootlets/barebox_ivt.bd
> index e02ddd6..0c67e9c 100644
> --- a/boot/mxs-bootlets/barebox_ivt.bd
> +++ b/boot/mxs-bootlets/barebox_ivt.bd
> @@ -28,7 +28,7 @@ section (0) {
>  	//----------------------------------------------------------
>  
>          load barebox;
> -        load ivt (entry = barebox:exception_vectors) > 0x8000;
> +        load ivt (entry = barebox:start) > 0x8000;
>  	hab call 0x8000;
>  
>  }

Can we apply this patch now that all supported barebox versions have
this entry point ?

Thanks,
Maxime

-- 
Maxime Ripard, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

* [Buildroot] [PATCH] mxs-bootloader: Barebox entry point symbol changed in 2012.08
  2012-11-17  8:07 ` Maxime Ripard
@ 2012-11-17  8:32   ` Peter Korsgaard
  0 siblings, 0 replies; 8+ messages in thread
From: Peter Korsgaard @ 2012-11-17  8:32 UTC (permalink / raw)
  To: buildroot

>>>>> "Maxime" == Maxime Ripard <maxime.ripard@free-electrons.com> writes:


 >> load barebox;
 >> -        load ivt (entry = barebox:exception_vectors) > 0x8000;
 >> +        load ivt (entry = barebox:start) > 0x8000;
 >> hab call 0x8000;
 >> 
 >> }

 Maxime> Can we apply this patch now that all supported barebox versions have
 Maxime> this entry point ?

Yes, will do so now. Thanks for reminding me.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH] mxs-bootloader: Barebox entry point symbol changed in 2012.08
  2012-10-18  8:02 [Buildroot] [PATCH] mxs-bootloader: Barebox entry point symbol changed in 2012.08 Maxime Ripard
  2012-10-18 19:53 ` Arnout Vandecappelle
  2012-11-17  8:07 ` Maxime Ripard
@ 2012-11-17  8:33 ` Peter Korsgaard
  2 siblings, 0 replies; 8+ messages in thread
From: Peter Korsgaard @ 2012-11-17  8:33 UTC (permalink / raw)
  To: buildroot

>>>>> "Maxime" == Maxime Ripard <maxime.ripard@free-electrons.com> writes:

 Maxime> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2012-11-17  8:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-18  8:02 [Buildroot] [PATCH] mxs-bootloader: Barebox entry point symbol changed in 2012.08 Maxime Ripard
2012-10-18 19:53 ` Arnout Vandecappelle
2012-10-19  8:01   ` Maxime Ripard
2012-10-19  9:00   ` Peter Korsgaard
2012-10-19  9:41     ` Maxime Ripard
2012-11-17  8:07 ` Maxime Ripard
2012-11-17  8:32   ` Peter Korsgaard
2012-11-17  8:33 ` Peter Korsgaard

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