- May 29, 2024
-
-
Nicola Sparnacci authored
Requires the firmware to be in the filesystem. For this, it requires the machine configuration to include: ``` MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS:append = " \ linux-firmware-sd8997 \ " ```
-
Nicola Sparnacci authored
Add overlay to enable the LVDS panel 1024x600.
-
Nicola Sparnacci authored
-
Nicola Sparnacci authored
-
Nicola Sparnacci authored
-
Nicola Sparnacci authored
Add to the device tree the required nodes to load the file system from USB 3.0 or eMMC.
-
Nicola Sparnacci authored
Add the minimal device tree in order to correctly boot the board loading the filesystem with NFS (USB and eMMC are not supported yet).
-
- May 28, 2024
-
-
GitBot authored
-- Commit: https://git.seco.com/edgehog/infrastructure/gitlab-ci/-/commit/9a507bbe294beab4fd3122b5524e34ab474ef798 [BITBAKE] Handle custom Edgehog distros In order to handle the scenarios where bitbake needs to compile an image different from the standard ones we introduce the possibility to have a custom DISTRO variable value. However, the variable shall follow the following convention: * The first part of the string shall indicate the standard Edgehog OS distro, i.e. 'things' or 'embedded' as of now * The second part of the string shall be the custom Edgehog OS image distro with at maximum a '-' as a separator, e.g. 'custom-image' * The two parts of the string shall be separated by a '-' An example could be 'embedded-custom-image'. -- Commit: https://git.seco.com/edgehog/infrastructure/gitlab-ci/-/commit/d769f60447120a2b55e08fb5581b91ebcb89cbac [TEST] Allow Edgehog Things LAVA test on Intel * The 'apollolake' machine is no longer used since a single Intel image is released -- Commit: https://git.seco.com/edgehog/infrastructure/gitlab-ci/-/commit/2f3d9c1e247e57dfca29905b6471f7a88f2b8721 [RELEASE] Fix on the software artifact name * This commit removee the read-only SAS token from the name of the artifact -- Commit: https://git.seco.com/edgehog/infrastructure/gitlab-ci/-/commit/bd3d87e08fa8651a840c68c602cf2eecb7b464f3 [KERNEL][VERSION] Update preferrred version for C31 * Update preferred kernel version to 5.10 for C31 * Add comment to make the kernel version forcing reason for some of the boards more explanatory -- Commit: https://git.seco.com/edgehog/infrastructure/gitlab-ci/-/commit/7c6986162840e8700ebb31e59599afa86004a597 [INTEGRATION] Fix on integration branch name Since now, the integration branch name created by a MR on the BSP into the layer was formed by the BB_RECIPE_NAME followed by the name of merge request source branch. Changing the BB_RECIPE_NAME with the CI_PROJECT_PATH variable to fix a bug in the build process when integration is performed and the integration branch is not found and also for consistency reasons. -- Commit: https://git.seco.com/edgehog/infrastructure/gitlab-ci/-/commit/7e54754c566d4d1e7b4861bd19c94a8024c8605f [SRCREV] Improve search for recipe names Since now, when searching for a recipe name, if the line in the SRCREV.conf file was matched, a break occurred, and all the lines with the same commit SHA of that line were updated. This could be the case of the SRCREV.conf file for meta-seco-rk layer where there need to be two recipes (one for u-boot and one for fw-sysdata) pointing to the same commit SHA. In that case, if both recipes had the same commit SHA, the script could handle it and update both lines. However, if a misalignment occured by any chance, the script could not handle it. For this reason we search for all occurrencies of the same recipe name in the SRCREV.conf and update separately each occurrency. -- Commit: https://git.seco.com/edgehog/infrastructure/gitlab-ci/-/commit/68ca4c9358b9ccae6abbd462a244cd058462cff1 [NOTIFY] Include SAS token in Teams notifications * Since now the links available in the notification message displayed in Teams channel with the link, changelog and job results report were broken for software artifacts in private container. * Introducing the creation of read-only SAS token with 6-months expiration policy also for reports. * Fix in deploy stage for software artifact URL generation in case of public containers. -- Commit: https://git.seco.com/edgehog/infrastructure/gitlab-ci/-/commit/f9a26792ae6a7ab5a250583b301b600f387e8738 [ARTIFACTS][URL] Insert blob SAS token in URL * For software artifacts that are saved within private Azure container it is necessary to add a blob SAS token in order for the URL to correctly work. For such purpose we include the generation of a 6-months duration read-only SAS token to be attached to the URL. * Add AZURE_STORAGE_KEY among necessary CI/CD variables. -- Commit: https://git.seco.com/edgehog/infrastructure/gitlab-ci/-/commit/9cfa350f7729972dd759803a46d91046795d06db [CHANGELOG] Improve search for MRs to be collected * Since now, for each project, the script was searching only for MRs that were merged into branches having the same name of the manifest main branch. * In order to correct this approach, we define a function that searches for the INTEGRATION variable in each project and get the name of the branch whose changes are integrated into the manifest main branch. If more than one branch integrates into the manifest one, all of them are considered in the search for MRs to be inserted in the changelog. * Include BSP repositories and new meta-layers in CHANGELOG_PROJECTS variable
-
- May 27, 2024
-
-
Gianfranco Mariotti authored
* fix possible uninitialized variables * replace pointless do_div that on 32bit gives warning treated as error: do_div is used for u64 dividends, but the math is on u32 values.
-
- May 24, 2024
-
-
Gianfranco Mariotti authored
* LED_0: Link Speed Indication LED for 100Mbps * LED_1: Link Speed Indication LED for 1000Mbps * LED_2: Driven low on Link (10, 100 or 1000 Mbps), Blinks on Activity * LED POLARITY: active low
-
Gianfranco Mariotti authored
Avoid erroneous discard of valid set-up configurations.
-
- May 20, 2024
-
-
Gianfranco Mariotti authored
In some situations, users might face EMI issues due to spikes around specific frequencies: enabling Spread Spectrum Clocking is indicated to reduce the electromagnetic peak around that specific frequency. From the i.MX8MP SoC Reference Manual document, Section 5.1.8 "CCM Analog Memory Map/Register Definition", the DRAM PLL, Audio PLL1, Audio PLL2 and Video PLL1 have available the spread spectrum function. The spread spectrum mode parameters of these PLLs can be calculated using the formulas below: * Modulation frequency: MF = Fin / p / mfr / (2^5) [Hz] * Modulation rate: MR = mfr * mrr / m / (2^6) × 100 [%: percentage of the PLL output frequency] * Where: * 0 <= mfr <= 255, 1 <= mrr <= 63, 0 <= mrr × mfr <= 512 * Fin - PLL input clock frequency (typically, 24MHz = 24 * (10^6) Hz) * p = CCM_ANALOG_XXX_YYY_FDIV_CTL0[PLL_PRE_DIV] - reference frequency pre-divider value * m = CCM_ANALOG_XXX_YYY_FDIV_CTL0[PLL_MAIN_DIV] - PLL main divider value * mfr = CCM_ANALOG_XXX_YYY_SSCG_CTRL[PLL_MFREQ_CTL] - modulation frequency factor * mrr = CCM_ANALOG_XXX_YYY_SSCG_CTRL[PLL_MRAT_CTL] - modulation range factor fsl,imx8mm-anatop optional properties: - anatop-<$1>,sscg-enable - type: boolean - <$1>: PLL clk name - description: enable SSCG - anatop-<$1>,mfr - type: u32 - <$1>: PLL clk name - description: modulation frequency control value - anatop-<$1>,mrr - type: u32 - <$1>: PLL clk name - description: modulation rate control value - anatop-<$1>,sel-pf - type: u32 - <$1>: PLL clk name - description: modulation method control value fsl,imx8mm-anatop dts example: &anatop { anatop-video_pll1,sscg-enable; anatop-video_pll1,mfr = <12>; anatop-video_pll1,mrr = <14>; anatop-video_pll1,sel-pf = <2>; };
-
Correct the definitions of "Divide and Fraction Data Control" registers, and use them in the appropriate code sections.
-
- May 16, 2024
-
-
On i.MX6 SoCs, raise lower limit for GPU scaling to avoid "IPU Warning" framebuffer crash
-
Disable SoC RTC, so module RTC PCF2123 can be assigned to system default rtc0.
-
Disable SoC RTC, so board RTC PCF2123 can be assigned to system default rtc0.
-
-
-
-
-
- May 14, 2024
-
-
Check against the upper temperature limit (125 degrees C) before consider the temperature valid. REFERENCE: https://git.toradex.com/cgit/linux-toradex.git/commit/drivers/thermal/imx8mm_thermal.c?h=toradex_5.15-2.2.x-imx&id=37fb4e13d221a281179cf2732dba7c4a212c4911
-
The i.MX 8MP has a ADC_PD bit in the TMU_TER register that controls the operating mode of the ADC: * 0 means normal operating mode * 1 means power down mode When enabling/disabling the TMU, the ADC operating mode must be set accordingly. i.MX 8M Mini & Nano are lacking this bit. REFERENCE: https://git.toradex.com/cgit/linux-toradex.git/commit/drivers/thermal/imx8mm_thermal.c?h=toradex_5.15-2.2.x-imx&id=4c12feec2dfde62dea8dabe1d2dd78ee340ba048
-
Prior to returning an error in probe, disable the previously enabled clock. REFERENCE: https://git.toradex.com/cgit/linux-toradex.git/commit/drivers/thermal/imx8mm_thermal.c?h=toradex_5.15-2.2.x-imx&id=e57eb8b5050c9b6d63eea26b194d96744fe4018a
-
Currently the error message does not print the correct error code. Fix it by initializing 'ret' to the proper error code. REFERENCE: https://git.toradex.com/cgit/linux-toradex.git/commit/drivers/thermal/imx8mm_thermal.c?h=toradex_5.15-2.2.x-imx&id=ce662ccde5c6ae4f4d89fe71570bf59441004eb9
-
- May 03, 2024
-
-
Gianfranco Mariotti authored
If SATA probes before PCIe, the interface does not come up. We workaround this issue by registering the driver later, using late_initcall.
-
Gianfranco Mariotti authored
'ahci:' is an invalid prefix, preventing the module from autoloading. Fix this by using the 'platform:' prefix and DRV_NAME. REFERENCE: https://github.com/nxp-imx/linux-imx/commit/979556f1521a835a059de3b117b9c6c6642c7d58
-
- Apr 18, 2024
-
-
Gianfranco Mariotti authored
* remove nonexistent ioctl * align ioctl definition to driver implementation
-
- Apr 12, 2024
-
-
Fine tune hdmi phy to pass HDMI transmitter tests: fix failure on eye mask and voltage levels.
-
dts properties: - phy-reg<$1>,clk<$2> - type: u8 - <$1>: PHY_REG number - <$2>: specific clk-rate in Hz - description: set PHY_REG to u8 value for clk-rate - phy-reg<$1> - type: u8 - <$1>: PHY_REG number - description: set PHY_REG to u8 value, has lower priority than clk-rate specific property
-
The issue can be triggered with the sdma pm_runtime false. If the dma client try to use sdma in boot phase, it may cause system hang. The sdma driver really enable clk after sdma load firmware, the clk_disable_unused will disable the SDMA1_ROOT_CLK before the sdma driver enable clk. This issue will comes if access the sdma register when the SDMA1_ROOT_CLK is disable. This issue is very easy to reproduce with hdmi connected displayer on imx7d-sbd board which the i2c will use sdma early before sdma firmware loaded and clock enabled. The client i2c calls dmaengine_prep_slave_single->device_prep_slave_sg ->sdma_prep_slave_sg->sdma_config_write->sdma_config_channel to get descriptor in boot phase. Then, the function sdma_config_channel will access sdma registers. If clk is disable will cause system hang. This patch adds clk_enable and clk_disable to make sure the clk enable before access sdma hardware. Signed-off-by:
Joy Zou <joy.zou@nxp.com> Reviewed-by:
Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by:
Dong Aisheng <aisheng.dong@nxp.com> Acked-by:
Jason Liu <jason.hui.liu@nxp.com>
-
- Apr 11, 2024
-
-
GitBot authored
-- Commit: https://git.seco.com/edgehog/infrastructure/gitlab-ci/-/commit/6f901acf33b59ce458e6df0cac6c831e60d98bb9 [C72n] Fix in machine configuration * This commit fixes the build not working for C72nl device due to bug in logic of code creating gitlab-ci configuration file for each machine.
-
- Apr 10, 2024
-
-
Gianfranco Mariotti authored
The i.MX8M Plus has the same PWM IP as i.MX6 / i.MX7. This IP and the driver supporting pwm polarity inversion. Switch CPU device tree fragment to use 3 pwm-cells. REFERENCE: commit: https://github.com/nxp-imx/linux-imx/commit/d80b9c8422fa8e02b9a92b90fbb328e3e069c649
-
- Mar 27, 2024
-
-
Alessandro Pecugi authored
The new sd8997 driver used for C72 expects the config node in the dts to be named "sdxxx-wlan" instead of "sd8xxx-wlan"
-
- Mar 25, 2024
-
-
GitBot authored
-- Commit: https://git.seco.com/edgehog/infrastructure/gitlab-ci/-/commit/400ff327edd87681f2f63133957e9816b792cf85 [NOTIFY] Increase timeout for notify job * The notify job needs to pull the artifacts from all previous jobs and as the number of boards increase the timeout needs to increase accordingly. -- Commit: https://git.seco.com/edgehog/infrastructure/gitlab-ci/-/commit/34e9c6ddab72ac9198b54ad05a6edf9f8dcf0431 [SHA] Insert SHA of the manifest in artifacts name * Instead of inserting the "weekly" string in the artifacts name, which is already defined in the Azure path, we insert the short SHA for not tagged version of Edgehog. * Remove TAG_NAME variable from "latest" tagged artifacts -- Commit: https://git.seco.com/edgehog/infrastructure/gitlab-ci/-/commit/b8dd7a1db61b9134ef96cab1689beceb422f68da [KERNEL] Get main kernel version from bitbake * Instead of setting the kernel version by variable, the kernel main version is derived from the PREFERRED_VERSION of virtual/kernel used by Yocto using bitbake commands. * The following algorithm does not actually apply on the 'c31' and 'tanaro' boards, for which a different handling is applied. -- Commit: https://git.seco.com/edgehog/infrastructure/gitlab-ci/-/commit/9314c567b1ea364b91d38ccda3d494257fed5bb8 [ARTIFACTS][NAME] Handle equal variables * Since for Intel boards the PROCESSOR and BOARD variable values coincides, it is necessary to handle this case and remove one of the two variables from the artifact name. -- Commit: https://git.seco.com/edgehog/infrastructure/gitlab-ci/-/commit/74498c1ca35dcb66fd51fe02dac0a6db9959fc5c [INTEL] Add "intel" generic machine handling * From now on, the compiled image for all Intel CPU-based SECO boards will be unique and not separate for different processor generations/flavours. * Bump of the kernel version for all Intel architectures to rel. 6.1. * Set KERNEL variable separately for each board and avoid the override of the value set in the generic yocto variables. -- Commit: https://git.seco.com/edgehog/infrastructure/gitlab-ci/-/commit/88420cc892a4a7568dc0b724dee9e0f9453e6d65 [C72NL] Insert c72 Nano Lite configuration -- Commit: https://git.seco.com/edgehog/infrastructure/gitlab-ci/-/commit/21286ffcc417228a7335b2fda1f9a6413b9df77a [ARTIFACTS PATH] Fix on Azure path for imx8 boards * Insert 'imx8' string in the path instead of the specific processor type. -- Commit: https://git.seco.com/edgehog/infrastructure/gitlab-ci/-/commit/b6968f7866814703fcfd59b38fc0f334f1840cc8 [CONF] Add handling of custom lines in local.conf * Since custom projects may require to insert some flags in the 'conf/local.conf' file (e.g. software products commercial licences) we define the handling of the CUSTOM_CONF variable to contain the lines that need to be inserted in the file. * Update documentation accordingly.
-
- Mar 12, 2024
-
-
Yuri Mazzuoli authored
In order to correctly play stereo audio, lrclk-strength must be set to the maximum value of 0x3. Set micbias resistor to it's actual value (2k) for better quality recording
-
Yuri Mazzuoli authored
This commit introduce a fixed clock for the rmii ethernet and move the reset informations in the child etherphy0 node according to: Documentation/devicetree/bindings/net/fsl-fec.txt Fix ethernet reset pinctrl
-
Yuri Mazzuoli authored
change disp_id of hmdi_core to <1> in order to fix conflict with lvds
-
Yuri Mazzuoli authored
-
- fix panel_on gpio - fix backlight enable gpio (default pull down) - fix pwm1 pincntrl (default pull down)
-