Age | Commit message (Collapse) | Author |
|
Add code to build the eMMC variant of the Colibri iMX6ULL, i.e. the
'Colibri iMX6ULL 1GB' which has a eMMC instead of the raw NAND used
on other SKUs.
Related-to: ELB-4056, ELB-4057
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Fix the warning by set the variable zero to uint64_t
"warning: ‘write’ reading 5 bytes from a region of size 4"
Signed-off-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 16841a6a500766662f6e5d3c07ad1595c7deaceb)
|
|
The isAlive() method was deprecated in Python 3.8 and has been removed in
Python 3.9. See https://bugs.python.org/issue37804. Use is_alive() instead.
Since Python 2.6 is_alive() has been a synonym for isAlive(). So there
should be no problems for users using elder Python 3 versions.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
(cherry picked from commit fd434f47d4d008d41f4ee2fe5cb94791f780395c)
|
|
Use savedefconfig. The change does produce the same .config as before.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Integrate new Toradex SKU 0062 Colibri iMX6ULL 1GB IT. This commit
basically adjusts three parameters of the RAM settings:
Increase density from 4Gb to 8Gb
Increase ROW address from 15 to 16
Increase tRFC (refresh command time) from 260 to 350
This timing is valid for all Toradex Colibri iMX6ULL SKUs
Related-to: ELB-4055, ELB-4057
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Synchronize initramfs related configuration options and improve
memory layout. The memory layout with an offset of 16MiB allows
to boot bigger kernels. With AUTO_ZRELADDR, which is pretty much
the standard nowadays, the kernel relacates itself to PC masked
with 0xf8000000 plus a text offset of 0x8000 (hence 0x80008000 for
Vybrid). With a 16MiB offset from the start of memory and a 16MiB
distance to the device-tree, we allow kernel up to ~16MiB.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit c451702f146b4dffb10a5d76002e09d2e37315a9)
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
The distro boot script in TEZI image is called boot-tezi.scr.
Enable using this particular script name for u-boot images
which are used as a part of TEZI.
Related-to: TEI-791
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The distro boot script in TEZI image names boot-tezi.scr.
Enable using this particular name of script for u-boot images
which are used as a part of TEZI.
Related-to: TEI-791
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
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>
|
|
This config is needed that the correct ubiboot is selected
Related-to: TEI-775
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Related-to: TEI-775
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
This config is needed that the correct ubiboot is selected
Related-to: TEI-775
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Related-to: TEI-775
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Allow setting Toradex Easy Installer aka Tezi specific configuration
options like not enabling SATA, directly continuing with the SDP command
upon recovery, distrobooting otherwise or not storing the environment.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 8b2f82e2aca52bac5b67fbeddccef2dd44f21444)
Conflicts:
board/toradex/common/Kconfig
added it on the end of the file and reworded the Kconfig entry so it
reflects what it is used for in this U-Boot.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Since NXPs 5.4. release zeros are needed at the end of the bootloader.
Assume that never more than 10k of padding is needed and skip the
shell magic to get a correct size.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
This reverts commit 3e31ffee95704c1e23f0c109f6b0809e88bc4a39.
|
|
This reverts commit e0988b5e2b2dba58046c7b5d90a08b9e701bd0cf.
|
|
This reverts commit 1aabd391a32c1050407d0744bf9b0dc973da5dca.
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Only one dtb is currently supported, so match with imx6-colibri.
Related-to: TOR-1704
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
Define CONFIG_TARGET_COLIBRI_IMX7_NAND for Colibri iMX7 NAND SoM
Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
|
|
The recovery image needs to support both Colibri-iMX7 NAND and
Colibri-iMX7 eMMC modules. Forward port the solution for this
from u-boot 2016.11, originally developed by
Stefan Agner <stefan.agner@toradex.com>.
Related-to: TEI-775
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Specify the particular target module as NAND to set required
default values for the target.
It also fixes the following warning and unblocks non-interactive
building:
==========
.config:167:warning: symbol value '' invalid for TDX_CFG_BLOCK_OFFSET
==========
Related-to: TEI-775
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Split building u-boot for Apalis and Colibri modules.
It fixes the buildman stucking.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
OF graph endpoint connections must be bidirectional and dtc warn if they
are not. i.MX7 based DTs have an error and generate
warnings:
arch/arm/dts/imx7d-sdb.dtb: Warning (graph_endpoint):
/replicator/ports/port@0/endpoint: graph connection to node
'/soc/tpiu@30087000/port/endpoint' is not bidirectional
arch/arm/dts/imx7d-sdb.dtb: Warning (graph_endpoint):
/soc/tpiu@30087000/port/endpoint: graph connection to node
'/replicator/ports/port@1/endpoint' is not bidirectional
Signed-off-by: Ilko Iliev <iliev@ronetix.at>
|
|
The wrong dependency fails the building of colibri_vf.
Fix the dependency of u-boot-nand.imx.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
For recovery version of u-boot the default source of booting should
be the SDP over USB.
Related-to: TEI-775
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Enable the target u-boot-nand.imx for the TEZI recovery defconfig.
It needs to be enabled for all colibri-imx7 defconfigs due to
current u-boot build flow.
Related-to: TEI-775
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Add configs for images, which should be flashed to NAND/eMMC
as a part of the TEZI recovery image.
Related-to: TEI-775
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
This patch fixes the following compiler warning:
=============
board/toradex/colibri_vf/colibri_vf.c: In function 'ft_board_setup':
board/toradex/colibri_vf/colibri_vf.c:436:6: warning: unused variable 'ret' [-Wunused-variable]
=============
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
NAND modules (Colibri Vybrid, iMX7, iMX6ULL) require the images with
1024 prepending bytes.
Add the u-boot-nand.imx target which enables with CONFIG_IMX_NAND
option.
Related-to: TEI-775
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@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 aarch32
modules, which support a Distro Boot.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Use the empty file as a source of default environment.
It fixes the issue with merging default environment and
environment from other configured media, say, eMMC.
Related-to: TEI-775
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Use the empty file as a source of default environment.
It fixes the issue with merging default environment and
environment from other configured media, say, eMMC.
Related-to: TEI-775
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Use the empty file as a source of default environment.
It fixes the issue with merging default environment and
environment from other configured media, say, eMMC.
Related-to: TEI-775
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Add the defconfig tuned to use in Toradex Easy Installer.
Enable FASTBOOT options to support using uuu instead of imx_usb
tool in advance.
Disable using a config block for USB PID.
Related-to: TEI-775
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Add the defconfig tuned to use in Toradex Easy Installer.
Enable FASTBOOT-related options to support the uuu instead
of imx_usb tool in the future.
Disable using a config block for USB PID.
Related-to: TEI-775
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Add the defconfig tuned to use in Toradex Easy Installer.
Enable FASTBOOT options to support using uuu instead of imx_usb
tool in advance.
Disable using a config block for USB PID.
Related-to: TEI-775
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Add the defconfig tuned to use in Toradex Easy Installer.
Enable FASTBOOT options to support using uuu instead of imx_usb
tool in advance.
Disable using a config block for USB PID.
Related-to: TEI-775
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Add the file with an empty environment to use it in TEZI.
Related-to: TEI-775
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
The solution to use empty default environment requires the
docker CI image to include the xxd tool.
Replace the docker image with another one with xxd.
Related-to: TEI-775
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
When CONFIG_USE_DEFAULT_ENV_FILE=y and the file
CONFIG_DEFAULT_ENV_FILE is empty (or at least doesn't contain any
non-comment, non-empty lines), we end up feeding nothing into xxd,
which in turn then outputs nothing. Then blindly appending ", 0x00"
means that we end up trying to compile (roughly)
const char defaultenv[] = { , 0x00 }
which is of course broken.
To fix that, change the frobbing of the text file so that we always
end up printing an extra empty line (which gets turned into that extra
nul byte we need) - that corresponds better to the binary format
consisting of a series of key=val nul terminated strings, terminated
by an empty string.
(cherry-picked from https://patchwork.ozlabs.org/project/uboot/patch/20210422074418.1573153-1-rasmus.villemoes@prevas.dk/)
Reported-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
If config block support is enabled, USB gadget modes unconditionally
use Toradex Product ID as USB PID. Some applications might prefer a
different and/or static USB PID. Add a Kconfig configuration option
to descide whether to use USB PID from config block or the fallback
config option CONFIG_G_DNL_PRODUCT_NUM.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Brandon Shibley <brandon.shibley@toradex.com>
(cherry-picked from commit f72fe627c3e7a97008b8dd5d9ceb6df1dcd347ee)
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
In case USB serial downloader has been used to load U-Boot start the
serial download protocol (SDP) emulation. This allows to download
complete images such as Toradex Easy Installer over USB SDP as well.
This code uses the boot ROM provided boot information to reliably
detect USB serial downloader.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry-picked from a2e77a650a496e2be0b1630b874f531e9f394d47)
Forward-ported to 2020.07:
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
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>
|
|
Add missing support of FIT-images and enable a verbosity for
this feature.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
imx-bootaux loads an elf file linked for an auxilary core. Thus the
loader function requires address translation from the auxilary core's
address space to where those are mapped into U-Boot's address space.
So the elf loader is specific and must not be replaced with a generic
loader which doesn't provide the address translation functionality.
Fixes commit 805b3cac1e0 ("lib: elf: Move the generic elf
loading/validating functions to lib")
Related-to: ELB-3520
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Since we have a full set of overlays for display interfaces
for both Apalis iMX6Q and Colibri iMX6DL modules, the video=
settings are obsolete. Remove these settings from the U-Boot.
Related-to: ELB-3395, ELB-3243, ELB-3240
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
All the other boards have tdxargs specified for setting manual kernel
command-line arguments. Add them also to NAND-based boards.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|