Commit Graph

316 Commits

Author SHA1 Message Date
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
5245abf2c7 MACHINE: rework INITRD configuration
Change-Id: Id5028c42d5add160982b4657b6e486e4510a0f45
Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
2021-11-16 17:56:04 +01:00
197f0c1a3c MACHINE: implement boot from NOR memory device
Change-Id: Ia00f81068e90654f4e13db6524f804c15d18941b
Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
2021-11-16 17:56:04 +01:00
e729aee437 CONF: enable kernel config file deploy
Change-Id: Ife1bc682b42d8669a8ce8f275a41a9c4a690de0b
Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
2021-11-16 17:56:04 +01:00
46b422655b CONF: put DEBUG and trace under flags
Global flags: ST_DEBUG_TRACE
if ST_DEBUG_TRACE = 1, the debug and trace are activated on all
boot stage
Specific boot stage debug and trace flags:
ST_CMD_LINE_DEBUG_TRACE: addons for remove trace on kernel
ST_UBOOT_DEBUG_TRACE: activate/deactivate silent mode on u-boot
ST_TF_A_DEBUG_TRACE: activate/deactivate trace and debug on TF-A
ST_OPTEE_DEBUG_TRACE: activate/deactivate trace and debug on optee

Change-Id: I09a0c528fcef18f466f0e2b7b46715e2e43c8cf8
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2021-11-16 17:56:04 +01:00
4dfdc829f8 CONF: rename stm32mp1-disco and stm32mp1-eval
Change-Id: I4ef52513c4e9ff1359750b25f6495405f75fe715
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2021-11-16 17:56:04 +01:00
ce51b2def2 CONF: update OpenSTLinux compatibility
Change-Id: I7076b7082ba1dfb721eaee3e9bcf1a91dd4cde74
2021-11-16 17:56:04 +01:00
fef27aed02 ARCHIVER: Update for fip build and release information
Change-Id: I8ddd8c61ff7488ce40f87a160f603de32425386a
2021-11-16 17:56:04 +01:00
cc43f8cd6e st-image-partitions.inc: Avoid noisy warning for empty partitions
Partitions like vendorfs can be in many cases empty due to not deploying
package targeting that specific partition - see
gcnano-userland-multi-binary-stm32mp as an example. Having a warning for
use-cases that are both common but also valid, would just result in
build noise. This change switches to build notes for flagging an empty
partition.

Change-Id: Iade087b9171dabfaebd498aa13672d2e2f497349
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
2021-11-16 17:56:04 +01:00
911fedb819 WIC: add uuid for sdcard
Change-Id: Idd45614c75e9001520fe289ffb709ef39d5dcac5
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2021-11-16 17:56:04 +01:00
816fd629ab FIT: fit syntax have changed
With Yocto 3.1.9,
Syntax have changed for fit management,
usage of '-' instead of '@'

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2021-07-21 11:04:43 +02:00
4bf96d789e wic: use part-name fip for fip (instead of ssbl)
Use fip as part-name for fip otherwise tf-a is unable to find the fip
partition:

ERROR:   Could NOT find the fip partition!
ERROR:   BL2: Failure in pre image load handling (-2)

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-07-06 09:26:19 +02:00
b25a2b0daa CONF: remove duplicate setting
Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
2021-05-26 12:32:05 +02:00
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
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
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
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
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
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
07229c80ca SDK: fix issue in PERL module for SDK 2021-04-19 10:59:20 +02:00
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
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
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
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
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
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
302d750d20 LINUX-STM32MP: update to v5.10-stm32mp-r1
Change-Id: I83bff180c4b5b8717d3735da1d0c51427f1a5908
2021-03-26 16:55:54 +01:00
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
ee3b4ddd69 U-BOOT-STM32MP: update to v2020.10-stm32mp-r1
Change-Id: I0daab68bd2d82f12b3ed0bcb99dcf683d95ffdc6
2021-03-26 16:55:54 +01:00
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
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
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
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
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
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
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
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
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
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
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
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
7d21671b77 ALSA: update stm32mp15x cards configuration files
Change-Id: Ib6c50ea6d9f1b14c0b7e79d013665dae4b8c2f52
2021-03-26 10:37:20 +01:00
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
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
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
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
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
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
955b1d9a5f M4PROJECTS: Update to v1.3.0
Change-Id: Iebd0edc92d4d8917cf1c5098a45304a43ee699c1
2020-11-05 15:46:36 +01:00
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