Commit Graph

253 Commits

Author SHA1 Message Date
Christophe Priouzeau 525020d5d8 sdcard-raw-tools: add extra space with append on rdepends
When trying to build with a more recent OE-master version, bitbake ended
up having an issue parsing the rdepends for the target and native build
targets due lack of space when appending bash to rdepends.

Fix by just adding the extra space required when appending values to a
variable.

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-05-20 09:21:25 +02:00
Christophe Priouzeau c44b9052ae CONF: management via SOC_NAME for u-boot config
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2021-04-19 11:03:51 +02:00
Christophe Priouzeau dbff802a50 U-BOOT: splash: use a smaller picture as u-boot splash screen
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2021-04-19 11:03:19 +02:00
Christophe Priouzeau 7223779d5c U-BOOT-STM32MP: mutliple defconfig for same UBOOT_CONFIG label
In order to manage multiple defconfig definition for same UBOOT_CONFIG
label, to address subset of devicetree files form UBOOT_DEVICETREE list, we
implement new functionality to provide UBOOT_CONFIG labels with format:
UBOOT_CONFIG += "<uboot_config_label>_<uboot_devicetree_filter_pattern>"
As soon as UBOOT_CONFIG label contains '_' chars, we split it into two
separate parts:
- first one for UBOOT_CONFIG label (used as suffix on binary name)
- second one for pattern (used as filter on devicetree name)

Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
2021-04-19 11:02:55 +02:00
Christophe Priouzeau f754ec4495 TF-A-STM32MP: add specific extra_opt based on STM32MP_SOC_NAME
Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
2021-04-19 11:02:02 +02:00
Christophe Priouzeau 9c26c11570 CONF: flashlayout: use DEVICE_BOARD_ENABLE instead of full list of DT
In case of storage not present on specific devicetree we encounter
some issue at flashlayout generation.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2021-04-19 11:00:05 +02:00
Christophe Priouzeau 07229c80ca SDK: fix issue in PERL module for SDK 2021-04-19 10:59:20 +02:00
Christophe Priouzeau 9939d67d90 WIC: stm32mp15: align fsbl name with storage name
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2021-04-19 10:58:45 +02:00
Christophe Priouzeau 02f94289c2 CLASSES: fix issue when checking packages name with "strange" characters
When package name have characters having a specific meaning in regex
(e.g. foo-c++_1.0.deb) then it will trigger a Python error.
2021-04-19 10:58:15 +02:00
Pierre-Yves MORDRET 7b55c34159 GCNANO-DRIVER-STM32MP: GCNano 6.4.3 update
- Correct build compilation errors using clang r383902b
- Temporary sysfs correction
- Remove pkgconfig not associated with kernel driver
- Several patches for Kernel 5.10

