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

build(deps): bump actions/checkout from 3 to 4 #156

Open
wants to merge 79 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
c6ad5be
boards/riscv/mpfs/icicle/configs/standalone: Add a standalone target
jlaitine Nov 22, 2021
ffd0ae5
Fix the check workflow for tiiuae repo
jlaitine Nov 24, 2021
477df1a
arch/risc-v/src/opensbi/Make.defs: Switch opensbi to the nuttx/size o…
jlaitine Jul 21, 2022
c9f3f90
[REVERTME] arch/risc-v/src/mpfs/mpfs_ethernet.c: Hack the ethernet dr…
jlaitine Aug 17, 2022
902c21a
[HACK] Set SD-card speed to 50MHz
jlaitine Sep 14, 2022
c03e56b
opensbi: Take SBI version that removes console into use
pussuw Sep 20, 2022
f10e650
Fix standalone defconfig for CI
jlaitine Sep 28, 2022
adfe82a
arch/risc-v/src/mpfs/mpfs_clockconfig.c: Flag out code only used in b…
jlaitine Sep 28, 2022
dd3fe0b
arch/risc-v/src/mpfs: Add mpfs canfd socket can driver
haitomatic May 26, 2022
b4414cb
boards/risc-v/mpfs/icicle: add new target for testing mpfs canfd driver
haitomatic Jun 15, 2022
75cbc77
mpfs/emmcsd: Set same base clock for SDR/DDR modes
pussuw Nov 30, 2022
a4e0296
mpfs/emmcsd: [HACK] Set 8-bit data width and DDR HS mode for eMMC
pussuw Nov 30, 2022
5158a1a
mpfs/emmcsd: Fix build issue with 8-bit HS mode
pussuw Nov 30, 2022
51991d6
Fix build.yml
jpaali Dec 12, 2022
95b4d63
risc-v/mpfs: ihc: Make IHC HSS workaround configurable
jpaali Sep 9, 2022
526ae42
drivers/net/rpmsgdrv.c: Take netdev_register() return value into account
jpaali Sep 27, 2022
3ce90e5
drivers/net/rpmsgdrv.c: Support only TRANSFER commands
jpaali Dec 13, 2022
5da097c
arch/risc-v/src/mpfs/mpfs_ihc.c: Increase RPMSG buffer size
jpaali Nov 30, 2022
8c5745b
mpfs_ihc: Make Vring addresses configurable
jpaali Dec 2, 2022
fcb4f6f
arch/risc-v/src/mpfs/mpfs_fpga_canfd.c: Fix CONFIG_DEBUG_CAN_INFO ifd…
jlaitine Jan 19, 2023
e66ee29
boards/risc-v/mpfs/icicle/configs/canfd/defconfig: Normalize
jlaitine Jan 19, 2023
d5b4484
remove devif_loopback in canfd driver since it is now devif_poll func…
haitomatic Jan 19, 2023
a9855a5
arch/risc-v/src/mpfs/mpfs_ihc.c: Minor fixes
jpaali Jan 27, 2023
9200709
Remove MPFS_IHC_LINUX_ON_HART4 from default configurations
jpaali Jan 27, 2023
da7fcae
arch/arm/src/stm32f7/stm32_ethernet.c: Fix "unused variable" warning
jlaitine Feb 3, 2023
62d55b7
arch/risc-v/src/mpfs/mpfs_userspace.c: Map MTIME into userspace reser…
jlaitine Feb 9, 2023
26f28ec
boards/risc-v/mpfs/icicle: Add USRIO area for userspace IO mappings
jlaitine Feb 10, 2023
765313f
Add mpfs crypto driver into nuttx build
jlaitine Feb 13, 2023
7661ca1
mpfs/Kconfig: fix typo on config file
pussuw Feb 14, 2023
a8c0f1e
mpfs/mpfs_mm_init: Add the MTIME user mapping for kernel mode as well
pussuw Feb 14, 2023
669e6e2
arch/risc-v/src/mpfs/Kconfig: Don't source crypto/Kconfig
jlaitine Feb 23, 2023
9c96ac4
DP-4881: The latest NuttX OpenAMP version does not work with Saluki H…
sthirvela Feb 22, 2023
1fa7923
arch/risc-v/src/mpfs: symlink pf_crypto submodule
jnippula Mar 6, 2023
ccfeb55
arch/riscv/src/mpfs/mpfs_ethernet.c: discard err rxframe in int work
jnippula Mar 9, 2023
080730a
arch/risc-v/src/mpfs/crypto.defs: Update to include mpfs_systemservice.c
jlaitine Mar 16, 2023
17c79ab
arch/risc-v/src/mpfs: Generate an unique locally administrated MAC ad…
jlaitine Apr 3, 2023
f7c0a2d
emmc interrupt blackout issue fix
jnippula Apr 14, 2023
9e10f64
mpfs/mpfs_userspace: Increase user space size to 8MB
pussuw Apr 18, 2023
dd0851b
test: bootloader: apply ihc flow control
eenurkka Apr 3, 2023
0855101
risc-v/mpfs: apply ihc software flow control
eenurkka Mar 29, 2023
69a3ed7
risc-v/mpfs: ihc: use work queue instead of thread
eenurkka Apr 17, 2023
9049acb
canfd: fix hw filter
haitomatic Apr 27, 2023
4b40846
risc-v/mpfs: serial: add fpga uarts
eenurkka May 9, 2023
e278e43
Add CONFIG_MPFS_SPI flag to define using SOC hard-ip SPI block
jlaitine May 12, 2023
a4c60b8
arch/risc-v/src/mpfs: Remove CONFIG_MPFS_COREPWMx_PWMCLK configs
jlaitine May 12, 2023
64351a1
risc-v/mpfs: serial: fix uart closing
eenurkka May 12, 2023
6afcf21
Change MPFS_FPGA_UARTx_BASE addresses to 4k aligned as per new FPGA i…
jlaitine May 15, 2023
f5b0d4b
[REVERTME] arch/risc-v/src/mpfs/mpfs_corespi.c: Hack around a bug in …
jlaitine May 17, 2023
e67f54a
Add support for 2xCAN
haitomatic May 10, 2023
b9fa478
canfd : add missing configs for 2xCAN support
haitomatic May 16, 2023
f83649c
canfd : use board peripheral clock
haitomatic May 16, 2023
71c4864
canfd : normalize defconfig
haitomatic May 17, 2023
6429084
arch/risc-v/src/mpfs/mpfs_timerisr.c: Partially revert common mtime d…
jlaitine May 19, 2023
f34ce01
arch/risc-v/src/mpfs: Make mpfs_hart_index2id table modifiable by boo…
jlaitine May 24, 2023
b400e7a
Revert "[REVERTME] arch/risc-v/src/mpfs/mpfs_corespi.c: Hack around a…
jlaitine May 24, 2023
d9c7276
mpfs_timerisr: Add patch to make the code work in CONFIG_BUILD_KERNEL
pussuw May 24, 2023
c312a3b
arch/risc-v/src/mpfs/mpfs_opensbi.c: Fix conflicting datatypes define…
jlaitine May 25, 2023
c688040
net/can, net/devif: fix CAN RX/TX iob free semcount runaway issue
haitomatic May 22, 2023
226dbd9
arch/risc-v/src/mpfs/mpfs_dsn: Correct serial number reading routine
jlaitine Jun 16, 2023
96cc3b4
risc-v/mpfs: clean up ihc for rpmsg
eenurkka Jun 21, 2023
a5d1e67
mpfs_opensbi_utils.S: relocate OpenSBI into l2zerodevice
eenurkka Jun 22, 2023
b1c7173
opensbi: update to contain shrinked version
eenurkka Jun 27, 2023
ef92a6c
Revert "opensbi: update to contain shrinked version"
jnippula Jun 28, 2023
a505113
opensbi: update to contain shrinked version
jnippula Jun 28, 2023
6f2db08
risc-v/mpfs: ihc: don't wait for a remote ack
eenurkka Aug 9, 2023
dd9fee0
Disable linker relaxed addressing when loading gp
jnippula Aug 9, 2023
ec68b3d
risc-v/mpfs: clear L2 before use
eenurkka Aug 15, 2023
1fc7d2b
arch/risc-v/src/mpfs/mpfs_ddr.c: Correct the DDR training dq/dqs stat…
jlaitine Aug 24, 2023
c524902
arch/risc-v/src/mpfs/mpfs_ddr.c: Don't auto-determine the write latency
jlaitine Aug 24, 2023
1f9b2ba
arch/risc-v/src/mpfs/mpfs_ddr.c: Correct memory test timeouts
jlaitine Aug 24, 2023
2602afd
arch/risc-v/src/mpfs/mpfs_ddr.c: Make sure that DDRC is in reset when…
jlaitine Aug 24, 2023
ee58b2e
arch/risc-v/src/mpfs/mpfs_ddr.c: Add a simple prng for memory trainin…
jlaitine Aug 24, 2023
66eec9d
Revert "drivers/mmcsd: fix style issues"
pussuw Aug 28, 2023
9d3b9fa
Revert "Add eMMC driver support"
pussuw Aug 28, 2023
c356bfb
arch/risc-v/src/mpfs: Sync some of the libero config macros with HSS …
jlaitine Aug 29, 2023
3ce090e
arch/risc-v/src/mpfs/mpfs_ddr.c: Re-write write calibration
jlaitine Aug 27, 2023
2563e16
arch/risc-v/src/mpfs: Set USB DMA upper addr offset
jpaali Aug 30, 2023
25d9216
drivers/timers/pcf85263.c: Fix compilation
jlaitine Sep 5, 2023
716413b
build(deps): bump actions/checkout from 3 to 4
dependabot[bot] Sep 11, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ jobs:
# Determine the repo and leave that unset to use the normal checkout behavior
# of using the merge commit instead of HEAD
case $GITHUB_REPOSITORY in
"apache/nuttx")
"tiiuae/nuttx")
# OS
echo "Triggered by change in OS"
APPS_REF=$REF_NAME
;;

