- Feb 11, 2023
-
-
When the early trace buffer overflows it leaves a gap in the trace buffer between where the actual data finished and where it would have finished if there were enough buffer space. This results in corrupted output. Adjust the logic to resolve this and add a message when the buffer overflows. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Add a few more useful items into the output. Update the buffers to use hex consistently. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
The trace does not necessarily start at the top level, so we can see it go negative. Track this so that we can show an accurate value for the stack depth. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Given that the compiler adds two function calls into each function, the current spacing is overkill. Drop it down to 16 bytes per function, which is still plenty. This saves some space in the trace buffer. Also move the calculation into a function, so it is common code. Add a check for gd->mon_len being unset, which breaks tracing. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
It seems better to put the TEXT_BASE value in the file header rather than in an entry record. While it is true that there is a separate base for pre-relocation, this can be handled by using offsets in the file. It is useful to have a version number in case we need to change the trace format again. Update the header to make these changes. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Update the code slightly so that abuf can be used in U-Boot tools. It will soon be needed for proftool. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
This is a silly value at present, since U-Boot's call depth never reaches 200. Fix it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Avoid using the preprocessor with TIMER_EARLY. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Tracing is typically enabled by the time driver model starts up, so there is no point in adding a 'notrace' to the timer-init function. However, once the driver model timer is enabled, we do need to be able to access the timer's private data when reading the timer, so add it to the core function needed for that. Update the function's documentation while we are here. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Reset the serial flags so that the debug UART can be used (if enabled) in the small window where there is no serial device. This can avoid a hang in some cases. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
This change was made for the benefit of RISC-V but broke other architectures also. In particular, tracing cannot work without this value. Add it back for architectures which support it. Fixes: 3c9fc23c ("sandbox: don't refer to symbol _init") Signed-off-by:
Simon Glass <sjg@chromium.org>
-
This file is produced by the moveconfig.py tool. It should never be added to the repo, so add it to the .gitignore file. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Tom Rini authored
Per https://www.qemu.org/contribute/ the official location of the QEMU sources are https://gitlab.com/qemu-project/qemu.git Reviewed-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
When dropping the unused fotg210 gadget driver a leading 0 was introduced to the next line, drop it. Fixes: e9b4678b ("usb: Drop unused fotg210 gadget") Reported-by:
Samuel Holland <samuel@sholland.org> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Feb 10, 2023
-
-
https://source.denx.de/u-boot/custodians/u-boot-efiTom Rini authored
Pull request for efi-2023-04-rc2 Documentation: * Provide page with links to talks on U-Boot UEFI: * Enable CTRL+S to save the boot order in eficonfig command * Run attribute check for QueryVariableInfo() only for the file store * Bug fixes Others: * Improve output formatting of the coninfo command # -----END PGP SIGNATURE----- # gpg: Signature made Fri 10 Feb 2023 12:15:45 PM EST # gpg: using RSA key 6DC4F9C71F29A6FA06B76D33C481DBBC2C051AC4 # gpg: Good signature from "Heinrich Schuchardt <xypron.glpk@gmx.de>" [unknown] # gpg: aka "[jpeg image of size 1389]" [unknown] # gpg: WARNING: This key is not certified with a trusted signature! # gpg: There is no indication that the signature belongs to the owner. # Primary key fingerprint: 6DC4 F9C7 1F29 A6FA 06B7 6D33 C481 DBBC 2C05 1AC4
-
Tom Rini authored
- DM_SERIAL conversion for bcm7xxx, button input driver, qcom updates, environment and network related cleanup, ftmac100 update, add a IS_ENABLED conversion that was just missed.
-
Register mii_bus with read and write callbacks to allow the 'mii' command to work. Use a timeout of 10 ms to wait for the R/W operations to complete. Signed-off-by:
Sergei Antonov <saproj@gmail.com> Reviewed-by:
Rick Chen <rick@andestech.com> Tested-by:
Rick Chen <rick@andestech.com>
-
Replace 'phys_addr_t iobase' with 'struct ftmac100 *ftmac100' in struct ftmac100_data. It allows to remove casting in a number of places. Since priv->iobase is phys_addr_t, use phys_to_virt() to make a pointer from it. Signed-off-by:
Sergei Antonov <saproj@gmail.com> Reviewed-by:
Rick Chen <rick@andestech.com>
-
So it will be named similarly to the related ftgmac100 driver. The old name 'nds32_mac' is not referred to anywhere in U-Boot. Signed-off-by:
Sergei Antonov <saproj@gmail.com> Reviewed-by:
Ramon Fried <rfried.dev@gmail.com> Reviewed-by:
Rick Chen <rick@andestech.com>
-
Bootmenu requires an input device with arrows and enter key. A common smartphone luckily has power, volume up/down buttons, which may be used for controlling bootmenu. To use driver, add 'button-kbd' to stdin. Signed-off-by:
Dzmitry Sankouski <dsankouski@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Linux event code must be used in input devices, using buttons. Signed-off-by:
Dzmitry Sankouski <dsankouski@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Property count may change in /buttons node, if more button tests added, and this will break ofnode_for_each_prop. Add separate node for mentioned test. Signed-off-by:
Dzmitry Sankouski <dsankouski@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
gpio-keys linux driver enforces user to specify linux,code. Add missing linux,code before implementing button input support. - arch/arm/dts/rk3288-popmetal.dtsi -> KEY_POWER - arch/arm/dts/rk3288-tinker.dtsi -> KEY_POWER - arch/arm/dts/am3517-evm-ui.dtsi -> KEY_RECORD - sandbox/dts/sandbox.dtsi -> BTN_1 - sandbox/dts/sandbox.dts -> BTN_1 Signed-off-by:
Dzmitry Sankouski <dsankouski@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
GPIO button driver requires direction functions to probe button gpio. Those functions are blank, since pwrkey is not really gpio, and don't support direction settings. Signed-off-by:
Dzmitry Sankouski <dsankouski@gmail.com> Reviewed-by:
Sumit Garg <sumit.garg@linaro.org>
-
Signed-off-by:
Sumit Garg <sumit.garg@linaro.org>
-
Add support for Qualcomm I2C QUP driver which is inspired from corresponding driver in Linux: drivers/i2c/busses/i2c-qup.c. Currently this driver only support FIFO polling mode which is sufficient to support devices like eeprom, rtc etc. Co-developed-by:
Mike Worsfold <mworsfold@impinj.com> Signed-off-by:
Mike Worsfold <mworsfold@impinj.com> Signed-off-by:
Sumit Garg <sumit.garg@linaro.org>
-
Co-developed-by:
Mike Worsfold <mworsfold@impinj.com> Signed-off-by:
Mike Worsfold <mworsfold@impinj.com> Signed-off-by:
Sumit Garg <sumit.garg@linaro.org>
-
Add clk_rcg_set_rate() which allows to configure clocks without programming MND values. This is required for configuring I2C clocks on QCS404. Co-developed-by:
Mike Worsfold <mworsfold@impinj.com> Signed-off-by:
Mike Worsfold <mworsfold@impinj.com> Signed-off-by:
Sumit Garg <sumit.garg@linaro.org>
-
Signed-off-by:
Sumit Garg <sumit.garg@linaro.org>
-
The Qualcom ETHQOS hardware supports an RGMII macro which needs to be configured according to following link speeds: - SPEED_1000 - SPEED_100 - SPEED_10 So add a corresponding glue driver to configure RGMII macro. Signed-off-by:
Sumit Garg <sumit.garg@linaro.org> Reviewed-by:
Ramon Fried <rfried.dev@gmail.com>
-
The GMAC controller on QCS404 SoC (support added by upcoming patch) fails to work with maximum tx/rx_fifo_sz supported by the hardware (16K). So allow platforms to override FIFO size using corresponding DT node properties. Signed-off-by:
Sumit Garg <sumit.garg@linaro.org> Reviewed-by:
Ramon Fried <rfried.dev@gmail.com>
-
Signed-off-by:
Sumit Garg <sumit.garg@linaro.org> Reviewed-by:
Ramon Fried <rfried.dev@gmail.com>
-
Use standard pinconf drive-strength values from Linux DT bindings rather than ones based on custom u-boot header. These changes are in direction to make u-boot DTs for Qcom SoCs to be compatible with standard Linux DT bindings. Also, add support for pinconf bias-pull-up. Signed-off-by:
Sumit Garg <sumit.garg@linaro.org>
-
Signed-off-by:
Sumit Garg <sumit.garg@linaro.org>
-
Signed-off-by:
Sumit Garg <sumit.garg@linaro.org>
-
Signed-off-by:
Sumit Garg <sumit.garg@linaro.org>
-
Currently u-boot maps whole of 1G RAM but there reserved memory ranges on QCS404 which are reserved for TrustZone, various firmware components etc. Any access to these reserved memory ranges causes a bus hang issue. So disable mapping for reserved memory ranges in u-boot. Signed-off-by:
Sumit Garg <sumit.garg@linaro.org>
-
Boards may set networking variables programmatically, thus may have CONFIG_NET on but CONFIG_CMD_NET off. The IOT2050 is an example. CC: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by:
Jan Kiszka <jan.kiszka@siemens.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
This completes what 890feeca started by selecting ENV_APPEND and loading the default env before any other sources. This ensures that load operations pick up all non-writable vars from the default env and only permitted parts from other locations according to the regular priorities. With this change, boards only need to define the list of writable variables but no longer have to provide a custom env_get_location implementation. CC: Joe Hershberger <joe.hershberger@ni.com> CC: Marek Vasut <marex@denx.de> CC: Stefan Herbrechtsmeier <stefan.herbrechtsmeier-oss@weidmueller.com> Signed-off-by:
Jan Kiszka <jan.kiszka@siemens.com> Reviewed-by:
Marek Vasut <marex@denx.de>
-
Remove ns16550 configuration from header files. Document DM_SERIAL-required prior stage device tree configuration.
-