Compatible with build release 20200902

Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
Change-Id: I250458fa156114a5557ce11f690b63adcb177fe7
2021-03-26 16:55:54 +01:00
Romuald JEANNE bd5dd9d03f FILES: default flashlayout files update for dv3.0
Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
Change-Id: I7f8c40dd2ef4a0b2447bb30f933f19dcf27f15ce
2021-03-26 16:55:54 +01:00
Romuald JEANNE 5a8859e946 WIC: align wic image with fip strategie
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Change-Id: I5c4bbcad27142199289ad82a015f9fdd6700fab6
2021-03-26 16:55:54 +01:00
Romuald JEANNE e854264f98 MACHINE: rework configuration to introduce FIP feature
New class is introduce 'fip-utils-stm32mp.bbclass'
New flashlayout file configuration
New features enable on machine side

Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
Change-Id: Ifb5af81b5341ef924b8c22992df20a21bd729e3f
2021-03-26 16:55:54 +01:00
Romuald JEANNE 302d750d20 LINUX-STM32MP: update to v5.10-stm32mp-r1
Change-Id: I83bff180c4b5b8717d3735da1d0c51427f1a5908
2021-03-26 16:55:54 +01:00
Romuald JEANNE 57ece9a998 OPTEE-OS-STM32MP: update to 3.12.0-stm32mp-r1
Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
2021-03-26 16:55:54 +01:00
Romuald JEANNE ee3b4ddd69 U-BOOT-STM32MP: update to v2020.10-stm32mp-r1
Change-Id: I0daab68bd2d82f12b3ed0bcb99dcf683d95ffdc6
2021-03-26 16:55:54 +01:00
Romuald JEANNE b986ba2af3 TF-A-STM32MP: update to v2.4-stm32mp-r1
Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
Change-Id: I1cbb828422280231c17e9673e8a85600ab6041e4
2021-03-26 16:55:54 +01:00
Romuald JEANNE a95cc1ec39 LINUX-FIRMWARE: update firmware for kernel 5.9
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Change-Id: I9bd95cbc781943ea8f01ad3317172bdfdd1c7d83
2021-03-26 16:55:54 +01:00
Romuald JEANNE f42d27eef4 M4PROJECTS-STM32MP1: update to V1.4.0
Signed-off-by: Anthony NOURRY <anthony.nourry@st.com>
Change-Id: Ib7401a0c52aa74eac1a364ed11c38459398bcd26
2021-03-26 16:55:54 +01:00
Romuald JEANNE 43ba51fc32 OPENOCD-STM32MP: rebase on v0.11.0-rc2, update jimtcl repo and libjaylink version
jimtcl repository on repo.or.cz has been abandoned

Signed-off-by: Antonio Borneo <antonio.borneo@st.com>
Change-Id: I077efd18c17618608884a63b561f98b5b300beb5
2021-03-26 10:37:20 +01:00
Romuald JEANNE f199af810f U-BOOT-STM32MP-EXTLINUX: manage overlay
To manage overlay device tree on U-Boot via boot.scr script:
- add an overlay entry on extlinux.conf without FDT or FDTDIR
- create a directory named 'overlays' on boot directory
- populate 'overlays' with the device tree overlay
- create a file named overlays.txt on overlays directory
- syntax of overlays.txt:
overlay=aa bb cc dd
- aa, bb, cc, dd correspond to a device tree name file (without extension)
present on /overlays/ directory
/overlays/aa.dtbo
/overlays/bb.dtbo
/overlays/cc.dtbo
/overlays/dd.dtbo

Tree of bootfs addons for overlay
/overlays/aa.dtbo
/overlays/bb.dtbo
/overlays/cc.dtbo
/overlays/dd.dtbo
/overlays/overlays.txt

warning: think to add an entry on extlinux.conf without FTDIR or FDTFILE
entry

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Change-Id: I3615d6f03cf874cf3f3c12ea1dd5882bb054542d
2021-03-26 10:37:20 +01:00
Romuald JEANNE c2ed3e416d ST-PARTITIONS-IMAGE: ensure packages are installed into the right partition
Change-Id: Ib5a5a27d0f997907a151629d6e77a1acee7b443f
Signed-off-by: Lionel VITTE <lionel.vitte@st.com>
2021-03-26 10:37:20 +01:00
Romuald JEANNE 50d2f78f50 CLASSES: unexport _PYTHON_SYSCONFIGDATA_NAME to allow devtool
On Ubuntu 20.04, devtool cannot be used in recipe inheriting
python3native. Unexport _PYTHON_SYSCONFIGDATA_NAME as a workaround.
To check if it can be revert with next bitbake releases.

