Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build script to enable building on Podman #378

Open
wants to merge 485 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
485 commits
Select commit Hold shift + click to select a range
798ea32
platforms/nuttx/src/bootloader/microchip/mpfs/main.c: Disable USB int…
jlaitine Sep 8, 2022
42017fd
boards/xx/toc: Move the ToC to the beginning of the firmware image
pussuw Aug 4, 2022
f75c0bc
boards/fmu-v5/x: ToC is moved out from the firmware, to the beginning
pussuw Sep 12, 2022
0c76b08
usr_hrt: Remove hrt_store_absolute_time
pussuw Jun 28, 2022
98524a2
Disable internal magnetometer completely on fmu-v5x and fmu-v6x
jlaitine Sep 14, 2022
cc28e90
Fix crc32.h include paths for new NuttX
jlaitine Sep 14, 2022
258f383
boards/fmuv5/x: Fix multiple alignment issues
pussuw Sep 19, 2022
b255833
Disable PX4 post init configuration
maseabunikie Sep 20, 2022
170f51b
DP-3539 Secure boot up to Linux kernel
sthirvela Sep 20, 2022
787c8a5
Partially revert: 2875c258e365356ce66d6a37e995c03228e6ee5b
pussuw Sep 21, 2022
a6febaa
crypto_hal: Add support for second toc location (BACKPORT)
pussuw Sep 21, 2022
b202f60
nuttx/toc: Fix re-building of px4 with signed binary
pussuw Sep 22, 2022
1304f3a
Fix CONFIG_BUILD_PROTECTED after NuttX update
pussuw Sep 22, 2022
173930c
set PLATFORM_NAME to toolchains
jnippula Sep 22, 2022
5ffb81f
MicroXRCE-DDS-Client: rebase to upstream 2.2.1 version
jnippula Dec 12, 2022
c515fc4
microdds_client: receiver port support
jnippula Sep 26, 2022
e6ccf2e
microdds_client: create participant_by_ref
jnippula Dec 12, 2022
1293004
pixhawk5x: migrate to microxrce
jnippula Sep 1, 2022
3c9d436
px4-sitl: change microxrce port values
jnippula Dec 12, 2022
1b2c8d3
pwm_esc.cpp: Replace direct call to task_delete()
pussuw Sep 28, 2022
00e9230
platforms/nuttx/src/bootloader/microchip/mpfs/main.c: Rebase merge wi…
jlaitine Sep 28, 2022
e7ca2e1
Add saluki-v2 image to Tools/px_uploader.entrypoint
jlaitine Sep 28, 2022
29c9f81
Add boards/ssrc/saluki-v2 submodule
jlaitine Sep 28, 2022
6c8164a
Add saluki-v2 into CI build scripts
jlaitine Sep 28, 2022
1667527
Fix artifactory upload for saluki-v2 packages
jlaitine Sep 29, 2022
76bf653
Remove include <log.h> from defines.h
pussuw Sep 23, 2022
6d9ae3d
px4_work_queue: Fix work queue atomic sections for NuttX user space
pussuw Sep 13, 2022
6986185
Pixhawk5x: remove unused drivers to leave space for signature
jnippula Sep 30, 2022
4e4ea71
px4_platform_common/atomic.h: Use IRQ locks only when REALLY needed
pussuw Sep 29, 2022
f7154b9
build_saluki.sh: Add protected build for saluki-v1
pussuw Oct 4, 2022
b81eb79
Update github action for saluki-v1_protected
jnippula Oct 4, 2022
6efddf1
github action: enable artifactory push always
jnippula Oct 4, 2022
830b83c
build.sh: copy saluki-v1_protected image to dest folder
jnippula Oct 4, 2022
05fb8a2
Remove old fmu-v5/pixhawk4 jfrog upload
jnippula Oct 5, 2022
3472fbd
use separate jfrog upload folder for PR builds
jnippula Oct 5, 2022
d5a576a
cdc_acm_check: Remove it from KERNEL_SRCS
pussuw Oct 11, 2022
2ef17a0
boards/xx/toc: Make sure there is room for the firmware signature
pussuw Oct 21, 2022
4328a2b
config_hitl_eth.txt adjustment
jnippula Oct 27, 2022
59d3ee0
Remove HIL_STATE_QUATERNION handling from HITL case
jnippula Oct 13, 2022
e58b04c
ControlAllocator: cast NAN's to float
jnippula Oct 27, 2022
0009495
config_hitl_eth.txt: Add remote port
jnippula Oct 27, 2022
8ea26d2
Changed value of parameter MPC_TAKEOFF_RAMP_T to 0 in both outdoor an…
kordets Oct 24, 2022
6d6de68
SSRC uae artifactory configurations
ssrcdevops Nov 3, 2022
ba2a9f1
workflow name changed to tiiuae-pixhawk-uae-artifact-publish
ssrcdevops Nov 3, 2022
41fe33d
Create initial T-Motor M690B airframe by cloning the SSRC holybro X50…
jpirhone Apr 28, 2022
1857eef
Don't exit in case connection establishment fails
jnippula Nov 14, 2022
be7cdd7
ssrc_icicle bootloader: Small cleanup for sbi domain initialization
jlaitine Nov 16, 2022
a567f10
ssrc_icicle targets: Synchronize the icicle configurations with other…
jlaitine Nov 16, 2022
852600e
ssrc_icicle: Fix usb composite endpoint configuration for icicle board
jlaitine Nov 16, 2022
0f4ecee
Add MAV_x_REMOTE_IPn params
jnippula Nov 23, 2022
540fbb2
nuttx/Make.defs.in: Remove -T from linker script name
pussuw Nov 28, 2022
eb16eb4
stm32/bootloader: Fix prototype of bootloader_main
pussuw Nov 28, 2022
0fdb82f
platforms/nuttx: Add wrapper for queue.h
pussuw Nov 23, 2022
fc9080f
board_crashdump: Fix return value of __sdata_addr
pussuw Nov 23, 2022
b218820
lib/cdev: struct pollfd no longer has a member called *sem
pussuw Nov 23, 2022
4f1ca51
px4_init: Fix linker defined symbols after NuttX update
pussuw Nov 23, 2022
a6134f2
src/lib/cdev/posix/cdev_platform.cpp: change fds.sem -> fds.arg acc. …
jlaitine Dec 7, 2022
827e8b1
Fix usr_hrt to work also in CONFIG_BUILD_KERNEL
jlaitine Dec 5, 2022
9a130d6
[TO_UPSTREAM] control_allocator: Fix some implicit double<->float con…
jlaitine Dec 9, 2022
9b90ef5
Fix pwm_esc for the changed interfaces
jlaitine Dec 9, 2022
69da01d
dds_topics.h.em: Configure data_reader and _writer for ROS2 communica…
jnippula Dec 12, 2022
98e50e4
microdds_client: increase send/recv entity create timeouts
jnippula Dec 12, 2022
dd257b9
submodule update: saluki-v1
jnippula Dec 12, 2022
aa47167
airframes/4400_ssrc_fog_x: Add control allocator and PWM_MAIN parameters
jlaitine Dec 12, 2022
1351479
src/drivers/pwm_esc: Fix actuator_armed subscription and cleanups
jlaitine Dec 13, 2022
1f62ef8
Support CamelCase dds topic names
jnippula Dec 14, 2022
e48b362
dds topics use CamelCase
jnippula Dec 14, 2022
f7066d7
microdds_client: add ssrc specific topics
jnippula Dec 12, 2022
5ecaa4e
Submodule update: sitl_gazebo
jnippula Dec 14, 2022
3d06a40
add ssrc_fog_x sitl target
jnippula Dec 14, 2022
6b3cf05
Dockerfile.sitl: target directory names changed
jnippula Dec 14, 2022
88ec9ad
Simulator tcp server support, -s flag
jnippula Dec 14, 2022
06349ef
bootloader/microchip/mpfs/main.c: Fix POR reset
jlaitine Dec 15, 2022
8bf6f88
Submodule update: sitl_gazebo
jnippula Dec 15, 2022
cf4664b
Do not handle hil_state_quaternion
jnippula Dec 15, 2022
1a6d8fa
Simulator_mavlink: workaround for mavlink message bug
jnippula Dec 15, 2022
c3d785c
microdds_client: support publish rate control
jnippula Dec 16, 2022
6621f19
platforms/nuttx/src/px4/microchip/mpfs/version/board_mcu_version.c: S…
jlaitine Dec 19, 2022
33b809d
github actions modified for parallel build
jnippula Dec 16, 2022
378667f
Fix artifactory paths
jnippula Dec 19, 2022
0f7a354
Don't upload px4fwuploader to ssrc.fi
jnippula Dec 19, 2022
09d230e
Fix memory leaks from the usr_hrt driver
jlaitine Dec 19, 2022
8158f7e
fmu-v5x: Remove obsolete RTPS param check
jnippula Dec 20, 2022
0e6d581
sr/drivers/pwm_esc: Add support for stopping the driver
jlaitine Dec 13, 2022
06a7f50
Update saluki-v1 submodule for sensors orientation fix
jlaitine Dec 21, 2022
0aedf9f
sitl_gazebo submodule update: socket blocking fix for UDP
jnippula Dec 21, 2022
3804b29
px4_sitl: add PWM_OUT_SIM driver
jnippula Dec 21, 2022
fe293c4
SITL airframe for ssrc_fog_x fixed
jnippula Dec 21, 2022
5773f80
Update sitl_gazebo: hil_sensors zero-suppression fix
jnippula Dec 22, 2022
b7eb353
DP-4201 upload to artifactory cloud instance
TimoSairiala Dec 19, 2022
0bf8d77
Only one CPU is used in Saluki HardenedOS fix. Sel4 removed
sthirvela Jan 2, 2023
a1ad96e
saluki-v1 and saluki-v2 submodules updated
sthirvela Jan 2, 2023
1b23c0e
Merge pull request #289 from tiiuae/only_one_cpu_is_used_in_Saluki_ha…
sthirvela Jan 2, 2023
b6c57b1
Fix sensor_gps and gps_inject_data uxrce topic names
jnippula Jan 3, 2023
0dd0246
airframes/440x_ssrc_fog_x: Remove non-existing RPTS_MAV_CONFIG parame…
jlaitine Dec 21, 2022
1bea509
indoor config: Change deprecated params
jnippula Jan 4, 2023
1ad3e18
Fix print_load to be compatible with upstream NuttX
jlaitine Jan 3, 2023
1026022
px4_layer/protected build: Remove px4_mtd from user space px4 layer
pussuw Dec 7, 2022
5465dd0
px4_userspace_init: Initialize px4 logger for user space
pussuw Dec 7, 2022
c6fb9ad
nuttx/usr_hrt: Fix HRT_CANCEL
pussuw Jan 5, 2023
5f43007
nuttx/usr_hrt: Use atexit() instead of shutdown hook to kill user HRT
pussuw Jan 5, 2023
b4a2ab1
nuttx/usr_hrt: Fix the queue handling in the ioctl glue interface
pussuw Jan 10, 2023
0ef1f4b
board_ioctl: Remove dependency to lib/builtin.h
pussuw Sep 29, 2022
3f1acb4
launch_kmod: Strip path from the process name
pussuw Nov 23, 2022
3ebe333
drivers/pwm_esc: Move pwm_esc to user space
pussuw Dec 20, 2022
c1c859e
Add OpenAMP libraries into builds
jpaali Sep 16, 2022
c45869c
Start rptun on boot up if device exists
jpaali Sep 16, 2022
929a2d6
Enable NET_RPMSG and update submodules
jpaali Sep 28, 2022
3c67dc0
Add unzip to Docker build env
jpaali Jan 9, 2023
e9ec4e1
platforms/nuttx/CMakeLists.txt: Clean up
jpaali Jan 9, 2023
71e592f
nuttx/protected_build: Fix protected build linkage
pussuw Jan 12, 2023
d63439a
hrt_ioctl: Fix compiler warning about alignment requirement
pussuw Jan 12, 2023
b6c589d
esc_calibration: Publish actuator_test with large enough queue size
jlaitine Jan 13, 2023
a3321cd
DroneCAN SocketCAN driver add FMU support
PetervdPerk-NXP Dec 13, 2022
d3a27c1
Remove px4_fmu_v5 from flashing target list
jnippula Jan 17, 2023
bde26f8
Merge pull request #308 from tiiuae/upstream_UAVCAN_fix
haitomatic Jan 17, 2023
9835a8e
Update nuttx submodule for posix shm support
jlaitine Jan 18, 2023
30da0c0
Update saluki-v1 and saluki-v2 for SHMFS enablement
jlaitine Jan 18, 2023
6c6a915
Add SHMFS support for fmu-v5(x) default&ssrc targets
jlaitine Jan 18, 2023
bcf88eb
DP-4485: Git commit info is printed out in the bootloader
sthirvela Jan 19, 2023
57be24c
Bootloader version information print changed
sthirvela Jan 20, 2023
0a5dd63
Merge pull request #313 from tiiuae/DP-4485-saluki-bootloader-does-no…
sthirvela Jan 20, 2023
ee43038
Udpate NuttX to support dynamic SBI/direct boot selection for mpfs
jlaitine Jan 18, 2023
ece3f8d
platforms/nuttx/src/bootloader/microchip/mpfs/main.c: Support PX4 SBI…
jlaitine Jan 20, 2023
066448a
boards/ssrc/icicle: Add INFO_BIT_USE_SBI into TOC to support boot via…
jlaitine Jan 20, 2023
10a06f7
boards/ssrc/icicle: Always configure SBI PX4 domain in bootloader
jlaitine Jan 20, 2023
0326d30
Update saluki-v1 submodule to support boot via SBI in kernel build
jlaitine Jan 18, 2023
6353ef8
platforms/nuttx/src/bootloader/microchip/mpfs/main.c: Change stay in …
jlaitine Jan 20, 2023
798dcda
platforms/nuttx/src/bootloader/microchip/mpfs/main.c: Reload image af…
jlaitine Jan 20, 2023
213a376
Add tiiuae fork of sitl_gazebo to .gitmodules
jlaitine Jan 20, 2023
3f6f1d9
Update SITL: fix default iris and tcp server connection
jnippula Jan 23, 2023
440e015
boards/px4/fmu-v5x/ssrc.px4board: Remove CONFIG_COMMON_OSD to save space
jlaitine Jan 23, 2023
dbe8827
boards/px4/fmu-v5x/nuttx-config/ssrc/defconfig: Sync with upstream nuttx
jlaitine Jan 23, 2023
04e8872
Sync params from master branch
jnippula Jan 17, 2023
cd6ce0c
Changed filter config to work with saluki single soc x500 frame
kordets Dec 28, 2022
0aed9d9
Fixed parameter name IMU_GYRO_NF0_FRQ
kordets Jan 10, 2023
67c3837
Purge internal project names from boards/ssrc/icicle
jlaitine Jan 24, 2023
6d2bcdd
Update saluki-v1 and saluki-v2 submodules
jlaitine Jan 24, 2023
db20b10
boards/px4/fmu-v5x/nuttx-config/ssrc/defconfig: Disable some unnecess…
jlaitine Jan 30, 2023
fb07434
Set logger buffer to 8k for fmu-v5x
jlaitine Jan 25, 2023
4b235fc
boards/px4/fmu-v5x/nuttx-config/ssrc/defconfig: Fix defconfig for ssr…
jlaitine Jan 25, 2023
d0a7ab3
Increase SPI wq stack sizes
jlaitine Jan 27, 2023
f8e55c2
src/modules/logger/log_writer_file.cpp: Increase log_writer_file stack
jlaitine Jan 27, 2023
ff436d4
Update NuttX to solve i2c/EEPROM/barometer failures
jlaitine Jan 27, 2023
d91d439
uORB: Define subscription base class destructors as virtual
jlaitine May 2, 2022
99af098
platforms/common/uORB/uORB.h: Add definition for orb_sub_t and handle…
jlaitine Apr 22, 2022
738d370
change subscriber id:s from int to orb_sub_t
jlaitine Apr 19, 2022
57853fa
Change orb_sub_t into pointer type
jlaitine Apr 25, 2022
6891852
src/drivers/roboclaw: Change poll into px4_poll
jlaitine Apr 22, 2022
391b263
src/systemcmds/topic_listener: Change topic listener to poll only on …
jlaitine Apr 22, 2022
65df9b6
cdev: remove poll interface
jlaitine Apr 22, 2022
0ee351b
Change orb_publish interface and intialization of advertiser handles
jlaitine Apr 27, 2022
1f734f4
platforms/common/work_queue/hrt_thread.c: Use sigaction instead of si…
jlaitine Aug 11, 2022
b2be6a9
platforms/common/uORB/SubscriptionBlocking.hpp: Fix CLOCK_REALTIME ->…
jlaitine Nov 26, 2022
2f2a6a5
Re-write uORB around posix shm
jlaitine Apr 4, 2022
8139f4f
platforms/common/CMakeLists.txt: Link uorb_msgs to px4_platform
jlaitine Jan 3, 2023
aabe0c8
uORB/mmap: Wrap mmap behind px4_mmap/unmap
pussuw Dec 7, 2022
c9fef34
uORB/uORBManager: Use adjusted stack size for orb_callback
pussuw Dec 20, 2022
67dccca
uORB/uORBManager: Add simple "is client alive"-test to manager
pussuw Jan 17, 2023
b490068
boards/px4/fmu-v5x/ssrc.px4board: Remove i2c_detect to save space
jlaitine Jan 20, 2023
7485119
microdds_client: cleanup pub&sub instances after connection lost
jnippula Feb 1, 2023
fd2a69b
Update NuttX submodule
jpaali Feb 3, 2023
71f45d7
src/drivers/uavcan: CAN drone flight test fixes
haitomatic Jan 30, 2023
0e41669
src/drivers/uavcan: Use UAVCAN_ENABLE param for correct uavcan dynami…
haitomatic Feb 1, 2023
b310663
src/drivers/uavcan: Use better esc rate limit param name
haitomatic Feb 1, 2023
3dccf30
src/drivers/uavcan: fix variable typo
haitomatic Feb 2, 2023
8a202c5
src/drivers/uavcan: Restore original default value for some UAVCAN pa…
haitomatic Feb 2, 2023
a000eff
src/drivers/uavcan: Remove usleep throttle in Run; use SupsctionInter…
haitomatic Feb 3, 2023
f026f39
Update status leds every time when prearm check status changes
jlaitine Feb 6, 2023
53b3fba
src/drivers/pwm_esc.cpp: Periodically check parameters when not yet c…
jlaitine Feb 7, 2023
4e80834
src/drivers/pwm_esc/Kconfig: Put pwm_esc in kernel side by default to…
jlaitine Feb 7, 2023
580fa06
update Saluki-v2 submodule
sthirvela Feb 7, 2023
f029542
platforms/nuttx/src/px4/common/hrt_ioctl.c: Remove PX4_ERR in case ca…
jlaitine Feb 6, 2023
5665d2f
Fix HRT for protected/kernel builds
jlaitine Feb 7, 2023
95ce62a
Set IPv4 address for RPMSG network interface
jpaali Dec 20, 2022
a976014
Enable saluki-v2_protected build
jnippula Feb 8, 2023
199cd5a
Update saluki-v1 submodule for protected build USRIO mappings
jlaitine Feb 9, 2023
f5ead9b
Update NuttX for mapping MTIME for user space in protected build
jlaitine Feb 9, 2023
274a1f9
platfomrs/nuttx/src/px4/microchip/mpfs/hrt/hrt.c: Use MTIME for hrt_a…
jlaitine Feb 9, 2023
2626915
mpfs: Use MTIME directly as hrt_absolute_time in protected builds use…
jlaitine Feb 9, 2023
109b9db
Update sitl_gazebo: migrate to humble
jnippula Feb 10, 2023
8d6c345
migrate to humble
jnippula Jan 2, 2023
498efcc
usr_hrt: Obtain location of MTIME via syscall
pussuw Feb 16, 2023
0a10c1c
Update NuttX to add MPFS Athena crypto block driver
jlaitine Feb 14, 2023
3fd57dd
crypto_algorithms.h: Add helper macros to get size of signature creat…
jlaitine Feb 16, 2023
fba1664
Add enumerations for CRYPTO_ECDSA_P256 and CRYPTO_RSA_SIG signing alg…
jlaitine Feb 17, 2023
ac2eb14
Change src/drivers/pfsoc_crypto into submodule
jlaitine Feb 17, 2023
01893c4
enable manual run for saluki targets
jnippula Feb 17, 2023
30d4459
ssrc_fog_x: Change BAT_V_EMPTY -> BAT1_V_EMPTY and define BAT2 parame…
jlaitine Feb 13, 2023
885f548
Update NuttX to add MPFS Athena crypto block driver
jlaitine Feb 14, 2023
b3928c9
platforms/nuttx/src/bootloader/microchip/mpfs/main.c: Small compilati…
jlaitine Feb 22, 2023
fabeb78
Update pfsoc_crypto submodule to support signature verification with …
jlaitine Feb 22, 2023
ff0e634
Update saluki-v1 and saluki-v2 submodules
jlaitine Feb 22, 2023
33068f6
Add PF athena crypto driver to CI workflows
jlaitine Feb 23, 2023
7bf9138
Add github acion for builder image creation and push
jnippula Feb 24, 2023
775d207
github action builder base image
jnippula Feb 24, 2023
8c461fd
Updated saluki-v1 submodule to include sim pwm out fix
kordets Mar 1, 2023
4a3453c
airframe 4400 & 4401: define HIL_ACT_FUNCx params
jnippula Mar 2, 2023
ac9227d
Add pf_crypto submodule
jnippula Mar 6, 2023
7d220fc
update nuttx: use pf_crypto submodule
jnippula Mar 6, 2023
f7c087e
Update NuttX submodule: OpenAMP update
jpaali Mar 9, 2023
abbf657
update nuttx: workaround for Eth getting stuck
jnippula Mar 13, 2023
b43dbd0
Update pf_crypto submodule to support RSA
jlaitine Mar 9, 2023
8674973
Update pfsoc_crypto submodule to support signature verification with …
jlaitine Feb 22, 2023
bd1731c
Add pfsoc_keystore submodule
jlaitine Mar 14, 2023
34b8132
Update NuttX to include building of mpfs_systemservice.c
jlaitine Mar 16, 2023
f34228a
Add crypto_deinit function for crypto_backend module
jlaitine Mar 20, 2023
a2abbe8
src/drivers/sw_crypto: Correct RSA lengths in the example sw crypto b…
jlaitine Mar 20, 2023
1cd2e8e
Update boards/ssrc/saluki-v1 and saluki-v2 subprojects
jlaitine Mar 20, 2023
4469436
Link the px4_secure_random always, but fail with returning 0 if rng d…
jlaitine Mar 20, 2023
9d0e181
Change the ed25519 key format into PEM, verification key into DER and…
jlaitine Mar 21, 2023
b603388
Update pfsoc_crypto to handle ed25519 der format signature verificati…
jlaitine Mar 21, 2023
b1ddb4a
Harmonize keystore contents
jlaitine Mar 21, 2023
a2515b4
Update src/drivers/pfsoc_crypto submodule
jlaitine Mar 23, 2023
6ca3301
Update src/drivers/pfsoc_keystore submodule
jlaitine Mar 23, 2023
fac3413
crypto: Add keystore_deinit interface function
jlaitine Mar 23, 2023
704141a
Update saluki-v1 submodule
jlaitine Mar 23, 2023
473b3ef
Update saluki-v2 submodule
jlaitine Mar 23, 2023
7150d06
Small fix for cryptotools.py; dump the public key in correct format
jlaitine Mar 23, 2023
abecf97
Update saluki-v1 submodule
jlaitine Mar 23, 2023
907b72f
Remove RDCT from fmu-v5x TOC
jlaitine Mar 27, 2023
f50bbe4
Update pfsoc_keystore submodule
jlaitine Mar 28, 2023
bca8650
rpnet: update IP network
maseabunikie Mar 2, 2023
4a4fb28
mavlink init needs to use the same IP as rpnet interface
maseabunikie Mar 28, 2023
c7343bf
Sync icicle configuration with other mpfs targets to make it compile …
jlaitine Mar 30, 2023
cc82303
modules/microdds_client: Put microdds client to user space
pussuw Mar 14, 2023
263fb9a
nuttx/CMakeLists: Add linker script selector
pussuw Sep 28, 2022
3f4086b
nuttx/build: nxsched_get_streams no longer exists in NuttX
pussuw Jan 4, 2023
2d92922
Update submodules for saluki-v1/v2
pussuw Mar 29, 2023
c1435ca
px_uploader.py: Increase maximum timeout value for crc32 calculation
jlaitine Mar 30, 2023
9a6dfd8
Update saluki-v1 and saluki-v2 submodules
jlaitine Mar 30, 2023
a2e4397
microdds_client starts after rpnet is up
jnippula Mar 29, 2023
5c9081a
update saluki-v1: microdds_client start after rpnet
jnippula Mar 31, 2023
1d54b4c
Update sitl_gazebo: dont send groundtruth messages
jnippula Mar 21, 2023
94f3c32
Disabled internal magnetometer in configuration, enabled loading inte…
kordets Mar 31, 2023
851c539
Re-insert SDLOG_EXCH_KEY 2 + SDLOG_KEY 3
kordets Mar 31, 2023
dac0719
Udpate NuttX for mpfs_read_dsn
jlaitine Apr 3, 2023
2360515
Update saluki-v1 and saluki-v2 submodules
jlaitine Apr 3, 2023
774daa5
Update pfsoc_crypto and pfsoc_keystore submodules
jlaitine Apr 3, 2023
6364e72
platforms/nuttx/src/px4/microchip/mpfs/version: Use s/n read function…
jlaitine Apr 3, 2023
e17b7ec
Enable 10 channels for pwm_esc
jlaitine Apr 3, 2023
26497e9
Add a simple netconfig module to configure ethernet IP's for ssrc dev…
jlaitine Apr 4, 2023
5d2f35a
Push sitl builds to new cloud artifactory
jnippula Apr 3, 2023
852c239
Update saluki-v1 and saluki-v2 for new PX4 IP configuration
jlaitine Apr 5, 2023
912f78f
Fix sitl cloud artifactory push paths
jnippula Apr 5, 2023
9050f6c
DP-5317 use reusable workflow for building
TimoSairiala Apr 5, 2023
a6e26e9
DP-5483 test px4 on sitl
TimoSairiala Apr 6, 2023
ced3e20
Fix motor spinning on reboot
jpaali Apr 6, 2023
c3c39f9
Podman needs 'userns' arg to map the bind mount
JoonasOnatsu Apr 9, 2023
ac118e2
Add missing empty string echo
JoonasOnatsu Apr 9, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
34 changes: 0 additions & 34 deletions .github/workflows/cflite_batch.yml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/tiiuae-builder-images.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: tiiuae-builder-images

