Skip to content

Improve env var handling for net stack

Tom Rini u-boot 2 versions – New

Get series with b4
b4 am 20150521133305.GD8007@bill-the-cat

Versions newest first · linked by author and title

  1. v4 Latest posting 2/20 of 26 patches 0 repliesNew
  2. v4 posting 1/20 of 26 patches 0 repliesSuperseded

Patches in v4 posting 2/2 No applies recorded yet

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

Reviews trailers per patch

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

Read the v4 thread

Cover letter [U-Boot] [PATCH v4 00/26] Improve env var handling for net stack
Quoted 15 lines · Joe Hershberger

Hi Tom,

Quoted 12 lines · Tom Rini
Quoted 10 lines · Joe Hershberger

This includes moving CONFIG_REGEX to Kconfig and adding support for regex to the env_attr lists (when CONFIG_REGEX is enabled).

This allows ethaddrs to all be checked for access and format by default. Also use callbacks to keep network stack variables up to date instead of polling them on each call to net_loop.

This is a step in the right direction to refactoring the network stack to be similar to that of barebox.

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Also added a test command to host unit tests for the env functions.

Can you do a v5 on top of master please? The config changes fail pretty badly, thanks!

I just noticed that this also conflicts a bit with u-boot-net/master. Should I push it there and send a new PR?

I had to think when applying #13 (so please check when I push) but I gave omap4_panda (a usb eth setup) a quick try and it's still working so I think we're good. I assume you're taking care of usbethaddr in these changes :). I also tested on am335x GP EVM (SoC ethernet) and that still works too.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150521/838b74f5/attachment.sig>