Commit Graph

1534 Commits

Author SHA1 Message Date
Javier Viguera 16815b1b80 dey-image-recovery-initramfs: force image type to 'cpio'
This recipe is expected to create just an initramfs image, so force the
image FSTYPE with a python anonymous function, so there is no way to
change/append/override it from any other configuration file.

This prevents build failures due to circular dependences if for example
you add:

IMAGE_FSTYPES_append = " recovery.vfat"

to your project's local.conf.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-03-01 16:56:53 +01:00
Javier Viguera 14d3f5e83c packagegroup-core-x11-sato: fix gst-player package name
The package name in Yocto 2.2 has lost the '-bin' suffix.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-03-01 15:32:11 +01:00
Javier Viguera 05ca6d3c78 packagegroup-dey-gstreamer: fix override for CC6UL
As of DEY-2.0 "mx6" was an override value for CC6, but not for the
CC6UL, so we used it to restrict the packages to be installed only in
the CC6.

Now in DEY-2.2 "mx6" is also a correct override value for the 6UL
family, so correct the override to prevent those gstreamer packages to
be installed in 6UL machines.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-03-01 15:27:51 +01:00
Javier Viguera f74a7b0edf morty migration: update matchbox session startup
https://jira.digi.com/browse/DEL-3451

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 19:46:03 +01:00
Javier Viguera ca1ba7b784 morty migration: update QT5 recipes
As of Yocto 2.2, the shipped QT5 version is 5.7.1 which does not include
'qtbase-fonts' anymore, so remove that package and enable 'fontconfig'
package configuration so the system fontconfig support is used.

Also remove PACKAGECONFIG_GL overrides for CC6UL as they have been added
to upstream 'meta-freescale'.

https://jira.digi.com/browse/DEL-3451

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 19:12:01 +01:00
Alex Gonzalez 9658d54d00 build.sh: allow to extend local.conf from build environment
https://jira.digi.com/browse/DEL-3051

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:52:38 +01:00
Javier Viguera f785012063 morty migration: remove libqmi recipe
There is a new version in 'meta-openembedded/meta-oe'

https://jira.digi.com/browse/DEL-3451

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00
Javier Viguera a3f2fb8fab morty migration: modemmanager: update package
https://jira.digi.com/browse/DEL-3451

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00
Javier Viguera ee9f5a387a morty migration: gst-player: remove patch
It does not apply to current revision of the package.

https://jira.digi.com/browse/DEL-3459

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00
Javier Viguera f8d39cc5a6 morty migration: gstreamer1.0-rtsp-server: update package
Also, fix gstreamer rtsp package name in dey-gstreamer package group.

https://jira.digi.com/browse/DEL-3459

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00
Javier Viguera b094497c8d morty migration: gstreamer1.0-plugins-bad: update package
Also apply patches from meta-fsl-bsp-release (krogoth_4.1.15-2.0.1)

https://jira.digi.com/browse/DEL-3459

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00
Javier Viguera 2ab3c8792e morty migration: gstreamer1.0-plugins-good: update package
Also apply patches from meta-fsl-bsp-release (krogoth_4.1.15-2.0.1)

https://jira.digi.com/browse/DEL-3459

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00
Javier Viguera 047f502cfd morty migration: gstreamer1.0-plugins-base: update package
Also apply patches from meta-fsl-bsp-release (krogoth_4.1.15-2.0.1)

https://jira.digi.com/browse/DEL-3459

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00
Javier Viguera c2c16b3f68 morty migration: gstreamer1.0: update package
Also apply patches from meta-fsl-bsp-release (krogoth_4.1.15-2.0.1)

https://jira.digi.com/browse/DEL-3459

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00
Javier Viguera c08860bf5f morty migration: imx-gst1.0-plugin: update package
https://jira.digi.com/browse/DEL-3459

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00
Javier Viguera 9701cd9494 morty migration: kernel-module-imx-gpu-viv: refresh patches
https://jira.digi.com/browse/DEL-3451

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00
Javier Viguera ffeecb7483 morty migration: card-detect: fix build failure
Let Yocto use their own compilation flags instead of hard-coding the
compile command. This fixes:

ERROR: card-detect-1.0-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary

https://jira.digi.com/browse/DEL-3451

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00
Javier Viguera fc488b7f1b linux-dey: fix 'do_deploy' failure by removing not needed symlink
KERNEL_IMAGE_BASE_NAME and KERNEL_IMAGE_SYMLINK_NAME default values have
changed in Yocto 2.2, so now this appended command is failing because
it's translated to:

ln -sf -4.1-r0.2-ccimx6ulstarter-20170216122147.bin ccimx6ulstarter

which fails with:

ln: invalid option -- '4'

