Commit Graph

1147 Commits

Author SHA1 Message Date
Javier Viguera a4d931bf84 qualcomm: remove hardcoded enable_p2p=0 parameter
P2P disabled is the default in the kernel module, so passing here the
parameter to 'modprobe' does nothing but prevents to set the parameter
in the kernel command line.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2019-05-17 09:38:24 +02:00
Gabriel Valcazar 3a68b7a880 linux-dey: update branch name
The new development branch is based on NXP's v4.14.98 BSP.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 13:06:10 +02:00
Gabriel Valcazar 4415627ae7 digi-sc-firmware: update to v1.2
Change the recipe name and update its checksums.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:13 +02:00
Gabriel Valcazar ea466b0264 imx-boot: add NXP sumo-4.14.98-2.0.0_ga changes
Use rel_imx_4.14.98_2.0.0_ga imx-mkimage tag, update ATF binary name, update
target names and rename CM4.bin to m4_image.bin.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:13 +02:00
Gabriel Valcazar ccf3a291e4 imx-m4-demos: update to v2.5.2
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga
for the imx8qxp.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:13 +02:00
Gabriel Valcazar 09677a6a52 linux: add new linux-imx-headers recipe
This recipe's package is meant for packages that require NXP-specific linux
headers.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:34:58 +02:00
Gabriel Valcazar 7c465b30c3 imx-mkimage: update revision to use v4.14.98 BSP branch
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:33:23 +02:00
Gabriel Valcazar dc66fa97a4 imx-atf: update to v2.0
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.
When using v1.5, we used a .bbappend to change the revision of the v1.5 recipe
in meta-freescale. Since we're upgrading to a version that isn't supported in
the other layers yet, remove the .bbappend and add the entire v2.0 recipe.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:33:23 +02:00
Gabriel Valcazar d686b07311 firmware-imx: update to v8.1
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:33:23 +02:00
Gabriel Valcazar 3531a6521f classes: update NXP bbclasses
Update NXP's .bbclass files with the ones in meta-fsl-bsp-release branch
sumo-4.14.98-2.0.0_ga.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:32:41 +02:00
Gabriel Valcazar 363895aa03 linux: use v4.9 branch for ccimx6/ccimx6qp
https://jira.digi.com/browse/DEL-6565

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-06 17:57:59 +02:00
Arturo Buzarra 21b09d616d Merge tag 'dey-2.6-r1.3' into dey-2.6/master
Digi Embedded Yocto 2.6-r1.3

Manually changed recipes to use the master branches instead of the fixed SHA1
from the last release.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-04-24 12:37:13 +02:00
Gabriel Valcazar 0078da95cb meta-digi: update revisions for dey-2.6-r1.3
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-16 17:44:36 +02:00
Gabriel Valcazar 0969676113 imx-boot: add fimrware-imx dependencies for do_compile() and do_populate_lic()
These dependencies went missing when we deleted our first .bb file and replaced
it with a .bbappend. Without these dependencies, the build can sometimes fail.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-16 17:31:02 +02:00
Gabriel Valcazar fce0809b47 meta-digi: revert revisions to AUTOREV
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-15 17:56:55 +02:00
Hector Palacios 7c6871bf07 meta-digi: update revisions for dey-2.6-r1.2
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-04-15 17:55:17 +02:00
Gabriel Valcazar 6c38b38f95 Revert "imx-digi-base: disable GCCPIE by default"
Removing the flag breaks the build of the freetype package and possibly others.
Leave the flag as it is for now.

This reverts commit e4cbeafa1c.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-15 13:04:50 +02:00
Gabriel Valcazar e4cbeafa1c imx-digi-base: disable GCCPIE by default
This option configures gcc to use PIE by default, which is good from a security
standpoint. However, the files necessary to compile applications statically
with PIE support are missing from glibc, causing builds to fail. Said files
were removed on purpose in poky commit 472c86127ab57759588e5ec53c75ebb52667f094
because static PIE binaries apparently don't work very well when using gcc 7.x.

Instead of enabling static PIE support for glibc and risking runtime failures,
revert to our old situation and remove default PIE suport for gcc.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-15 11:22:45 +02:00
Gabriel Valcazar 263818846f u-boot-dey: add support for new ccimx6ul variant 0x06
This variant is exactly the same as variant 0x02, but with a new revision
of the i.MX6UL silicon.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-11 16:42:59 +02:00
Hector Palacios 2778713ef8 xbee: added new recipe for XBee hardware initialization
This recipe adds a script and a related systemd service that
configures two GPIOs (user defined, or else platform-defaults) as
output and sets them to the appropriate value for initializing the
XBee socket:
 - XBEE_SLEEP_RQ: is set low, for running the XBee
 - XBEE_RESET_N: is set low and then high, to reset the XBee

