On Sat, Jul 06, 2019 at 10:11:13AM +0200, Heinrich Schuchardt wrote:
> Hello Tom,
>
> currently we extract grub*.efi either from Ubuntu or from Suse packages
> and use these for test/py/tests/test_efi_loader.py. This implies that we
> do not have test files for architectures that are not
On Wed, Jul 10, 2019 at 04:30:44PM -0500, Andreas Dannenberg wrote:
> On several platforms space is very tight when building for SPL or TPL.
> To claw back a few bytes to be used for code remove the __FILE__ name
> from the BUG() and WARN() type macros. Since those macros still print
> the
On 7/16/19 5:35 PM, Heinrich Schuchardt wrote:
When testing qemu-riscv64_defconfig on Travis CI I got a QEMU erorr
"Parameter 'id' is missing".
A command launching qemu-riscv64_defconfig successfully on Debian is:
qemu-system-riscv64 \
-machine virt \
-kernel u-boot \
-m 1G -nographic -netdev
On Tue, Jun 18, 2019 at 12:14:00PM +0200, Fabien Parent wrote:
> The pumpkin board is made by Gossamer Engineering and is using
> a MediaTek SoC. The board currently comes in two available version:
> MT8516 SoC and MT8167 SoC.
> The board provides the following IOs: eMMC, NAND, SD card, USB
On July 17, 2019 7:42:30 PM GMT+03:00, Tom Rini wrote:
>On Wed, Jul 17, 2019 at 07:37:23PM +0300, Ramon Fried wrote:
>>
>>
>> On July 17, 2019 4:29:04 PM GMT+03:00, Tom Rini
>wrote:
>> >On Mon, Jul 15, 2019 at 03:26:27AM +0300, Ramon Fried wrote:
>> >
>> >> trusty is getting old, move to
This patch adds a separate driver for the MDIO interface of the
Marvell Ethernet controllers based on driver model. There are two
reasons to have a separate driver rather than including it inside
the MAC driver itself:
*) The MDIO interface is shared by all Ethernet ports, so a driver
must
On Sat, Jun 29, 2019 at 10:47:08PM +0200, Martin Devera wrote:
> Original code aborts always. The bug was unnoticed
> probably because 'if' condition was never met. when
> using xtal frequency 25MHz, it blows up.
>
> Signed-off-by: Martin Devera
> ---
> arch/arm/mach-omap2/am33xx/clock.c | 10
This is a respin of the original Marvell MDIO driver submitted by Ken about one
year ago, using the new MDIO DM code.
Added binding documents for mdio and marvell-mdio and introduced a new optional
property for naming MDIO buses in case the driver can't reasonably pick a nice
name by itself.
Alex
Increment conf id to avoid to have two same conf name
into one configuration description.
Signed-off-by: Mickaël Tansorier
---
doc/uImage.FIT/signature.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/uImage.FIT/signature.txt b/doc/uImage.FIT/signature.txt
index
On 17.07.19 16:58, Marek Behún wrote:
The prescaler value computation can yield wrong result if given 0x1f at
the beginning: the value is computed to be 0x20, but the maximum value
the register can hold 0x1f, so the actual stored value in this case is
0, which is obviously wrong. The first
On July 17, 2019 4:29:04 PM GMT+03:00, Tom Rini wrote:
>On Mon, Jul 15, 2019 at 03:26:27AM +0300, Ramon Fried wrote:
>
>> trusty is getting old, move to xenial (16.04)
>> to get updated gcc and other tools.
>>
>> Signed-off-by: Ramon Fried
>> ---
>> .travis.yml | 2 +-
>> 1 file changed, 1
The following changes since commit 9c94e0a64490b90d48995a8230499167c0bdca68:
Merge branch 'master' of git://git.denx.de/u-boot-net (2019-07-15
18:56:24 -0400)
are available in the Git repository at:
https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git
tags/efi-2019-10-rc1-2
for you to
The prescaler value computation can yield wrong result if given 0x1f at
the beginning: the value is computed to be 0x20, but the maximum value
the register can hold 0x1f, so the actual stored value in this case is
0, which is obviously wrong. The first condition should also take care
of the 0x1f
Implicitly Marvell MDIO driver uses DT node names for devices, but in this
case that is not unique. Set MDIO device names for master/slave to
cpm/cps.
Signed-off-by: Alex Marginean
---
arch/arm/dts/armada-cp110-master.dtsi | 1 +
arch/arm/dts/armada-cp110-slave.dtsi | 1 +
2 files changed, 2
Adds a binding document for mdio. A notable deviation from corresponding
Linux binding is the introduction of device-name optional property, which
can be used to name MDIO buses. Two reset optional properties described
by Linux binding are also not present as they don't seem to be used in
U-Boot
Use the optional property device-name to name the MDIO bus. This works
around limitations with using the DT node name on devices such as
Armada-8040, which integrates two cp100 cores, both featuring MDIOs at the
same relative offsets and with the same DT node names.
The concept was originally
Hi Peng and Ye,
I notice that mx7ulp evk does not boot with U-Boot mainline.
I see that the changes for supporting silicon revision B0 from NXP
U-Boot tree are not present in mainline U-Boot.
Do you plan to submit these patches upstream?
Please let me know.
Thanks,
Fabio Estevam
On Wed, Jul 17, 2019 at 10:44:23AM -0600, Simon Glass wrote:
> Hi,
>
> On Wed, 17 Jul 2019 at 00:40, Anup Patel wrote:
> >
> > Hi Simon,
> >
> > Can you pick-up SiFive clock driver changes from below series
> > for U-Boot 2019.10?
>
> I don't see them in my patchwork queue. Who is the custodian
On Tue, Jul 16, 2019 at 10:30:36PM +0200, Simon Goldschmidt wrote:
> This implements a stack usage check in SPL.
>
> Many boards start up SPL to run code + data from one common, rather small
> SRAM. To implement a sophisticated SPL binary size limit on such boards,
> the stack size (as well as
Add missing newline before title and subtitle.
Signed-off-by: Mickaël Tansorier
---
doc/uImage.FIT/signature.txt | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/uImage.FIT/signature.txt b/doc/uImage.FIT/signature.txt
index 27bcbef5d6..6ab96fc413 100644
---
On Fri, Jun 21, 2019 at 12:12:39PM +0800, Leon Yu wrote:
> If there is only one menu item available, prompting user to enter
> choice makes little sense and just causes unnecessary boot delay. This
> change makes menu_get_choice return the only one item when there is no
> other choices.
>
>
On Wed, Jul 17, 2019 at 07:37:23PM +0300, Ramon Fried wrote:
>
>
> On July 17, 2019 4:29:04 PM GMT+03:00, Tom Rini wrote:
> >On Mon, Jul 15, 2019 at 03:26:27AM +0300, Ramon Fried wrote:
> >
> >> trusty is getting old, move to xenial (16.04)
> >> to get updated gcc and other tools.
> >>
> >>
On Thu, Jun 27, 2019 at 06:15:00PM +0900, Masahiro Yamada wrote:
> Based on Linux commit 8bd9cb51daac ("locking/atomics, asm-generic:
> Move some macros from to a new file").
>
> We cannot sync . Unfortunately, BITS_PER_LONG is defined
> differently from Linux.
>
> Signed-off-by: Masahiro
Hi,
On Wed, 17 Jul 2019 at 00:40, Anup Patel wrote:
>
> Hi Simon,
>
> Can you pick-up SiFive clock driver changes from below series
> for U-Boot 2019.10?
I don't see them in my patchwork queue. Who is the custodian for this?
Regards,
Simon
>
> [PATCH v9 0/9] Update SiFive Unleashed Drivers
>
On Fri, Jul 12, 2019 at 02:53:47PM +0530, suni...@techveda.org wrote:
> From: Suniel Mahesh
>
> This patch disables DM watchdog support for SPL builds and uses
> the legacy omap watchdog on TI AM335x chipsets.
>
> The following build error is reported if DM watchdog support was enabled in
>
On Mon, Jul 15, 2019 at 03:26:27AM +0300, Ramon Fried wrote:
> trusty is getting old, move to xenial (16.04)
> to get updated gcc and other tools.
>
> Signed-off-by: Ramon Fried
> ---
> .travis.yml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/.travis.yml
The SOM-LV and Torpedo boards are very similar, but something
happened growing SPL enough to break the Torpedo. The SOM-LV
board were not doing alias sequencing during SPL and they
continue to work while something broke the Torpedo. This
patch disables SPL_DM_SEQ_ALIAS allowing it to boot again.
On Fri, Jul 12, 2019 at 12:14 AM Marek Vasut wrote:
>
> On 7/10/19 8:59 PM, Adam Ford wrote:
> > With the recently added phy driver, this patch will enable the
> > musb driver on the da8xx to operate in host mode.
> >
> > Signed-off-by: Adam Ford
> > ---
> > drivers/usb/musb-new/Kconfig | 8
On 7/17/19 6:02 PM, Stephen Warren wrote:
On 7/16/19 5:35 PM, Heinrich Schuchardt wrote:
When testing qemu-riscv64_defconfig on Travis CI I got a QEMU erorr
"Parameter 'id' is missing".
A command launching qemu-riscv64_defconfig successfully on Debian is:
qemu-system-riscv64 \
-machine virt \
Am 17.07.2019 um 20:07 schrieb Tom Rini:
On Tue, Jul 16, 2019 at 10:30:36PM +0200, Simon Goldschmidt wrote:
This implements a stack usage check in SPL.
Many boards start up SPL to run code + data from one common, rather small
SRAM. To implement a sophisticated SPL binary size limit on such
On 7/17/19 10:25 AM, AKASHI Takahiro wrote:
In UEFI variable implementation, ENVCTX_UEFI is used for context
and VARSTORAGE_VOLATILE and VARSTORAGE_NON_VOLATILE_AUTOSAVE are
allowed for variable storage attribute.
Signed-off-by: AKASHI Takahiro
---
include/efi_loader.h | 1 +
On 7/17/19 10:25 AM, AKASHI Takahiro wrote:
# In version 4 of this patch set, the implementation is changed to meet
# Wolfgang's requirements.
# I believe that this is NOT intrusive, and that my approach here is NOT
# selfish at all. If Wolfgang doesn't accept this approach, however,
# I would
+Nevo, I forgot to CC you.
Alex
On 7/17/2019 6:10 PM, Alex Marginean wrote:
This is a respin of the original Marvell MDIO driver submitted by Ken about one
year ago, using the new MDIO DM code.
Added binding documents for mdio and marvell-mdio and introduced a new optional
property for naming
Add support for the ddc-i2c-bus device tree property which allows for
using an external i2c master for reading the display's EDID.
Signed-off-by: Niklas Schulze
---
drivers/video/dw_hdmi.c | 10 ++
drivers/video/meson/meson_dw_hdmi.c | 2 ++
drivers/video/rockchip/rk_hdmi.c
On Thu, Jul 04, 2019 at 11:05:16AM +0930, Joel Stanley wrote:
> Currently we only have one, but this will expand to cover other boards
> as they are supported.
>
> Signed-off-by: Joel Stanley
> ---
> .travis.yml | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/.travis.yml
Bring us back into line with current Travis tests.
Signed-off-by: Tom Rini
---
.gitlab-ci.yml | 10 ++
1 file changed, 10 insertions(+)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3ddd5ad99a85..cb636b25a61e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -159,6 +159,16 @@
Half DQ configuration seems to be very rare for H6 based boards/STBs,
but exists nevertheless. Currently the only known product which needs
this support is Tanix TX6 mini.
This commit adds support for half DQ configuration. Code was tested
for regressions on other configurations (OrangePi 3 1
Heinrich,
On Wed, Jul 17, 2019 at 09:05:55PM +0200, Heinrich Schuchardt wrote:
> On 7/17/19 10:25 AM, AKASHI Takahiro wrote:
> ># In version 4 of this patch set, the implementation is changed to meet
> ># Wolfgang's requirements.
> ># I believe that this is NOT intrusive, and that my approach
Heinrich,
On Wed, Jul 17, 2019 at 08:53:53PM +0200, Heinrich Schuchardt wrote:
> On 7/17/19 10:25 AM, AKASHI Takahiro wrote:
> >In UEFI variable implementation, ENVCTX_UEFI is used for context
> >and VARSTORAGE_VOLATILE and VARSTORAGE_NON_VOLATILE_AUTOSAVE are
> >allowed for variable storage
Hi Fabio,
I already submitted patches 2 months ago, but still not merged.
https://patchwork.ozlabs.org/cover/1099916/
https://patchwork.ozlabs.org/patch/1100269/
Regards,
Peng.
> -Original Message-
> From: Fabio Estevam [mailto:feste...@gmail.com]
> Sent: 2019年7月18日 1:00
> To: Peng Fan
On Wed, 17 Jul 2019 at 19:57, Tom Rini wrote:
>
> On Thu, Jul 04, 2019 at 11:05:16AM +0930, Joel Stanley wrote:
>
> > Currently we only have one, but this will expand to cover other boards
> > as they are supported.
> >
> > Signed-off-by: Joel Stanley
> > ---
> > .travis.yml | 3 +++
> > 1 file
On Thu, Jul 18, 2019 at 01:30:01AM +, Joel Stanley wrote:
> On Wed, 17 Jul 2019 at 19:57, Tom Rini wrote:
> >
> > On Thu, Jul 04, 2019 at 11:05:16AM +0930, Joel Stanley wrote:
> >
> > > Currently we only have one, but this will expand to cover other boards
> > > as they are supported.
> > >
>
On Thu, 18 Jul 2019 at 01:33, Tom Rini wrote:
>
> On Thu, Jul 18, 2019 at 01:30:01AM +, Joel Stanley wrote:
> > On Wed, 17 Jul 2019 at 19:57, Tom Rini wrote:
> > > This isn't needed as the job that builds all matches to arm11 arm7
> > > arm920t arm946es builds it.
> >
> > I thought this
Hi Peng,
On Wed, Jul 17, 2019 at 10:20 PM Peng Fan wrote:
>
> Hi Fabio,
>
> I already submitted patches 2 months ago, but still not merged.
> https://patchwork.ozlabs.org/cover/1099916/
> https://patchwork.ozlabs.org/patch/1100269/
Thanks, I will test them tomorrow.
Cheers
It is useful to be able to extract all binaries from the image, or a
subset of them. Add a new 'extract' command to handle this.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/README | 25 +-
tools/binman/cmdline.py | 13 +++
tools/binman/control.py | 60
Current test coverage is likely sufficient for the logic used to place
sections in the image. However it seems useful to add a test specifically
for nested sections, since these could have some unusual interactions.
Add a new test for this and aligned sections. This test failed before the
Binman generally operates silently but in some cases it is useful to see
what Binman is actually doing at each step. Enable some logging output
with different logging levels selectable via the -v flag.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/README | 19
It is useful to add the CBFS file information (offset, size, etc.) into
the FDT so that the layout is complete. Add support for this.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/etype/cbfs.py| 49 +--
tools/binman/ftest.py
CBFS is a bit like a section but with a custom format. Provide the list of
entries and the compression type to binman so that it can extract the data
from the CBFS, just like any other part of the image.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/cbfs_util.py | 14
Add support for locating an image's Fdt map which is used to determine
the contents and structure of the image.
Signed-off-by: Simon Glass
---
Changes in v2:
- Adjust LocateFdtmap() to return the position of the header
- Update commit subject to more accurately describe this patch
- Update test
It is useful to be able to summarise all the entries in an image, e.g. to
display this to this user. Add a new ListEntries() method to Entry, and
set up a way to call it through the Image class.
Signed-off-by: Simon Glass
---
Changes in v2:
- Add the Entry object to EntryInfo as well
- Change
Detect when an unknown or unsupported file type is specified and report
an error.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/etype/cbfs.py | 3 +++
tools/binman/ftest.py | 6 ++
tools/binman/test/126_cbfs_bad_type.dts | 17
At present having a descriptor means that there is an ME (Intel
Management Engine) entry as well. The descriptor provides the ME location
and assumes that it is present.
For some SoCs this is not true. Before providing the location of a
potentially non-existent entry, check if it is present.
It is possible to read an Image, locate its FDT map and then read it into
the binman data structures. This allows full access to the entries that
were written to the image. Add support for this.
Signed-off-by: Simon Glass
---
Changes in v2:
- Deal with travis's old lz4 version by skipping tests
A few new features have been added. This has rendered part of the README
obsolete. Update it.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/README | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
Applied to u-boot-dm, thanks!
Add support for locating an image header in an image.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/etype/image_header.py | 23 +++
tools/binman/ftest.py | 27 +++
2 files changed, 50 insertions(+)
Applied to
When support for sections (and thus hierarchical images) was added to
binman, the decision was made to create a new Section class which could
be used by both Image and an Entry_section class. The decision between
using inheritance and composition was tricky to make, but in the end it
was decided
The -D option enables debug mode, but we only need to add -D to the
command line once. Drop the duplicate code. Also drop the comment about
enabling debugging since this can be done with -D.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/binman.py | 5 -
1 file changed,
Compression is currently available only with blobs. However we want to
report the compression algorithm and uncompressed size for all entries,
so that other entry types can support compression. This will help with
the forthcoming 'list' feature which lists entries in the image.
Move the
Update the compression test to use the tools module to decompress the
output data.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/ftest.py | 13 ++---
1 file changed, 2 insertions(+), 11 deletions(-)
Applied to u-boot-dm, thanks!
Coreboot uses a simple flash-based filesystem called Coreboot Filesystem
(CBFS) to organise files used during boot. This allows files to be named
and their position in the flash to be set. It has special features for
dealing with x86 devices which typically memory-map their SPI flash to the
top of
This function raises an exception with its arguments around the wrong way
so the message is incorrect. Fix this as well as a few minor comment
problems.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/entry.py | 8
tools/binman/ftest.py | 2 +-
2 files changed, 5
Sometimes when debugging tests it is useful to keep the input and output
directories so they can be examined later. Add an option for this and
update the binman tests to support it. This affects both the test class
and the tearDown() function called after each test.
Signed-off-by: Simon Glass
The first argument is not used. Remove it.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/entry.py | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
Applied to u-boot-dm, thanks!
___
U-Boot mailing list
From: Sherry Sun
The SPL SDP is configured as BOOT_DEVICE_BOARD, so when booting from
USB, change its type to BOOT_DEVICE_BOARD, so we can use SDP.
Signed-off-by: Sherry Sun
Signed-off-by: Ye Li
---
arch/arm/mach-imx/spl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Add support for detecting entries that change size after they have already
been packed, and re-running packing when it happens.
This removes the limitation that entry size cannot change after
PackEntries() is called.
Signed-off-by: Simon Glass
---
Changes in v2:
- Avoid dual assignment in
It is useful to be able to extract entry contents from an image to see
what is inside. Add a simple function to read the contents of an entry,
decompressing it by default.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/control.py| 20 ++
Add utility functions to compress and decompress using lz4 and lzma
algorithms. In the latter case these use the legacy lzma support favoured
by coreboot's CBFS.
No tests are provided as these functions will be tested by the CBFS
tests in a separate patch.
Signed-off-by: Simon Glass
---
From: Sherry Sun
Need initialize UDC before run sdp download and release it at the end of
sdp.
Signed-off-by: Sherry Sun
Signed-off-by: Frank Li
---
common/spl/spl_sdp.c | 4
1 file changed, 4 insertions(+)
diff --git a/common/spl/spl_sdp.c b/common/spl/spl_sdp.c
index
At present a file with no explicit CBFS offset is placed in the next
available location but there is no way to find out where it ended up.
Update and rename the get_data() function to provide this information.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/cbfs_util.py | 31
FD is a bit confusing so write this out in full. Also avoid splitting the
string so that people can grep for the error message more easily.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/etype/intel_descriptor.py | 2 +-
tools/binman/ftest.py | 4 ++--
2
It is useful to be able to quickly locate the FDT map in the image. An
easy way to do this is with a pointer at the start or end of the image.
Add an 'image header' entry, which places a magic number followed by a
pointer to the FDT map. This can be located at the start or end of the
image, or at
Quite a few tests will use a real device tree and need it updated with the
binman metadata. Add a helper function for this.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/ftest.py | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
Applied to u-boot-dm,
When there is lots of open space in a CBFS it is normally padded with
'empty' files so that sequentially scanning the CBFS can skip from one to
the next without a break.
Add support for this.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/cbfs_util.py | 68
An FDT map is an entry which holds a full description of the image
entries, in FDT format. It can be discovered using the magic string at
its start. Tools can locate and read this entry to find out what entries
are in the image and where each entry is located.
Signed-off-by: Simon Glass
---
Add support for listing the entries in an image. This relies on the image
having an FDT map.
Signed-off-by: Simon Glass
---
Changes in v2:
- Adjust the test to not rely on lz4 compression version
- Allow listing subsets of the image
- Change list command from 'list' to 'ls'
- Deal with travis's
Tools like ifwitool may not be available in the PATH, but are available in
the build. These tools may be needed by tests, so allow tests to use the
--toolpath flag.
Also use this flag with travis.
Signed-off-by: Simon Glass
---
Changes in v2: None
.travis.yml| 2 +-
test/run
We plan to support changing the size of entries after they have been
packed. For now it will always be enabled. But to aid testing of both
cases (in the event that we want to add a command-line flag, for example),
add a setting to control it.
Signed-off-by: Simon Glass
---
Changes in v2: None
The purpose of this badly named field is a bit ambiguous. Adjust the code
to use it only to store the uncompressed length of a file, leaving it set
to None if there is no compression used. This makes it easy to see if the
value in this field is relevant / useful.
Also set data_len for compressed
A feature of CBFS is that it allows files to be positioned at particular
offset (as with binman in general). This is useful to support
execute-in-place (XIP) code, since this may not be relocatable.
Add a new cbfs-offset property to control this.
Signed-off-by: Simon Glass
---
Changes in v2:
-
From: Sherry Sun
If SDP_WRITE and SDP_JUMP command addr is zero, use CONFIG_SDP_LOADADDR
as default address.
Signed-off-by: Sherry Sun
Signed-off-by: Frank Li
---
drivers/usb/gadget/Kconfig | 4
drivers/usb/gadget/f_sdp.c | 6 --
2 files changed, 8 insertions(+), 2 deletions(-)
At present text entries use an indirect method to specify the text to use,
with a label pointing to the text itself.
Allow the text to be directly written into the node. This is more
convenient in cases where the text is constant.
Signed-off-by: Simon Glass
---
Changes in v2: None
This should be -u, not -up, since we don't need to preserve the output
directory in this case.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/ftest.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Applied to u-boot-dm, thanks!
The current help is confusing. Adjust it to indicate what the flag
actually does.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/cmdline.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Applied to u-boot-dm, thanks!
___
At present entry modules can only be accessed using Entry.Lookup() or
Entry.Create(). Most of the time this is fine, but sometimes a module
needs to provide constants or helper functions useful to other modules.
It is easier in this case to use 'import'.
Add an __init__ file to permit this.
Add support for putting CBFSs (Coreboot Filesystems) in an image. This
allows binman to produce firmware images used by coreboot to boot.
Signed-off-by: Simon Glass
---
Changes in v2:
- Deal with travis's old lz4 version by skipping tests as necessary
- Skip use of cbfstool in tests if it is
Avoid duplicate code here by using the new compression function in the
tools module.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/etype/blob.py | 16
1 file changed, 4 insertions(+), 12 deletions(-)
Applied to u-boot-dm, thanks!
At present the logic skips the blob class' handling of compression, so
this is not supported with device tree entries. Fix this.
Signed-off-by: Simon Glass
---
Changes in v2:
- Update test to use _DoReadFileRealDtb() helper
tools/binman/etype/blob.py | 25 +
This class is the new way to handle arguments in Python. Convert binman
over to use it. At the same time, introduce commands so that we can
separate out the different parts of binman functionality.
Signed-off-by: Simon Glass
---
Changes in v2:
- Don't allow global arguments after the command
-
At present this function always sets both the offset and the size of
entries. But in some cases we want to set only one or the other, for
example with the forthcoming ifwi entry, where we only set the offset.
Update the function to handle this.
Signed-off-by: Simon Glass
---
Changes in v2: None
At present GetOffsets() lacks a function comment. Add one.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/entry.py | 15 +++
1 file changed, 15 insertions(+)
Applied to u-boot-dm, thanks!
___
U-Boot mailing list
At present if this function tries to update the contents such that the
size changes, it raises an error. We plan to add the ability to change
the size of entries after packing is completed, since in some cases it is
not possible to determine the size in advance.
An example of this is with a
It is useful to create an ELF file for testing purposes, with just the
right attributes used by the test. Add a function to handle this, along
with a test that it works correctly.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/elf.py | 98
Add a function which decodes an ELF file, working out where in memory each
part of the data should be written.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/README | 4 +++
tools/binman/elf.py | 76
tools/binman/elf_test.py
A few features have been completed and a few items are added.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/README | 12
1 file changed, 8 insertions(+), 4 deletions(-)
Applied to u-boot-dm, thanks!
___
U-Boot mailing
If tests are skipped we should ideally exit with an error, since there may
be a missing dependency. However at present this is not desirable since it
breaks travis tests. For now, just report the skips.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/binman.py | 9 +++--
1
We currenty support using the ELF file in U-Boot proper and SPL, but not
TPL. Add this as it is useful both with sandbox and for CBFS to allow
adding TPL as a 'stage'.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/README.entries | 11 +++
SetContents() should only be called to set the contents of an entry from
within the ObtainContents() call, since it has no guard against increasing
the size of the contents, thus triggering incorrect operation.
Change all such calls to use ProcessUpdateContents() instead.
Signed-off-by: Simon
This comment mentions the wrong default filename. Fix it.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/README.entries | 2 +-
tools/binman/etype/u_boot_spl_elf.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Applied to u-boot-dm, thanks!
At present the -v flag is ignored with tests, so that (for example) -v2
does not have any effect. Update binman to pass this flag through to tests
so that they work just like running binman normally, except in a few
special cases where we are actually testing behaviour with different
levels of
1 - 100 of 166 matches
Mail list logo