Commit Graph

2454 Commits

Author SHA1 Message Date
Hector Palacios 23503567a1 imx-boot: build matching combinations of U-Boot and SCFW
There are several U-Boot binaries, depending on RAM size, at the moment:
- u-boot.bin-ccimx8x_sbc_pro512MB
- u-boot.bin-ccimx8x_sbc_pro1GB
- u-boot.bin-ccimx8x_sbc_pro2GB

and several SCFW files, depending on frequency, size, bus width, at the
moment:
- scfw_tcm.bin-1.2GHz_512B_16bit
- scfw_tcm.bin-1.2GHz_1GB_16bit
- scfw_tcm.bin-1.2GHz_1GB_32bit
- scfw_tcm.bin-1.2GHz_2GB_32bit

From these, we need to combine those that match the RAM size, to produce
bootable images for the different variants.

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

https://jira.digi.com/browse/DEL-6641
2019-07-08 16:42:28 +02:00
Hector Palacios b8e2873c35 digi-sc-firmware: update to version 1.2.2.2
This version supports all RAM configurations.

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

https://jira.digi.com/browse/DEL-6641
2019-07-08 11:59:47 +02:00
Hector Palacios 82594d510a digi-sc-firmware: add support for all RAM memory configurations
RAM memory configurations are given by:
- RAM frequency
- RAM size
- RAM bus width

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

https://jira.digi.com/browse/DEL-6641
2019-07-08 11:58:42 +02:00
Hector Palacios 7508d58d4d ccimx8x: u-boot: fix SDRAM denomination on install_linux_fw script
The SDRAM is an LPDDR4, not DDR3.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-07-03 10:58:55 +02:00
Hector Palacios 964b8eff2c ccimx8x: u-boot: add support for variant 0x06 in U-Boot scripts
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6641
2019-07-02 12:05:44 +02:00
Hector Palacios 4167ab1769 ccimx8x: u-boot: use 'soc_type' variable when determining device tree file
With the arrival of DualX variants, the device tree files have been renamed
to contain the SOC type (8qxp, or 8dx). This is determined by a new U-Boot
variable 'soc_type'.
Default to "8qxp" if the variable is not defined (old U-Boots).

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

https://jira.digi.com/browse/DEL-6641
2019-07-02 11:58:05 +02:00
Hector Palacios ddfbb2652a ccimx8x: add DualX variants device trees and rename the QuadXPlus
With the arrival of DualX variants, the devicetree files have changed
their names to include the soc type (qxp, dx).

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

https://jira.digi.com/browse/DEL-6641
2019-07-02 11:58:05 +02:00
Hector Palacios f48767f723 ccimx8x: add support for U-Boot variant with 512MB of LPDDR4
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6641
2019-07-02 11:58:05 +02:00
Gabriel Valcazar 5868541cc1 packagegroup-dey-audio: add pulseaudio packages as dependencies
These packages are included in ccimx6/6qp/6ul images because they are a part of
packagegroup-core-x11-sato, which isn't included in ccimx8x images. To assure
that pulseaudio always gets included in non-fb images, add it as a dependency
in packagegroup-dey-audio.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-06-26 18:53:57 +02:00
Gabriel Valcazar 8bd845553c bluez5: v5.41: remove FILESEXTRAPATHS modification from .bbappend
Since the original .bb file is already in the meta-digi layer, bitbake will
look inside of the bluez5-5.41 folder by default, so this line isn't needed.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-06-25 17:22:03 +02:00
Gabriel Valcazar 8569d4da9e bluez5: move common files to a common folder for both v5.41 and v5.50
This way, we avoid having to duplicate changes.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-06-25 17:22:03 +02:00
Francisco Gil 69cb3d6dac python-xbee: add support for the python-xbee library
https://jira.digi.com/browse/DEL-6643

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2019-06-25 17:17:01 +02:00
Gabriel Valcazar b69dee06d8 digi-sc-firmware: update to v1.2.2.1
This includes minor changes in the SCFW's DCD.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-06-25 12:29:45 +02:00
Arturo Buzarra 401867f9e6 bluez5: use node status to trigger bluetooth initialization
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-06-24 18:08:54 +02:00
Arturo Buzarra 086db36811 weston: add Digi custom background
This commit modifies the weston ini file to support a custom
background and includes a new one with Digi branding.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-06-21 08:40:59 +02:00
Gabriel Valcazar 996ef8b30b mca_tool: update checksums for build 1.17
This new version adds RTC time compensation support.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-06-19 17:47:05 +02:00
Arturo Buzarra ccc6f9c960 bluez5: ccimx8: use kernel module for bluetooth power management
Modify bluetooth init script to use kernel module to power on/off
the bluetooth chip instead of managing it directly from sysfs.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-06-19 13:08:21 +02:00
Gabriel Valcazar 6491b5b00a adwaita-icon-theme: remove scalable icons from the filesystem
These icons have never been included in the filesystem until a recent commit in
poky (522b0d8615cdc6645f6dc37a03ea7584f19c7bfc). In total, they take up over
1 MiB and have been causing filesystem tests to fail on the ccimx6ul due to low
space.