"apache/nuttx-apps" )
"tiiuae/incubator-nuttx-apps" )
# APPS
OS_REF=$REF_NAME
echo "Triggered by change in APPS"
Expand All @@ -89,19 +89,19 @@ jobs:
echo "app_ref=$APPS_REF" >> $GITHUB_OUTPUT

- name: Checkout nuttx repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: apache/nuttx
repository: tiiuae/nuttx
ref: ${{ steps.gittargets.outputs.os_ref }}
path: sources/nuttx
fetch-depth: 1
- name: Checkout nuttx repo tags
run: git -C sources/nuttx fetch --tags

- name: Checkout apps repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: apache/nuttx-apps
repository: tiiuae/incubator-nuttx-apps
ref: ${{ steps.gittargets.outputs.apps_ref }}
path: sources/apps
fetch-depth: 1
Expand All @@ -123,7 +123,7 @@ jobs:

strategy:
matrix:
boards: [arm-01, arm-02, arm-03, arm-04, arm-05, arm-06, arm-07, arm-08, arm-09, arm-10, arm-11, arm-12, arm-13, other, risc-v, sim-01, sim-02, xtensa, codechecker]
boards: [arm-12, risc-v]

steps:
- name: Download Source Artifact
Expand Down Expand Up @@ -173,6 +173,7 @@ jobs:
continue-on-error: true