Just remove it, because we don't need that symlink anymore. New U-Boot's
'zimage' and 'uimage' environment variables have default values ending in
'.bin' which is what Yocto provides.

https://jira.digi.com/browse/DEL-3451

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00
Javier Viguera 0cb35907cd morty migration: meta-digi-arm: update image_types bbclass
* Transfer dependences from base types 'boot' and 'recovery' to the
  actual image types 'boot.vfat', 'boot.ubifs', 'recovery.vfat' and
  'recovery.ubifs' using IMAGE_TYPEDEP variable.

* Now the images are created in a per image recipe deploy directory
  (IMGDEPLOYDIR), so use that instead of the final DEPLOY_DIR_IMAGE.

* Remove manual creation of symbolic links and let Poky create them. For
  this, we need to remove the default 'rootfs' image suffix using the
  imgsuffix variable flag for the corresponding do_image_* functions.

https://jira.digi.com/browse/DEL-3451

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00
Javier Viguera 41b3631934 morty migration: image_types_digi: fix initramfs Trustfence signing
As of Yocto 2.2, the way to generate images has changed. Now the image
fstypes have a basetype and then conversion types that define functions
that apply sequentially.

So implement the TrustFence initramfs sign process as a conversion type
of the base initramfs type (cpio).

This fixes following build issue:

mv: cannot stat ‘dey-image-recovery-initramfs-ccimx6ulstarter-20170220152625.rootfs.cpio.gz.u-boot’

https://jira.digi.com/browse/DEL-3451

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00
Javier Viguera 187ee9bdcd morty migration: packagegroups: remove explicit LICENSE variable
The LICENSE is added through the packagegroup bbclass and the checksums
were outdated making the build fail with:

The LIC_FILES_CHKSUM does not match for poky/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58

https://jira.digi.com/browse/DEL-3451

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00
Javier Viguera 43877673d9 morty migration: bluez5: update package
https://jira.digi.com/browse/DEL-3451

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00
Javier Viguera b42756ee06 morty migration: crda: remove bbappend
The wireless regulatory database has been moved to its own recipe, so
the update cannot be done bbappending this recipe.

This reverts commit 8e69db8ac5.

https://jira.digi.com/browse/DEL-3451

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00
Javier Viguera 989e9585f9 morty migration: u-boot-fw-utils: update package
https://jira.digi.com/browse/DEL-3451

Also backport patch to fix:

https://jira.digi.com/browse/DEL-3770

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00
Javier Viguera 04cc6d470a morty migration: busybox: update package
https://jira.digi.com/browse/DEL-3451

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:56 +01:00
Javier Viguera c250365797 morty migration: hostapd: update package
https://jira.digi.com/browse/DEL-3451

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:56 +01:00
Javier Viguera f778c69b98 morty migration: sync machine config files with meta-freescale
https://jira.digi.com/browse/DEL-3451

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:56 +01:00
Javier Viguera 3877451e07 morty migration: meta-digi-dey: update DEY distro config
https://jira.digi.com/browse/DEL-3451

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:56 +01:00
Javier Viguera 7ac0a90471 morty migration: meta-digi: sync config templates
https://jira.digi.com/browse/DEL-3451

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-24 20:09:58 +01:00
Javier Viguera dcdab46080 morty migration: meta-digi: update FSL layer name
meta-fsl-arm is no longer used for Morty release. Now the community
support is implemented in 'meta-freescale' layer.

https://jira.digi.com/browse/DEL-3451

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-24 20:06:29 +01:00
Alex Gonzalez 8ff3bdeb0f Merge branch 'dey-2.0/maint' into dey-2.0/master
The SRCREVS for u-boot, linux and trustfence-tool remain as AUTOREV.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-02-24 18:06:37 +01:00
Alex Gonzalez 42b5bd2c10 meta-digi-arm: firmware-qualcomm: Update board data files.
These new US and world board data files contain new calibration settings
updated with the latest certification results.

md5sums:

