Age | Commit message (Collapse) | Author |
|
Also simplify i.MX 6 and 7 configuration logic since alsa is supported
by all i.MX 6 and 7.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
(cherry picked from commit 6daaffb21e4f9d2b18ed9962cec4516134dc2c01)
|
|
The u-boot overrides are appropriate for i.MX 6 and 7 only and
break i.MX 8 builds.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
(cherry picked from commit 77e56f3029caab422bd0dbfcc0d559ecf0183e05)
|
|
The fsl distro was broken for the following machine files
because they set u-boot configuration to fslc configuration:
- imx6qdlsabreauto
- imx6qdlsabresd
- imx6ulevk
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
(cherry picked from commit e5cd33c9b393ce3f434c8cf0d0bfa65357a1a249)
|
|
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
The i.MX 8QXP bootrom in B0 silicon reads the 1st image container at offset 32k
while tha A0 silicon started at 33k. The machine configurations already contain
the variable IMX_BOOT_SEEK to specify the needed offset.
Change the wks file accordingly.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Bmaptool is a generic tool for creating the block map (bmap) for a
file and copying files using the block map. Is faster than use dd
to flash images to SD Cards. More info about bmap here [1].
[1] - https://github.com/intel/bmap-tools
Change-Id: I727d63104baa3669e83db127b03b3b0af6cd45b9
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit fb753d427add595d9c425fab9d4720a041db1b6d)
|
|
The Linux device trees of all members of the i.MX 6 family use the
same SDMA RAM script.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
imx8 family boards use u-boot as boot loader in addition to some other
binaries. The final bootloader binary is gathered by mkimage into a file
called imx-boot.
Add the wks file to create the wic image tailored for imx8 family.
Set the wks file as default for all imx8.
Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
|
|
It is unlikely that all future mx8 machines will require ath10k fw. So add
it in the specific board configuration and not in imx-base.inc.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Fixes:
| ERROR: Nothing PROVIDES 'virtual/kernel'
| linux-fslc-imx PROVIDES virtual/kernel but was skipped: incompatible with machine imx8qmmek (not in COMPATIBLE_MACHINE)
| ERROR: Nothing PROVIDES 'virtual/bootloader'
| u-boot-fslc PROVIDES virtual/bootloader but was skipped: incompatible with machine imx8qmmek (not in COMPATIBLE_MACHINE)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The SOC-specific binaries for i.MX 8 and 8X families are compatible,
so set MACHINE_SOCARCH_SUFFIX to share.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
Fix the following build error:
| sh: 1: sha384sum: not found
| Failed to hash file: scfw_tcm.bin
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
Update the PREFERRED_VERSION.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Just in case somebody tries to build machines without BLOBs using these
overrides.
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
Use imxdpu override for machine compatibility.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
For all arm64 kernel image type is Image.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
Replace SOC-specific overrides with feature overrides.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
DEFAULTTUNE is set to aarch64 in arch-arm64.inc, so no need to set
it again.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Use make_dtb_boot_files function to use basename from
KERNEL_DEVICETREE files. This is useful for dtb with name:
whatever/my_dtb_file.dtb
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
|
|
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
|
|
Since either imx-vpu or imx-vpu-hantro can now provide virtual/imxvpu.
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
|
|
OE-Core commit 1860d9d3c62e2e94cd68a809385873ffd8270b6d removed
KERNEL_IMAGETYPE prefix from device tree name, so we don't need
to use utilities.inc and we can just use KERNEL_DEVICETREE variable
in IMAGE_BOOT_FILES.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
- weston uses the imxfbdev override for backend configuration
- imx-gpu-viv uses the imxdrm override for dependency configuration
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
http://git.yoctoproject.org/cgit.cgi/poky/tree/?h=master-next&id=d05a268c5069c3fb47ceed47862ba36b5f49ebd3
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Weston is built from a fork for all i.MX, not just
those with GPU, so set the package arch accordingly.
Change-Id: Ib8b2e639a8393dd41832c972d21812ee990a6c47
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
The image needs to use the U-Boot generated, for the uSD card, so a
dependency on that must be added to ensure the file is available prior
'wic' uses it.
Besides that, the fstype needs to be changed so it sets the partition
mark allowing the bootrom to find it.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Add imxgpu to simplify the conditional for imxgpu2d OR
imxgpu3d. Note that i.MX 8MQ has no 2D, so the previous
idiom of using imxgpu2d to mean any GPU is no longer correct.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
There few components which require the new libdrm fork, so we must use
it when using NXP's BSP components. Besides adding the preferred
version we need also to add it to the SoC architecture filter.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Change virtual/libgal-x11 to libgal-imx since there are
no other providers and it is not X11-specific.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
The driver is no longer only for framebuffer, so
remove the designation from the name.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
It seems that overrides from MACHINEOVERRIDES_EXTENDER are not
available here.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
>From Openembedded Core commit:
commit 00420ec42140c1b752132bda190dede85756d157
Author: Fabio Berton <fabio.berton@ossystems.com.br>
Date: Wed Apr 19 13:42:47 2017 -0300
wic: Add option to not change fstab
Create an option to wic doesn't change fstab file, the final
fstab file will be same that in rootfs and wic doesn't update
file, e.g adding a new mount point.
Users can control the fstab file content in base-files recipe.
This is useful if you want to only create an partition but not
add fstab mount point or add new mount point using label e.g:
LABEL=recovery /recovery auto defaults 0 1
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change is useful to avoid duplicate entries on final image
fstab, and system will not mount partitions that doesn't exist.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
EGL support was removed from the fbdev compositor in Weston 2.0. Add
it back via an i.MX fork.
This has been verified with imx-gpu-viv v6 only.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Use imx-uboot-mxs-bootpart.wks for mxs machine once u-boot suffix is
.sb instead of .imx.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Use SOC_DEFAULT_WKS_FILE variable to set WKS_FILE for allow
set WKS_FILE by machine.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
The OE-Core now provides the linux-firmware-imx-sdma-imx6q and
linux-firmware-imx-sdma-imx7d packages. This patch adds them to the
respective SoC families as well as the mainline specific one
(use-mainline-bsp).
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Signed-off-by: Jun Zhu <junzhu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
This change moves the default image for all i.MX machines. We moved
from sdcard.gz to wic.gz.
Following machines were change:
- imx25pdk: use imx-uboot.wks
- imx6qdlsabreauto: use imx-uboot-spl-bootpart.wks
- imx6qdlsabresd: use imx-uboot-spl-bootpart.wks
- imx6ulevk: use imx-uboot-spl-bootpart.wks
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
When the machine requires a boot partition, it needs to define the
IMAGE_BOOT_FILES to include the device tree files and Linux kernel
image. This is essentially a generic solution so instead of defining
it for all machines we are providing a default value for them.
To implement that, we borrowed an utility function from Raspberry Pi
BSP. It is copied as is at conf/machine/include/utilities.inc file.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
The i.MX25 support is new so there is no reason to extend the
dependency on the old image generation class.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
The i.MX25 will always use the use-mainline-bsp override so we force
its inclusion with the override extender mechanism.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|