- Jan 10, 2025
-
-
Caleb Connolly authored
Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
- Dec 04, 2024
-
-
Caleb Connolly authored
Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
When calling mmu_map_region() we might add a table from tlb_fillptr. Usually this would just clobber the emergency table, so put the emergency table first to avoid this. FIXME: this should probably be a change to default setup_pgtables_all() as well? Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
turns out not to be necessary. Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
FIXME: no cmdline?? Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
just delays booting since we're loading from FIT. Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
- Nov 14, 2024
-
-
Caleb Connolly authored
Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
Steal some google ones for now so fastboot udev rules work properly... Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
The fastboot tool will always wrap anything that isn't an Android boot image in a boot image header, work around this by letting you boot an image by running "fastboot stage BIN". Useful for booting FIT images. Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
Add a defconfig and fit source file for flashing U-Boot to the TZ partition and then booting a FIT image over fastboot. This is useful for doing TF-A/OP-TEE development over CDBA. Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
Enable support for running U-Boot in EL3. This requires skipping the psci call, and for now we must also keep dcache off (at least on rb3gen2). Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
-
Caleb Connolly authored
U-Boot already supporting booting TF-A/OP-TEE/U-Boot all from a FIT image, but only in SPL mode. Now that the code to do this has been moved out of SPL, we can re-use it to enable booting this way from full fat U-Boot. This may be useful for development (particularly on boards that lack SPL support) as it makes iterating on TF-A changes easy by allowing the FIT image to be loaded via fastboot or some other mechanism. Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
This will later be re-used to allow for jumping to TF-A from full U-Boot. Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
- Nov 13, 2024
-
-
Caleb Connolly authored
Under some conditions it's possible to hit the null condition here like when running with OF_LIVE and using the ofnode API before initr_of_live() is called. There is very little null checking for this in the FDT framework, so returning null here can result in weird null pointer conditions. Instead let's return the control FDT in the fallback case, this is usually what the user was expecting. Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
We already build arm64 images with frame pointers. Let's finally make use of them in tandem with the new symbol lookup support by unwinding the stack when an exception occurs, producing a backtrace similar to those emitted by Linux. In addition, introduce a dedicated unwind_stack() function which can be called from anywhere to print a backtrace. Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
This is mostly a port of the Xen hypervisor implementation. The U-Boot binary is built as normal, then its symbol table is fed into tools/symbols to generate an optimised lookup table. U-Boot is rebuilt with the symbol table and handling code in lib/symbols.c. Based on code from Xen at c20850540ad6("x86/altcall: always use a temporary parameter stashing variable") Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
There was some very old code floating around for decoding symbols, it's incomplete and is never built. Remove it so we can add a new implementation. Reviewed-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
This reverts commit dbd5ad88.
-
Caleb Connolly authored
It may be the case that MMC support is enabled even though the board we're booting on doesn't have any MMC devices. Move the print over to the print_mmc_devices() function where we can only print it if we actually have MMC devices. Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
Some dt-binding headers mask the upstream ones which can lean to build failures, or worse: super weird bugs if they get out of sync. Remove these headers so our devicetree and headers will both be in sync with upstream.
-
Caleb Connolly authored
Add a small utility for displaying some information about U-Boot and the hardware it's running on in a similar fashion to the popular neofetch tool for Linux [1]. While the output is meant to be useful, it should also be pleasing to look at and perhaps entertaining. The ufetch command aims to bring this to U-Boot, featuring a colorful ASCII art version of the U-Boot logo. [1]: https://en.wikipedia.org/wiki/Neofetch Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org> --- Changes since v1: * Rework storage info to be more dynamic * use print_size() helper everywhere * manually walk RAM banks to report memory size correctly * minor formatting changes and fixes * MAINTAINERS entry * V1: https://lore.kernel.org/u-boot/20240808163153.2069650-1-caleb.connolly@linaro.org
-
Caleb Connolly authored
Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
Simple env to boot an Android boot image via fastboot. Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
If available, otherwise fall back to cmdline. Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
Set the vendor ID to qcom and some common product ID for fastboot mode. Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
Implement socinfo support to fetch the serial number if available. Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-