public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] allow flash "ranges" to default to end of flash
@ 2005-06-30  5:50 Murray.Jensen at csiro.au
  2005-06-30 10:21 ` Wolfgang Denk
  0 siblings, 1 reply; 5+ messages in thread
From: Murray.Jensen at csiro.au @ 2005-06-30  5:50 UTC (permalink / raw)
  To: u-boot

This patch modifies the flash "range" code slightly to allow a range to
"default" to the "end of the bank". Currently, you must specify
"<first>-<last>" where <first> and <last> are sector numbers (zero based)
within the "bank". This code allows you to say "<first>-" and <last> will
default to the sector number of the last sector in the "bank". I thought
I needed this - but now I don't use it anymore. However, the code might
still be useful to someone. Cheers!
								Murray...
-- 
Murray Jensen, CSIRO Manufacturing & Infra. Tech.      Phone: +61 3 9662 7763
Locked Bag No. 9, Preston, Vic, 3072, Australia.         Fax: +61 3 9662 7853
Internet: Murray.Jensen at csiro.au

To the extent permitted by law, CSIRO does not represent, warrant and/or
guarantee that the integrity of this communication has been maintained or
that the communication is free of errors, virus, interception or interference.

The information contained in this e-mail may be confidential or privileged.
Any unauthorised use or disclosure is prohibited. If you have received this
e-mail in error, please delete it immediately and notify Murray Jensen on
+61 3 9662 7763. Thank you.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMD-FLAS.PAT
Type: text/x-patch
Size: 1892 bytes
Desc: cmd-flash-range-end.patch
Url : http://lists.denx.de/pipermail/u-boot/attachments/20050630/742135f5/attachment.bin 

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

* [U-Boot-Users] [PATCH] allow flash "ranges" to default to end of flash
  2005-06-30  5:50 [U-Boot-Users] [PATCH] allow flash "ranges" to default to end of flash Murray.Jensen at csiro.au
@ 2005-06-30 10:21 ` Wolfgang Denk
  2005-06-30 13:14   ` Murray.Jensen at csiro.au
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2005-06-30 10:21 UTC (permalink / raw)
  To: u-boot

In message <29153.1120110630@gerd> you wrote:
> 
> This patch modifies the flash "range" code slightly to allow a range to
> "default" to the "end of the bank". Currently, you must specify
> "<first>-<last>" where <first> and <last> are sector numbers (zero based)
> within the "bank". This code allows you to say "<first>-" and <last> will

No, numbers don't have to be within one bank.

> default to the sector number of the last sector in the "bank". I thought
> I needed this - but now I don't use it anymore. However, the code might
> still be useful to someone. Cheers!

I will not include this patch as we have another,  IMHO  more  useful
extension  in  the  queue:  "first +size", so you can for example use
"era $(start) +$(filesize)".

> The information contained in this e-mail may be confidential or privileged.
> Any unauthorised use or disclosure is prohibited. If you have received this
> e-mail in error, please delete it immediately and notify Murray Jensen on

And I cannot use any stuff with such a "copyright" note anyway.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I can't say I've ever been lost, but I was bewildered once for  three
days.                                     - Daniel Boone (Attributed)

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

* [U-Boot-Users] [PATCH] allow flash "ranges" to default to end of flash
  2005-06-30 10:21 ` Wolfgang Denk
@ 2005-06-30 13:14   ` Murray.Jensen at csiro.au
  2005-06-30 13:40     ` Wolfgang Denk
  0 siblings, 1 reply; 5+ messages in thread
From: Murray.Jensen at csiro.au @ 2005-06-30 13:14 UTC (permalink / raw)
  To: u-boot

On Thu, 30 Jun 2005 12:21:33 +0200, Wolfgang Denk writes:
>In message <29153.1120110630@gerd> you wrote:
>> 
>> This patch modifies the flash "range" code slightly to allow a range to
>> "default" to the "end of the bank". Currently, you must specify
>> "<first>-<last>" where <first> and <last> are sector numbers (zero based)
>> within the "bank". This code allows you to say "<first>-" and <last> will
>
>No, numbers don't have to be within one bank.

I wrote the code - even though it was a long time ago, my memory is that
they do in fact have to be within one bank. I left out a bit of the syntax,
it is actually "<bank>:<first>[-<last>]". The patch changes this to
"<bank>:<first>[-[<last>]]".

>I will not include this patch as we have another,  IMHO  more  useful
>extension  in  the  queue:  "first +size", so you can for example use
>"era $(start) +$(filesize)".

This can co-exist with the bank/sector notation.

