Skip to contentSkip to conversation

duplicate environment variables in U-Boot? (full log)

U-Boot-Users Clemens Koller 3 participants 5 messages Jan 28, 2005 – Feb 4, 2005

lore
Share & tools
lore
#0 lore raw

Hello, again...

I forgot to attach the full log to help you to get an idea of what I mean. Some of the 'Unknown commands' should be known, actually.

Best regards,

Clemens Koller
_______________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Str. 45/1
81379 Muenchen
Germany

http://www.anagramm.de
Phone: +49-89-741518-50
Fax: +49-89-741518-19
-------------- next part --------------
A non-text attachment was scrubbed...
Name: U-Boot_commandmisses.gz
Type: application/x-gzip
Size: 951 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20050128/c5d62ca6/attachment.bin

#1 lore raw
Quoted 4 lines · In message <[email protected]> you wrote:

I forgot to attach the full log to help you to get an idea of what I mean. Some of the 'Unknown commands' should be known, actually.

I'm afraid this "log" is useless, too. Obviously it was captured by copy & paste from a console window (visible for example by the wrapped long lines). You will never see any control characters or escape sequences this way.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Killing is stupid; useless!
	-- McCoy, "A Private Little War", stardate 4211.8
#2 lore raw

Hello, Wolfgang!

Quoted 4 lines · Wolfgang Denk

I'm afraid this "log" is useless, too. Obviously it was captured by copy & paste from a console window (visible for example by the wrapped long lines). You will never see any control characters or escape sequences this way.

I know exactly, what you mean... I had no time/chance yet to get a binary log of the data.
Maybe it would be a good idea to either ignore control characters in the environment or show (escape) them properly? If I have these duplicate values, I cannot delete them afterwards (without an binary dump of my terminal) and... if I wrote them to flash occasionally... well, ok, I don't see any high priority here. It's just a little annoying.

Best greets,

Clemens Koller
_______________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Str. 45/1
81379 Muenchen
Germany

http://www.anagramm.de
Phone: +49-89-741518-50
Fax: +49-89-741518-19

#3 lore raw
Quoted 3 lines · In message <[email protected]> you wrote:

Maybe it would be a good idea to either ignore control characters in the environment or show (escape) them properly? If I have these

I'm not sure if I want to do this.

"UNIX was not designed to stop you from doing stupid things, because
that would also stop you from doing clever things." - Doug Gwyn

Quoted 4 lines

duplicate values, I cannot delete them afterwards (without an binary dump of my terminal) and... if I wrote them to flash occasionally... well, ok, I don't see any high priority here. It's just a little annoying.

Yes, I understand. But then - maybe one day command line history gets added, and then escape sequences will have to be interpreted anyway.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"If a computer can't directly address all the RAM you can  use,  it's
just a toy."         - anonymous comp.sys.amiga posting, non-sequitir
#4 lore raw
In reply to Clemens Koller

Hi Clemens,

Quoted 6 lines

Maybe it would be a good idea to either ignore control characters in the environment or show (escape) them properly? If I have these duplicate values, I cannot delete them afterwards (without an binary dump of my terminal) and... if I wrote them to flash occasionally... well, ok, I don't see any high priority here. It's just a little annoying.

Just for the records - for environments in flash the "md" command is of course your friend to see what special characters crept into the variable names. Other environment storage locations are left to the reader as an excercise. Note that this is only possible because the environment is saved in such an "unefficient way".

Cheers
Detlev

Signature · 4 lines
`What's new?' is an interesting and broadening eternal question, but
one which, if pursued exclusively, results only in an endless parade
of trivia and fashion, the silt of tomorrow.
                                        -- Robert M. Pirsig