Add a .bbappend to undo the commit's changes in our layer.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-06-19 12:52:59 +02:00
David Escalona b5a9af91db meta-digi-dey: qt5: ccimx8x: use return instead of exit in qt5 script
This fixes the problem of shell console returning to the login prompt
after a successful login.

Signed-off-by: David Escalona <david.escalona@digi.com>
2019-06-14 10:22:36 +02:00
Gabriel Valcazar 0228ad8587 systemd: don't include systemd-networkd
To avoid possible conflicts with NetworkManager, remove systemd-networkd
entirely.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-06-12 10:54:41 +02:00
David Escalona 49c1fb6dca meta-digi-dey: xorg: fix X11 server issues for ccimx8x
Signed-off-by: David Escalona <david.escalona@digi.com>
2019-06-07 14:19:03 +02:00
Gabriel Valcazar d2688a89ec linux: use proper version numbers for platforms still using v4.9
Even though our ccimx6 and ccimx6qp images were using Linux v4.9 sources
correctly, they were using the same recipe as our images with Linux v4.14.
Technically, both recipes are identical (save for the branch name), but each
Linux version should have its own recipe.

Also, make sure that ccimx6/ccimx6qp images are built with our version of the
linux-imx-headers recipe instead of the one in meta-freescale.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-06-06 14:14:27 +02:00
Mike Engel 0baf09f397 libsocketcan: Add CAN FD data bitrate set and get support
Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://jira.digi.com/browse/DEL-6588
2019-06-05 12:44:30 +02:00
Hector Palacios d60d5cc980 kernel-module-qualcomm: generalize for both qca6564 and qca6574 models
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-06-05 10:56:47 +02:00
Hector Palacios 80b8fc8be4 kernel-module-qualcomm: don't run if 'wireless' node missing on DT
We want to run the script if the 'wireless' node exits on the device tree.
This is to facilitate disabling of the wireless by removing that node.

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