macOS:
if: ${{ false }} # disable for now
permissions:
contents: none
runs-on: macos-13
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ jobs:

steps:
- name: Checkout nuttx repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: apache/nuttx
repository: tiiuae/nuttx
path: nuttx
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
build-html:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.8'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
IMAGE_TAG: ghcr.io/${{ github.repository }}/apache-nuttx-ci-linux
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: mkdir super-linter.report
Expand Down
2 changes: 2 additions & 0 deletions arch/arm/src/stm32f7/stm32_ethernet.c
Original file line number Diff line number Diff line change
Expand Up @@ -3136,7 +3136,9 @@ static inline int stm32_dm9161(struct stm32_ethmac_s *priv)

static int stm32_phyinit(struct stm32_ethmac_s *priv)
{
#ifdef CONFIG_STM32F7_AUTONEG
volatile uint32_t timeout;
#endif
uint32_t regval;
uint16_t phyval;
int ret;
Expand Down
8 changes: 2 additions & 6 deletions arch/risc-v/src/litex/litex_sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -860,12 +860,10 @@ static int litex_recvsetup(struct sdio_dev_s *dev, uint8_t *buffer,

/* flush CPU d-cache */

#ifndef CONFIG_LITEX_COHERENT_DMA
up_invalidate_dcache_all();
#endif

putreg32(0, LITEX_SDBLOCK2MEM_DMA_ENABLE);
putreg32((uintptr_t)(&buffer[4]), LITEX_SDBLOCK2MEM_DMA_BASE);
putreg32((uintptr_t)buffer >> 32, LITEX_SDBLOCK2MEM_DMA_BASE);
putreg32((uintptr_t)buffer, LITEX_SDBLOCK2MEM_DMA_BASE + 0x04);
putreg32(nbytes, LITEX_SDBLOCK2MEM_DMA_LENGTH);
putreg32(1, LITEX_SDBLOCK2MEM_DMA_ENABLE);
Expand Down Expand Up @@ -905,12 +903,10 @@ static int litex_sendsetup(struct sdio_dev_s *dev,

/* flush CPU d-cache */

#ifndef CONFIG_LITEX_COHERENT_DMA
up_invalidate_dcache_all();
#endif

putreg32(0, LITEX_SDMEM2BLOCK_DMA_ENABLE);
putreg32((uintptr_t)(&buffer[4]), LITEX_SDMEM2BLOCK_DMA_BASE);
putreg32((uintptr_t)buffer >> 32, LITEX_SDMEM2BLOCK_DMA_BASE);
putreg32((uintptr_t)buffer, LITEX_SDMEM2BLOCK_DMA_BASE + 0x04);
putreg32(nbytes, LITEX_SDMEM2BLOCK_DMA_LENGTH);
putreg32(1, LITEX_SDMEM2BLOCK_DMA_ENABLE);
Expand Down
1 change: 1 addition & 0 deletions arch/risc-v/src/mpfs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/crypto
168 changes: 155 additions & 13 deletions arch/risc-v/src/mpfs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -243,15 +243,48 @@ config MPFS_HAVE_UART4
select UART4_SERIALDRIVER
select ARCH_HAVE_SERIAL_TERMIOS

config MPFS_HAVE_UART5
bool
depends on MPFS_FPGA_UART
default n
select UART5_SERIALDRIVER
select ARCH_HAVE_SERIAL_TERMIOS

config MPFS_HAVE_UART6
bool
depends on MPFS_FPGA_UART
default n
select UART6_SERIALDRIVER
select ARCH_HAVE_SERIAL_TERMIOS

config MPFS_HAVE_UART7
bool
depends on MPFS_FPGA_UART
default n
select UART7_SERIALDRIVER
select ARCH_HAVE_SERIAL_TERMIOS

# These are the peripheral selections proper

config MPFS_SPI
bool
default n

config MPFS_SPI0
bool "SPI 0"
default n
select MPFS_SPI

config MPFS_SPI1
bool "SPI 1"
default n
select MPFS_SPI

config MPFS_FPGA_UART
bool "FPGA uarts"
default n
---help---
Use FPGA UARTs instead of MSS UARTS.

config MPFS_UART0
bool "UART 0"
Expand Down Expand Up @@ -288,6 +321,30 @@ config MPFS_UART4
select ARCH_HAVE_SERIAL_TERMIOS
select MPFS_HAVE_UART4

config MPFS_UART5
bool "UART 5"
depends on MPFS_FPGA_UART
default n
select ARCH_HAVE_UART5
select ARCH_HAVE_SERIAL_TERMIOS
select MPFS_HAVE_UART5

config MPFS_UART6
bool "UART 6"
depends on MPFS_FPGA_UART
default n
select ARCH_HAVE_UART6
select ARCH_HAVE_SERIAL_TERMIOS
select MPFS_HAVE_UART6

config MPFS_UART7
bool "UART 7"
depends on MPFS_FPGA_UART
default n
select ARCH_HAVE_UART7
select ARCH_HAVE_SERIAL_TERMIOS
select MPFS_HAVE_UART7

config MPFS_I2C0
bool "I2C 0"
select ARCH_HAVE_I2CRESET
Expand Down Expand Up @@ -398,7 +455,7 @@ config MPFS_IHC_LINUX_ON_HART3
config MPFS_IHC_LINUX_ON_HART4
int "Linux on hart4"
depends on MPFS_IHC_CLIENT || MPFS_IHC_SBI
default 1
default 0
range 0 1
---help---
Set this to 1 if U-boot / Linux is running on hart4
Expand Down Expand Up @@ -451,6 +508,43 @@ config MPFS_IHC_RPMSG_CH2
Use this only if using 2 x RPMSG channels. This makes the NuttX work as the
RPMSG channel 2 client.

config MPFS_IHC_WITH_HSS
bool "IHC with HSS"
depends on MPFS_IHC_CLIENT
default n
---help---
Set this to true if using IHC with HSS bootloader

config MPFS_CH1_VRING_SHMEM_ADDR
hex "Channel 1 Vring shared memory start"
default 0xA2410000
depends on MPFS_IHC_CLIENT

config MPFS_CH1_VRING0_DESC_ADDR
hex "Channel 1 Vring0 descriptor area"
default 0xA2400000
depends on MPFS_IHC_CLIENT

config MPFS_CH1_VRING1_DESC_ADDR
hex "Channel 1 Vring1 descriptor area"
default 0xA2408000
depends on MPFS_IHC_CLIENT

config MPFS_CH2_VRING_SHMEM_ADDR
hex "Channel 2 Vring shared memory start"
default 0xA2460000
depends on MPFS_IHC_CLIENT && MPFS_IHC_RPMSG_CH2

config MPFS_CH2_VRING0_DESC_ADDR
hex "Channel 2 Vring0 descriptor area"
default 0xA2450000
depends on MPFS_IHC_CLIENT && MPFS_IHC_RPMSG_CH2

config MPFS_CH2_VRING1_DESC_ADDR
hex "Channel 2 Vring1 descriptor area"
default 0xA2458000
depends on MPFS_IHC_CLIENT && MPFS_IHC_RPMSG_CH2

config MPFS_ETHMAC
bool
default n
Expand Down Expand Up @@ -528,12 +622,6 @@ config MPFS_COREPWM0_BASE
default 0x44000000
depends on MPFS_COREPWM0

config MPFS_COREPWM0_PWMCLK
int "Clock frequency of the CorePWM0 block (Hz)"
default 25000000
range 1000000 100000000
depends on MPFS_COREPWM0

config MPFS_COREPWM0_REGWIDTH
int "Width of the PWM register (8, 16 or 32 bits)"
default 32
Expand All @@ -557,12 +645,6 @@ config MPFS_COREPWM1_BASE
default 0x45000000
depends on MPFS_COREPWM1

config MPFS_COREPWM1_PWMCLK
int "Clock frequency of the CorePWM1 block (Hz)"
default 25000000
range 1000000 100000000
depends on MPFS_COREPWM1

config MPFS_COREPWM1_REGWIDTH
int "Width of the PWM register (8, 16 or 32 bits)"
default 32
Expand All @@ -575,6 +657,56 @@ config MPFS_COREPWM1_NCHANNELS
range 1 16
depends on MPFS_COREPWM1

comment "CAN-FD Options"

config MPFS_HAVE_CANFD
bool "CAN FD"
select ARCH_HAVE_CAN_ERRORS
select NET_CAN_HAVE_CANFD
select NET_CAN_EXTID
select NET_CAN_HAVE_TX_DEADLINE
default n

config MPFS_CANFD0
bool "MPFS FPGA CANFD0 IP block configured"
default n
depends on MPFS_HAVE_CANFD

config MPFS_CANFD_BASE0
hex "Base address for the CANFD0 instance"
default 0x46000000
depends on MPFS_CANFD0

config MPFS_CANFD_ARBI_BITRATE0
int "CANFD0 Arbitration phase bitrate"
default 1000000
depends on MPFS_CANFD0

config MPFS_CANFD_DATA_BITRATE0
int "CANFD0 Data phase bitrate"
default 4000000
depends on MPFS_CANFD0

config MPFS_CANFD1
bool "MPFS FPGA CANFD1 IP block configured"
default n
depends on MPFS_HAVE_CANFD

config MPFS_CANFD_BASE1
hex "Base address for the CANFD1 instance"
default 0x47000000
depends on MPFS_CANFD1

config MPFS_CANFD_ARBI_BITRATE1
int "CANFD1 Arbitration phase bitrate"
default 1000000
depends on MPFS_CANFD1

config MPFS_CANFD_DATA_BITRATE1
int "CANFD1 Data phase bitrate"
default 4000000
depends on MPFS_CANFD1

endmenu

config MPFS_DMA
Expand Down Expand Up @@ -740,3 +872,13 @@ config ARCH_MPU_HAS_NO4

config ARCH_MPU_HAS_NAPOT
default y

config MPFS_CRYPTO
bool "Enable MPFS HW crypto"
default n

if MPFS_CRYPTO
config MPFS_CRYPTO_DMA
bool "Enable MPFS HW crypto DMA"
default y
endif
Loading