Age | Commit message (Collapse) | Author |
|
The following expression is used to construct the device tree name:
fdtfile=${soc}-apalis${variant}-${fdt_board}.dtb
- soc is set dynamically (either imx8qp or imx8qm),
- variant is set dynamically (either empty or -v1.1),
- fdt_board can be modified by the user (eval or ixora)
Related-to: ELB-3338
Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
|
|
We don't like to print module revision all the time.
Drop the module revision output from the code
Related-to: ELB-3338
Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
|
|
Toradex Linux kernel supports different device trees
for Apalis iMX8QM and Apalis iMX8QP SKUs and
board revisions. Update apalis-imx8 to support both
QM and QP revisions
Related-to: ELB-3338
Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
|
|
First, try configuring for quad die, dual rank aka 8 GB RAM
configuration. Falling back to dual die, single rank aka 1 GB
(untested), 2 GB or 4 GB RAM configuration if it fails.
Related-to: ELB-3938
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Re-add previous dual die, single rank aka 1 GB (untested), 2 GB or 4GB
RAM configuration as a separate parameter set.
A later commit uses this as a fall-back configuration allowing for
dynamic unified memory configuration of all our (current) SKUs.
Related-to: ELB-3938
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
As a first step, integrate the quad die, dual rank aka 8 GB
configuration.
In a later step, the previous dual die, single rank aka 1 GB (untested),
2 GB or 4 GB configuration will be re-added as a fall-back configuration
allowing for dynamic unified memory configuration of all our (current)
SKUs.
Related-to: ELB-3938
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Fixes commit 283ec8678 ('board: verdin-imx8mp: add missing modules to
the wifi-device tree list')
Related-to: ELB-4003
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Enable usb and fastboot for serial download support
Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit d12ef0f1fe200d44738684d90f92523fc971aef4)
|
|
Enable usb and fastboot for serial download mode support
Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 9dd80d8541656cf443b03d48525d05b773e36ed8)
|
|
Enable usb and fastboot for serial download support
Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 99903f47bd538d23ed80c05e0bda515c911f642d)
|
|
Enable usb and fastboot support for serial download mode
Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 308b99721cfa348feb0dd48380440b1dab8faf61)
|
|
Enable usb and fastboot for serial download support
Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 96efe63a61054406aa849f4f929497d24c3a46a6)
|
|
Enable usb and fastboot for serial download support
Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 3e8a7a0fb379cde29b2c6e63811175a52e9b37e6)
|
|
Enable usbotg1 on host mode for serial download support
Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit e055f5b5a36c71060e17bcd8e9eaefc1198b51c3)
|
|
Enable usbotg1 on host mode for serial download support
Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 09e5e3f3e246849b13a62c573d44042f3a944db3)
|
|
Enable usb configs options for imx8mn audio board 2 targets
Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 0f2ac0ce21ef81769a273733d730a98fa090950e)
|
|
Enable usb configs options for imx8mm audio board 2 targets
Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit ef033c71ee133c9d49f10432612a1f48bd565d86)
|
|
Enable usb boot device support for imx8mm ab2 target boards
Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 14639c28a70005016d343bfd883948f37e509234)
|
|
Enable usb and fastboot for serial download support
on Audio board 2 targets
Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 60239e91a6a5658af3f36428fa55b160c90a6858)
|
|
The distro boot script for TEZI has another name to prevent u-boot of
regular BSP trying to boot TEZI image. Expand the usage of
TDX_EASY_INSTALLER Kconfig option to seek and use the TEZI-specific
name of the script.
Related-to: TEI-791
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
The distroboot script system scans boot_scripts variable and
try to find and use to boot each script name mentioned there.
Setting global variable "script" breaks this general mechanism
of searching and running a distro boot script.
Remove global variables "script" to fix working the general
distro boot script mechanism.
Related-to: TEI-791
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Add Toradex Easy Installer specific option. Currently this is needed
to choose the correct ubiboot options and use correct name of distro
boot script for Easy Installer.
Related-to: TEI-791
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Fastboot protocol should be enabled for Easy Installer.
Enable fastboot options in configuration file
Related-to: TEI-745
Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
|
|
Reported-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Add new i.MX 6ULL and 8M Plus SKUs to ConfigBlock handling:
0062: Colibri iMX6ULL 1GB IT (eMMC)
0063: Verdin iMX8M Plus Quad 4GB IT
0064: Verdin iMX8M Plus Quad 2GB Wi-Fi / BT IT
0065: Verdin iMX8M Plus QuadLite 1GB IT
0066: Verdin iMX8M Plus Quad 8GB Wi-Fi / BT
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Variable rootpath is used by distroboot script as a default path to
a rootfs on an NFS server. Set this variable properly for all aarch64
modules, which support a Distro Boot.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
toradex_imx_v2020.04_5.4.70_2.3.0
Update to NXP BSP tag rel_imx_5.4.70_2.3.2
https://source.codeaurora.org/external/imx/uboot-imx/tag/?h=rel_imx_5.4.70_2.3.2
Related-to: ELB-3957
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Default reset_cpu in imx_watchdog driver is clearing the WDA bit
to assert WDOG_B output. However, this requires the iomuxc for the WDOG_B
is configured by board codes or DTS. Without it, next external reset
with WDOG_B iomuxc configured will not work.
On iMX6, we always use internal reset to support some features like bmode.
So the iomuxc for WDOG_B never be set. Change back the reset_cpu to use
internal reset.
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit aa97f1de484a165212cec56bd8ed38227c8f828a)
|
|
U-boot might display wrong module revision information
for modules with an assembly version 'K'. "cfgblock create"
does not takes into account all revision digits from PID8.
This fix takes into account 6th,7th digits of PID8
to store module revision.
Related-to: ELB-3893
Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
|
|
The on module USB hub connects upstream to SoC USB_OTG2 and provides
two downstream ports, one to the on module Wi-Fi, one to the SODIMM
connector.
In bypass mode the upstream port is directly connected to the SODIMM
connector pins.
Related-to: ELB-3853
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Related-to: ELB-3853
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The macros are no longer used as the pins concerned are now configured
in the device tree.
This gpio setup code is from the initial bringup and was never needed
in the first place. Just delete it.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Enable the ADC supply (LDO4) @ 3.3V before enabling the I2C level
shifter so that both sides of the level shifter are properly powered.
Otherwise, depending on ADC connections the on module PMIC I2C bus
might not be functional.
Relates-to: ELB-3873
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Add missing support of FIT-images and enable a verbosity for
this feature.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
We drop support for Verdin iMX8M Mini V1.0B.
Releated-to: ELB-3551
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Restore "Is the module an IT version? [y/N]" for "cfgblock create"
interactive mode command, which was leading to invalid detection
of 0051 Colibri iMX8DX 1GB WB module;
Fixes: c0c3978cba34 ("toradex: tdx-cfg-block: add Verdin iMX8M Mini/Nano support")
Fixes: 7780d4ec8ee3 ("toradex: tdx-cfg-clock: add new i.mx 8m mini/plus skus")
Related-to: ELB-3482
Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
|
|
The driver supports combined flag to disable srp/hnp and doesn't support
disabling adp. Fix flag properties.
Related-to: ELB-3424
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Currently the Cadence,usb3 driver doesn't support a phy vbus regulator.
Emulate it keeping the USBH_EN signal high with gpio-hog entry.
This enables the on-board USB-Hub with ports USB2[ABCD] and on-board
USB ports USBH3/4.
Related-to: ELB-3424
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Request using the pin of USBH_EN signal that enables
on-board USB hub (USBH2[ABCD] ports) and USBH3/4 ports.
Related-to: ELB-3424
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Trying to use the usbotg1 port in host mode led to the following
error:
=================
starting USB...
Bus usb@5b0d0000: usb dr_mode not found
Port not available.
=================
Adding the correct dual-role mode fixes this issue and let the usbotg1
port working in both peripheral and host mode.
Related-to: ELB-3424
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
This prevents messages like:
gpio@5d0d0000: get_value: error: gpio GPIO5_9 not reserved
when CONFIG_DM_GPIO is enabled.
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
|
Both Verdin Developer Board V1.0A and V1.1A have their PHYs at address
7. Only V1.0B had it at the address 3!
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Remove CONFIG_FEC_MXC_PHYADDR, CONFIG_FEC_XCV_TYPE and PHY_ANEG_TIMEOUT
in favour of device tree configuration via DM_ETH_PHY/PHYLIB.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Eqos is set to primary as it is the on-module Ethernet interface
nothing to do with its MDIO usage which BTW isn't even correct in the
i.MX 8M Plus LPDDR4 EVK case!
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Remove DWC_NET_PHYADDR in favour of device tree configuration via
DM_ETH_PHY/PHYLIB.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Turns out U-Boot won't do anything with those even if paired with
regulator-always-on. I guess this is due to U-Boot's lazy loading.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Configure the PHY regulator if defined by the "phy-supply" device tree
phandle.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Each node which gets touched prints two lines. Drop the one that the
node is found.
I.e. all "Found..." lines in U-Boot output are now suppressed:
| Found /vpu_g1@38300000 node
| Modify /vpu_g1@38300000:status disabled
| Found /vpu_g2@38310000 node
| Modify /vpu_g2@38310000:status disabled
| Found /vpu_h1@38320000 node
| Modify /vpu_h1@38320000:status disabled
| Found /cpus/cpu@2 node
| Delete node /cpus/cpu@2
| Found /cpus/cpu@3 node
| Delete node /cpus/cpu@3
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|