[U-Boot] [RFC] skip area in flash/memory commands (cp, cmp, ...)

Wolfgang Denk wd at denx.de
Tue Apr 12 16:15:08 CEST 2011


Dear Andreas Pretzsch,

In message <1302614926.27200.12.camel at ws-apr.office.loc> you wrote:
>
> True, but it would pollute the env with transient variables like
> fileaddr, filesize and serveraddr. Nothing serious, of course.

Do you really care to delete these before each and every saveenv?
Or is your environment so small that you have to worry about 20 or 30
additional bytes?

> But in case of bootlimit enabled, it would also save "bootcount", which
> might be a bad idea...

Why?  It does not matter at all.

> BTW, not sure if it's worth the effort (or a good idea at all), but one
> might think about a concept of transient variables (in standard parser,
> not checked hush parser).

You can use hush, and plain shell variables there.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Question: How does one get fresh air into a Russian church?
Answer:   One clicks on an icon, and a window opens!


More information about the U-Boot mailing list