Set u-boot-congatec for both u-boot and virtual/bootloader
PREFERRED_PROVIDER and use a softer assignment for these variable.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>From OE-Core commit 8a9f249a9166347cc0468191ce130003e3d306e1:
If image type "foo" depends on image type "bar.xz", then dependencies
should be collected from the base image type (ie "IMAGE_DEPENDS_bar")
not from "IMAGE_DEPENDS_bar.xz".
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
IMAGE_DEPENDS_wic_append is deprecated and to install wic dependencies
we need to set WKS_FILE_DEPENDS variable. We don't need to add u-boot
to WKS_FILE_DEPENDS for machines that has u-boot in
MACHINE_ESSENTIAL_EXTRA_RDEPENDS variable. The only dependency to create
wic images is parted-native and is already provided by image_types_wic
class, we can set WKS_FILE_DEPENDS to void and don't build any dependency.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Tested-by: Eric Nelson <eric@nelint.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The previous "IMAGE_DEPENDS..." notation has been deprecated for the newer
"do_image...[depends]" notation.
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Allow the "use-mainline-bsp" MACHINEOVERRIDES to toggle between the
linux-wandboard and linux-fslc kernels for the wandboard's suggested
kernel choice.
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The 'use-mainline-bsp' makes use of linux-fslc as kernel.
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Required when mainline BSP is used. See 79b9c97f for more details.
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The 'use-mainline-bsp' makes use of linux-fslc as kernel.
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Required when mainline BSP is used. See 79b9c97f for more details.
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The 'use-mainline-bsp' makes use of linux-fslc as kernel.
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Required when mainline BSP is used. See 79b9c97f for more details.
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Set wic.gz to SOC_DEFAULT_IMAGE_FSTYPES to use wic as default.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The 'use-mainline-bsp' makes use of linux-fslc as kernel and removes
the not yet supported device-tree files from installation set.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The 'use-mainline-bsp' makes use of linux-fslc as kernel and removes
the not yet supported device-tree files from installation set.
Change-Id: Ic84da0d6d8420748f129dd93d60a632b24e467d8
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The wic image needs to install the bootscript and it loads the
respective kernel image and device-tree files from the image, thus
those need to be included.
Change-Id: If58ef5a51a5016761f04fbf5b20aaabf903a22ea
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The virtual/kernel sometimes need to be overriden, adding the
weak-default allow for easier handler of different providers.
Change-Id: Ifc72665ec49686ad2219de9777860304aab02761
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Change Uboot provider to u-boot-congatec, and change kernel
image type to uImage
Signed-off-by: Alex de Cabo <alejandro.de-cabo-garcia@congatec.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The i.MX 6UL was dealt in a specific way due the metadata not being
fully ported still to the feature overrides set; now that most
metadata has been converted it is the right time to add the mx6 SoC
family here as well.
Change-Id: I8e86c43cf4a9351d8a677fa829f9b321b9c27f51
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
As it is, IMAGE_FSTYPES = "wic.gz" doesn't allow appending using
"+=". So, use IMAGE_FSTYPES ?= "wic.gz" for providing the default
value.
Signed-off-by: Amin Bandali <amin.bandali@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Use wic image creator tool instead of image_types_fsl class to create
sdcard images. wic uses imx-uboot.wks file and this new layout
has only one partition, so all files will be installed on the same
partition. We need to set MACHINE_ESSENTIAL_EXTRA_RDEPENDS to install
kernel image and devitree and u-boot to root part, set wic.gz as
IMAGE_FSTYPES and set correct WKS_FILES.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Use wic image creator tool instead of image_types_fsl class to create
sdcard images. wic uses imx-uboot-spl.wks file and this new layout
has only one partition, so all files will be installed on the same
partition. We need to set MACHINE_ESSENTIAL_EXTRA_RDEPENDS to install
kernel image and devitree and u-boot to root part, set wic.gz as
IMAGE_FSTYPES and set correct WKS_FILES.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Use wic image creator tool instead of image_types_fsl class to create
sdcard images. wic uses imx-uboot-spl.wks file and this new layout
has only one partition, so all files will be installed on the same
partition. We need to set MACHINE_ESSENTIAL_EXTRA_RDEPENDS to install
kernel image and devitree and u-boot to root part, set wic.gz as
IMAGE_FSTYPES and set correct WKS_FILES.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The meta-freescale layer provides is different so the dependency needs
to be adjusted.
Change-Id: I3b488f3037915ae82aae0bb5fd3338bb65947d55
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Class that allows extlinux.conf generation for U-Boot use was introduced
on OE-core commits:
- 7c18abeb2a6ef8b7bb53aa92a9ee76bd465fada2
- 33df3a65f3e8e136811da715d0cc247ce66ae0ea
To use this feature we need to set UBOOT_EXTLINUX variable to 1.
u-boot-fslc commit 157ec06ef780e3dac510f35b6fcf496c22fb24f9 introduced
support to PARTUUID and UBOOT_EXTLINUX_ROOT use this feature to set
root path used by kernel cmdline.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Class that allows extlinux.conf generation for U-Boot use was introduced
on OE-core commits:
- 7c18abeb2a6ef8b7bb53aa92a9ee76bd465fada2
- 33df3a65f3e8e136811da715d0cc247ce66ae0ea
To use this feature we need to set UBOOT_EXTLINUX variable to 1.
u-boot-fslc commit 1009975a22499e79b55d1e800a71ecd8c06c6bfb introduced
support to PARTUUID and UBOOT_EXTLINUX_ROOT use this feature to set
root path used by kernel cmdline.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Commit 7d8c7757164fd7080257df0124a339f0b349bf63 updated linux-wandboard
to version 4.1.15 and device tree files were changed. Update to match
these new file names.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
To boot WaRP7 with Linux version 4.1.x we need to use U-Boot with
secure boot enable.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Tested-by: Daiane Angolini <daiane.angolini@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This machine has the 1DX_BCM4343W chip, so install the firmware by default
Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Both linux-fslc-imx and linux-warp7 have support and are currently working
with WaRP7. However, there are some patches on linux-warp7 not upstreamed to
linux-fslc-imx.
So, let's use the fork linux-warp7 by default.
Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The WaRP7 board shipped today does not have the boot partition configured
as read only, the contrary of what were expected when I sent this patch.
Because of that, this patch reverts commit 954548d649.
For detail on how to lock/unlock the boot partition:
https://github.com/WaRP7/WaRP7-User-Guide/blob/v1.1/04-Chapter/U-boot.adoc#boot-partition
Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The prepended value must end with ':' as this is used as value
separator when parsing the value. This fixes following error:
,----
| ERROR: Required build target 'fsl-image-machine-test' has no buildable
| providers.
| Missing or unbuildable dependency chain was:
| ['fsl-image-machine-test', 'packagegroup-base-extended',
| 'bcm4330-nvram-config']
`----
Change-Id: I92f371a39e7e4e5c38dd940435a7f4598265485a
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Use a more readable code style and sort items alphabetically.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The SOC_FAMILY is an indirection which makes the understanding, from
OpenEmbedded versed developers and users, more difficult. Instead of
using the SOC_FAMILY indirection which is rarely used, we now move to
the MACHINEOVERRIDES mechanism as this is in fact what is in use.
This change is done to align with the meta-fsl-arm BSP.
Change-Id: I81fc8b615db6c20a29d266fa68d17c3dd4de3a10
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
APM (Advanced Power Management) is a more or less ancient power
management API mainly from the x86 world. There is an optional APM
emulation layer for ARM, and some platform make some extended use
of it (e.g. PXA). However, neither is the emulation enabled on any
NXP/Freescale kernel nor is it commonly used, hence remove it from
machine feature.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Change default kernel provider to linux-fslc-imx in order to avoid
a board without SOC_FAMILY.
linux-fslc and linux-fslc-imx has the same feature support for the board.
Signed-off-by: Breno Lima <breno.lima@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Rename imx6q-elo machine to imx6q-dms-ba16. 'elo' was a internal
name used by GE for Advantech dms-ba16 board. Since the board is a
generic Advantech board and not GE specific, rename the machine.
Also update the board to use u-boot-fslc u-boot and linux-advantech
kernel.
Signed-off-by: Akshay Bhat <akshay.bhat@timesys.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
It does not include u-boot binary on the image but builds it so user
can have the u-boot if an update is needed.
Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Rename to imx7s-warp in order to align with the upstream kernel naming.
It also change the dts file used for the board, it's needed since:
51bca3b53d
Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The Toradex Colibri iMX7 computer module is based on i.MX 7Solo and i.MX 7Dual.
The Colibri iMX7 is a member of the pincompatible Colibri family.
They feature on module RAM and NAND, Ethernet PHY, Resistive Touch
Controller and Audio Codec.
For additional specifications please visit:
https://www.toradex.com/computer-on-modules/colibri-arm-family/nxp-freescale-imx7
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
These are rarely used, so save time and diskspace.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
As some variables are now assigned with ?= in colibri-vf.conf and imx-base.inc
make sure that colibri-vf.conf takes precedence.
(e.g. UBOOT_MAKE_TARGET)
UBOOT_MAKE_TARGET is assigned with ?= in imx-base.inc and u-boot.inc. So in
order to have the machine.conf file take precedence use a = assignemnt.
Changing the ?= to ??= in imx-base.inc would always be overridden from
the ?= "all" assignment in u-boot.inc
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The kernel is now deployed in the static ubi volumes 'kernel' and 'dtb'.
So remove them from rootfs /boot.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This helps deploying the images:
- The U-Boot booting from on module mass storage is able to directly boot the
sdcard image.
- The tar.bz2 rootfs can easily be used to update on module mass storage.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
For more information about this reference design, please visit:
http://www.technexion.com/products/pico/pico-som/pico-imx6-emmc
The machine configuration file used to include Yocto Project support to the
board is a consolidation work only.
It only reflects the work done in Linux kernel, U-Boot and FSL Community BSP,
where the hard work is actually done.
Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>