#
082b1414 |
| 20-Dec-2016 |
Stefan Agner <stefan.agner@toradex.com> |
cmd: fdt: Print error message when fdt application fails
There are lots of reason why a FDT application might fail, the error code might give an indication. Let the error code translate in a error s
cmd: fdt: Print error message when fdt application fails
There are lots of reason why a FDT application might fail, the error code might give an indication. Let the error code translate in a error string so users can try to understand what went wrong.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
73eed452 |
| 03-Dec-2016 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://www.denx.de/git/u-boot-dm
|
#
f7f191ee |
| 24-Nov-2016 |
Fabien Parent <fparent@baylibre.com> |
cmd/fdt: fix uncallable systemsetup command
The function that is processing the 'fdt' parameters is one big if-else if. In order to be able to type command faster only the first few letter are check
cmd/fdt: fix uncallable systemsetup command
The function that is processing the 'fdt' parameters is one big if-else if. In order to be able to type command faster only the first few letter are checked to know which block of code to execute. For systemsetup, the block of code that was executed was always the wrong one and ended up in a failure.
} else if (argv[1][0] == 's') { process "fdt set" command } else if (strncmp(argv[1], "sys", 3) == 0) { process "fdt systemsetup" command. }
When typing "fdt systemsetup", the code that was executed was the code for "fdt set".
This commit fix this issue by moving the "else if" for systemsetup before the else if for "fdt set". This allow us to keep compatibility with any script that make use of "fdt s" to set node values.
Signed-off-by: Fabien Parent <fparent@baylibre.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
4504062b |
| 13-Oct-2016 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-fdt
|
#
ef476836 |
| 20-Sep-2016 |
Hannes Schmelzer <hannes.schmelzer@br-automation.com> |
cmd/fdt: add possibilty to have 'extrasize' on fdt resize
Sometimes devicetree nodes and or properties are added out of the u-boot console, maybe through some script or manual interaction.
The devi
cmd/fdt: add possibilty to have 'extrasize' on fdt resize
Sometimes devicetree nodes and or properties are added out of the u-boot console, maybe through some script or manual interaction.
The devicetree as loaded or embedded is quite small, so the devicetree has to be resized to take up those new nodes/properties.
In original the devicetree was only extended by effective 4 * add_mem_rsv.
With this commit we can add an argument to the "fdt resize" command, which takes the extrasize to be added.
Signed-off-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com>
Signed-off-by: Hannes Schmelzer <oe5hpm@oevsv.at> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
Revision tags: v2016.07 |
|
#
e6628ad7 |
| 05-Jul-2016 |
Maxime Ripard <maxime.ripard@free-electrons.com> |
cmd: fdt: add fdt overlay application subcommand
The device tree overlays are a good way to deal with user-modifyable boards or boards with some kind of an expansion mechanism where we can easily pl
cmd: fdt: add fdt overlay application subcommand
The device tree overlays are a good way to deal with user-modifyable boards or boards with some kind of an expansion mechanism where we can easily plug new board in (like the BBB or the raspberry pi).
However, so far, the usual mechanism to deal with it was to have in Linux some driver detecting the expansion boards plugged in and then request these overlays using the firmware interface.
That works in most cases, but in some cases, you might want to have the overlays applied before the userspace comes in. Either because the new board requires some kind of an early initialization, or because your root filesystem is accessed through that expansion board.
The easiest solution in such a case is to simply have the component before Linux applying that overlay, removing all these drawbacks.
Reviewed-by: Stefan Agner <stefan@agner.ch> Acked-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
show more ...
|
#
f0ed68e2 |
| 05-Jul-2016 |
Maxime Ripard <maxime.ripard@free-electrons.com> |
cmd: fdt: Narrow the check for fdt addr
The current code only checks if the fdt subcommand is fdt addr by checking whether it starts with 'a'.
Since this is a pretty widely used letter, narrow down
cmd: fdt: Narrow the check for fdt addr
The current code only checks if the fdt subcommand is fdt addr by checking whether it starts with 'a'.
Since this is a pretty widely used letter, narrow down that check a bit.
Acked-by: Simon Glass <sjg@chromium.org> Acked-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
show more ...
|
Revision tags: openbmc-20160624-1 |
|
#
52b1eaf9 |
| 17-May-2016 |
Stefano Babic <sbabic@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot
|
#
1cc0a9f4 |
| 04-May-2016 |
Robert P. J. Day <rpjday@crashcourse.ca> |
Fix various typos, scattered over the code.
Spelling corrections for (among other things):
* environment * override * variable * ftd (should be "fdt", for flattened device tree) * embedded * FTDI *
Fix various typos, scattered over the code.
Spelling corrections for (among other things):
* environment * override * variable * ftd (should be "fdt", for flattened device tree) * embedded * FTDI * emulation * controller
show more ...
|
#
2e192b24 |
| 17-Jan-2016 |
Simon Glass <sjg@chromium.org> |
Remove the cmd_ prefix from command files
Now that they are in their own directory, we can remove this prefix. This makes it easier to find a file since the prefix does not get in the way.
Signed-o
Remove the cmd_ prefix from command files
Now that they are in their own directory, we can remove this prefix. This makes it easier to find a file since the prefix does not get in the way.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Heiko Schocher <hs@denx.de> Acked-by: Stefan Roese <sr@denx.de> Acked-by: Przemyslaw Marczak <p.marczak@samsung.com>
show more ...
|