Age | Commit message (Collapse) | Author |
|
In some situation "for" loop don't alterate the non-empty iteration
variable [1]. Clean up the iteration var at the end of each loop.
[1]
------------------
Apalis iMX6 # load ${devtype} ${devnum}:${distro_bootpart} ${loadaddr} ${overlays_file}; env import -t ${loadaddr} ${filesize}
107 bytes read in 11 ms (8.8 KiB/s)
Apalis iMX6 # print fdt_overlays
fdt_overlays="devicetree/apalis-imx6_parallel-rgb_overlay.dtbo devicetree/apalis-imx6_ov5640_overlay.dtbo"
Apalis iMX6 # for overlay_file in ${fdt_overlays}; do echo "file=${overlay_file}"; done
file=devicetree/apalis-imx6_parallel-rgb_overlay.dtbo
file=devicetree/apalis-imx6_parallel-rgb_overlay.dtbo
{Add clean up}
Apalis iMX6 # for overlay_file in ${fdt_overlays}; do echo "file=${overlay_file}"; setenv overlay_file; done
file=devicetree/apalis-imx6_parallel-rgb_overlay.dtbo
file=devicetree/apalis-imx6_ov5640_overlay.dtbo"
------------------
Related-to: ELB-2797
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Add support for DT overlays, which are obtained from overlays.txt
stored in bootfs.
Relates-to: ELB-2722
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
|
Since we already have u-boot-toradex-initial-env.inc file, and no
other recipes are referring u-boot-toradex-env.inc, we could drop it
now.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit 3c9ed2641a6317a4fd9db77ecd508d4008cbad74)
|
|
It should be moved to meta-toradex-torizon layer.
(cherry picked from commit 064d12dfae77397c43e13a79e3b4c7db1b14aeda)
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
ubifs should be umounted after the uEnv.txt file loading finished.
(cherry picked from commit 314e3913b03ddfe96390dc7e1665558cc8aec26b)
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
In 2016.11 U-Boot the MTD partition name which is used in the UBI
distro boot script has been fixed to capital "UBI". In newer U-Boot
this can be configured. With the switch to U-Boot 2019.07 we made
use of that feature to align with the BSP and named the MTD partition
lower case "ubi".
This changes the same in the boot script to make sure Linux looks
for UBI volumes in the correct MTD partition.
Related-to: TOR-237, TOR-513
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
The bootcmd variable is the entry point for regular boot. If booting
fails for some reason and one saves the environment at this point,
the next boot will no longer use distro boot. Often booting works
since the boot script setup all variables correctly, so one does not
notice that the boot flow has been altered/hard-coded.
Do not reuse bootcmd to avoid accidentally alter the boot flow.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Add pci=nomsi to boot arguments for Apalis iMX8. We cannot safely use
defargs since this variabel contains downstream specific environment
variables which might not work well with upstream kernels as used by
TorizonCore.
Related-to: #52562
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Use the distro boot script to load the HDMI firmware. This minimizes
the dependencies to the U-Boot environment and gives more control
to the distribution.
Related-to: #52562
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
This reverts commit 3ad48d3c8a8fa5a1364450ea101b839140656279.
Running the machine specific setup is not how distro boot should
be used. Also this breaks Colibri iMX7s (and probably Colibri
iMX6ULL) PSCI support. Revert this and fix the firmware loading
issue separately.
Related-to: #52562
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
setup function needs to be run if it's defined in uboot environment,
for instance, loadhdp is being called in it for apalis-imx8 board.
Some setup functions also take care of setting bootargs, which is safe
for torizon as well if we run setup function before bootcmd_args, since
the later will override the bootargs.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
Provide proper PARTUUID value in bootargs.
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
- Inherit nopackages since it does not generate any non-empty packages.
- Drop do_compile, we can run mkimage directly in do_deploy task.
- Drop 'S = "${WORKDIR}"', we do not have to explicitly set it, the
default S would be good enough.
- Do not install DEPLOYDIR, that is not necessary, it's already done
in deploy.bbclass.
- Do not set noexec flag to do_install, do_populate_sysroot, they are
basically empty tasks, making do_populate_sysroot noexec also will
cause QA warning when u-boot-distro-boot is set to DEPENDS in other
recipes.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
This creates a distro boot script boot.scr and deploys it into
the ${DEPLOYDIR}.
Moved here from meta-toradex-torizon u-boot-distro-boot-ostree.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Including u-boot-toradex-initial-env.inc will generate a uEnv.txt
for newer U-Boot versions using U-Boot's u-boot-initial-env
Makfile target. It essential does what u-boot-toradex-env.inc did
before.
Note: Since there is now support for an exported environment in
upstream U-Boot, we should upstream the OE logic to the official
U-Boot too.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Including u-boot-toradex-env.inc will generate a uEnv.txt text
file containing the default environment of the U-Boot binary.
This is useful for Toradex Easy Installer to write the default
environment using the "u_boot_env" property.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
machine/u-boot/kernel files have been added to meta-fsl-arm-extra.
Use them from there now.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Change the name form u-boot-it.imx to u-boot.imx-it.
This prepares for the upcomming move of the i.MX 6 based modules BSP
to meta-fsl-arm-extra.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
|
|
Follow the rename imx6q-apalis-eval_v1_0.dtb to imx6q-apalis_v1_0-eval.dtb
in the kernel.
The v1_0 denotes the Apalis module version, not the evaluation board version.
|
|
|
|
And use 2015.04-toradex branch
|
|
|
|
|
|
|
|
|
|
|
|
While at it remove warning about stripped fw_printenv binary
when building u-boot-toradex-fsl-fw-utils.
|
|
Also deploy an additional device tree supporting a Colibri iMX6 with
Analog Camera Module.
|
|
|
|
Also update default defconfig for colibri-vf.
|
|
The IT variant needs different RAM timings
|
|
|
|
Two last minute fixes: Default Product/Vendor ID for USB peripheral
in U-Boot and fix for the USB peripheral RNDIS freeze.
|
|
|
|
Switch default kernel recipe to linux-toradex-vf which will build
a kernel based on the toradex 3.18-next branch.
|
|
|
|
Update to a U-Boot and Kernel which can be used for Apalis iMX6
HW version V1.0 and V1.1.
Also deploy additional device tree for Apalis iMX6 V1.0 modules
|
|
|
|
Use rebased U-Boot release 2014.10. The README has a new md5sum
and U-Boots new build system has default configurations ending
with defconfig too.
|
|
|
|
u-boot.inc no longer builds the standalone examples by default so
do patch to not do so is no longer needed.
The source tree will no longer be marked as git dirty.
|
|
|
|
|
|
Use the latest U-Boot and burnflash.
|
|
|