>> The information contained in this e-mail may be confidential or privileged.
>> Any unauthorised use or disclosure is prohibited. If you have received this
>> e-mail in error, please delete it immediately and notify Murray Jensen on
>
>And I cannot use any stuff with such a "copyright" note anyway.

This isn't a "copyright note" (notice?). It is a standard disclaimer. I cannot
send public email from this account without it. See previous email. Cheers!
								Murray...
--
Murray Jensen, CSIRO Manufacturing & Infra. Tech.      Phone: +61 3 9662 7763
Locked Bag No. 9, Preston, Vic, 3072, Australia.         Fax: +61 3 9662 7853
Internet: Murray.Jensen at csiro.au

To the extent permitted by law, CSIRO does not represent, warrant and/or
guarantee that the integrity of this communication has been maintained or
that the communication is free of errors, virus, interception or interference.

The information contained in this e-mail may be confidential or privileged.
Any unauthorised use or disclosure is prohibited. If you have received this
e-mail in error, please delete it immediately and notify Murray Jensen on
+61 3 9662 7763. Thank you.

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

* [U-Boot-Users] [PATCH] allow flash "ranges" to default to end of flash
  2005-06-30 13:14   ` Murray.Jensen at csiro.au
@ 2005-06-30 13:40     ` Wolfgang Denk
  2005-06-30 14:26       ` Murray.Jensen at csiro.au
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2005-06-30 13:40 UTC (permalink / raw)
  To: u-boot

In message <7905.1120137280@huldra> you wrote:
>
> >> The information contained in this e-mail may be confidential or privileged.
> >> Any unauthorised use or disclosure is prohibited. If you have received this
> >> e-mail in error, please delete it immediately and notify Murray Jensen on
> >
> >And I cannot use any stuff with such a "copyright" note anyway.
> 
> This isn't a "copyright note" (notice?). It is a standard disclaimer. I cannot
> send public email from this account without it. See previous email. Cheers!

It is the ONLY information in your  whole  message  about  the  legal
state  of  the content. I must assume it does apply to your patch. It
it may be confidential information I cannot and will not use  it.  It
does  not  matter if you have any actual right to release GPLed stuff
under such a restrictive "license".

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I will also, for an appropriate fee, certify that  your  keyboard  is
object-oriented,  and  that  the bits on your hard disk are template-
compatible.            - Jeffrey S. Haemer in <411akr$3ga@cygnus.com>

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

* [U-Boot-Users] [PATCH] allow flash "ranges" to default to end of flash
  2005-06-30 13:40     ` Wolfgang Denk
@ 2005-06-30 14:26       ` Murray.Jensen at csiro.au
  0 siblings, 0 replies; 5+ messages in thread
From: Murray.Jensen at csiro.au @ 2005-06-30 14:26 UTC (permalink / raw)
  To: u-boot

On Thu, 30 Jun 2005 15:40:17 +0200, Wolfgang Denk writes:
>It is the ONLY information in your  whole  message  about  the  legal
>state  of  the content. I must assume it does apply to your patch.

My thinking was that it *cannot* apply, since the code is modifications
to other code which was licenced under the GPL, hence the modifcations
must also be licenced under the GPL.

Anyway, I hate these standard disclaimers as much as you do (maybe more).
I will make it clear in future, so there is no doubt about the patches.

>it may be confidential information I cannot and will not use  it.  It
>does  not  matter if you have any actual right to release GPLed stuff
>under such a restrictive "license".

That was my point - CSIRO has no claim, therefore the disclaimer *cannot*
apply. Oh well - this wonderful brave new world of litigation we live in
means we all have to be lawyers, whether we like it or not. Cheers!
								Murray...
--
Murray Jensen, CSIRO Manufacturing & Infra. Tech.      Phone: +61 3 9662 7763
Locked Bag No. 9, Preston, Vic, 3072, Australia.         Fax: +61 3 9662 7853
Internet: Murray.Jensen at csiro.au

To the extent permitted by law, CSIRO does not represent, warrant and/or
guarantee that the integrity of this communication has been maintained or
that the communication is free of errors, virus, interception or interference.

The information contained in this e-mail may be confidential or privileged.
Any unauthorised use or disclosure is prohibited. If you have received this
e-mail in error, please delete it immediately and notify Murray Jensen on
+61 3 9662 7763. Thank you.

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

end of thread, other threads:[~2005-06-30 14:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-30  5:50 [U-Boot-Users] [PATCH] allow flash "ranges" to default to end of flash Murray.Jensen at csiro.au
2005-06-30 10:21 ` Wolfgang Denk
2005-06-30 13:14   ` Murray.Jensen at csiro.au
2005-06-30 13:40     ` Wolfgang Denk
2005-06-30 14:26       ` Murray.Jensen at csiro.au

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