Currently, the recipe uses the script found relative to ${THISDIR}.
Using ${THISDIR} prevents other recipes from using FILESEXTRAPATHS to
overwrite the default boot script. This commit fixes this by using
${WORKDIR} instead.
Signed-off-by: Jean-François Têtu <jean-francois.tetu@savoirfairelinux.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit e7b82f00de)
Append u-boot to PROVIDES variable to get virtual/bootloader
to final value.
PROVIDES = u-boot-boundary virtual/bootloader u-boot
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 0f0ff55565)
Update linux kernel patch and recipe to support external WDOG_B
on imx6q-dms-ba16 platform.
Signed-off-by: Ken Lin <yungching0725@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
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>
Add include/linux/compiler-gcc7.h file to fix build when using gcc7.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Append u-boot value to PROVIDES variable to do not override default
variable value.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Enable CONFIG_FHANDLE so that systemd can autostart getty
on serial interfaces like /dev/ttymxc1.
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>
Most boards from Boundary Devices default to using UART2 (ttymxc1)
as their console. Update the default kernel command line to match.
Also remove the 'noinitrd' flag which has little practical use.
Note that these changes only change the default kernel command line
and are normally overridden by U-Boot through ATAGS.
Signed-off-by: Eric Nelson <eric@nelint.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Use the latest version of mcc-kmod which is adapted for
v4.4 kernel.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.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 linux-wandboard kernel to build successfully with gcc7.
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>
An issue was resolved that caused certain kernel modules to have invalid
CRC's when built with GCC 5.4+ which would cause them to fail loading
if CONFIG_MODVERSIONS is enabled.
See Linux commit d9991ca46 genksyms: fix typeof() handling
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
It includes the following changes:
c602497 : Rename the intermediate node to imx7s-warp
9f76487 : [WaRP7] PMIC swbst reg always-on
Signed-off-by: Pierre-Jean TEXIER <texier.pj2@gmail.com>
Acked-by: Daiane Angolini <daiane.angolini@nxp.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>
We can only use this characters [a-z0-9.+-] for LOCALVERSION.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
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 patch on the server has an updated checksum
Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Kernel based on NXP 4.1.15_2.0.0_ga
Signed-off-by: Alex de Cabo <alejandro.de-cabo-garcia@congatec.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The main goal of this update is to address the issues reported by
Otavio using 6x_bootscript-mainline.txt with mainline Linux [1].
Here is a full log of the bump:
568947b9d1 6x_bootscript-mainline: introduce rfspart variable
8c7e53d06f 6x_bootscript-mainline: use UUID to identify root partition
eb4c55af25 6x_bootscript-mainline: fixup LVDS2 display handling
6e4b9009e7 ahci: extend data io wait to 20s
4e4c6006f7 boundary.h: add CONFIG_CMD_PART
bc55c1e287 6x_bootscript-mainline: change default bootdir to be /
d1c5c4bf98 nitrogen6_max: add ND-070PCAP-1024x600
e7b6e555c4 fbpanel: add ND-070PCAP-1024x600
cf2b52b5d9 mtp: update 2G quadplus calibration based on 15 boards
b8b3e1958b mtp: gadget mac is in ethaddr not eth1addr, because no FEC
143d864e2b ahci: extend data io wait to 15s
7ef83873fe 6x_upgrade: re-introduce fs-specific load commands
9dcb694789 lshore: add pin definitions for rev1.1
fd3d0f65c6 ddr-setup.cfg: increase WALAT to 1 cycle
[1] https://lists.yoctoproject.org/pipermail/meta-freescale/2017-March/020299.html
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 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>
To easy the test with Linux mainline, we are making use of the new
'use-mainline-bsp' override.
Change-Id: Icd44182b5c9fc49feb2f06a4c20d595046b14866
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
For some specific usages, it is desired to have the scripts packaged.
This allows for a complete image to be deployed.
Change-Id: I4a0b5a753efbc50469121f0dd6c4d9fc61903029
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Update the Linux 4.1 Toradex branch to the latest version, containing
Toradex specific fixes as well as the latest version from the kernel.org
stable branches. This also updates defconfig, with notably also compiling
extcon support now which makes the USB OTG port work again.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
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>
Add recipe and patches in order to use Uboot 2016.01
Signed-off-by: Alex de Cabo <alejandro.de-cabo-garcia@congatec.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Add support for the Boundary Devices kernel with the realtime patch applied
Patches and defconfig changes are based on linux-imx-rt recipe
Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Bump from cgt_qmx6_3.14-1.0.x-mx6_1.0.0 to cgt_imx6_4.1.15_1.2.0
including patches to fix building under gcc6 and fix gcc 6.0 indent
warning error in gc_hal_kernel_platform_imx6ql4.c
Change-Id: I59e155eba9e279cdad8a52597c63e788f6f717c7
Signed-off-by: Alex de Cabo <alejandro.de-cabo-garcia@congatec.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
It includes the following changes:
923bbbc ARM: dts: imx7: Add "LPSR" to LPSR iomux pin names
100dfc8 ARM: dts: imx7s-warp: Add watchdog pinmux
eaa5779 ARM: dts: imx7s-warp: Add watchdog node
Signed-off-by: Marco Franchi <marco.franchi@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Kernel modules now contain ${LOCAL_VERSION} as part of the
final package name. IPK/OPKG packages cannot contain '_',
so 2.0.0_ga+yocto... is invalid. This patch uses a version
scheme which is compatible with those packaging schemes.
Signed-off-by: Gary Thomas <gary@mlbassoc.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>