on:
# Run only manually
workflow_dispatch:

jobs:
hw-builder-image:
name: create docker builder base image
runs-on: ubuntu-latest
steps:
- name: Checkout px4-firmware
uses: actions/checkout@v3
with:
path: px4-firmware
fetch-depth: 0
- name: Docker meta
id: meta
uses: docker/metadata-action@v3
with:
images: ghcr.io/tiiuae/px4-firmware-builder-base
tags: |
type=raw,value=latest
type=sha
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build builder base image and push
uses: docker/build-push-action@v3
with:
context: .
file: ./px4-firmware/packaging/Dockerfile.build_env_pre
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
41 changes: 41 additions & 0 deletions .github/workflows/tiiuae-pixhawk-and-saluki-builder.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
on:
workflow_call:
inputs:
product:
required: true
type: string
enabled:
required: false
type: boolean
default: true
secrets:
GH_REPO_TOKEN:
required: false
jobs:
build:
runs-on: ubuntu-latest
if: ${{ inputs.enabled }}
steps:
- name: Checkout px4-firmware
uses: actions/checkout@v3
with:
token: ${{ secrets.GH_REPO_TOKEN }}
# if we clone_public, then do not clone submodules, otherwise 'recursive'
submodules: ${{ inputs.clone_public == true && 'false' || 'recursive' }}
path: px4-firmware
fetch-depth: 0
- name: Run px4-firmware ${{ inputs.product }} build
run: |
set -eux
mkdir -p bin
cd px4-firmware/
# run clone_public.sh if clone_public flag is provided
./clone_public.sh
./build.sh ../bin/ ${{ inputs.product }}
ls ../bin
- name: Upload ${{ inputs.product }}
uses: actions/upload-artifact@v3
with:
name: pixhawk
path: bin/
retention-days: 1
281 changes: 281 additions & 0 deletions .github/workflows/tiiuae-pixhawk-and-saluki.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,281 @@
name: tiiuae-pixhawk-and-saluki

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
fc_matrix:
strategy:
matrix:
product: [pixhawk, saluki-v1_default, saluki-v1_bootloader, saluki-v1_amp, saluki-v1_protected, saluki-v2_default, saluki-v2_bootloader, saluki-v2_amp, saluki-v2_protected]
uses: ./.github/workflows/tiiuae-pixhawk-and-saluki-builder.yaml
with:
product: ${{ matrix.product }}
# old workflow had condition to run only if PR is done to current repo (or triggered with other event)
enabled: ${{ github.event.pull_request.head.repo.full_name == github.repository || github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
secrets: inherit

px4fwupdater:
name: build px4fwupdater
runs-on: ubuntu-latest
needs:
- fc_matrix
steps:
- name: Checkout px4-firmware
uses: actions/checkout@v3
with:
path: px4-firmware
fetch-depth: 0
- name: Download pixhawk artifacts
uses: actions/download-artifact@v3
with:
name: pixhawk
path: bin
- name: Run px4-firmware px4fwupdater build
run: |
set -eux
mkdir -p bin
cd px4-firmware/
./clone_public.sh
./build.sh ../bin/ px4fwupdater
ls ../bin
- name: Upload px4fwupdater to tmp storage
uses: actions/upload-artifact@v3
with:
name: pixhawk
path: bin/
retention-days: 1

upload-px4fwupdater:
name: upload px4fwupdater to docker registry
runs-on: ubuntu-latest
needs:
- px4fwupdater
if: true
steps:
- name: Checkout px4-firmware
uses: actions/checkout@v3
with:
path: px4-firmware
fetch-depth: 0
- name: Download pixhawk artifacts
uses: actions/download-artifact@v3
with:
name: pixhawk
path: bin
- name: Firmware flasher - Container metadata
id: containermeta # referenced from later step
uses: docker/metadata-action@v4
with:
images: ghcr.io/tiiuae/px4-firmware
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=sha
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Firmware flasher - Build and push
uses: docker/build-push-action@v3
with:
push: true
context: .
file: px4-firmware/Tools/px_uploader.Dockerfile
tags: ${{ steps.containermeta.outputs.tags }}
labels: ${{ steps.containermeta.outputs.labels }}

upload-px4fwupdater-uae:
name: upload px4fwupdater to UAE docker registry
runs-on: ubuntu-latest
needs:
- px4fwupdater
steps:
- name: Checkout px4-firmware
uses: actions/checkout@v3
with:
path: px4-firmware
fetch-depth: 0
- name: Download pixhawk artifacts
uses: actions/download-artifact@v3
with:
name: pixhawk
path: bin
- name: Firmware flasher - Container metadata
id: containermeta # referenced from later step
uses: docker/metadata-action@v4
with:
images: artifactory.ssrcdevops.tii.ae/tiiuae/px4-firmware
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=sha
- name: Login to SSRC JFrog Container Registry
uses: docker/login-action@v2
with:
registry: artifactory.ssrcdevops.tii.ae
username: ${{ secrets.UAE_RT_USER }}
password: ${{ secrets.UAE_RT_APIKEY }}
- name: Firmware flasher - Build and push
uses: docker/build-push-action@v3
with:
push: true
context: .
file: px4-firmware/Tools/px_uploader.Dockerfile
tags: ${{ steps.containermeta.outputs.tags }}
labels: ${{ steps.containermeta.outputs.labels }}

artifactory:
name: upload builds to artifactory
runs-on: ubuntu-latest
needs:
- px4fwupdater
- fc_matrix
if: true
steps:
- name: Download pixhawk artifacts
uses: actions/download-artifact@v3
with:
name: pixhawk
path: bin
- uses: jfrog/setup-jfrog-cli@v3
env:
JF_ENV_1: ${{ secrets.ARTIFACTORY_CLOUD_TOKEN }}
- name: Upload px4-firmware build to Artifactory
env:
ARTIFACTORY_GEN_REPO: ssrc-gen-public-local
BUILD_NAME_PX4: px4-firmware
CI: true
run: |
set -exu

pr_or_empty=""
if [ ${{ github.event_name }} == 'pull_request' ]; then
pr_or_empty="pr/"
fi

for pkg in $(find bin -type f); do

file_name=$(basename $pkg)
ext="${file_name##*.}"
target_path=""
pkg_name=$(echo $file_name | sed -r -e 's/-[0-9]+\.[0-9]+\.[0-9]+-.*//g')

if [[ $file_name = px4_fmu* ]]; then
target_path="pixhawk"
elif [[ $file_name = ssrc_saluki* ]]; then
target_path="saluki"
else
echo "$pkg ignored"
continue
fi

jfrog rt u --target-props COMMIT="$GITHUB_SHA" \
--build-name "$BUILD_NAME_PX4" \
--build-number "$GITHUB_SHA" \
"$pkg" \
"$ARTIFACTORY_GEN_REPO/builds/px4-firmware/${target_path}/${pr_or_empty}$file_name"

jfrog rt cp --flat \
"$ARTIFACTORY_GEN_REPO/builds/px4-firmware/${target_path}/${pr_or_empty}$file_name" \
"$ARTIFACTORY_GEN_REPO/builds/px4-firmware/${target_path}/${pr_or_empty}latest/${pkg_name}.${ext}"
done

jfrog rt build-publish "$BUILD_NAME_PX4" "$GITHUB_SHA"
jfrog rt bpr "$BUILD_NAME_PX4" "$GITHUB_SHA" "$ARTIFACTORY_GEN_REPO" \
--status dev \
--comment "development build"


artifactory-uae:
name: upload builds to UAE artifactory
runs-on: ubuntu-latest
needs:
- px4fwupdater
- fc_matrix
if: true
steps:
- name: Download pixhawk artifacts
uses: actions/download-artifact@v3
with:
name: pixhawk
path: bin
- uses: jfrog/setup-jfrog-cli@v3
env:
JF_ENV_1: ${{ secrets.UAE_ARTIFACTORY_TOKEN }}
- name: Upload px4-firmware build to Artifactory
env:
ARTIFACTORY_GEN_REPO: gen-public-local
BUILD_NAME_PX4: px4-firmware
CI: true
run: |
set -exu

pr_or_empty=""
if [ ${{ github.event_name }} == 'pull_request' ]; then
pr_or_empty="pr/"
fi

for pkg in $(find bin -type f); do

file_name=$(basename $pkg)
ext="${file_name##*.}"
target_path=""
pkg_name=$(echo $file_name | sed -r -e 's/-[0-9]+\.[0-9]+\.[0-9]+-.*//g')

if [[ $file_name = px4_fmu* ]]; then
target_path="pixhawk"
elif [[ $file_name = ssrc_saluki* ]]; then
target_path="saluki"
else
echo "$pkg ignored"
continue
fi

jfrog rt u --target-props COMMIT="$GITHUB_SHA" \
--build-name "$BUILD_NAME_PX4" \
--build-number "$GITHUB_SHA" \
"$pkg" \
"$ARTIFACTORY_GEN_REPO/builds/px4-firmware/${target_path}/${pr_or_empty}$file_name"

jfrog rt cp --flat \
"$ARTIFACTORY_GEN_REPO/builds/px4-firmware/${target_path}/${pr_or_empty}$file_name" \
"$ARTIFACTORY_GEN_REPO/builds/px4-firmware/${target_path}/${pr_or_empty}latest/${pkg_name}.${ext}"
done

jfrog rt build-publish "$BUILD_NAME_PX4" "$GITHUB_SHA"
jfrog rt bpr "$BUILD_NAME_PX4" "$GITHUB_SHA" "$ARTIFACTORY_GEN_REPO" \
--status dev \
--comment "development build"

- name: Upload px4-fwupdater build to Artifactory
env:
ARTIFACTORY_DEB_REPO: debian-public-local
DISTRIBUTION: focal
COMPONENT: fog-sw
ARCHITECTURE: amd64
BUILD_NAME_DEB: px4-fwupdater
CI: true
run: |
set -exu
pkg=$(find bin -name 'px4fwupdater*.deb')
pkg_name=$(basename $pkg)
jfrog rt u --deb "$DISTRIBUTION/$COMPONENT/$ARCHITECTURE" \
--target-props COMMIT="$GITHUB_SHA" \
--build-name "$BUILD_NAME_DEB" \
--build-number "$GITHUB_SHA" \
"$pkg" \
"$ARTIFACTORY_DEB_REPO/$pkg_name"
jfrog rt build-publish "$BUILD_NAME_DEB" "$GITHUB_SHA"
jfrog rt bpr "$BUILD_NAME_DEB" "$GITHUB_SHA" "$ARTIFACTORY_DEB_REPO" \
--status dev \
--comment "development build"
Loading