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>
|
|
With use-mainline-bsp the SoC overrides mx6/mx6q/mx6ull... are filtered out of
the overrides. Replace them with the specific machine name.
Related-to: ELB-2805
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
- Drop NATIVE_SYSTEMD_SUPPORT, it's deprecated.
- Drop do_compile, base_do_compile would be good fine enough.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
Create a seperate recipe for each kernel flavour and move the recipe
into the same directory as the kernel recipe.
This allows to have a better control over which machine needs which
device-tree-overlays. E.g. apalis-tk1 does not make use of the NXP
use-mainline-bsp facility.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Add external device tree overlays to be build outside of the main
linux kernel recipe.
Relates-to: ELB-2723
Signed-off-by: Ming Liu <ming.liu@toradex.com>
Signed-off-by: Igor Opaniuk <igor.opaniuk@gmail.com>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@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>
|
|
Related-to: ELB-2686
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit 78f228b9b427972a70c91deb5b40af1f307b7246)
(cherry picked from commit d02b7fd19d87eb2dffcaa36ab4427e47a8a749c4)
|
|
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>
|
|
We have generic prepare.sh and wrapup.sh scripts hence tezi-metadata
is buildable and useable for any machine.
Signed-off-by: Stefan Agner <stefan.agner@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>
|
|
These machines use an old Nvidia provided downstream kernel 3.1.10. They no
longer much the way more recent sysroot components, e.g. libc, xserver et. al.
The maintance burden to keep the userspace components in their old version
becomes simply to high. Keep using the rocko based 2.8 BSP for these machines.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
A main package being empty without setting ALLOW_EMPTY can lead to
errors in populate_sdk task. If it does not provide any packages then
we should let it inherit nopackages bbclass.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Update the slides shown during image installation. This updates
our presence in Japan.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Add module load options for MWiFiEx driver, so the driver
will create both uAP and station interfaces on boot.
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@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>
|
|
Use '${COMMON_LICENSE_DIR} for license files
fix the warning:
| WARNING: packagegroup-xfce-base-1.0-r5 do_populate_lic:
| ${COREBASE}/LICENSE is not a valid license file, please use
|'${COMMON_LICENSE_DIR}/MIT' for a MIT License file in LIC_FILES_CHKSUM.
|This will become an error in the future
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Toradex CSI 5MP OV5640 camera module uses two GPIOs for power
and reset control, exporting them here leads to failure of OV5640 driver.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The default (empty) prepare/wrapup scripts will be used which is
fine since there is no need for special scripting on Colibri iMX7
currently.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The wrapup.sh script updates fuses/eMMC settings on-site. The same
script can be used for Apalis iMX6 as well as for Colibri iMX6.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The boot partition configuration needs to be done _after_ writing
to the boot partition (hence after flashing SPL and U-Boot). Move
the whole migration script to the end by using the wrapup.sh script.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
This adds metadata files required by Toradex Easy Installer. Most
notable is the Linux specific migration script which is executed
before flashing an image. The script makes sure that hardware specific
upgrades such as fuses/eMMC reconfiguration get executed, as our
U-Boot based scripts do when using "run update".
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
|
|
|
|
|
|
|