- Jun 26, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@8abfbca7 YT-176 Skip projects with no permissions If a project have no permissions, it probably won't be processed in seco-ne CI pipelines. Exclude venv directory from version control
-
- Jun 03, 2024
-
-
Mikhail Vanyulin authored
Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-
Mikhail Vanyulin authored
There is too big latency (up to 3ms) in rs485 mode on mx6ull during turning To receive between disabling transmitter and enabling receiver. It happens because of 3 sequential iterations of calling stop_tx (2 from irq thread and 1 from hrtimer). Irq thread has great latency on the slow mx6ull and RS485 is sensitive to timings. The patch involves hrtimer for calling stop_tx during waiting FIFO empty in addition to existing calls from softirq to speed up the process. To make new code apply only for specific devices and not to affect other boards, a "rs485-has-rts-latency" property for uart device tree node was added. Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-
- May 24, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@01d6973b Scripts: Add script to delete all integration/ branches It happens that the integration branches are left over from provious runs of the pipeline, when MRs are closed without merging, for example. Also a bug in the gitlab-ci makes the pipeline fail, when an integration branch should be reused. The new scripts just deletes all integration branch in the given project tree without further checks. Needs to be run manually. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@c05acbe1 Add scripts to setup a virtual python environment Use: ``` cd script source setup_venv.sh ``` to change to the venv.
-
- May 23, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@58554035 scripts:release_info: Deep copy dict in merge_variables Without the deep copy, the merge operation manipulates the dict it is storing the new values in.
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@bd4caeae report_image_diff: rework variables extraction The current solution makes too much assumptions about the pipeline and needs to reimplement some of the gitlab yaml interpretion. The new version of the script extracts MACHINE and DISTRO from the jobs themselves: - MACHINE is part of the build job name ("build-$MACHINE"); - DISTRO is printed by bitbake and can be found in build log. Typos -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@cbf168eb build:credentials: Fix error when storing credentials in cache The credentials helper wasn't storing the credentials in the cache. Seemingly, the echo added whitespaces at the beginning of the lines which can't be interpreted by the git credential approve command. Also the USERNAME was renamed to TOKEN_USER because the variable is already filled with the system users name.
-
- May 13, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@d09e3a96 CI: generate_firmware: Add releasename as name to json file To use the generated json file in the json-fwr tooling, it helps to fill the name. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@c2cd3b43 pipeline:confluence: Add parent for Flash-N-Go release page -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@887db0df pipelines: Add wic.img files to supported artefacts
-
- May 08, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@54f17a69 Update CI_IMAGES_REVISION -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@4fd7f8a8 report_image_diff: get rid of hardcode Parse machines, pipeline names and distros from gitlab yaml file instead of harcoding these values in the script. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@05d6a8db fullbuildpipeline.py: fix timeout The problem was found in pipeline: https://git.seco.com/seco-ne/yocto/manifest/-/jobs/954246 Fix missing update of upstream pipeline status inside while loop. The timeout in the script was not in sync with the default timeout for build jobs. Set timeout in __get_build_pipelines() function to 8 hours. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@3077d252 handle_artifacts: add "try" block for keep_/delete_artifacts -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@b0be529b handle_artifacts: fix case when pipeline was canceled -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@1a4a5ab1 Refactoring: move common code to separate files
-
- May 02, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@bf6de920 convert_md2html: new font style for main text -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@dc43f865 convert_md2html: move content to left -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@f0088d25 convert_md2html: fix long commands Several blocks of code are too long and don't fit on the page. Words are not wrapped to the next line. To fix this, adjust the span slacc in css. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@caa6efa2 convert_md2html: restore several css rules - fix h1 color - fix missing gorizontal line above h1 - increased h2 font size - fix missing borders for table - restore link style -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@28a1bc5e convert_md2html: Update the style for the generated html file
-
- Apr 26, 2024
-
-
Because of this typo, EDID from HDMI display was not read and 640x480 resolution was set. Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@6656c465 CI: allow failure in new jobs 'handle_artifacts' and 'report-image-diff' It seems that these jobs are not yet completly errorsafe and we could ignore the failure without changing the build artifacts.
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@de9851be ci: add a job to handle artifacts after merge In the latest commit in the manifest it often happens, that the pipeline does not contain the artifacts itself, but just a link to the pipeline of the MR. Added a python script with corresponding GitLab CI job to launch this script. The script searches for the latest pipelines for default branch in manifest repo, and then decides either to keep or delete artifacts for particular build. The build artifacts are kept for: - the latest commit - the last successful build - the tagged commits (e.g. "fngsystem/47.0", "kirkstone/20.0")
-
- Apr 25, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@1299a9d6 CI: add "report-image-diff" job Add a python script and a GitLab CI job to run it. The job is triggered when the build is complete. The script retrieves build artifacts for the default/main branch (currently "kirkstone") in the manifest repo and build artifacts for the integration branch of merge request. After that, it compares those builds and creates a summary of the overall changes. In particular: - size of compressed artifacts (artifacts.zip) - size of built image - difference between manifest files The summary is reported to stdout and as a comment to the merge request. Each run of the pipeline means removing the old summary comment and creating a new one when the build is finished.
-
- Apr 19, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@dcc8d92b build:hardware: Add Trizeps VIII Plus, fix MX93 and sort entries -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@add2bb17 Revert "CI: remove 'setup_ssh' as ssh access is disabled" The SSH setup is required for some private projects that pull in external repos via SSH. This reverts commit 4d5bca8fb8aaebf8794ffa88a6d0aef779c9eedf.
-
- Apr 11, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@19ff9d08 package_release: Fix missing variable for os.walk Even though the variable isn't used in the package_release script, it seems to be required by the os.walk function. Underscore satisfies the linter preventing it from causeing unused variable errors.
-
- Apr 08, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@6e6f124b package_release: Add a way to copy the whole directory Item should end with "/" to be treated as a directory
-
- Mar 20, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@ab19eb61 CI: collect_release_information: jump to next pipeline if no deploy jobs found See for error: https://git.seco.com/seco-ne/yocto/infrastructure/ci-test/minimal-manifest/-/jobs/828261 -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@ae764fbc CI: Confluence page: Fix not created mx6 section The function that merges the variables of the different jobs, i.e: `MACHINE="mx6"` `MACHINE="mx6ull"` used python `in` to check if a value already exists. But `"mx6" in "mx6ull"` is true, so mx6 was dropped. This rewrites it, storing the variables in a set (which is unique automatically) instead of space seperated strings. Space seperation is added before printing the variables to be used on on the shell.
-
- Mar 19, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@094983ae git_config: Add "*" as safedir to omnit 'dubious ownership' error
-
- Mar 18, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@44000de1 Check bitbake recipes with linter The job checks bitbake recipes added/updated in MR using the oelint-adv tool (https://github.com/priv-kweihmann/oelint-adv). .oelint.json is a rulefile, created with the command "oelint-adv --print-rulefile". It can be used during development. It contains default rules for now, but will probably be customized later. To get the list of changed files in MR, we adjusted the GIT_DEPTH variable. The new value is 50, which should be fine for getting MR changes, and still small enough to keep checkout fast for large projects. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@9d9574d1 convert_md2html: fix text duplication Fix the problem introduced by commit 4f06516 "convert_md2html: fix id fields for headings". The text converted from markdown was written twice to the HTML document.
-
- Mar 06, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@4f06516a convert_md2html: fix id fields for headings Converter adds "user-content-" to "id" fields for headings. As a result links from TOC do not work. Fix this for now by removing "user-content-" from the resulting html. Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de> -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@97898e9e convert_md2html: use gitlab api Update convert_md2html.py to use gitlab api with gitlab flavor. Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-
- Mar 04, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@4595835d build:machines: Add Genio510 to the build job template -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@d8b5ab7b scripts:firmware: Fix check for U-Boot file types On i.MX6 devices, the U-Boot file types are not set at all. Extent check for the existance of the uboot_file_types var.
-
- Feb 23, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@3146ed1e CI: increase timeout of package-documentation to 5m -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@4d5bca8f CI: remove 'setup_ssh' as ssh access is disabled -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@8353d920 CI: lava testing: replace ssh with https url and CI_JOB_TOKEN
-
- Feb 19, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@e207c443 gitlab-ci: Disable sourcery The sourcery plugin fails again due to a missing login. Disable it for now. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@a3d1e77c manifest:integration: Fix issue in trigger/include -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@b6e66192 pipelines:build: Add check to JSON generation Without the check, we have a race condition when building from sources outside of the Yocto group.
-
- Jan 31, 2024
-
-
Mikhail Vanyulin authored
This is a cherry-pick of b148230b7470ec6a4b6946a619174deeaac380ef commit from 4.1.15 kernel. Author: Carsten Behling <carsten.behling@garz-fricke.com> Date: Wed Aug 17 09:27:12 2016 +0000 PMIC: refs #18401 * port deep sleep mode reboot fix linux-kernel:r2608 to kernel 4.1.15 git-svn-id: http://srv80.hamburg.garz-fricke.de/svn/sw/som/linux-kernel/trunk/linux-4.1.15-guf@2955 9c94d2d2-9c12-c147-a17b-948b59ea09cc Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-
Mikhail Vanyulin authored
Backported from linux-6.7.0, commit a0e026e7b37e997f4fa3fcaa714e5484f3ce9e75 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/net/phy/phy.c?id=a0e026e7b37e997f4fa3fcaa714e5484f3ce9e75 Since commit 91a7cda1f4b8 ("net: phy: Fix race condition on link status change") all the phy_error() method invocations have been causing the nested-mutex-lock deadlock because it's normally done in the PHY-driver threaded IRQ handlers which since that change have been called with the phydev->lock mutex held. Here is the calls thread: IRQ: phy_interrupt() +-> mutex_lock(&phydev->lock); <--------------------+ drv->handle_interrupt() | Deadlock due +-> ERROR: phy_error() + to the nested +-> phy_process_error() | mutex lock +-> mutex_lock(&phydev->lock); <-+ phydev->state = PHY_ERROR; mutex_unlock(&phydev->lock); mutex_unlock(&phydev->lock); The problem can be easily reproduced just by calling phy_error() from any PHY-device threaded interrupt handler. Fix it by dropping the phydev->lock mutex lock from the phy_process_error() method and printing a nasty error message to the system log if the mutex isn't held in the caller execution context. Note for the fix to work correctly in the PHY-subsystem itself the phydev->lock mutex locking must be added to the phy_error_precise() function. Link: https://lore.kernel.org/netdev/20230816180944.19262-1-fancer.lancer@gmail.com Fixes: 91a7cda1f4b8 ("net: phy: Fix race condition on link status change") Suggested-by:
Andrew Lunn <andrew@lunn.ch> Signed-off-by:
Serge Semin <fancer.lancer@gmail.com> Reviewed-by:
Andrew Lunn <andrew@lunn.ch> Signed-off-by:
David S. Miller <davem@davemloft.net> Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-
- Jan 17, 2024
-
-
Dmitry Petrov authored
To reduce boot time, we have disabled CONFIG_EXPERT and CONFIG_DEBUG_KERNEL in seco-mx6 defconfig. However, for backward compatibility, we need to leave CONFIG_GPIO_SYSFS enabled. For this, the config should be visible even when expert mode is disabled.
-
- Jan 16, 2024
-
-
Dmitry Petrov authored
The following errors can be observed in dmesg on some boards (e.g. SANTINO/SANTINO-LT): [ 3.102655] /disp0: could not find display-timings node [ 3.108037] /disp0: no timings specified It looks like panel_dt_get_non_edid_modes() was made from panel_simple_get_non_edid_modes() of drivers/gpu/drm/panel/panel-simple.c but increasing number of found modes was omited. panel-simple.c has this code: 283- if (mode) { 284- drm_mode_probed_add(connector, mode); 285: num = 1; 286- } else { So add the same assignment in panel-dt.c too.
-
- Jan 09, 2024
-
-
Image.dx gets wrong value because of missing '()'. If xres == logo->width and n == 1, image.dx = -16. Signed-off-by:
Guiling Deng <greens9@163.com> Fixes: 3d8b1933 ("fbdev: fbmem: add config option to center the bootup logo") Cc: stable@vger.kernel.org # v5.0+ Signed-off-by:
Helge Deller <deller@gmx.de>
-
The 'reserved-memory' node must exist in device tree, so that we can apply the DT overlay to reserve memory for a custom logo.
-
The 'reserved-memory' node must exist in device tree, so that we can apply the DT overlay to reserve memory for a custom logo.
-
Mikhail Vanyulin authored
This is a fix for issue [746-000092] logo: Implement logo driver to show logo from RAM If CONFIG_LOGO_SECO_MEMLOGO is set, logo driver will get logo memory address and size from dtb. And if this points to a correct data, logo, loaded into memory will be displayed. If some part of dtb node is missing or data in the memory is incorrect, a logo, which was selected by the driver before will be used. It is also necessary to reserve memory to which logo is loaded. Exampled dtb nodes: seco-memlogo { compatible = "seco,memlogo"; address = <0x14000000>; size = <74501>; }; reserved-memory { #address-cells = <1>; #size-cells = <1>; ranges; logo_reserved: logo@14000000 { reusable; reg = <0x14000000 74501>; }; }; Example script, which will generate logo from logo.png: WIDTH=492 HEIGHT=150 pngtopam logo.png > logo.ppm pnmpad -width $WIDTH -height $HEIGHT logo.ppm > logo_pad.ppm pnmcolormap 224 logo_pad.ppm > colormap pnmremap -floyd -plain -mapfile=colormap logo_pad.ppm > logo_plain.ppm seco-pnmtologo -t clut224 -o logo.dat -f bin logo_plain.ppm Example command to load logo into memory from U-Boot: load mmc 1:3 0x14000000 logo.dat Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-
- Jan 08, 2024
-
-
Instead of using always-on regulator, configure it as supply for the port, so it gets enabled when the port is opened.
-
Add the fixed regulator for the CAN/RS485 output of SANTINO, that may be optionally galvanic isolated. Add rts-gpios for RS485.
-
-
Jonas Höppner authored
On some hw the rs485 needs an additional regulator to be switched on. With this patch it is possible to configure the regulator as supply for the port, so it gets enabled when the port is opened. BCS 746-001117
-
The wrong compatible string is used for the EEPROM. STMicroelectronics M24C32/TSSOP8 is installed on i.MX6 SAN boards.
-
- Jan 04, 2024
-
-
Use interpolated brightness table for i.MX6 SAN boards. The "brightness-levels" values are taken from XML configurations.
-
- Dec 21, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@42bfe4f0 build:prepare: Add setup script for Git Credentials -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@24653ff8 build:machines: Add i.MX93 to the build job template -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@7aae72ea Re-enable sourcery With the free open source plan, sourcery works only when called from the repository's root directory. Re-enable it by calling it from there. Also apply sourcery's suggestions to file generate_firmware_package.py, which did not exist before disabling sourcery.
-
- Dec 13, 2023
-
-
Modified platform initialization to check for (a) @lcd@-node in device-tree to identify systems with parallel LCD-interface and (b) presence of enabled spread-spectrum settings in device-tree to change the IPU-DI PLL from PLL5 to PLL2 in this case to allow spread-spectrum clocking of parallel LCD-displays
-
The helper function checks if spread spectrum clocking is enabled in device tree.
-