Revision tags: v00.04.15, v00.04.14, v00.04.13, v00.04.12, v00.04.11, v00.04.10, v00.04.09, v00.04.08, v00.04.07, v00.04.06, v00.04.05, v00.04.04, v00.04.03, v00.04.02, v00.04.01, v00.04.00, v2021.04, v00.03.03, v2021.01, v2020.10, v2020.07, v00.02.13, v2020.04, v2020.01, v2019.10, v00.02.05, v00.02.04, v00.02.03, v00.02.02, v00.02.01, v2019.07, v00.02.00, v2019.04 |
|
#
3d5ced9e |
| 10-Oct-2018 |
Tom Rini <trini@konsulko.com> |
Merge tag 'dm-9oct18' of git://git.denx.de/u-boot-dm
Test improvements to tidy up output and drop duplicate tests Sandbox SPL/TPL support Various dm-related improvements
|
#
41b781dd |
| 01-Oct-2018 |
Simon Glass <sjg@chromium.org> |
dtoc: Fix the value of SetInt()
This does not set the correct value at present. Fix it.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d24c1d0f |
| 30-Sep-2018 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
#
746aee3f |
| 14-Sep-2018 |
Simon Glass <sjg@chromium.org> |
dtoc: Add a way to create an Fdt object from a data block
Support creating an Fdt object without having to write the data to a file first.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
6434961b |
| 14-Sep-2018 |
Simon Glass <sjg@chromium.org> |
dtoc: Add methods for adding and updating properties
Add a few more functions which allow creating and modifying property values. If only we could do this so easily in the real world.
Signed-off-by
dtoc: Add methods for adding and updating properties
Add a few more functions which allow creating and modifying property values. If only we could do this so easily in the real world.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
e21c27af |
| 14-Sep-2018 |
Simon Glass <sjg@chromium.org> |
dtoc: Support adding new nodes
Add a way to add new nodes and sync them back to the blob.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
af53f5aa |
| 14-Sep-2018 |
Simon Glass <sjg@chromium.org> |
dtoc: Fixed endianness in Prop.GetEmpty()
This should be big endian, since that is what device tree uses. Fix it.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
fa80c25c |
| 14-Sep-2018 |
Simon Glass <sjg@chromium.org> |
dtoc: Allow syncing of the device tree back to a file
At present we require the caller to manually update the device tree using individual calls to libfdt functions. This is not ideal. It would be b
dtoc: Allow syncing of the device tree back to a file
At present we require the caller to manually update the device tree using individual calls to libfdt functions. This is not ideal. It would be better if we could make changes using the Python structure and then call a Sync() function to write them back.
Add this feature to the Fdt class. Update binman and the tests to match.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
b243f41f |
| 09-Aug-2018 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
#
50c59522 |
| 26-Jul-2018 |
Simon Glass <sjg@chromium.org> |
libfdt: Update to latest pylibfdt implementation
The enhanced pylibfdt support in U-Boot needed for binman was a placeholder while upstreaming of this work continued. This is now complete, so bring
libfdt: Update to latest pylibfdt implementation
The enhanced pylibfdt support in U-Boot needed for binman was a placeholder while upstreaming of this work continued. This is now complete, so bring in the changes and update the tools as needed.
There are quite a few changes since we decided to split the implementation into three fdt classes instead of two.
The Fdt.del_node() method was unfortunately missed in this process and will be dealt with later. It exists in U-Boot but not upstream.
Further syncing of libfdt probably needs to wait until we assess the code-size impact of all the new checking code on SPL and possibly provide a way to disable it.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
a30691a5 |
| 03-Aug-2018 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
#
94a7c603 |
| 17-Jul-2018 |
Simon Glass <sjg@chromium.org> |
dtoc: Add a function to obtain a list of phandles
Add a function which can decode a property containing a list of phandles. This is useful for finding nodes linked to a property. Also provide a way
dtoc: Add a function to obtain a list of phandles
Add a function which can decode a property containing a list of phandles. This is useful for finding nodes linked to a property. Also provide a way to look up a single phandle and get the Fdt object from a Node.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
1d85888c |
| 17-Jul-2018 |
Simon Glass <sjg@chromium.org> |
dtoc: Export the _FindNode() function
This is useful for clients that want to find a node. Export it so it can be used by others.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e3396ffd |
| 10-Jul-2018 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
Revision tags: v2018.07 |
|
#
116adecb |
| 06-Jul-2018 |
Simon Glass <sjg@chromium.org> |
dtoc: Add functions to add integer properties
Add a few simple functions to add a placeholder integer property, and set its value.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
dfe5f5b9 |
| 06-Jul-2018 |
Simon Glass <sjg@chromium.org> |
dtoc: Fix some minor errors
Fix some comments and a printf string which is incorrect.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
b9066ffc |
| 06-Jul-2018 |
Simon Glass <sjg@chromium.org> |
dtoc: Fix Fdt.GetNode() to handle a missing node
At present the algortihm is not correct since it will return the root node if the requested node is not found and there are no slashes in the request
dtoc: Fix Fdt.GetNode() to handle a missing node
At present the algortihm is not correct since it will return the root node if the requested node is not found and there are no slashes in the requested node name. Fix this and add a test.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
f9b88b3a |
| 06-Jul-2018 |
Simon Glass <sjg@chromium.org> |
dtoc: Keep track of property offsets
At present the Fdt class does not keep track of property offsets if they change due to removal of properties. Update the code to handle this, and add a test.
Si
dtoc: Keep track of property offsets
At present the Fdt class does not keep track of property offsets if they change due to removal of properties. Update the code to handle this, and add a test.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
2a2d91d0 |
| 06-Jul-2018 |
Simon Glass <sjg@chromium.org> |
dtoc: Update fdt tests to increase code coverage
At present only some of the fdt functionality is tested. Add more tests to cover the rest of it. Also turn on test coverage, which is now 100% with a
dtoc: Update fdt tests to increase code coverage
At present only some of the fdt functionality is tested. Add more tests to cover the rest of it. Also turn on test coverage, which is now 100% with a small exclusion for a Python 3 feature.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
96066240 |
| 06-Jul-2018 |
Simon Glass <sjg@chromium.org> |
dtoc: Drop use of a local dtb buffer
At present the Fdt class has its own copy of the device tree. This is confusing an unnecessary now that pylibfdt has its own. Drop it and provide access function
dtoc: Drop use of a local dtb buffer
At present the Fdt class has its own copy of the device tree. This is confusing an unnecessary now that pylibfdt has its own. Drop it and provide access functions to the buffer.
This allows us to move the rest of the implementation to use pylibfdt methods instead of directly calling libfdt stubs.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
117f57b7 |
| 06-Jul-2018 |
Simon Glass <sjg@chromium.org> |
dtoc: Make use of the new pylibfdt methods
Now that pylibfdt supports a fuller API we don't need to directly call the libfdt stubs. Update the code to use the Fdt methods instead.
Some other cases
dtoc: Make use of the new pylibfdt methods
Now that pylibfdt supports a fuller API we don't need to directly call the libfdt stubs. Update the code to use the Fdt methods instead.
Some other cases remain which will be tidied up in a later commit, since they need larger changes.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
2ba98753 |
| 06-Jul-2018 |
Simon Glass <sjg@chromium.org> |
dtoc: Add some tests for the fdt module
At present this module is tested via the dtoc tests. This is a bit painful since the tests are at a higher level and so failures are more difficult to diagnos
dtoc: Add some tests for the fdt module
At present this module is tested via the dtoc tests. This is a bit painful since the tests are at a higher level and so failures are more difficult to diagnose.
Add some tests that exercise the fdt module directly.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
3def0cf2 |
| 06-Jul-2018 |
Simon Glass <sjg@chromium.org> |
libfdt: Bring in proposed pylibfdt changes
This provides various patches sent to the devicetree-compiler mailing list to enhance the Python bindings. A final version of this patch may be created onc
libfdt: Bring in proposed pylibfdt changes
This provides various patches sent to the devicetree-compiler mailing list to enhance the Python bindings. A final version of this patch may be created once upstreaming is complete, but if it takes too long, this can act as a placeholder.
New pylibfdt features: - Support for most remaining, relevant libfdt functions - Support for sequential-write functions
Changes are applied to existing U-Boot tools as needed.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
83d290c5 |
| 06-May-2018 |
Tom Rini <trini@konsulko.com> |
SPDX: Convert all of our single license tags to Linux Kernel style
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
SPDX: Convert all of our single license tags to Linux Kernel style
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 <trini@konsulko.com>
show more ...
|
Revision tags: v2018.03, v2018.01, v2017.11 |
|
#
08cebeea |
| 15-Sep-2017 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-fdt
|