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 docker/build-push-action from 4 to 5 #162

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 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
19be1d8
drivers/net: Add a management driver for ksz9477 ethernet switch
jlaitine Aug 31, 2023
537e3ff
arch/risc-v/src/mpfs: Add ksz9477 initialization
jlaitine Aug 31, 2023
3472e29
arch/risc-v/src/mpfs/mpfs_i2c.c: Clean up using priv->status and STOP…
jlaitine Sep 11, 2023
393f37e
riscv/riscv_pmp.c: Improve NAPOT area validity checks
pussuw Aug 30, 2023
3b6acfa
mpfs/mpfs_i2c.c: Replace 1 second timeout with Time-on-Air based timeout
pussuw Aug 28, 2023
cd343a7
libs/libc: Fix a fatal bug in fread
SPRESENSE Sep 7, 2023
364a80a
stdio/lib_libfread: Fix buffer overflow issue
pussuw Sep 13, 2023
d46532c
build(deps): bump docker/build-push-action from 4 to 5
dependabot[bot] Sep 18, 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
11 changes: 6 additions & 5 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 @@ -91,7 +91,7 @@ jobs:
- name: Checkout nuttx repo
uses: actions/checkout@v3
with:
repository: apache/nuttx
repository: tiiuae/nuttx
ref: ${{ steps.gittargets.outputs.os_ref }}
path: sources/nuttx
fetch-depth: 1
Expand All @@ -101,7 +101,7 @@ jobs:
- name: Checkout apps repo
uses: actions/checkout@v3
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
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Checkout nuttx repo
uses: actions/checkout@v3
with:
repository: apache/nuttx
repository: tiiuae/nuttx
path: nuttx
fetch-depth: 0

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 @@ -66,7 +66,7 @@ jobs:
run: |
df -h
- name: Push Linux image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: tools/ci/docker/linux
platforms: linux/amd64
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
51 changes: 47 additions & 4 deletions arch/risc-v/src/common/riscv_pmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,32 @@ typedef struct pmp_entry_s pmp_entry_t;
* Private Functions
****************************************************************************/

/****************************************************************************
* Name: log2ceil
*
* Description:
* Calculate the up-rounded power-of-two for input.
*
* Input Parameters:
* size - The size of the PMP region.
*
* Returned Value:
* Power-of-two for argument, rounded up.
*
****************************************************************************/

static uintptr_t log2ceil(uintptr_t size)
{
uintptr_t pot = 0;

for (size = size - 1; size > 1; size >>= 1)
{
pot++;
}

return pot;
}

/****************************************************************************
* Name: pmp_check_addrmatch_type
*
Expand Down Expand Up @@ -160,7 +186,8 @@ static bool pmp_check_addrmatch_type(uintptr_t type)
*
****************************************************************************/

static bool pmp_check_region_attrs(uintptr_t base, uintptr_t size)
static bool pmp_check_region_attrs(uintptr_t base, uintptr_t size,
uintptr_t type)
{
/* Check that the size is not too small */

Expand All @@ -183,7 +210,23 @@ static bool pmp_check_region_attrs(uintptr_t base, uintptr_t size)
return false;
}

return OK;
/* Perform additional checks on base and size for NAPOT area */

if (type == PMPCFG_A_NAPOT)
{
/* Get the power-of-two for size, rounded up */

uintptr_t pot = log2ceil(size);

if ((base & ((UINT64_C(1) << pot) - 1)) != 0)
{
/* The start address is not properly aligned with size */

return false;
}
}

return true;
}

/****************************************************************************
Expand Down Expand Up @@ -455,15 +498,15 @@ int riscv_config_pmp_region(uintptr_t region, uintptr_t attr,

/* Check the region attributes */

if (pmp_check_region_attrs(base, size))
if (pmp_check_region_attrs(base, size, type) == false)
{
return -EINVAL;
}

/* Calculate new base address from type */

addr = base >> 2;
if (PMPCFG_A_NAPOT == (attr & PMPCFG_A_MASK))
if (type == PMPCFG_A_NAPOT)
{
addr |= (size - 1) >> 3;
}
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
Loading