Commit Graph

47 Commits

Author SHA1 Message Date
Lionel VITTE 85ce72412d GCC: make symbols are dynamically available and plugins work
The Canadian build will skip the check for rdynamic. And hence the gcc
symbols are not dynamically available and the gcc plugins won't work. The
opt_pass.*set_pass_param symbols are there but not as exported symbols
so nm -D won't see them e.g..

Based on the patch found here
https://lists.openembedded.org/g/openembedded-core/topic/rfc_build_linux_with_a_oe/90687587

Change-Id: I4860565319a786f5cc511f50cbfcabad9278ed4b
Signed-off-by: Lionel VITTE <lionel.vitte@st.com>
2023-08-03 12:10:24 +02:00
Romuald JEANNE e0eb17949a GCC-ARM-NONE-EABI: bump to gcc 11
Change-Id: I0108388a294643db171deff757b391d2613adf1c
Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
2023-08-03 12:10:18 +02:00
Antonio Borneo 370681e971 SDCARD-RAW-TOOLS: resolve path of debug tsv script
Debug script is inside an extra level 'debug' of folders.

Increase by one level the search to resolve the path.

Signed-off-by: Antonio Borneo <antonio.borneo@foss.st.com>
Change-Id: I2aaea6b63f7c30f8e8ae24b90ebc0c9d50c2c52c
2022-11-17 17:19:20 +01:00
Christophe Priouzeau 86b53fdbe1 SDCARD: tools: adapt to firwmare update
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
Change-Id: Id8b31e604be332a9e94f2ad7627c68ce828f3b58
2022-06-23 10:47:25 +02:00
Christophe Priouzeau 37efaf8f94 Stm32wrapper4dbg: bump to 2.0
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
Change-Id: I032373b7465150618bf6d20e5a8f766c1dee87fe
2022-06-23 10:47:25 +02:00
Christophe Priouzeau 48b49d3e27 OPENOCD: 0.11.0
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
Change-Id: Ia1f287c846227ddad1bd023637f57a05d1d4e6d6
2022-06-21 10:18:08 +02:00
Christophe Priouzeau 1bc5c4fe45 CMSIS: add support for stm32mp13
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
Change-Id: I999ec41342ad6a41e0541b6a1bd1863255afff9d
2022-06-21 10:18:08 +02:00
Christophe Priouzeau 2a2c5d495a KIRKSTONE: adapt to kirkstone
License syntax, SRC_URI syntax, overwrite

Change-Id: I37ccaf76e6d8558ecb3aa4cf9e0fbbec1a95b0a5
2022-06-21 10:18:08 +02:00
Christophe Priouzeau f270dda746 GCC: baremetal: bump to gcc 10
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
Change-Id: I7dc66fef706beeb2aea5ff8a48f5e654e75dec24
2022-06-21 10:18:08 +02:00
Christophe Priouzeau dc6510b1a9 SDK: extend recipes
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
Change-Id: Ibec017d55c94d9dece5c456bd671f751785522bc
2022-06-21 10:18:08 +02:00
Christophe Priouzeau c71ef8c31c Add RPM dependency to lua
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2022-05-02 11:57:26 +02:00
Christophe Priouzeau a62a284e99 KIRKSTONE: SRC_URI compatibility
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2022-05-02 11:55:52 +02:00
Christophe Priouzeau 473cfb3d92 KIRKSTONE: license compatibility
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2022-05-02 11:55:00 +02:00
Christophe Priouzeau 483a6968fa KIRSKSTONE: overwrite syntax
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2022-05-02 11:53:28 +02:00
Cedric VINCENT c38662e3bc OPTEE-SDK: Add to SDK environment-setup the variables required to build OP-TEE TA.
Change-Id: I13a6e1f85f785ca4ce9cbb34dc2e46a16e4ca273
Signed-off-by: Cedric VINCENT <cedric.vincent@foss.st.com>
2021-11-16 17:56:04 +01:00
Lionel VITTE e89318bdd6 STM32WRAPPER4DBG: rework recipes to use only one
Change-Id: I902877afcb384a721ee7db0c2b18503827c51f68
Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
2021-11-16 17:56:04 +01:00
Lionel VITTE 5df595134e MACHINE: set partition configuration specific to fstype
- Allow specific partition image configuration between 'ext4' and 'ubifs'.
 - In case ubifs created is larger than max-leb-cnt allocated, mkfs.ubi raise
an error that make bitbake exit on error: add test to avoid this unexpected exit.

Change-Id: Ib386e703cfb1d0434ea17c279abb31f705514019
Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
2021-11-16 17:56:04 +01:00
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
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 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
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 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 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
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
Romuald JEANNE 2fbe4ce39c SDCARD-RAW-TOOLS: extend script support
Change-Id: I0187e879bfcf1544d406c78a33dfbcee0070e0ca
2020-06-23 17:23:52 +02:00
Romuald JEANNE c9e37af629 OPENOCD: Support stlink traces, silicon rev.2.1, fix CSW
Change-Id: I0d607eeee909e44e5d1e90db39bda30f03739819
2020-06-23 17:23:51 +02:00
Romuald JEANNE 5a288525e2 PYTHON3-PYELFTOOLS: add recipe
Dependency needed for specific optee-os configuration version

