Skip to content

sandbox: Generic board support and other improvements

Tom Rini u-boot 2 versions – New

Get series with b4
b4 am 20130501201846.GX25397@bill-the-cat

Versions newest first · linked by author and title

  1. v3 Latest posting 2/20 of 17 patches 0 repliesNew
  2. v3 posting 1/22 of 17 patches 0 repliesSuperseded

Patches in v3 posting 2/2 No applies recorded yet

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

Reviews trailers per patch

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

Read the v3 thread

Cover letter [U-Boot] [PATCH v3 0/17] sandbox: Generic board support and other improvements
Quoted 46 lines · Simon Glass

Hi Tom,

Quoted 43 lines · Simon Glass

Hi Tom,

Quoted 28 lines · Tom Rini
Quoted 18 lines · Simon Glass

This series adds generic board support to sandbox and switches to use this always.

With sandbox it was noticed that turning CONFIG_SYS_GENERIC_BOARD off can cause a build failure if a previous autoconf.mk exists which indicates that generic board is not supported, so a patch is provided to fix this.

It is useful to convert a pointer into an 'address' in the sandbox RAM buffer - the opposite of map_sysmem(). This is added in this series and used in several places.

With sandbox it is easier to read a file from the host than to use the CONFIG_OF_SEPARATE option, since this option requires knowledge of the executable image structure which is not really appropriate on the host system. A new CONFIG_OF_HOSTFILE provides this.

A few related FDT changes are included in this series also.

Quoted 7 lines

The -c option is enhanced to support passing entire scripts to sandbox. This is useful when writing non-trivial test code.

Most of these patches were previously submitted as part of the verified boot effort. This series collects the independent sandbox-related patches together to make it easier to review. THe whole series is marked as version 3 for this reason.

Quoted 6 lines

For the series,

And I'd say 3/4/5 should be squashed into one patch, but it's your arch so I'l defer if you think it adds bisect value or similar to do it in that manner.

I did that so that it could be kind-of an example of how this can be done for an arch, given that I am not planning to convert the rest. By removing the dead code in a separate step it seemed a bit clearer to me.

Quoted 6 lines
Quoted 1 line

But it's fine either way - I will squash it and resend.

I have put this series in patchwork as:

http://patchwork.ozlabs.org/bundle/sjg/sandbox/

This has now been applied to u-boot/master, thanks!

Quoted 4 lines

and below is a pull request if you want to take that instead.

I did not go through and add your Reviewed-by to each patch. Am I supposed to do that?

No, that pain is supposed to help spur us into improving patchwork or the new tool we talked about back at LSM.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130501/992de569/attachment.pgp>