This reworks the machine configuration so:
- it uses a generic name, as it works with multiple baseboards;
- make use of extlinux configuration support
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This updates the machine settings so it makes use of the SPL support
and also adds the extra machine U-Boot config, so it allows for a
direct booting in pico-pi baseboard if needed.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The U-Boot environment has been reworked to use the common distro
configuration, provided by UBOOT_EXTLINUX support.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
And switch to defconfig as now supported in v2017.07 release.
The missing virtual/bootloader variable was generating the following
error:
$ bitbake u-boot-boundary
...
ERROR: Nothing PROVIDES 'u-boot-boundary'
u-boot-boundary was skipped: PREFERRED_PROVIDER_virtual/bootloader set to u-boot-fslc, not u-boot-boundary
u-boot-boundary was skipped: incompatible with machine nitrogen6x (not in COMPATIBLE_MACHINE)
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Use mainline bsp support as default.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Those machines are unbuildable as we removed the barebox (which was
not building for ages) so it seems nobody care about those boards.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
We are passing ${baudrate} for the bootparam so the bootargs are
handled properly.
Change-Id: I8084ff18a8d8ec63709554540687a79511b1162a
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The 4.17 kernel includes the split of imx7d-pico (the SoM) and
imx7d-pico-pi (the SoM + baseboard) split, thus we need to update it
here as well.
Change-Id: Ie9e6aed357af055d906073284d1faba02f84d8e5
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The 'secure_defconfig' was removed, see [1].
[1] 8273209bd9
Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
IMAGE_FSTYPES = "wic.gz" and WKS_FILE = "imx-uboot-bootpart.wks" are
already set in imx-base.inc
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
IMAGE_FSTYPES = "wic.gz" is already set in imx-base.inc
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
IMAGE_FSTYPES = "wic.gz" is already set in imx-base.inc
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
IMAGE_FSTYPES = "wic.gz" is already set in imx-base.inc
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
IMAGE_FSTYPES = "wic.gz" is already set in imx-base.inc
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
IMAGE_FSTYPES = "wic.gz" is already set in imx-base.inc
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
WIC_CREATE_EXTRA_ARGS ?= "--no-fstab-update" was add to imx-base.inc
and we can remove from all machines that includes imx-base.inc file.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
SERIAL_CONSOLE would otherwise stay at the default setting as defined in imx-base.inc but this setting would make it try to spawn a getty on a non-existing device on the colibri-vf and login on the UART console would not work.
Signed-off-by: Bernd Kreuss <prof7bit@gmail.com>
Add "--no-fstab-update" to WIC_CREATE_EXTRA_ARGS avoid wic change fstab
in final image.
Signed-off-by: Pierre-Jean TEXIER <texier.pj2@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Remove Apalis iMX6 V1.0 device trees. Newer kernel versions will
no longer provide device trees for those early sample devices.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The wic image can be used to boot kernel/dtb/rootfs from an SD card.
U-Boot gets booted from the on module NAND, the image from the prepared
SD card.
zcat XXX.rootfs.wic.gz | dd of=/dev/sdX bs=1M
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The wic image can be used to boot kernel/dtb/rootfs from an SD card.
U-Boot gets booted from the on module NAND, the image from the prepared
SD card can be started with 'run sdboot'.
zcat XXX.rootfs.wic.gz | dd of=/dev/sdX bs=1M
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The wic image can be used to boot kernel/dtb/rootfs from an SD card.
U-Boot gets booted from the on module eMMC, the image from the prepared
SD card can be started with 'run sdboot'.
zcat XXX.rootfs.wic.gz | dd of=/dev/sdX bs=1M
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Add a device tree for the Aster carrier board.
Add the device tree available in mainline for use with the
use-mainline-bsp override.
While at it unify the @SOC description variable with other boards.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The kernel is taken from a separate fat partition in the regular
boot process, so there is no need to deploy it in the rootfs.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
U-Boot is now used with SPL, set the machine conf file accordingly.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The wic image can be used to boot kernel/dtb/rootfs from an SD card.
U-Boot gets booted from the on module eMMC, the image from the prepared
SD card can be started with 'run sdboot'.
zcat XXX.rootfs.wic.gz | dd of=/dev/sdX bs=1M
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Add a device tree for the Ixora carrier board.
Add the device tree available in mainline for use with the
use-mainline-bsp override.
While at it unify the @SOC description variable with other boards.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The kernel is taken from a separate fat partition in the regular
boot process, so there is no need to deploy it in the rootfs.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
U-Boot is now used with SPL, set the machine conf file accordingly.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This rework existing machines to use the wic support. It allows for a
lot of code removal as the image dependencies can be defined in a more
accurate way.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Latest Wandboard hardware revision is D1, which brings the following
new features:
- PFUZE100 PMIC
- AR8035 Ethernet PHY
- Upgrade Wifi/BT chip to BCM4339/BCM43430
The new revision also adds support for QuadPlus SoC so the new Device
Tree is also added.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
There is no reason to diverge from mainline so we revert the device
tree name change.
This patch changes the machine definition and the Linux kernel recipe
so the tree is kept buildable.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Add machine definition for imx7d-pico board.
For more information about this reference design, please visit:
https://www.wandboard.org/products/android-things/PICO-PI-IMX7/
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: Vanessa Maegima <vanessa.maegima@nxp.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>
>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>