The service triggers on the condition that the UART TTY device node
pointed to by variable XBEE_UART exists.

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

https://jira.digi.com/browse/DEL-6366
2019-04-11 10:48:54 +02:00
Gabriel Valcazar b224e2baec imx-usb-loader: use the version that was used in older versions of DEY
In the update to thud, the recipe for this package was updated in
meta-freescale with a newer revision that, among other things, breaks
compatibility with the parameters we use to recover closed devices via USB.
Even if we change these parameters to obtain a configuration equivalent to the
one we've always had, closed devices still won't boot because the internal
logic of the tool has changed a lot.

Instead of patching the tool for this very specific use-case, revert to the
version we've been using in DEY 2.2 and 2.4.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-04 17:42:46 +02:00
Alex Gonzalez bcb942fc5b meta-digi-arm: linux-fslc: ccimx6ulsbc: Add IOEXP support
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-04-04 12:53:05 +02:00
Alex Gonzalez 4cf572edf5 meta-digi-arm: linux-fslc: ccimx6ul: Add MCA support
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-04-04 12:52:57 +02:00
Alex Gonzalez 9d063498c8 use-mainline-bsp: Use meta-freescale-3rdparty support
Remove the linux-v4.20 recipe and use the linux-fslc kernel recipe in
meta-freescale-3rdparty instead.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-04-04 12:52:34 +02:00
Gabriel Valcazar 3bc0da87b0 meta-digi: revert revisions to AUTOREV
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-02 09:42:47 +02:00
Gabriel Valcazar 9fae56c116 meta-digi: update revisions for dey-2.6-r1.1
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-02 09:42:47 +02:00
Hector Palacios 47f88d1d24 switch to building from maintenance branches for dey-2.6
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-03-27 17:47:32 +01:00
Gabriel Valcazar 9f76a50e57 Revert "kernel-module-qualcomm: create wlan virtual interface"
Don't create the wlan1 interface automatically to improve the general
performance of the wireless interface.

This reverts commit a5ae6a5b3c.

https://jira.digi.com/browse/DEL-6353
2019-03-22 09:46:51 +01:00
Francisco Gil 24de2e5302 firmware-qualcomm: update qca6564 firmware to r10005.1
Update following firmware binaries to tag r10005.1 from
qca6574au-le-2-2-1_qca_oem repo at meta_build/firmware/sdio/
in order to support fast roaming (802.11r) for the qca6564
wireless chip:

    e018e7b629b055dc4616c7e88c615b41  otp30.bin
    8b638fdaf21f089940d98db518323767  qwlan30.bin
    d6ece5037e595000770fbbb6015c0461  utf30.bin


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

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2019-03-21 17:19:32 +01:00
Gonzalo Ruiz 5ff26164c3 u-boot-dey: remove support for U-Boot v2015.04
Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-03-21 15:44:54 +01:00
Gonzalo Ruiz c0065f64e3 u-boot-fw-utils: update to version 2018.07
Update u-boot-fw-utils patches to apply on current upstream version. Remove
recipe for version 2017.09 since both U-Boot v2017.03 and v2018.03 work fine
with the newer version.

https://jira.digi.com/browse/DUB-881

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-03-21 15:44:54 +01:00
Gonzalo Ruiz 4803dba689 dtc: use version 1.4.5 only on platforms that build U-Boot 2017.X
This version is only required to build U-Boot 2017.X, so select it as preferred
version only on those platforms that build this U-Boot (CC6 and CC6UL).

https://jira.digi.com/browse/DUB-881

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-03-21 15:44:54 +01:00
Gonzalo Ruiz 32bc5199fc imx-boot: remove our .bb file and add a .bbappend
Most of the support has been added to the meta-freescale layer, so
substitute our recipe for a .bbappend and redefine the tasks to build
U-Boot images for our two variants (1GB and 2GB).

https://jira.digi.com/browse/DUB-881

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-03-21 15:44:54 +01:00
Gonzalo Ruiz 9daabff5e7 imx-mkimage: remove our .bb file and add a .bbappend
Every task in this recipe is already supported in the same way in the
meta-freescale layer, so just keep the .bbappend file to select SRCBRANCH and
SRCREV.

The DDR patch can be removed since that source code is now included into the
SCFW project.

https://jira.digi.com/browse/DUB-881

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-03-21 15:44:54 +01:00
Gonzalo Ruiz 5f302013f9 u-boot-dey: add support for U-Boot v2018.03
This adds support for U-Boot v2018.03 for CC8X platforms only.

Create 'digi-u-boot.inc' with the common definitions for both v2017.03
and v2018.03.

