summaryrefslogtreecommitdiff
path: root/recipes-bsp
AgeCommit message (Collapse)Author
2020-02-13u-boot-distro-boot: fix serial console bootarg passingMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 3c9ed2641a6317a4fd9db77ecd508d4008cbad74) (cherry picked from commit 5527f02bfa7c26277688692a8f2c47a423d06cb5)
2020-01-24u-boot-distro-boot: drop sota specific boot.cmd.inMing Liu
It should be moved to meta-toradex-torizon layer. Signed-off-by: Ming Liu <ming.liu@toradex.com>
2020-01-23u-boot-distro-boot: add a missing ubifsumountMing Liu
ubifs should be umounted after the uEnv.txt file loading finished. Signed-off-by: Ming Liu <ming.liu@toradex.com>
2020-01-22u-boot-distro-boot: use lower case for ubi partition nameStefan Agner
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>
2019-11-28u-boot-distro-boot: do not reuse bootcmd variableStefan Agner
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>
2019-11-11u-boot-distro-boot: disable MSI on Apalis iMX8Stefan Agner
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>
2019-09-27u-boot-distro-boot: load HDMI firmware in boot scriptStefan Agner
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>
2019-09-27Revert "u-boot-distro-boot: run setup for torizon"Stefan Agner
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>
2019-09-20u-boot-distro-boot: run setup for torizonMing Liu
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>
2019-09-04u-boot-distro-boot: add support for detecting UUID of rootfsIgor Opaniuk
Provide proper PARTUUID value in bootargs. Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
2019-09-04u-boot-distro-boot: fix unbalanced double quoteMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-08-11u-boot-distro-boot: some clean upMing Liu
- 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>
2019-07-29u-boot-distro-boot: add inital distro boot scriptMax Krummenacher
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>
2019-05-14tezi-metadata: drop compatible machine restrictionStefan Agner
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>
2019-05-06u-boot: add inc to generate U-Boot default environmentStefan Agner
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>
2019-03-04apalis/colibri-t20 -t30: drop machinesMax Krummenacher
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>
2019-03-04tezi-metadata: inherit nopackagesMing Liu
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>
2018-06-26tezi-metadata: add new slidesColibri-iMX7_LXDE-Image_2.8b3.111-20180627Colibri-iMX6_LXDE-Image_2.8b3.111-20180627Colibri-iMX6ULL_LXDE-Image_2.8b3.111-20180627Colibri-VF_LXDE-Image_2.8b3.111-20180626Colibri-T30_LXDE-Image_2.8b3.111-20180627Colibri-T20_LXDE-Image_2.8b3.111-20180626Apalis-iMX6_LXDE-Image_2.8b3.111-20180626Apalis-TK1_LXDE-Image_2.8b3.111-20180626Apalis-TK1-Mainline_LXDE-Image_2.8b3.111-20180627Apalis-T30_LXDE-Image_2.8b3.111-20180626Stefan Agner
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>
2018-06-18mwifiex: mwifiex module optionsDominik Sliwa
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>
2018-06-18tezi-metadata: add apalis-t30 to compatible machineStefan Agner
Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2018-03-28u-boot-toradex: add inc to generate U-Boot default environmentStefan Agner
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>
2017-12-22recipes: fix invalid license file locationMax Krummenacher
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>
2017-10-03tezi-metadata: add apalis-tk1 and apalis-tk-mainline to compatible machineMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
2017-10-03tezi-metadata: fix spelling mistakes in commentsMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-10-03tezi-metadata: mx6ull: add empty wrapup.sh scriptMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-06-09gpio-export: do not export gpios used for ov5640 reset and power controlBhuvanchandra DV
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>
2017-06-09meta-toradex-bsp: add colibri imx7 to supported machinesStefan Agner
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>
2017-04-07meta-toradex-bsp: clean-up whitespace useMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-02-08tezi-metadata: use wrapup.sh script for Colibri iMX6 tooStefan Agner
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>
2017-01-11apalis-imx6: do in-field updates at the endColibri_iMX7_LinuxImageV2.7Beta1_20170112Colibri_iMX6_LinuxImageV2.7Beta1_20170112Colibri_VF_LinuxImageV2.7Beta1_20170112Colibri_T30_LinuxImageV2.7Beta1_20170112Colibri_T20_LinuxImageV2.7Beta1_20170112Apalis_iMX6_LinuxImageV2.7Beta1_20170112Apalis_TK1_LinuxImageV2.7Beta1_20170112Apalis_T30_LinuxImageV2.7Beta1_20170112Stefan Agner
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>
2017-01-11tezi-metadata: initial commit of Tezi specific image metadataStefan Agner
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>
2016-09-29u-boot: get rid of obsolete patchesMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2016-03-14Apalis/Colibri iMX6: drop in favour of meta-fsl-arm-extraMax Krummenacher
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>
2015-12-15Update all U-Boot versions to latestMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2015-12-15Apalis iMX6: U-Boot: change name for IT modulesMax Krummenacher
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>
2015-11-03Update Linux kernel and U-Boot to latest.Marcel Ziswiler
2015-10-12Apalis iMX6: cleanup filename for V1.0 HWMax Krummenacher
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.
2015-08-07colibri-vf: use U-Boot recipe from meta-fsl-arm-extraMax Krummenacher
2015-05-18Apalis/Colibri: update U-Boot to latestMax Krummenacher
And use 2015.04-toradex branch
2015-05-18Apalis/Colibri: update U-Boot to latest in -nextMax Krummenacher
2015-05-18Apalis iMX6 IT: u-boot: use the IT defconfig for ITMax Krummenacher
2015-05-12update to latest u-bootMax Krummenacher
2015-05-12update U-Boot and Colibri VFxx Linux to latest git revisionStefan Agner
2015-05-12update to latest u-bootMarcel Ziswiler
2015-05-12u-boot: use latest from gitMax Krummenacher
While at it remove warning about stripped fw_printenv binary when building u-boot-toradex-fsl-fw-utils.
2015-05-12Apalis/Colibri iMX6: kernel/U-Boot update to latest in -nextMax Krummenacher
Also deploy an additional device tree supporting a Colibri iMX6 with Analog Camera Module.
2015-05-12colibri_vf: update to U-Boot 2015.04/Linux 4.0Stefan Agner
2015-05-12licenses: fix license string to known values or formatMax Krummenacher
2015-05-12recipes: replace short DESCRIPTION with SUMMARYMax Krummenacher
The SUMMARY variable gives a short description of the package (<72 chars). A missing DESCRIPTION is automatically set to the content of SUMMARY.
2015-02-03colibri-vf: update Linux kernel and U-Boot git hashesStefan Agner
Also update default defconfig for colibri-vf.