bdwlan30_US.bin: f2c414adb682a8cd95e72593fad7fa08
bdwlan30_World.bin: 12e2bae1a871e2a3dfa6ded0ee675c09

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-02-24 17:57:37 +01:00
Diaz de Grenu, Jose 7a3dfc251b README.md: remove limitation
This limitation was fixed by U-Boot commit 91188105897e17.

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2017-02-22 13:03:26 +01:00
Mike Engel b3a0c3f3ff ccimx6ul: synchronize v4.1 kernel defconfig
Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://jira.digi.com/browse/DEL-3521
2017-02-21 12:19:13 +01:00
Mike Engel 0236c3dfb4 meta-digi-dey: suspend: add critical section
Add critical section in suspend script to avoid that more than
one instance can be executed concurrently. This happens, for
instance, when the power button key is pressed while the system
is resuming, causing issues on the wifi interface.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://jira.digi.com/browse/DEL-3694
2017-02-15 16:36:28 +01:00
Javier Viguera a54c070454 meta-digi-dey: bump distro version to 2.0-r6
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-15 13:27:04 +01:00
Javier Viguera c8d17d4a93 Merge tag 'dey-2.0-r5.3' into dey-2.0/master
Tweaked to maintain the u-boot and linux revisions to AUTOREV instead of
the fixed SHA1s from the tag.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-15 13:25:35 +01:00
Javier Viguera 6c44621ad8 meta-digi: revert revisions to AUTOREV
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-13 12:07:06 +01:00
Javier Viguera 99afac66f4 meta-digi: update revisions for dey-2.0-r5.3
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-13 12:05:13 +01:00
Pedro Perez de Heredia e7f590350c kernel-module-qualcomm: fix issue with _scan_callback at module unload
Protect the invocation of the _scan_done() callback function with the
global lock to avoid that it is called while the module is being unloaded
and the data structures have been freed.

Additionally, the commit also adds a patch to reduce the log level of the
driver that is logging some annoying messages.

https://jira.digi.com/browse/DEL-3607
https://jira.digi.com/browse/DEL-3393

Signed-off-by: Pedro Perez de Heredia <pedro.perez@digi.com>
2017-02-13 11:59:45 +01:00
Alex Gonzalez 8d716dd0e0 meta-digi-dey: wpa-supplicant: Add commented out sched_scan_interval.
This parameter allows to set the time interval for scheduled scans in
seconds. This is usually managed by the wpa-supplicant dynamically, but
for example with DFS channels and non broadcasting SSIDs re-associations
take too long if the periodic scans time interval is not reduced.

https://jira.digi.com/browse/CC6UL-594

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-02-13 11:15:18 +01:00
Sebastian Pastor e9c1cd4632 sdk: build: Add ccimx6ulrftest platform.
This is the manufacturing test harness used for the CC6UL module during
manufacturing RF test.

Signed-off-by: Sebastian Pastor <sebastian.pastor@digi.com>
2017-02-10 21:59:10 +01:00
Javier Viguera bbc03c5935 trustfence-cst: refresh patches with git
Refresh the patches with GIT so they apply cleanly using "git am".
Otherwise they fail with:

Applying: openssl_helper: use /dev/urandom as seed source
error: corrupt patch at line 16
Patch failed at 0003 openssl_helper: use /dev/urandom as seed source

Applying: hab4_pki_tree.sh: usa a random password for the default PKI generation
warning: keys/hab4_pki_tree.sh has type 100755, expected 100644

Notice that they were not failing in Yocto, as it does not use "git am"
to apply patches, but it's better to have the patches correctly done.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-10 19:37:55 +01:00
Alex Gonzalez 44ae297ea8 meta-digi-arm: firmware-qualcomm: Update board data files.
Use bdf with a -2db gain.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-02-10 19:00:03 +01:00
Javier Viguera e367ba8cc4 meta-digi: update README.md file
* Device Cloud has been renamed to Remote Manager.
* Removed "Data points" known issue (fixed in CloudConnector)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-10 10:39:42 +01:00
Javier Viguera 1949581c54 mesa: make sure GLES3 headers are installed
Ship libgles3-mesa-dev package along with libgles2-mesa-dev because
otherwise GLES3 headers are missing from the toolchain and we have build
failures for example compiling QT applications.

Exactly the same workaround is done for the vivante implementation in
meta-fsl-arm layer.

Original patch (not merged into oe-core):

https://patchwork.openembedded.org/patch/134244/

Signed-off-by: Javier Viguera <javier.viguera@digi.com>

https://jira.digi.com/browse/DEL-3088
2017-02-10 10:36:03 +01:00
Hector Palacios 30ccd116f5 initscripts: add script to enable CAAM JS0 wakeup
According to NXP i.MX Linux Reference Manual:

The full CAAM function is exclusive with the Mega/Fast mix off feature
in DSM.  If CAAM is enabled, the Mega/Fast mix off feature needs to be
disabled, and the user should
  "echo enabled > /sys/bus/platform/devices/2100000.aips-bus/2100000.caam/2101000.jr0/power/wakeup"
after the kernel boots up, and then Mega/Fast mix will keep the power
on in DSM.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-3636
2017-02-09 18:09:14 +01:00
Javier Viguera 2e003d8385 meta-digi: revert revisions to AUTOREV
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-03 17:00:47 +01:00
Javier Viguera c4643eaf0f meta-digi: update revisions for dey-2.0-r5.2
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-03 16:58:40 +01:00
David Escalona 561532490c cloudconnector: compile cloudconnector from github by default
Signed-off-by: David Escalona <david.escalona@digi.com>
2017-02-03 14:43:02 +01:00