Linux MIPS Architecture development
 help / color / mirror / Atom feed
* u-boot problem: Au1xx0: fix prom_getenv() to handle YAMON style environment
@ 2006-06-23  8:23 Domen Puncer
  2006-06-23 16:58 ` Sergei Shtylyov
  0 siblings, 1 reply; 3+ messages in thread
From: Domen Puncer @ 2006-06-23  8:23 UTC (permalink / raw)
  To: Sergei Shtylyov; +Cc: linux-mips

Hi.

I need to revert $SUBJECT patch for kernel to boot on au1200,
u-boot 1.1.3.

And I could swear it worked booted yesterday without reverting (??)

Could we support yamon and u-boot style environment?


	Domen

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

* Re: u-boot problem: Au1xx0: fix prom_getenv() to handle YAMON style environment
  2006-06-23  8:23 u-boot problem: Au1xx0: fix prom_getenv() to handle YAMON style environment Domen Puncer
@ 2006-06-23 16:58 ` Sergei Shtylyov
  2006-06-23 17:35   ` Sergei Shtylyov
  0 siblings, 1 reply; 3+ messages in thread
From: Sergei Shtylyov @ 2006-06-23 16:58 UTC (permalink / raw)
  To: Domen Puncer; +Cc: linux-mips

Hello.

Domen Puncer wrote:

> I need to revert $SUBJECT patch for kernel to boot on au1200,
> u-boot 1.1.3.

> And I could swear it worked booted yesterday without reverting (??)

    Hm, it sort of worked with YAMON before that patch (just not quite 
correctly) due to the fact the name strings seem to be followed by the value 
strings (just not '='but '\0' being between them). But obviously, the variable 
values could be taken for the names the way it was written. If the purpose was 
to support both YAMON and U-Boot, that should've been marked in the comments I 
think...

> Could we support yamon and u-boot style environment?

    Is there a way to distinguish them?

> 	Domen

WBR, Sergei

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

* Re: u-boot problem: Au1xx0: fix prom_getenv() to handle YAMON style environment
  2006-06-23 16:58 ` Sergei Shtylyov
@ 2006-06-23 17:35   ` Sergei Shtylyov
  0 siblings, 0 replies; 3+ messages in thread
From: Sergei Shtylyov @ 2006-06-23 17:35 UTC (permalink / raw)
  To: Domen Puncer; +Cc: linux-mips

Hello, I wrote:

>> I need to revert $SUBJECT patch for kernel to boot on au1200,
>> u-boot 1.1.3.

>> And I could swear it worked booted yesterday without reverting (??)

>    Hm, it sort of worked with YAMON before that patch (just not quite 
> correctly) due to the fact the name strings seem to be followed by the 
> value strings (just not '='but '\0' being between them). But obviously, 
> the variable values could be taken for the names the way it was written. 
> If the purpose was to support both YAMON and U-Boot, that should've been 
> marked in the comments I think...

>> Could we support yamon and u-boot style environment?

>    Is there a way to distinguish them?

   Well, I think some adaptive alogrithm using strchr(env, '=') should be 
possible...

>>     Domen

WBR, Sergei

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

end of thread, other threads:[~2006-06-23 17:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-23  8:23 u-boot problem: Au1xx0: fix prom_getenv() to handle YAMON style environment Domen Puncer
2006-06-23 16:58 ` Sergei Shtylyov
2006-06-23 17:35   ` Sergei Shtylyov

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