Introduce an overlay based method for constructing a base DT blob
to pass to the kernel.
It is based on a specific method now to get the FDT from a FIT image
named boot_get_fdt_fit().
Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Acked-by: Simon Glass <sjg@chromium.org>
fit_image_load() threw away the extra configuration parts when
loading. We need them around for applying extra overlays for
building the boot fdt.
Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Acked-by: Simon Glass <sjg@chromium.org>
As part of the fdt overlay support which need it, allow
a list of configurations per property.
Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Acked-by: Simon Glass <sjg@chromium.org>
These have now landed upstream. The naming is different and in one case the
function signature has changed. Update the code to match.
This applies the following upstream commits by
Thierry Reding <treding@nvidia.com> :
604e61e fdt: Add functions to retrieve strings
8702bd1 fdt: Add a function to get the index of a string
2218387 fdt: Add a function to count strings
Signed-off-by: Simon Glass <sjg@chromium.org>
With kernel upgrade to 5.10 the paths of all nodees have changed because
of the way the ti drivers are handled.
These paths must therefore be adaped in u-boot in order to stay
compatible.
This means that u-boot versions before this commit are not 100%
compatible with kernel 5.10, but they should usually be able to boot.
Also after this change, older kernel will not work 100% but should still
boot.
BugzID: 77112
With the introduction of the SSF watchdog feature a get and then a
set of the PMIC's CONTROL_D register leads to an activation of the
watchdog and causes a watchdog reset at the time the kernel is
being decompressed.
Currently we disable the watchdog from the bootloader and activate
it only in user space.
BugzID: 74659
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
- check rs232 for break condition duration to invoke
factory reset or recovery boot. same logic as reset button.
- check rs232 break condition followed by command
- 'f': factory reset
- 'r': recovery boot
This makes it possible to boot normaly with disconnected uart line.
Previously the system booted into recovery in that case.
BugzID: 65200
Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
allow invoking factory reset and recovery boot via:
- uart break, followed by command ('r', 'f')
- using uart rxd as reset line
Co-authored-by: Rene Straub <rene.straub@netmodule.com>
Reviewed-by: Patrick Zysset <patrick.zysset@netmodule.com>