Change-Id: I7ef68752898da9e9b689c09bb3e713ec16bf7d51
2020-06-23 17:23:51 +02:00
Romuald JEANNE a16cd6da88 STM32WRAPPER4DBG : Add initial recipe
The tool is added is both native and nativesdk
Can be compiled for the target

Change-Id: Ibf34e7bb02e1f7ff0900c5a2a81417959fb11fe7
2020-06-23 17:23:51 +02:00
Romuald JEANNE 7f8392601a Integration of svd/cmsis tools
Change-Id: I260a209ae0e91e2299d65ab277c20d3a0de6d918
2020-06-23 17:23:50 +02:00
Priouzeau Christophe c9b7e9bc54 OPTEE: bump to update to v1.2.0 (3.3.0-stm32mp-r3)
Change-Id: Ie9655fa7fdc62037869a9bf5afbdf12b70ec96ac
Signed-off-by: Priouzeau Christophe <christophe.priouzeau@st.com>
2020-02-10 12:15:18 +01:00
Priouzeau Christophe 0fb88e1abc SDCARD-RAW: manage case of binary on several directory
Signed-off-by: Priouzeau Christophe <christophe.priouzeau@st.com>
2020-02-10 12:12:19 +01:00
Priouzeau Christophe b0184fbc78 OPENOCD: Fix support for silicon rev.2.1 on pmic boards
Signed-off-by: Priouzeau Christophe <christophe.priouzeau@st.com>
2020-02-10 12:12:19 +01:00
Priouzeau Christophe 4aed1761e8 GCC-ARM-NONE-EABI: bump to 2018q2
Signed-off-by: Priouzeau Christophe <christophe.priouzeau@st.com>
2020-02-10 12:12:19 +01:00
Daniel Ammann ab2dd52ccc SDCARD-RAW-TOOLS: Abort if user opts to not overwrite raw image file
Otherwise, it will be overwritten anyway.
2020-02-03 14:41:19 +01:00
Daniel Ammann 81af72efee SDCARD-RAW-TOOLS: Check dependencies on external tools 2020-02-03 14:41:03 +01:00
Christophe Priouzeau bf2775faa4 SDCARD-RAW-TOOLS: handle GPT TYPE CODE and correct help display
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
2019-10-09 11:29:50 +02:00
Christophe Priouzeau 48d2c10203 OPENOCD: Support single core and fixes
Signed-off-by: Antonio Borneo <antonio.borneo@st.com>
2019-10-09 11:26:10 +02:00
Lionel VITTE 7f3cfc86ae Baremetal GCC: improve generated package to avoid QA issues
Change-Id: I36472784a5462bab20826e2a4808d3800e60cbcf
Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/meta-st/+/135644
Reviewed-by: CITOOLS <smet-aci-reviews@lists.codex.cro.st.com>
Reviewed-by: CIBUILD <smet-aci-builds@lists.codex.cro.st.com>
Reviewed-by: Lionel VITTE <lionel.vitte@st.com>
Reviewed-by: Romuald JEANNE <romuald.jeanne@st.com>
Tested-by: Lionel VITTE <lionel.vitte@st.com>
2019-10-09 11:08:52 +02:00
Christophe Priouzeau e07b4287ed SDCARD-RAW-TOOLS: add specific gtp code for system partitions
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
2019-05-02 11:04:46 +02:00
Christophe Priouzeau a0fa2e0648 BISON: remove unnecessary patch
A new patch is already present on thud branch which
correct the issue with usage bison on sdk:
nativesdk-bison: Add to nativesdk-packagegroup-sdk-host and set BISON_PKGDATADIR
SHA1 ID: 8aa27e4eb2f08281329ca1a1da421c6fc376bc8d

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
2019-03-13 11:04:22 +01:00
Christophe Priouzeau b848fd8712 Add Baremetal GCC gcc-arm-none-eabi-7
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
2019-02-05 11:22:32 +01:00
Christophe Priouzeau bcd8ef05fb SDCARD: script to create raw image with flashlayout help
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
2019-02-05 11:22:32 +01:00
Christophe Priouzeau 7e6e8d6eb6 openocd: support of stm32mp machine
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
2019-02-05 11:22:31 +01:00
Christophe Priouzeau 6c2e5c1d24 GDB: minimal configuration for stm32mp machine support 2019-02-05 11:22:31 +01:00
Christophe Priouzeau f3cc21b866 Bison: sdk: add configuration environment to work with kernel 2019-02-05 11:22:31 +01:00