- Aug 20, 2024
-
-
Currently both USB host uclass and USB gadget uclass are using the same name "usb" which break uclass functions like uclass_get_by_name(). Rename the uclass to "usb_gadget" to fix, also makes bind/unbind by class index (or sequence) working. This breaks the capacity of using "usb" as DT alias sequence numbering which needs a fix afterwards. Signed-off-by:
Zixun LI <admin@hifiphile.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Mattijs Korpershoek <mkorpershoek@baylibre.com> Link: https://lore.kernel.org/all/20240802092820.917450-1-admin@hifiphile.com Signed-off-by:
Mattijs Korpershoek <mkorpershoek@baylibre.com>
-
- Aug 06, 2024
-
-
Add driver model support by using the uclass UCLASS_USB_GADGET_GENERIC. Disable local usb_gadget_register_driver()/usb_gadget_unregister_driver() implementation which is implemented in udc-core.c when DM_USB_GADGET is enabled. Replace dm_usb_gadget_handle_interrupts() with handle_interrupts ops when DM_USB_GADGET is enabled. Disable legacy struct usba_udc controller as controller point is extracted from udevice private data with DM. Disable legacy usba_udc_probe() to avoid conflict with DM when it's enabled. Compared to Linux driver only supported devices' DT bindings are included (sorted as Linux driver) Signed-off-by:
Zixun LI <admin@hifiphile.com> Reviewed-by:
Mattijs Korpershoek <mkorpershoek@baylibre.com> Link: https://lore.kernel.org/r/20240725153204.358925-8-admin@hifiphile.com Signed-off-by:
Mattijs Korpershoek <mkorpershoek@baylibre.com>
-
Add controller attach/detach support by using usb_gadget_ops.pullup() function. Signed-off-by:
Zixun LI <admin@hifiphile.com> Reviewed-by:
Marek Vasut <marex@denx.de> Reviewed-by:
Mattijs Korpershoek <mkorpershoek@baylibre.com> Link: https://lore.kernel.org/r/20240725153204.358925-7-admin@hifiphile.com Signed-off-by:
Mattijs Korpershoek <mkorpershoek@baylibre.com>
-
Rename atmel_usba_start() / atmel_usba_stop() to usba_udc_enable() / usba_udc_disable(), remove atmel_ prefix to be inline with other functions. Also avoid confusion with DM start() / stop() functions. Signed-off-by:
Zixun LI <admin@hifiphile.com> Reviewed-by:
Marek Vasut <marex@denx.de> Reviewed-by:
Mattijs Korpershoek <mkorpershoek@baylibre.com> Link: https://lore.kernel.org/r/20240725153204.358925-6-admin@hifiphile.com Signed-off-by:
Mattijs Korpershoek <mkorpershoek@baylibre.com>
-
To make all static functions in the top, no functional change. Signed-off-by:
Zixun LI <admin@hifiphile.com> Reviewed-by:
Marek Vasut <marex@denx.de> Reviewed-by:
Mattijs Korpershoek <mkorpershoek@baylibre.com> Link: https://lore.kernel.org/r/20240725153204.358925-5-admin@hifiphile.com Signed-off-by:
Mattijs Korpershoek <mkorpershoek@baylibre.com>
-
Replace "paramter" by "parameter". Signed-off-by:
Zixun LI <admin@hifiphile.com> Link: https://lore.kernel.org/r/20240725153204.358925-4-admin@hifiphile.com Signed-off-by:
Mattijs Korpershoek <mkorpershoek@baylibre.com>
-
To have a uniform printing function, also drop linux/printk.h as no longer used. Signed-off-by:
Zixun LI <admin@hifiphile.com> Link: https://lore.kernel.org/r/20240725153204.358925-3-admin@hifiphile.com Signed-off-by:
Mattijs Korpershoek <mkorpershoek@baylibre.com>
-
Sort includes in alphabetical order. Signed-off-by:
Zixun LI <admin@hifiphile.com> Reviewed-by:
Marek Vasut <marex@denx.de> Reviewed-by:
Mattijs Korpershoek <mkorpershoek@baylibre.com> Link: https://lore.kernel.org/r/20240725153204.358925-2-admin@hifiphile.com Signed-off-by:
Mattijs Korpershoek <mkorpershoek@baylibre.com>
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Aug 05, 2024
-
-
Tom Rini authored
Rsync all defconfig files using moveconfig.py Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Simon Glass <sjg@chromium.org> says: This series includes fixes to get some rockchip and nvidia boards working again. It also drops the broken Beaglebone Black config and provides a devicetree fix for coral (x86).
-
The code here is confusing due to large blocks which are #ifdefed out. Add a function phase_sdram_init() which returns whether SDRAM init should happen in the current phase, using that as needed to control the code flow. This increases code size by about 500 bytes in SPL when the cache is on, since it must call the rather large rockchip_sdram_size() function. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
At present gd->ram_size is 0 in SPL, meaning that it is not possible to enable the cache. Correct this by always populating the RAM size correctly. This increases code size by about 500 bytes in SPL, since it must call the rather large rockchip_sdram_size() function. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Quentin Schulz <quentin.schulz@cherry.de>
-
On some boards, the bloblist is created in SPL once SDRAM is ready. It cannot be accessed until that point, so is not available early in SPL. Add a condition to avoid a hang in this case. This fixes a hang in chromebook_coral Fixes: 70fe2385 ("fdt: Allow the devicetree to come from a bloblist") Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Raymond Mao <raymond.mao@linaro.org>
-
There is no need to remove input files. It makes it harder to diagnose failures. Keep the payload file. There is no test for this condition, but one could be added. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Sughosh Ganu <sughosh.ganu@linaro.org>
-
The tool must return an error code when invalid arguments are provided, otherwise binman has no way of knowing that anything went wrong. Correct this. Signed-off-by:
Simon Glass <sjg@chromium.org> Fixes: fab430be ("tools: add mkeficapsule command for UEFI...")
-
Tools cannot be assumed to be present. Add a check for this with the mkeficpasule tool. Signed-off-by:
Simon Glass <sjg@chromium.org> Fixes: b617611b ("binman: capsule: Add support for generating...")
-
Now that this tool has a version number, collect it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Tools should have an option to obtain the version, so add this to the mkeficapsule tool. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org>
-
- Aug 02, 2024
-
-
https://gitlab.denx.de/u-boot/custodians/u-boot-imxTom Rini authored
CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/21846 - Convert warp7 to OF_UPSTREAM. - Add 'cpu' command to imx8m and imx93. - Enable CMD_ERASEENV for imx8mm/mp Phytec boards.
-
Lukasz Majewski authored
This change adds support for PCIe connected nvme disk - phyBOARD-Polis base board. One needs to call following commands in u-boot: > pci enum > nvme scan > nvme info And then ones to access proper file system (like fat[ls|load|write], ext4[ls|load|write]). Signed-off-by:
Lukasz Majewski <lukma@denx.de>
-
Hou Zhiqiang authored
Enable the 'cpu' command to display the CPU info and release CPU core to run baremetal or RTOS applications. Signed-off-by:
Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
-
Hou Zhiqiang authored
Enable the 'cpu' command and the depended imx CPU driver to display the CPU info and release CPU core to run baremetal or RTOS applications. Signed-off-by:
Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
-
Hou Zhiqiang authored
Added the original author Simon and myself. Signed-off-by:
Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Hou Zhiqiang authored
Add documentation for the 'cpu' command, taking NXP i.MX 8M Plus as a example. Signed-off-by:
Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Hou Zhiqiang authored
Add a new subcommand 'release' to bring up a core to run baremetal and RTOS applications. For example on i.MX8M Plus EVK, release the LAST core to run a RTOS application, passing the sequence number of the CPU core to release, here it is 3: u-boot=> cpu list 0: cpu@0 NXP i.MX8MP Rev1.1 A53 at 1200 MHz at 31C 1: cpu@1 NXP i.MX8MP Rev1.1 A53 at 1200 MHz at 30C 2: cpu@2 NXP i.MX8MP Rev1.1 A53 at 1200 MHz at 31C 3: cpu@3 NXP i.MX8MP Rev1.1 A53 at 1200 MHz at 31C u-boot=> load mmc 1:2 c0000000 /hello_world.bin 66008 bytes read in 5 ms (12.6 MiB/s) u-boot=> dcache flush; icache flush u-boot=> cpu release 3 c0000000 Released CPU core (mpidr: 0x3) to address 0xc0000000 Signed-off-by:
Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Hou Zhiqiang authored
Release the secondary cores through the PSCI request. Signed-off-by:
Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
-
Hou Zhiqiang authored
Add i.MX 8M Mini, Nano and Plus SoCs support. Signed-off-by:
Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
-
Hou Zhiqiang authored
Return CPU description string without newline character in the end. Signed-off-by:
Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
-
Hou Zhiqiang authored
Increase one more bit to cover all CPU types. Otherwise it shows wrong CPU info on some platforms, such as i.MX8M Plus: U-Boot 2024.04+g674440bc73e+p0 (Jun 06 2024 - 10:05:34 +0000) CPU: NXP i.MX8MM Rev1.1 A53 at 4154504685 MHz at 30C Model: NXP i.MX8MPlus LPDDR4 EVK board Signed-off-by:
Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
-
Hou Zhiqiang authored
The cpu_freq stores the current CPU frequency in Hz. Signed-off-by:
Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by:
Michael Trimarchi <michael@amarulasolutions.com>
-
Hou Zhiqiang authored
Add test for API cpu_release_core(). Signed-off-by:
Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Hou Zhiqiang authored
Add empty release CPU core function for testing. Signed-off-by:
Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Hou Zhiqiang authored
Add a new callback release_core to the cpu_ops, which is used to release a CPU core to run baremetal or RTOS application on a SoC with multiple CPU cores. Signed-off-by:
Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Hou Zhiqiang authored
Register ARM A53 core clock for i.MX 8M Mini, Nano and Plus, preparing for enabling the 'cpu' command, which depends on this to print CPU core frequency. Signed-off-by:
Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
-
Yannic Moog authored
Enable erasing environment with eraseenv command. Signed-off-by:
Yannic Moog <y.moog@phytec.de>
-
Yannic Moog authored
Enable erasing environment with eraseenv command. Signed-off-by:
Yannic Moog <y.moog@phytec.de>
-
Yannic Moog authored
Enable erasing environment with eraseenv command. Signed-off-by:
Yannic Moog <y.moog@phytec.de>
-
Fabio Estevam authored
Instead of using the local imx7s-warp devicetree copies from U-Boot, convert the imx7s-warp board to OF_UPSTREAM so that the upstream kernel devicetree can be used instead. Signed-off-by:
Fabio Estevam <festevam@gmail.com> Reviewed-by:
Peng Fan <peng.fan@nxp.com>
-
- Aug 01, 2024
-
-
Print clk name in clk_enable and clk_disable. Make sense to know what clock get disabled/enabled before a system crash or system hang. Signed-off-by:
Michael Trimarchi <michael@amarulasolutions.com>
-