<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/test/image, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/'/>
<updated>2019-03-08T16:31:44Z</updated>
<entry>
<title>test: Update test-imagetools.sh to match new syntax</title>
<updated>2019-03-08T16:31:44Z</updated>
<author>
<name>Martyn Welch</name>
</author>
<published>2019-02-14T13:11:35Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=280fafff165428bc69db221faaccaf4edfc32d9d'/>
<id>urn:sha1:280fafff165428bc69db221faaccaf4edfc32d9d</id>
<content type='text'>
The syntax of dumpimage was simplified in commit 12b831879a76 ("tools:
dumpimage: Simplify arguments"), but the test
(test/image/test-imagetools.sh) was not updated and is now failing.

Update the test to use the new syntax.

Reported-by: Vagrant Cascadian &lt;vagrant@debian.org&gt;
Signed-off-by: Martyn Welch &lt;martyn.welch@collabora.com&gt;
Tested-by: Vagrant Cascadian &lt;vagrant@debian.org&gt;
</content>
</entry>
<entry>
<title>SPDX: Convert all of our single license tags to Linux Kernel style</title>
<updated>2018-05-07T13:34:12Z</updated>
<author>
<name>Tom Rini</name>
</author>
<published>2018-05-06T21:58:06Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=83d290c56fab2d38cd1ab4c4cc7099559c1d5046'/>
<id>urn:sha1:83d290c56fab2d38cd1ab4c4cc7099559c1d5046</id>
<content type='text'>
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from.  So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry.  Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.

In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.

This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents.  There's also a few places where I found we did not have a tag
and have introduced one.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>test: Move the FIT test into the correct place</title>
<updated>2017-08-13T19:17:36Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2017-08-05T16:28:41Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=3a37aee30f56aea69849f27d7839923eec58a2af'/>
<id>urn:sha1:3a37aee30f56aea69849f27d7839923eec58a2af</id>
<content type='text'>
Move this test so that it will run when 'make tests' is used.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test: Convert the FIT test to test/py</title>
<updated>2017-08-13T19:17:36Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2017-08-05T16:28:40Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=77b426703ddcfbe86ea97554f626c1793a381835'/>
<id>urn:sha1:77b426703ddcfbe86ea97554f626c1793a381835</id>
<content type='text'>
Convert this test to use the pytest framework.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test: Indent test-fit.py to match the next patch</title>
<updated>2017-08-13T19:17:36Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2017-08-05T16:28:39Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=bde671237f476f2a4cc325c664a2bb2fc7c1fa6d'/>
<id>urn:sha1:bde671237f476f2a4cc325c664a2bb2fc7c1fa6d</id>
<content type='text'>
We plan to rewrite this script to use the pytest framework. To make it
easier to review the changes, indent the code to match the next patch.
This gets all of the whitespace changes out of the way.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test: Fix FIT test to pass again</title>
<updated>2017-08-13T19:17:35Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2017-08-04T22:20:16Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=010ad8c34a03ca610eb247acd931facf61d158db'/>
<id>urn:sha1:010ad8c34a03ca610eb247acd931facf61d158db</id>
<content type='text'>
A recent change adjusted a test string so that the test no-longer passes.
Fix it.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reported-by: Heiko Schocher &lt;hs@denx.de&gt;
Fixes: b28c5fcc (test-fit.py: Minor grammar/spelling/clarification tweaks)
</content>
</entry>
<entry>
<title>test-fit.py: Minor grammar/spelling/clarification tweaks</title>
<updated>2017-03-20T22:04:41Z</updated>
<author>
<name>Robert P. J. Day</name>
</author>
<published>2017-03-13T10:50:55Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=b28c5fcc1caba3e0532b6d9ca7954f16a61ac75d'/>
<id>urn:sha1:b28c5fcc1caba3e0532b6d9ca7954f16a61ac75d</id>
<content type='text'>
* Add note that execution needs Python development package installed
* Standardize on upper case "FIT", "FDT" as necessary for clarity
* Fix "tempoerary", "linex" typos

Signed-off-by: Robert P. J. Day &lt;rpjday@crashcourse.ca&gt;
</content>
</entry>
<entry>
<title>image: Fix FIT and vboot tests to exit sandbox correctly</title>
<updated>2016-02-26T15:53:10Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2016-02-24T16:14:44Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=0edd82e2448d4aa8f729ac1df8bb55121388a069'/>
<id>urn:sha1:0edd82e2448d4aa8f729ac1df8bb55121388a069</id>
<content type='text'>
When used with a device tree, sandbox now requires a 'reset' controller. Add
this to the device trees so that reset works and the tests can complete.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Fixes: 5010d98f (sandbox: Use the reset driver to handle reset)
</content>
</entry>
<entry>
<title>add test for two 'loadables'</title>
<updated>2015-05-28T12:18:21Z</updated>
<author>
<name>Karl Apsite</name>
</author>
<published>2015-05-21T13:52:50Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=657fd2d031daabf53c653ab3aa32b88846b3037d'/>
<id>urn:sha1:657fd2d031daabf53c653ab3aa32b88846b3037d</id>
<content type='text'>
Nothing too fancy.  A simple test that attmpts to load two loadables and
verify that they are properly unpacked in the u-boot sandbox.
Signed-off-by: Karl Apsite &lt;Karl.Apsite@dornerworks.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dumpimage: fit: extract FIT images</title>
<updated>2015-01-29T18:38:41Z</updated>
<author>
<name>Guilherme Maciel Ferreira</name>
</author>
<published>2015-01-15T04:54:42Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=39931f966adaeadd66dc7a905f7dddb93f66bac3'/>
<id>urn:sha1:39931f966adaeadd66dc7a905f7dddb93f66bac3</id>
<content type='text'>
The dumpimage is able to extract components contained in a FIT image:

  $ ./dumpimage -T flat_dt -i CONTAINER.ITB -p INDEX FILE

The CONTAINER.ITB is a regular FIT container file. The INDEX is the poisition
of the sub-image to be retrieved, and FILE is the file (path+name) to save the
extracted sub-image.

For example, given the following kernel.its to build a kernel.itb:

  /dts-v1/;
  / {
      ...
      images {
        kernel@1 {
          description = "Kernel 2.6.32-34";
          data = /incbin/("/boot/vmlinuz-2.6.32-34-generic");
          type = "kernel";
          arch = "ppc";
          os = "linux";
          compression = "gzip";
          load = &lt;00000000&gt;;
          entry = &lt;00000000&gt;;
          hash@1 {
            algo = "md5";
          };
        };
        ...
      };
      ...
    };

The dumpimage can extract the 'kernel@1' node through the following command:

  $ ./dumpimage -T flat_dt -i kernel.itb -p 0 kernel
  Extracted:
   Image 0 (kernel@1)
    Description:  Kernel 2.6.32-34
    Created:      Wed Oct 22 15:50:26 2014
    Type:         Kernel Image
    Compression:  gzip compressed
    Data Size:    4040128 Bytes = 3945.44 kB = 3.85 MB
    Architecture: PowerPC
    OS:           Linux
    Load Address: 0x00000000
    Entry Point:  0x00000000
    Hash algo:    md5
    Hash value:   22352ad39bdc03e2e50f9cc28c1c3652

Which results in the file 'kernel' being exactly the same as '/boot/vmlinuz-2.6.32-34-generic'.

Signed-off-by: Guilherme Maciel Ferreira &lt;guilherme.maciel.ferreira@gmail.com&gt;
</content>
</entry>
</feed>
