- 09 Aug, 2019 28 commits
-
-
Igor Opaniuk authored
Remove obsolete legacy usbboot wrapper, as distroboot can handle booting from USB drivers. Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com> Reviewed-by:
Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Marcel Ziswiler authored
Support the V1.2 hardware revision with the following pin muxing changes: Ddc_scl_pv4 and ddc_sda_pv5 previously used as Apalis GPIO3 and GPIO4 are now used as DDC pins. Gen2_i2c_scl_pt5 and gen2_i2c_sda_pt6 previously used as DDC pins are now used as USB power enable signals. Usb_vbus_en0_pn4 and usb_vbus_en1_pn5 previously used as USB power enable signals are now used as GPIO3 and GPIO4. Additionally a new device tree file tegra124-apalis-v1.2-eval.dtb is loaded on V1.2 and later modules and resp. USB power enable signals activated. Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Dominik Sliwa authored
When mainline kernels reboot TK1 they use SW_RESET, that reset mode does not reset PMIC. Some rails need to be off for RAM Re-repair to work correctly. Reviewed-by:
Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Signed-off-by:
Dominik Sliwa <dominik.sliwa@toradex.com> Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Marcel Ziswiler authored
Remove video=tegrafb0:640x480-16@60 aka VESA VGA mode from vidargs in order for the panel specification in the device tree to be used. This causes the default to be the 10.1" LVDS display which will be available in the Toradex webshop shortly. Reviewed-by:
Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Dominik Sliwa authored
Display proper reset reason after the SoC info. Signed-off-by:
Dominik Sliwa <dominik.sliwa@toradex.com> Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com> Reviewed-by:
Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Igor Opaniuk authored
Switch to the generic compressed Kernel image type (zImage) instead of the U-Boot specific uImage format. Reviewed-by:
Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Signed-off-by:
Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Igor Opaniuk authored
Disabling ASPM fixes incompatibilities with some PCIe cards Reviewed-by:
Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Signed-off-by:
Dominik Sliwa <dominik.sliwa@toradex.com> Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Igor Opaniuk authored
Let the kernel print some debug messages when a user program crashes due to an exception. Signed-off-by:
Stefan Agner <stefan.agner@toradex.com> Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com> Reviewed-by:
Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Igor Opaniuk authored
Use unified values for USB Product/Vendor numbers when the config block is missing Reviewed-by:
Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Signed-off-by:
Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Igor Opaniuk authored
Make sure the Apalis GPIO 8 aka FAN_EN is on when using Apalis TK1 modules. Reviewed-by:
Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com> Signed-off-by:
Dominik Sliwa <dominik.sliwa@toradex.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Marcel Ziswiler authored
By keeping RESET_MOCI_CTRL low we avoid explicitly releasing RESET_MOCI#. Please note that module hardware versions up to V1.1A will already release RESET_MOCI# in hardware coming out of reset. Please further note that with this change the USB hub on the Apalis Evaluation board is kept in reset in U-Boot and therefore none of its ports are operational in U-Boot. Reviewed-by:
Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Igor Opaniuk authored
We never really added a sensible DFU configuration for platforms based on eMMC. Most of the things one might want to do can also be done with UMS or fastboot, so drop the DFU configuration. Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com> Reviewed-by:
Philippe Schenker <philippe.schenker@toradex.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Trent Piepho authored
This is a configuration option specific to the tegra controller. Doing it this way makes it show up directly under the tegra controller option, indented one level, as "Disable external clock loopback". The way it is now, it shows up at the end of the controller list, not indented, as if it's some kind of generic MMC configuration option. Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com> Cc: Simon Glass <sjg@chromium.org> Cc: Jaehoon Chung <jh80.chung@samsung.com> Cc: Tom Warren <twarren@nvidia.com> Signed-off-by:
Trent Piepho <tpiepho@impinj.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Acked-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Simon Glass authored
For U-Boot we allow a GPIO to be specified to enable the codec. Add this to the relevant binding files. Signed-off-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Simon Glass authored
This file was missed when adding the sound driver to U-Boot. Bring it in from Linux 5.0. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Jon Hunter <jonathanh@nvidia.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Simon Glass authored
This file was missed when adding the sound driver to U-Boot. Bring it in from Linux 5.0. Signed-off-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
https://gitlab.denx.de/u-boot/custodians/u-boot-mmcTom Rini authored
- mmc test fix - sdhci driver fix
-
https://gitlab.denx.de/u-boot/custodians/u-boot-rockchipTom Rini authored
- Add rk3399 boards Khadas Edge/-V/-Captain - Add fully souce code support for rk3328 including TPL/DRAM init - Enable boot from eMMC for rk3399 rock960/ficus boards - turn on the IO supply for dw_mmc
-
Peng Fan authored
Commit 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") sdhci_setup_cfg() expects a valid sdhci_host mmc field. Fixes: 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") Cc: Faiz Abbas <faiz_abbas@ti.com> Cc: Vincent Tinelli <vincent.tinelli@intel.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Peng Fan authored
Commit 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") sdhci_setup_cfg() expects a valid sdhci_host mmc field. Fixes: 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") Cc: Faiz Abbas <faiz_abbas@ti.com> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com> Acked-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Peng Fan authored
Commit 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") sdhci_setup_cfg() expects a valid sdhci_host mmc field. Fixes: 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") Cc: Faiz Abbas <faiz_abbas@ti.com> Cc: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Peng Fan authored
Commit 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") sdhci_setup_cfg() expects a valid sdhci_host mmc field. Fixes: 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") Cc: Faiz Abbas <faiz_abbas@ti.com> Cc: Simon Glass <sjg@chromium.org> Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Peng Fan authored
Commit 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") sdhci_setup_cfg() expects a valid sdhci_host mmc field. Fixes: 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") Cc: Faiz Abbas <faiz_abbas@ti.com> Cc: Ramon Fried <rfried.dev@gmail.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Peng Fan authored
Commit 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") sdhci_setup_cfg() expects a valid sdhci_host mmc field. Fixes: 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") Cc: Faiz Abbas <faiz_abbas@ti.com> Cc: Matthias Brugger <mbrugger@suse.com> Cc: Thomas Fitzsimmons <fitzsim@fitzsim.org> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Peng Fan authored
Commit 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") sdhci_setup_cfg() expects a valid sdhci_host mmc field. Fixes: 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") Cc: Faiz Abbas <faiz_abbas@ti.com> Cc: Wenyou Yang <wenyou.yang@atmel.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com> Tested-by:
Eugen Hristev <eugen.hristev@microchip.com>
-
Michal Simek authored
Test is using random command which has own Kconfig symbol CMD_RANDOM which already depends on CMD_MEMORY. That's why replace cmd_memory by cmd_random. Fixes: 09da18de ("test/py: add MMC/SD block write test") Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Peng Fan <peng.fan@nxp.com>
-
Matwey V. Kornilov authored
Since commit 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") sdhci_setup_cfg() expects a valid sdhci_host mmc field. Move the mmc field initialization before sdhci_setup_cfg() call to avoid crash on mmc pointer dereference. [this patch is based on commit 41a9fab8 ("mmc: mv_sdhci: fix uninitialized pointer deref on probe") by Baruch Siach] Fixes: 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") Cc: Faiz Abbas <faiz_abbas@ti.com> Cc: Baruch Siach <baruch@tkos.co.il> Signed-off-by:
Matwey V. Kornilov <matwey.kornilov@gmail.com> Reviewed-by:
Peng Fan <peng.fan@nxp.com> Tested-by: Michal Simek <michal.simek@xilinx.com> (on zcu102/zc706)
-
Faiz Abbas authored
Select SPL_HS200_SUPPORT if SPL_HS400_SUPPORT is selected as is being done for the U-boot case. Signed-off-by:
Faiz Abbas <faiz_abbas@ti.com> Reviewed-by:
Peng Fan <peng.fan@nxp.com>
-
- 08 Aug, 2019 3 commits
-
-
https://gitlab.denx.de/u-boot/custodians/u-boot-marvellTom Rini authored
- Remove unused bcm2835 watchdog driver (still non-DM) - Cosmetic fixup of mtk_wdt.c
-
Sam Protsenko authored
Signed-off-by:
Sam Protsenko <semen.protsenko@linaro.org>
-
Tom Rini authored
- Misc Android / AVB bugfixes (including updating the header from Android). - MediaTek updates - Other assorted bugfixes.
-
- 07 Aug, 2019 9 commits
-
-
Alex Deymo authored
This takes the latest changes from AOSP from the file include/bootimg/bootimg.h from the repository: https://android.googlesource.com/platform/system/tools/mkbootimg and update the U-Boot version with the latest changes. This file keeps the changes from AOSP to a minimum: * Comments were converted from C++ to C style. * Code inside __cplusplus #ifdef blocks were removed. * C++11 struct extensions replaced with a single struct. Signed-off-by:
Alex Deymo <deymo@google.com> Reviewed-by:
Sam Protsenko <semen.protsenko@linaro.org>
-
Sam Protsenko authored
Do not attempt to print fdt info if root node wasn't found. Signed-off-by:
Sam Protsenko <semen.protsenko@linaro.org>
-
Julius Werner authored
The Linux ramdisk should always be decompressed by the kernel itself, not by U-Boot. Therefore, the 'compression' node in the FIT image should always be set to "none" for ramdisk images, since the only point of using that node is if you want U-Boot to do the decompression itself. Yet some systems populate the node to the compression algorithm used by the kernel instead. This used to be ignored, but now that we support decompression of all image types it becomes a problem. Since ramdisks should never be decompressed by U-Boot anyway, this patch adds a special exception for them to avoid these issues. Still, setting the 'compression' node like that is wrong in the first place, so we still want to print out a warning so that third-party distributions doing this can notice and fix it. Signed-off-by:
Julius Werner <jwerner@chromium.org> Reviewed-by:
Heiko Schocher <hs@denx.de> Tested-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
-
Patrick Delaunay authored
Avoid to flush buffer when silent console is activated as the console can be reactivate later, after relocation, when the env will be updated with the saved one. Solve issue (missing beginning of U-Boot trace) when: - CONFIG_SILENT_CONSOLE is activated - silent=1 is defined in default environment (CONFIG_EXTRA_ENV_SETTINGS) - silent is removed in saved environment with: > env delete silent; env save Only functional when PRE_CONSOLE_BUFFER is activated. Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com> Signed-off-by:
Patrice Chotard <patrice.chotard@st.com>
-
Patrick Delaunay authored
Update the "silent" property with the variable "silent" get from saved environment, it solves the issue when: - CONFIG_SILENT_CONSOLE and CONFIG_SYS_CONSOLE_IS_IN_ENV are activated - silent is not defined in default environment - silent is requested in saved environment with: > env set silent 1; env save On next reboot the console is not disabled as expected after relocation and the environment load from flash (the callback is not called when the INSERT is requested in the created hash table) Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com> Signed-off-by:
Patrice Chotard <patrice.chotard@st.com>
-
Sam Protsenko authored
When building U-Boot with AVB enabled, compiler shows next warnings: cmd/avb.c: In function 'do_avb_read_pvalue': cmd/avb.c:371:18: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] printf("Read %ld bytes, value = %s\n", bytes_read, ~~^ ~~~~~~~~~~ %d cmd/avb.c: In function 'do_avb_write_pvalue': cmd/avb.c:404:19: warning: format '%ld' expects argument of type 'long int', but argument 2 has type '__kernel_size_t' {aka 'unsigned int'} [-Wformat=] printf("Wrote %ld bytes\n", strlen(value) + 1); ~~^ ~~~~~~~~~~~~~~~~~ %d Fix those by using "%zu" specified. Signed-off-by:
Sam Protsenko <semen.protsenko@linaro.org> Reviewed-by:
Igor Opaniuk <igor.opaniuk@gmail.com>
-
Sam Protsenko authored
When having only these AVB related configs enabled: CONFIG_AVB_VERIFY=y CONFIG_CMD_AVB=y CONFIG_LIBAVB=y build fails with next errors: common/avb_verify.c: In function 'read_persistent_value': common/avb_verify.c:867:6: warning: implicit declaration of function 'get_open_session' common/avb_verify.c:870:45: error: 'struct AvbOpsData' has no member named 'tee' common/avb_verify.c:894:7: warning: implicit declaration of function 'invoke_func' common/avb_verify.c: In function 'write_persistent_value': common/avb_verify.c:931:45: error: 'struct AvbOpsData' has no member named 'tee' Guard read_persistent_value() and write_persistent_value() functions by checking if CONFIG_OPTEE_TA_AVB is enabled (as those are only used in that case) to fix the build with mentioned configuration. Signed-off-by:
Sam Protsenko <semen.protsenko@linaro.org> Reviewed-by:
Igor Opaniuk <igor.opaniuk@gmail.com>
-
Ramon Fried authored
Fix the following Coverity warning: CID 244086: Incorrect expression (BAD_COMPARE) Comparing pointer "ep_bar" against NULL using anything besides == or is likely to be incorrect. Fixes: 914026d2 ("drivers: pci_ep: Introduce UCLASS_PCI_EP uclass") Signed-off-by:
Ramon Fried <rfried.dev@gmail.com>
-
Ryder Lee authored
This adds high speed interface subsystem - hifsys (i.e. PCIe and USB) for MT7623 SoC and enables its reset controller. The control block is shared with ethsys and accordingly rename the related defines. Tested-by:
Frank Wunderlich <frank-w@public-files.de> Signed-off-by:
Ryder Lee <ryder.lee@mediatek.com>
-