Signed-off-by: Lionel VITTE <lionel.vitte@st.com>
Change-Id: I7d73d05e1a5d58dedf69b3aefb3e07c35b92800d
2021-03-26 10:37:20 +01:00
Romuald JEANNE 1398474119 CLASSES: fix wrong var dependency detection for 'UBOOT_EXTLINUX_*' var
Due to internal override mechanism, we should make sure to add explicitly
all var with their potential override name in 'vardeps' flags.

Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
Change-Id: I3fcdbf1bf3856c043987569922c5c60fc0fc7bf9
2021-03-26 10:37:20 +01:00
Romuald JEANNE 314b4cc4b3 IMAGES: USERFS: put m4projects under MACHINE_FEATURES flags
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Change-Id: I88703b69adc07e6a7702b7eb08aab13b5a6b1af9
2021-03-26 10:37:20 +01:00
Romuald JEANNE f528573e33 M4COREDUMP: add service to enable coredump via remoteproc
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Change-Id: I6d5c1ca745fb2598f1937fa261a6fe5432d7f204
2021-03-26 10:37:20 +01:00
Romuald JEANNE 7e75751041 gcc-arm-none-eabi: bump to 9-2020-q2-update
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Change-Id: I48978cbdb7d789172acf8ffdf8ba9dcd68d84ee8
2021-03-26 10:37:20 +01:00
Romuald JEANNE 7d5ccd002b WIFI-SUSPEND: remove service
With new kernel 5.10, the service are no more needed.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Change-Id: I3d169c2c62a4de61681fa7e437629085f341bb28
2021-03-26 10:37:20 +01:00
Romuald JEANNE 7d21671b77 ALSA: update stm32mp15x cards configuration files
Change-Id: Ib6c50ea6d9f1b14c0b7e79d013665dae4b8c2f52
2021-03-26 10:37:20 +01:00
Romuald JEANNE 02a595fac1 LAYER: add compatibility version
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Change-Id: I6163b10943b21a4d23a805a3908e9e6a663a6e48
2021-03-26 10:37:19 +01:00
Christophe Priouzeau c1f0ba5c5b Remove duplicate patch/config
The xwayland are no more requested with next version.
For weston.ini, now the configuration are location on meta-st-openstlinux.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2021-03-03 09:17:00 +01:00
Stefan Schmidt e2b6520039 u-boot-stm32mp: add patch to allow compilation with gcc10
Patch was taken from poky u-boot recipe. Original error message:
multiple definition of `yylloc'
2021-01-28 09:50:46 +01:00
Christophe Priouzeau a81038b7e7 openocd-stm32mp: disable ccache, plus some improvements to the recipe
When ccache is enabled the following error occurs, adding CCACHE_DISABLE = "1"
in the recipe avoid this.

| Host System...x86_64-pc-linux-gnu
| Build System...x86_64-pc-linux-gnu
| C compiler...ccache ccache gcc  -isystem/src/build/tmp/work/x86_64-linux/openocd-stm32mp-native/0.10.0-release.AUTOINC+b5d2b1224f-r0/recipe-sysroot-native/usr/include -O2 -pipe
| C++ compiler...ccache ccache g++  -isystem/src/build/tmp/work/x86_64-linux/openocd-stm32mp-native/0.10.0-release.AUTOINC+b5d2b1224f-r0/recipe-sysroot-native/usr/include -O2 -pipe
| Build C compiler...ccache gcc
| Checking for stdlib.h...not found
| Error: Compiler does not work. See config.log
| Try: 'configure --help' for options
| configure: error: ./configure.gnu failed for jimtcl
| WARNING: exit code 1 from a shell command.
|

In addition, push some improvements to the recipe.

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
2020-12-08 15:38:59 +01:00
Christophe Priouzeau 71eb299a1e CLASS: PARTITION: do not force size of rootfs
With core-image-minimal, some issue occurs with forced size
of rootfs.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
2020-11-25 11:13:04 +01:00
Bernard PUEL a1c54a5469 Revert "DROPBEAR: remove "disable-weak-ciphers" config for CUBE IDE 1.3.0 compatibility"
This reverts commit 36a9911705.
2020-11-09 10:20:09 +01:00
Christophe Priouzeau 955b1d9a5f M4PROJECTS: Update to v1.3.0
Change-Id: Iebd0edc92d4d8917cf1c5098a45304a43ee699c1
2020-11-05 15:46:36 +01:00
Christophe Priouzeau 7b16673a92 GCNANO: GCNano delivery 6.4.3 Update
Vivante 6.4.3 Update

Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
Change-Id: I169020114ec978ee3062fb0c698165a83c67fbbd
2020-11-05 15:46:36 +01:00
Christophe Priouzeau 0d2f843602 LINUX-STM32MP: update to v5.4-stm32mp-r2
Kernel 5.4.56

Change-Id: I1b6874b20f23a72b572794013ac879d50da0ecd4
2020-11-05 15:46:36 +01:00
Christophe Priouzeau a622712abe OPTEE-OS: OPTEE-OS-STM32MP: Update to 3.9.0-stm32mp-r2
Change-Id: I3a9d6960a76f14d043aee7cca844cb56473987c5
2020-11-05 15:46:36 +01:00
Christophe Priouzeau 6852cc81f2 U-BOOT-STM32MP: update to v2020.01-stm32mp-r2
Change-Id: I72aa61336719bb899c5c2b24562460c2f70d373a
2020-11-05 15:46:36 +01:00
Christophe Priouzeau 562904550d TF-A-STM32MP: Update to v2.2-stm32mp-r2
Change-Id: Idce2199f48962dc2e16c815cfdde498042263098
2020-11-05 15:46:36 +01:00
Christophe Priouzeau faedbbe552 SDCARD-RAW-TOOLS: check requisite tools are available on the system
In addition, to script adaptation following shellcheck

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Change-Id: I49d9f9a3ebfe7be2d1b8e77c8bf6a71751dbf228
2020-11-05 15:46:36 +01:00
Christophe Priouzeau 8d352d76f3 OPENOCD: switch to git protocol for fetch
issue detected with the server:
fatal: unable to access 'https://repo.or.cz/r/jimtcl.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Change-Id: I3e6f826b934df22deffde183ca9c40bc9c5edee0
2020-11-05 15:46:36 +01:00
Christophe Priouzeau 6ce6b3175d CONF: FLASHLAYOUT: add boot sequence and erase teeh partition
To manage different kind of boot sequence, add a variable which
define the boot sequence to used.

When the parition teeh are flashed only 300 bits are writed and
it's not enought to overwrite the filesystem header of bootfs in
case of trusted boot.

Change-Id: I8b9e307689aff56e30b65e3d47626e3bf2e4e36f
2020-11-05 15:46:36 +01:00
Christophe Priouzeau f009ad646f CONF: MACHINE: re-create gcnano link if not exist
Change-Id: I9e9409612d2853f778cdd789e4acc39a23cba704
2020-11-05 15:46:36 +01:00
Christophe Priouzeau e0deb8b0bd Configure extlinux.conf file generation for kernel fit image
Change-Id: I579efe79781803f383369c887b128a33cca9155b
2020-11-05 15:46:36 +01:00
Christophe Priouzeau 3af4293be8 stm32wrapper4dbg: correct path issue
Provide directory path to stm32wrapper4dbg.

Suggested-by: https://github.com/STMicroelectronics/meta-st-stm32mp/pull/19
Change-Id: I3531b08205b583be8a896cab136ea9ef34e9216d
2020-11-05 15:46:36 +01:00
Christophe Priouzeau 4b7ade4f48 GDB: preserve ownership of file
Suggested-by: https://github.com/STMicroelectronics/meta-st-stm32mp/pull/20
Change-Id: I995ef0ecd0da11e9fe854fd6e227c7c6d3d374ec
2020-11-05 15:46:36 +01:00
Romuald JEANNE e9e2616477 ST-PARTITIONS-IMAGE: add specific append to allow 'etc/build' file export
Allow to export build info file to DEPLOYDIR.

Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
Change-Id: I13801e67837f08faff3691dccdc6856905ac3b49
2020-11-05 15:46:36 +01:00
Christophe Priouzeau d9ba2fe098 PYELFTOOLS: remove for compliance purpose
Now pyelfutils are available on openembedded-core since
3.1.1.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Change-Id: Iba0fdbca700970d66a7dc2f6bcbf3ca113eeb0ab
2020-11-05 15:46:36 +01:00