Age | Commit message (Collapse) | Author |
|
The kernel binary image is by default deployed into the rootfs, /boot/.
openembedded-core changed the way it is done in a not backwards
compatible way.
I.e. it now RRECOMMENDS instead of RDEPENDS the package which contains
the kernel binary image.
Commit 1c90b27d2c ("kernel: make kernel-base recommend kernel-image, not depend")
So the way to not deploy also changed. Change machines and recipes
which want to prevent kernel deployment accordingly.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The kernel for apalis-tk1 is based on upstream and supports ext4.
Older tegra kernels did not support ext4 and thus we created a ext3
rootfs in the wic image.
Change to use the openembedded core provided kickstart
file `sdimage-bootpart.wks` and delete the no longer
needed `sdimage-bootpart-tegra.wks`.
Related-to: ELB-4295
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit a03fde04d777cb3f9549d6fbf234924211c867c2)
|
|
Mainline (sources.denx.de) has all the functionality needed for
Apalis TK1. Build directly from the mainline repo.
Add a bbappend which makes the cboot image format.
Related-to: ELB-4090
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This is the result of automated script (0.9.3) conversion:
+# meta-toradex-distro
+vars = vars + ["preempt-rt","tdx","upstream"]
+# meta-toradex-* machines
+vars = vars + ["apalis-","colibri-","verdin-","tegra124"]
+# meta-freescale
+vars = vars + ["imx","mx6","mx7","mx8","use-mainline-bsp","use-nxp-bsp"]
../openembedded-core/scripts/contrib/convert-overrides.py .
converting the metadata to use ":" as the override character instead of "_".
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit 1a67472a683cc7ffa4bf5808e344713bc437619c)
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit 52648ab93c25b41dc947002fcf89d0214aa04bd5)
|
|
This has successfully been tested to not have any side effects no the
regular BSP.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit e79ce4ec8cab7ec7efa66e48a22e2a171331ca1b)
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit 115043063bbe1d6bd7c83a6a9b2ca9443bca7a4e)
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
To be able to be loaded from fitimage.
Related-to: TOR-1700
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit 590bff2e80d148bcf221e5b135c3bba028e40406)
|
|
The package split for nvidia firmware has been upstreamed to
openembedded-core and further split into subpackages.
Drop our linux-firmware bbappend and follow the changed package name.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The changes include:
- Drop PREFERRED_PROVIDER_u-boot-fw-utils from machine conf.
- Drop u-boot-toradex-fw-utils-tk1 recipe.
- Drop fw_unlock_mmc.sh, that's not needed for libubootenv.
- Drop reference to u-boot-toradex-initial-env.inc, that's been
removed from BSP common layer.
Related-to: ELB-2553
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
Drop MACHINE_BOOT_FILES and use the boot file directly, following the
rename of the source file to boot.scr-${MACHINE}.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 9b31aa1cc2aa4464c56b6cd338d7e8e3cee2897b)
|
|
PREFERRED_PROVIDER_u-boot should be 'u-boot-toradex-tk1' instead of
'u-boot-toradex', also set PROVIDES += "u-boot" in u-boot-tk1 recipe.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit c9180b9e9b1231c8139bbfb47f51acb5692235dc)
|
|
Rename the apalis-tk1-mainline machine to the now dropped
apalis-tk1 machine name.
Related-to: ELB-2733
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 0bf55088d1f34338dd04f83d6b90b7a72f6867de)
|
|
The downstream kernel gets to old to be used with the new zeus
userspace components. Drop the machine.
Related-to: ELB-2733
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit d13caaba2d90f856b944ebde44967b679d3eb3a9)
|
|
- TEZI_UBOOT_BINARY_EMMC should be changed to UBOOT_BINARY_TEZI_EMMC.
- Drop TEZI_DISTRO_BOOT_SCRIPTS, it's being referred nowhere.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit 545e2e8b2822ab313c1b3c43816e5eb8be651b8f)
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Move installing of the driver package from machine firmware to the
XSERVER variable where it belongs.
This allows an image without X11 to not pull in unnedded userspace drivers.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 8c8b350b079619edde97e0c11b90f85062532911)
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Recent OE adds additional shared object checks which errors out on the way
the binary Tegra drivers are injected.
Rework the recipes, so that
- mesa no longer PROVIDE any OpenGL shared objects and the binaries.
- linux-driver-package now depends on mesa to install development headers
- linux-driver-package PROVIDE and RPROVIDE the OpenGL shared objects.
- linux-driver-package drops the additional arm-linux-gnueabihf/tegra path
to the *.so* files.
- the apalis-tk1 machine PREFERS linux-driver-package as the OpenGL provider.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
For the recipes listed in EXTRA_IMAGEDEPENDS, bitbake would create a
dependency as:
| image_pn:do_image_complete -> imagedepends_pn:do_populate_sysroot
but we actually need a image task depend on the deploy tasks of
EXTRA_IMAGEDEPENDS recipes, setting EXTRA_IMAGEDEPENDS would not help
with that, so drop it, use WKS_FILE_DEPENDS instead.
We also need drop "IMAGE_BOOT_FILES +=", that would override
"WKS_FILE_DEPENDS ?=".
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
This depends on and deploys the distro boot script provided
by u-boot-distro-boot.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The bmap file allows to use the bmap tools to flash the wic image.
Using bmap is faster than using dd.
bmaptool copy --bmap <image>.wic.bmap <image>.wic.gz /dev/sdX
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This allows to use u-boot-fw-utils in image recipes.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Update to a 2019.07 based U-Boot.
Use the openembedded master recipes for u-boot_2019.07 as a base.
While at it append -tk1 to PN to have a name different from the u-boot recipe
name for our NXP based SoM and set the prefered provider accordingly.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Provide the MACHINE_NAME variable which can be e.g. used as part of the
image name.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
linux-driver-package* contains more than just X11 components.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
As we dropped meta-angstrom, do not prefer psplash-angstrom anymore.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
SERIAL_CONSOLE has been deprecated for a while now
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
These machines use an old Nvidia provided downstream kernel 3.1.10.
They are no longer compatible with more recent sysroot components,
e.g. libc, xserver et. al.
The maintenance burden to keep the userspace components in their old version
becomes simply too high. Keep using the rocko based 2.8 BSP for these machines.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The kernel class now sets RDEPENDS_${KERNEL_PACKAGE_NAME}-base so this include
needs to do the same, otherwise bitbake emits a warning and the kernel isn't
removed.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Currently only imx and vybrid automatically generate wic images. This
functionality is useful e.g. for booting from SD cards. Add wic image
generation in tegra modules.
Signed-off-by: Gerard Salvatella <gerard.salvatella@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>
|
|
Add Toradex Easy Installer image class and the image type with all
required variables to the Apalis T30 machine config.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Switch to the generic compressed Kernel image type (zImage) instead of
the U-Boot specific uImage format.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
|
|
Move UBOOT_BINARY, UBOOT_IMAGE and UBOOT_SYMLINK definitions to machine
configuration re-used by the Toradex Easy Installer U-Boot recipe.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
|