Commit Graph

268 Commits

Author SHA1 Message Date
Otavio Salvador
6d79ae9eda imx6ul-pico: Rework machine configuration
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>
2018-07-11 14:16:12 -03:00
Otavio Salvador
2f04b01bed imx7d-pico: Update settings to use U-Boot SPL
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>
2018-07-11 14:16:12 -03:00
Otavio Salvador
cc89a9b637 imx7d-pico: Enable the UBOOT_EXTLINUX support
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>
2018-07-11 14:16:12 -03:00
Gary Bisson
33cb0b1255 nitrogen8m: add machine configuration
Platform details:
https://boundarydevices.com/product/nitrogen8m-imx8/

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2018-07-11 14:16:07 -03:00
Gary Bisson
6146c7020a nitrogen*.conf: fix u-boot preferred provider
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>
2018-07-10 13:51:59 -03:00
Gary Bisson
b63043d4e0 nitrogen*.conf: switch to standard boot.scr script
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-10 13:51:43 -03:00
Fabio Berton
7ac85ccf27 imx7s-warp: Migrate to use mainline BSP
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2018-07-06 15:11:40 -03:00
Fabio Berton
5025245fbc wandboard: Add use-mainline-bsp to MACHINEOVERRIDES
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>
2018-07-06 10:55:23 -03:00
Otavio Salvador
ba286d4226 cfa10xxx: Drop unbuildable machines
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>
2018-07-03 18:47:13 -03:00
Otavio Salvador
9ff6e19962 wandboard: Add UBOOT_EXTLINUX_CONSOLE to pass ${baudrate} to bootparam
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>
2018-06-11 16:36:29 -03:00
Otavio Salvador
38f1a0f91c imx7d-pico: Update Linux kernel device tree name
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>
2018-06-11 16:36:29 -03:00
texierp
9d674c4556 imx7s-warp: update u-boot configuration
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>
2018-06-06 10:52:54 -03:00
Otavio Salvador
44ce402484 conf/layer.conf: Add LAYERSERIES_COMPAT info
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-04-16 16:21:04 -03:00
Fabio Berton
d5b9e9570d imx7s-warp: Remove imx-base.inc duplicate code
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>
2018-02-28 13:36:30 -03:00
Fabio Berton
d60cb77eb8 imx7d-pico: Remove imx-base.inc duplicate code
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>
2018-02-28 13:36:25 -03:00
Fabio Berton
30cb947080 colibri-vf: Remove imx-base.inc duplicate code
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>
2018-02-28 13:36:20 -03:00
Fabio Berton
1bcdad9a33 colibri-imx7: Remove imx-base.inc duplicate code
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>
2018-02-28 13:36:16 -03:00
Fabio Berton
f52ddb7e91 colibri-imx6: Remove imx-base.inc duplicate code
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>
2018-02-28 13:36:11 -03:00
Fabio Berton
3094682971 apalis-imx6: Remove imx-base.inc duplicate code
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>
2018-02-28 13:36:04 -03:00
Fabio Berton
6cdec74938 Remove --no-fstab-update option from WIC_CREATE_EXTRA_ARG for all machines
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>
2018-02-28 13:36:01 -03:00
Otavio Salvador
c2fcaeadf5
Merge pull request #6 from prof7bit/colibri-fix-serial-console
colibri-vf: use strong assignment of SERIAL_CONSOLE, fixes #5
2018-02-21 15:20:26 -03:00
Bernd Kreuss
4cc42f5105 colibri-vf: use strong assignment of SERIAL_CONSOLE, fixes #5
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>
2018-02-21 18:54:25 +01:00
texierp
1883357f1d imx7s-warp: Add option to not modify fstab
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>
2018-01-25 16:56:29 -02:00
Stefan Agner
fcc529237f apalis-imx6.conf: remove Apalis iMX6 V1.0 module support
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>
2017-12-19 14:31:12 -02:00
Max Krummenacher
3fc4458fd8 colibri-vf.conf: add a wic image in favour of sdcard image
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>
2017-11-08 14:16:02 -02:00
Max Krummenacher
26bec0011d colibri-vf.conf: add a device tree for the aster carrier board
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-08 14:16:02 -02:00
Max Krummenacher
c44904d9c8 colibri-imx7.conf: add a wic image in favour of sdcard image
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>
2017-11-08 14:16:02 -02:00
Max Krummenacher
9202f5fa7f colibri-imx7.conf: add device tree for the aster carrier board
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-08 14:16:02 -02:00
Max Krummenacher
0b9af1e059 colibri-imx6.conf: add a wic image in favour of sdcard image
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>
2017-11-08 14:16:02 -02:00
Max Krummenacher
8e30e89454 colibri-imx6.conf: add device trees for aster and use-mainline-bsp
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>
2017-11-08 14:16:02 -02:00
Max Krummenacher
f570748952 colibri-imx6.conf: do not deploy the kernel in the rootfs
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>
2017-11-08 14:16:02 -02:00
Max Krummenacher
5e2b946de0 colibri-imx6.conf: build a spl u-boot
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>
2017-11-08 14:16:02 -02:00
Max Krummenacher
c0036cd746 apalis-imx6.conf: add a wic image in favour of sdcard image
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>
2017-11-08 14:16:02 -02:00
Max Krummenacher
bbc134ef5d apalis-imx6.conf: add device trees for ixora and use-mainline-bsp
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>
2017-11-08 14:16:02 -02:00
Max Krummenacher
e1e53bf544 apalis-imx6.conf: do not deploy the kernel in the rootfs
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>
2017-11-08 14:16:02 -02:00
Max Krummenacher
b5f9ee90d8 apalis-imx6.conf: build a spl based u-boot
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>
2017-11-08 14:16:02 -02:00
Otavio Salvador
46916bbd74 Rework machines to use wic support
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>
2017-10-05 13:56:56 -03:00
texierp
cb8eb56f37 imx7s-warp: Add wic image support
Signed-off-by: Pierre-Jean TEXIER <texier.pj2@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-10-05 13:51:45 -03:00
Otavio Salvador
23df7dcb75 wandboard: Add Wandboard revision D1 support
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>
2017-10-05 13:51:39 -03:00
Otavio Salvador
fb6ead9fc3 wandboard: Revert device tree name change
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>
2017-10-05 13:51:37 -03:00
Vanessa Maegima
87223f2cc9 imx7d-pico: Add machine configuration
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>
2017-09-22 17:13:35 -03:00
Fabio Berton
b2a36b06e5 cgtqmx6: Fix PREFERRED_PROVIDER for u-boot and virtual/bootloader
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>
2017-08-30 10:13:49 -03:00
Fabio Berton
c9f33e664d cfa10036: Fix IMAGE_FSTYPES barebox-mxsboot-sdcard
>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>
2017-08-24 11:29:34 -03:00
Fabio Berton
3fb59e4d6f Replace deprecated IMAGE_DEPENDS_wic with WKS_FILE_DEPENDS
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>
2017-08-24 11:28:42 -03:00
Trevor Woerner
a73a14247a wandboard: fix deprecated notation
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>
2017-07-01 15:39:12 -03:00
Trevor Woerner
fd3962a994 wandboard: use-mainline-bsp default kernel choice
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>
2017-05-30 20:13:38 -03:00
texierp
97b16ed1dd WaRP7: Change board maintainer
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>
2017-05-19 07:46:47 -03:00
Tim Harvey
bc562d866d ventana: add GW553x and GW560x support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-05-05 07:20:49 -03:00
Gary Bisson
23991b3a57 nitrogen7: Add 'use-mainline-bsp' support
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>
2017-04-30 16:54:24 -03:00
Gary Bisson
9653d7c9a5 nitrogen7: Add wic image tool support
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>
2017-04-30 16:54:24 -03:00