https://jira.digi.com/browse/DUB-881

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-03-21 15:44:54 +01:00
Hector Bujanda 9b4aa277f3 mca_tool: update checksums for build 1.16
Collects following changes:
   - fix compatible string parsing: Only first compatible string
     was being parsed from "/proc/device-tree/compatible"
     while looking the device the application is running on.

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

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2019-03-20 16:28:42 +01:00
Arturo Buzarra 05c9cd566d qualcomm: add enable_p2p parameter to driver initialization
Add kernel module parameter to enable/disable the p2p interface.
By default p2p interface is disabled.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-03-19 18:15:42 +01:00
Alex Gonzalez 54abbc80a7 meta-digi-arm: kernel-module-qualcomm: Use new branch names
The naming of branches in the qcacld repository is now in the qca65x4
namespace.

Also, the qca6564/master branch now does not hardcode the TX MCS to 0 as
this change should only apply to the CC6UL and not other platforms like
the CC6+.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-03-11 12:27:43 +01:00
Gonzalo Ruiz ea22a0b72c firmware_qualcomm: update Board Data File with a calibrated one
Update file:

- fakeboar.bin (f9f8dc905be5732525e0c9e8db7822f3)

This file was generated by calibrating several CC8X SBC Pro boards and merging
their resulting BDF files.

Reference calibration file is:

- bdwlan30.bin (8a558fa38dacee7038f04c1b10ec69a5)

located at 'cnss_proc/wlan/fw/target/pcie_dst/qc6174/' from tag r10005.1 on
qca6574au-le-2-2-1_qca_oem repo.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-03-06 17:37:51 +01:00
Gabriel Valcazar 6ecae7b7d4 linux-dey: fix trustfence_sign() errors
Device tree files no longer have the kernel type prefixed to their name, so the
trustfence_sign() function must be updated to reflect this change or else
errors will occur.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-03-06 10:58:33 +01:00
Gabriel Valcazar ec7511ee8f trustfence-cst: add support for cst v3.1.0
This version supports OpenSSL v1.1.0 by default, which is used in DEY 2.6.
Trying to build older versions of the package will result in failures, so
remove support for said versions entirely.

Our patches apply cleanly except for the hab4_pki_tree.sh automation patch,
which needs a small tweak so it can get applied over the latest version of the
script.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-03-06 10:58:33 +01:00
Hector Palacios eafa8684a3 imx-gpu-viv: remove GPU driver kernel module and dependencies
The driver now builds directly from the kernel source and the
fixes are already included in the kernel tree so there is no need
to build the module externally.

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

https://jira.digi.com/browse/DEL-6460
(cherry picked from commit a0990a7e1dcd03af239efb620b83b7dee126484e)
2019-02-26 10:21:30 +01:00
Gabriel Valcazar 2d2f9fcbb0 ccimx8x: explicitly set VIRTUAL-RUNTIME_initsctiprs to "initscripts"
In Yocto 2.6, this variable is null whenever systemd is enabled. Explicitly set
this variable to keep some necessary scripts in /etc/init.d.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-02-18 18:01:57 +01:00
Gabriel Valcazar 97e762fe9f ccimx8x: enable systemd by default
Also, remove sysvinit and add pam, which is needed by weston+systemd.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-02-18 18:01:57 +01:00
Arturo Buzarra 47eb2ce646 u-boot: fix patch to unlock emmc boot partitions
Fix write operation by moving the re-lock of the mmc partition
after performing the system synchronization, if not the mmc
driver throws read-only errors. Also, improved the code
to avoid compilation warnings because the return values were
not managed in write operations.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-15 14:36:27 +01:00
Arturo Buzarra 7a358fc25f u-boot: remove unnecessary patches for Digi platforms
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-15 14:27:05 +01:00
Gabriel Valcazar 8e4e77f200 imx-atf: remove our .bb file and add a .bbappend
Bitbake was using the imx-atf recipe inside of meta-freescale instead of ours.
Said recipe was compiling a different tag, causing our kernel to stop loading
when using our generated imx-boot images.

Remove our .bb file and add a .bbappend that changes the source code revision
to the tag compatible with the rest of the imx-boot files.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-02-11 17:14:28 +01:00
Arturo Buzarra e508231683 thud migration: u-boot: remove kernel image type from device tree files
Device tree file names won't have the kernel image type like a
prefix anymore, since thud uses the original file names.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-08 12:13:11 +01:00
Arturo Buzarra 13c316db25 thud migration: image_types_digi: fix DTB file names to generate boot images
Device tree names don't use KERNEL_IMAGETYPE as a prefix anymore,
since in this version, there are different variable names to generate
device tree files.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-07 13:32:54 +01:00
Arturo Buzarra b90068bc8e thud migration: linux-dey: replace old variable name
KERNEL_IMAGE_BASE_NAME was replaced by KERNEL_IMAGE_NAME for
consistency between variable names.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-07 11:30:19 +01:00