Age | Commit message (Collapse) | Author |
|
The Toradex Easy Installer uses a fitimage for kernel/fdt/rootfs.
With moving to the meta-toradex-bsp-common fitimage class to create
the fitimage the configuration name is changed.
For the Colibri iMX7 with RawNAND we set the configuration used
in the U-Boot environment. Change that to the new name.
Related-to: ELB-4417
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Remove hard-coded variant in the eMMC build case as since the following
commit it will anyway always get overridden by the detection routing in
board code.
eee9c9f11383 ("board: colibri_imx7: Set variant variable also for non-emmc variants")
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Default vidargs are set to 640x480@60 which causes
incorrect lt161010 touchscreen resolution.
eMMC variant should use overlays to select proper
touchscreen timing and resolution
Related-to: ELB-4191
Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
|
|
Move CONFIG_BOOTCOMMAND definition from colibri_imx7.h to
colibri_imx7_defconfig, to be more flexible, for instance, it could
be overridden by merge_config.sh script.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
Move CONFIG_BOOTCOMMAND definition from colibri-imx6ull.h to
colibri-imx6ull_defconfig, to be more flexible, for instance, it could
be overridden by merge_config.sh script.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
Unfortunately, vidargs cause very suboptimal display timings to be
calculated which destroys our nice VESA VGA definition from the device
tree. Get rid of it.
Related-to: ELB-4080
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Use the complete 512kb (4 blocks) nand partition reserved for u-boot
environment instead of just the first block, this allows the module to have a
working environment even if 3 blocks are bad.
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
|
|
Use the complete 512kb (4 blocks) nand partition reserved for u-boot
environment instead of just the first block, this allows the module to have a
working environment even if 3 blocks are bad.
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
|
|
The "vidargs" variable is needed only if the board is not aware of the
display that is connected to it. Since the EMMC version with the usage
of overlays is able to specify display settings, such a variable becomes
redundant.
Related-to: ELB-4065
|
|
This configuration creates an U-Boot which does not use any storage
device, i.e. no eMMC or NAND. It is used to boot U-Boot over recovery
aka. Serial Downloader without the need to know if the module
uses eMMC or NAND for storage. It detects the storage device type and
start the Toradex Easy Installer with the matching configuration.
Note that for NAND devices the mtd partitioning is not patched into
the device tree by U-Boot. It must be part of the provided device
tree.
Related-to: TEI-922
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
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>
|
|
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)
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
The default mxcfb devices were changed in the Toradex Linux kernel.
Make the appropriate change in vidargs u-boot env variable.
Realted-to: ELB-3240
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Remove duplicate of mmc0, set this boot order:
1) SD
2) eMMC
3) USB
4) DHCP boot
Related-to: ELB-3041
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
|
Drop legacy nfsboot script in favor of distroboot DHCP boot.
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
|
Use the same name of DHCP Distroboot script as in regular eMMC case.
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
|
NXP i.MX 7 downstream requires the Linux kernel to boot in secure mode
therefore set bootm_boot_mode to sec. We can/will override this in our
OE recipe should we build for mainline/upstream.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Provide fdtfile value in default env instead of setting
it dynamically in runtime.
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
|
Provide fdtfile value in default env instead of setting
it dynamically in runtime.
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
|
ENable and set preboot var with fdtfile evaluation.
preboot will be checked and run immediately before starting the
CONFIG_BOOTDELAY countdown and/or running the auto-boot command resp.
entering interactive mode.
This provides possibility to use different boot cmds in interactive mode
without manual setting fdtfile value, as it it's already evaluated
before entering interactive mode.
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
|
ENable and set preboot var with fdtfile evaluation.
preboot will be checked and run immediately before starting the
CONFIG_BOOTDELAY countdown and/or running the auto-boot command resp.
entering interactive mode.
This provides possibility to use different boot cmds in interactive mode
without manual setting fdtfile value, as it it's already evaluated
before entering interactive mode.
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
|
ENable and set preboot var with fdtfile evaluation.
preboot will be checked and run immediately before starting the
CONFIG_BOOTDELAY countdown and/or running the auto-boot command resp.
entering interactive mode.
This provides possibility to use different boot cmds in interactive mode
without manual setting fdtfile value, as it it's already evaluated
before entering interactive mode.
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
|
Set proper splashscreen env value instead of calling legacy function
to show embed boot logo.
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
|
Set proper splashscreen env value instead of calling legacy function
to show embed boot logo.
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
|
Add missing BOOTENV_SF command in rk3399 config.
Fix it.
Fixes: f263b860acf8 ("rk3399: Enable SF distro bootcmd")
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reported-by: Suniel Mahesh <sunil@amarulasolutions.com>
Tested-by: Suniel Mahesh <sunil@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
|
|
For using a debug UART on the Wandboard CONFIG_MXC_UART=y must be set in
the .config file.
To avoid duplicate definitions move the setting from
include/configs/wandboard.h to configs/wandboard_defconfig.
Document the debug UART settings in the README.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
|
|
1. Drop legacy emmcboot wrapper from env.
2. Change the "boot try" order. Default one is: SD -> eMMC -> USB -> DHCP
3. Drop DFU defines
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
|
1. Drop legacy emmcboot wrapper from env.
2. Change the "boot try" order. Default one is: SD -> eMMC -> USB -> DHCP
3. Drop DFU defines
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
|
1. Drop legacy emmcboot wrapper from env.
2. Change the "boot try" order. Default one is: SD -> eMMC -> USB -> DHCP
3. Drop DFU defines
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
|
1. Use distro_bootcmd as default boot command instead of
legacy emmcboot wrapper.
2. Drop emmcboot and sdboot wrappers.
3. Provide proper boot order for Distro Boot.
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
|
The distro bootscript uses kernel_image to get the file name of
the kernel, so change that variable name.
UBI boot has precedence in the default boot command. If one wants
to boot from SD with a working NAND installation stop in U-Boot
and enter:
setenv fdtfile ${soc}-colibri-${fdt_board}.dtb && run distro_bootcmd
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
When using distro boot to boot from UBI volumes the boot partition
has been hardcoded to "UBI" (capital letters). However, our default
MTD layout uses "ubi" (lower case letter). Define "ubi" as the
default UBI partition for distro boot for Toradex. This allows to
use distro boot without having to redefine the MTD partition layout
which is useful for TorizonCore.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Define addresses required for full distro boot support.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Store all console-related kernel parameters
in dedicated variable.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Migration to DM_ETH is mandatory, so convert mx6cuboxi to Ethernet
Driver Model.
This also brings the benefit of restoring Ethernet functionality.
Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Tested-by: Tom Rini <trini@konsulko.com>
|
|
|
|
The ethernet PHY on all known Gen3 boards takes a while to come out
of reset, increase the auto-negotiation timeout to prevent it from
timing out in case the ethernet is used right after the board was
reset.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
|
After migration to DM 'vga' name is not longer supported,
change it to 'vidconsole' in the default environment.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Acked-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
|
After migration to DM 'vga' name is not longer supported,
change it to 'vidconsole' in the default environment.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Acked-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
|
After migration to DM 'vga' name is not longer supported,
change it to 'vidconsole' in the default environment.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Cc: Nikita Kiryanov <nikita@compulab.co.il>
|
|
OF_CONTROL, DM_SPI and other driver model migration deadlines
are expired for this board.
Remove it.
Acked-by: Lars Poeschel <poeschel@lemonage.de>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
|
|
OF_CONTROL, DM_SPI and other driver model migration deadlines
are expired for this board.
Remove it.
Acked-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
|