Skip to content

New environment code

Reinhard Meyer u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 5 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 5 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/5] New environment code
Quoted 13 lines · Wolfgang Denk

Just to give a datapoint for speed:

measured on TQM5200 (MPC5200 at 400 MHz, environment size 16 kB):

OLD implementation:

	=> sete ttt 'date;for i in 0 1 2 3 4 5 6 7 8 9 ; do for j in 0 1 2 3 4 5 6 7 8 9 ; do for k in 0 1 2 3 4 5 6 7 8 9 ; do run tt ; done ; done ; done;date'
	=> sete tt 'sete var1 xxx;sete var2 ${var1};sete var1 ${var2};sete var1;sete var2'
	=> run tt
	=> run ttt
	Date: 1910-07-17 (unknown day)    Time: 22:02:31
	Date: 1910-07-17 (unknown day)    Time: 22:03:27
Quoted 7 lines

New implementation:

	=> run ttt
	Date: 1910-07-17 (unknown day)    Time: 20:45:51
	Date: 1910-07-17 (unknown day)    Time: 20:45:53

<joke>I'd propose a contest for the most hilarious use of a BOOTLOADER.....</joke>

But, how does the timing look in the current implementation when the CRC calculation
is done only in the saveenv command?

Best Regards,
Reinhard