https://jira.digi.com/browse/DEL-6616
2019-06-05 10:56:47 +02:00
Gabriel Valcazar 88eba082ef digi-sc-firmware: update to v1.2.2
Change the recipe name and update its checksums.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-28 15:35:35 +02:00
Gabriel Valcazar c95a709f87 firmware-imx: update to v8.1.1
This recipe was updated in NXP's 4.14.98-2.0.1 patch release.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-28 13:49:11 +02:00
Hector Bujanda e11fd2eb84 meta-digi-dey: dey-examples-rtc: added periodic and 1Hz interrupts testing
-p : Test the standard periodic interrupts (uses timers, doesn't wake from low power)
-u : Test the standard 1 Hz interrupt (uses RTC ALARM)
-v : Test MCA periodic interrupts (uses RTC PERIODIC_IRQ)
-w : Test MCA 1 Hz interrupt (uses RTC 1HZ)

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

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2019-05-28 11:41:21 +02:00
Hector Palacios 4351db1677 uboot: add support for new HWID fields to install fw scripts
The new HWID fields make U-Boot create new variable 'module_ram'.

If it exists use it to select the U-Boot file to use during
firmware update. If not, fall back to old method of using the
variant code and the hard-coded table of variants.

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

https://jira.digi.com/browse/DEL-6598
2019-05-20 15:47:53 +02:00
Hector Palacios 702bc57cae uboot: add support for new HWID fields to boot scripts
The new HWID fields make U-Boot create new variable 'module_ram'.

If it exists calculate new HWID fields to check if the SOM has
Wi-Fi, Bluetooth, etc. in order to select the device tree file.
If not, fall back to old method of using the variant code and
the hard-coded table of variants.

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

https://jira.digi.com/browse/DEL-6598
2019-05-20 15:47:53 +02:00
Arturo Buzarra 8c0aaf79b6 base-files: add filter to ignore mmc RPMB partitions
The Replay Protected Memory Block (RPMB) is an special storage
partition that cannot be accessed via standard block layer.
When a user space tool like blkid, tries to read it the kernel
suffers buffer I/O errors and timeouts.

This commit modifies the post installation script to filter the RPMB
partitions from the mmc block devices, to avoid multiple kernel
errors during the script execution.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-05-17 10:27:11 +02:00
Arturo Buzarra 1fe9ca04c2 base-files: remove platform dependency to execute the postinst function
Removed the platform dependency to apply the resize to all platforms.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-05-17 10:27:11 +02:00
Alex Gonzalez 83e5335a2e README: Update with hotfix additions
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-05-17 09:38:24 +02:00
Jose Diaz de Grenu aad38d49c8 system-monitor: add system-monitor example
This recipe is an example for customer for a system-monitor. Scripts that
verify the system status can be added to /etc/system-monitor.d

The recovery mechanisms can be implemented on those scripts or in the
system-monitor script. The software watchdog systemd support is used to
guarantee that the system-monitor is running.

When using this it is recommended to enable the systemd hardware watchdog
support, refer to the systemd documentation for this.

The systemd service provided by this recipe is not enabled by default as it
is an example that needs customization.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2019-05-17 09:38:24 +02:00
Javier Viguera 07bf5e0843 networkmanager: install dispatcher to create P2P bridge
https://jira.digi.com/browse/DEL-6576

Co-authored-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2019-05-17 09:38:24 +02:00
Javier Viguera c57d7ffa6f networkmanager: install main dispatcher script
Also create the folders that contain the scripts attending each
dispatch event type.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2019-05-17 09:38:24 +02:00
Javier Viguera 3fba022ecc networkmanager: allow to configure the connectivity response timeout
Instead of the 20 seconds hardcoded currently in the code, allow to
configure the response timeout in the connectivity section of the main
NetworkManager config file.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2019-05-17 09:38:24 +02:00
Javier Viguera ba93fb6d76 init-ifupdown: support establishing a P2P link
Co-authored-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2019-05-17 09:38:24 +02:00
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
Javier Viguera bc5c64571a busybox http: add systemd service
Currently in a systemd based init, the httpd server is not launched. A
systemd service is needed, so add it.

Also install a CGI script that allows to use the device for the
NetworkManager connectivity check.

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

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 41734a3614 dey.conf: force imx-gpu-viv as the provider for opencl-headers
There's a recipe in the thud branch of meta-openembedded specifically for the
opencl-headers package, but it's also provided by imx-gpu-viv. This generates
build errors when parsing the recipes and when populating the sysroot for
opencv.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:36:13 +02:00
Gabriel Valcazar 583dc784bc vulkan: update vulkan recipes
Make our vulkan sub-folder match NXP's by updating recipes, deleting ones that
are no longer needed and adding new ones. Also, stop forcing 1.0.65% as the
preferred vulkan version.

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 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 4500494582 gstreamer: update recipes to v1.14.4.imx
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:35:13 +02:00
Gabriel Valcazar 0db6363af5 imx-parser: update to v4.4.5
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.
Change the .bbappend name so it's compatible with all versions of the package.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:12 +02:00
Gabriel Valcazar 1bd374a763 imx-codec: update to v4.4.5
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.
Change the .bbappend name so it's compatible with all versions of the package.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:12 +02:00
Gabriel Valcazar 1764350e53 wayland: update wayland recipes
Make our wayland sub-folder match NXP's.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:12 +02:00