dependabot[bot]
f0273efc63
build(deps): bump docker/login-action from 1 to 2
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-19 13:37:19 +08:00
dependabot[bot]
2de2b5ca07
build(deps): bump actions/download-artifact from 2 to 3
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-19 13:37:11 +08:00
dependabot[bot]
3921b9c337
build(deps): bump docker/setup-buildx-action from 1 to 2
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 1 to 2.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-19 13:37:00 +08:00
chao.an
0ec74ec6dd
wireless/bcm43xxx: remove global variable for bcmf_sdio_thread
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-06-19 11:43:25 +08:00
naveen
e3bfdf7115
chore: Included githubactions in the dependabot config
...
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.
Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot
GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-19 11:43:10 +08:00
chao.an
fbddae8813
wireless/bcm43xxx: add customized MAC address support
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-06-19 10:13:23 +08:00
chao.an
e498e5308a
wireless/bcm43xxx: handle disassoc correctly
...
1. use WLC_DISASSOC to deal disconnect event
2. carrier net device status
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-06-18 19:43:13 +08:00
chao.an
e6a23e7b8a
wireless/bcm43xxx: sort scan result by rssi
...
1. Replace SCAN_RESULT_SIZE to SCAN_RESULT_ENTRIES
2. filter scan result with better rssi
3. Sort scan result by rssi
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-06-18 19:42:30 +08:00
Adam Kaliszan
615a296b30
Eps32 Lilygo t5v2 BSP
...
E-ink display is working
2022-06-18 08:03:45 +03:00
Alan Carvalho de Assis
e87a20e648
Add documentation to ESP32-S3 boards
2022-06-17 17:14:10 -03:00
Xiang Xiao
0de089e2e8
wireless/bcm43xxx: Don't call bcmf_board_setup_oob_irq in bcmf_sdio_thread
...
since oob irq is already setup in bcmf_bus_setup_interrupts, it waste
time and energy to do the same thing repeatly in the work thread.
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-06-17 20:12:41 +08:00
chao.an
2992b10fbb
wireless/bcm43xxx: add more ioctl command support
...
Support command:
SIOCGIWFREQ
SIOCGIWMODE
SIOCSIWAP
SIOCGIWAP
SIOCGIWESSID
SIOCGIWRATE
SIOCGIWTXPOW
SIOCGIWSENS
SIOCGIWRANGE
Before: After:
cp> wapi show wlan0 cp> wapi show wlan0
wlan0 Configuration: wlan0 Configuration:
IP: 192.168.31.202 IP: 192.168.31.202
NetMask: 255.255.255.0 NetMask: 255.255.255.0
ioctl(SIOCGIWFREQ): 88 Frequency: 5785
ERROR: wapi_get_freq() failed: -88 Flag: WAPI_FREQ_AUTO
ioctl(SIOCGIWESSID): 88 Channel: 157
ERROR: wapi_get_essid() failed: -88 Frequency: 5785
ioctl(SIOCGIWMODE): 88 ESSID: archer5
ERROR: wapi_get_mode() failed: -88 Flag: WAPI_ESSID_ON
ioctl(SIOCGIWAP): 88 Mode: WAPI_MODE_MANAGED
ERROR: wapi_get_ap() failed: -88 AP: ec:41:18:e0:76:7f
ioctl(SIOCGIWRATE): 88 BitRate: 58500
ERROR: wapi_get_bitrate() failed: -88 Flag: WAPI_BITRATE_FIXED
ioctl(SIOCGIWTXPOW): 88 TxPower: 31
ERROR: wapi_get_txpower() failed: -88 Flag: WAPI_TXPOWER_DBM
ioctl(SIOCGIWSENS): 25 Sense: -17
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-06-17 18:27:12 +08:00
chao.an
9c68064024
wireless/bcm43xxx: add status print on bcmf_wl_auth_event_handler()
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-06-17 16:17:01 +08:00
Jukka Laitinen
1c8a661c9f
boards/risc-v/mpfs/m100pfsevp/include/board_liberodefs.h: Update memory initialization parameters
...
Sync some of the AXI configuration and DDR training parameters with the manufacturer's
defaults.
The TIP_CFG parameter correction helps with DDR training failures on some individual boards
The AXI end address values fix early random crash in power-on boot on some individual boards
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2022-06-17 15:40:21 +08:00
naveen
155c9a2070
chore: Set permissions for GitHub actions
...
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ )
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-17 08:33:40 +03:00
Charles Cross
d12e2778a5
Adds device descriptor for the MB5RS2MTA 256KB FRAM part
2022-06-17 09:57:56 +08:00
Xiang Xiao
22548d71eb
drivers/syslog: reuse rmutex_t for the recursive check
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-06-16 19:01:49 +03:00
Satoshi Togawa
a9ad1a336b
usbhost_cdcacm: fix error with interrupt IN endpoint.
2022-06-16 19:01:17 +03:00
chao.an
e2c154dffe
wireless/bcm43xxx: configurable buffer size of escan result
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-06-16 23:36:40 +08:00
chao.an
29dd12283c
wireless/bcm43xxx: replace all busy delay to nxsig_usleep
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-06-16 23:02:09 +08:00
chao.an
591942f69b
mmcsd/sdio: correct return value of sdio_probe()
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-06-16 22:48:21 +08:00
Alan Carvalho de Assis
4eddde90b0
esp32s3: Add support to USBSERIAL to use as console
2022-06-16 17:20:32 +03:00
Alan Carvalho de Assis
faa1c3a74c
esp32s3: Add basic support to ESP32-S3-EYE
2022-06-16 17:20:32 +03:00
Satoshi Togawa
9f4691603f
sama5: Fix wrong comments.
2022-06-16 17:04:37 +03:00
Xiang Xiao
7a739851aa
include/cxx: Remove all non standard c++ header files
...
All standard header files can check here:
https://en.cppreference.com/w/cpp/header
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-06-16 15:42:45 +03:00
Jukka Laitinen
d8cc1fd76d
arch/riscv/mpfs: Add a config flag to select SD mux state
...
This has been previously hard-coded to SD-card. Make it build time configurable.
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2022-06-16 09:17:30 -03:00
chao.an
7790839eb0
arch/backtrace: correct the skip counter
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-06-16 21:09:14 +09:00
chao.an
b33a709213
wireless/bcm43xxx: improve throughput of net driver
...
1. Wake up tx if there is data alreay to sent after rx update
2. Try tx queue again after every data frame sent
iperf test:
```
TCP RX 4M->16M
TCP TX 2M->14M
UDP RX 18M->26M
UDP TX 2M->18M
```
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-06-16 21:08:28 +09:00
chao.an
669fb83706
net/tcp(buffered): retransmit only one the earliest not acknowledged segment
...
Retransmit only one the earliest not acknowledged segment
(according to RFC 6298 (5.4)). The issue is the same as it was
in tcp_send_unbuffered.c and tcp_sendfile.c.
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-06-16 18:14:29 +08:00
Xiang Xiao
f75f100954
bcm43xxx: Remove bcmf_txavail_work and resue bcmf_tx_poll_work
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-06-16 09:13:16 +03:00
Petro Karashchenko
b343a42e8c
nuttx/lib: remove dependency on BUILD_FLAT for library memory allocation interface
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-06-15 16:58:34 -03:00
Abdelatif Guettouche
996995245d
xtensa: Remove old references to co-processors.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2022-06-15 22:06:08 +03:00
chao.an
6d85e9b320
wireless/bcm43xx: replace sem_wait to uninterruptible version
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-06-16 02:44:47 +08:00
chao.an
0951d859d3
wireless/bcm43xxx: configurable schedule priority of daemon thread
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-06-16 01:41:50 +08:00
chao.an
4712307ecc
wireless/bcm43xxx: fix typo sq_init() -> dq_init()
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-06-16 01:40:41 +08:00
Abdelatif Guettouche
db8b32cb07
boards/esp32: Increase the NTP deamon stack size as it was overflowing.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2022-06-15 13:07:28 -03:00
Abdelatif Guettouche
9bac291236
arch/xtensa/*.S: Remove some old comments and fix others.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2022-06-15 18:07:51 +03:00
Abdelatif Guettouche
fe8fa4ff75
arch/xtensa: Move the new saving area directly to A2.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2022-06-15 18:07:51 +03:00
Abdelatif Guettouche
5ab888692e
arch/xtensa/xtensa_context: Place the functions in EXCEPTION_HANDLER
...
section (IRAM for ESP32xx chips).
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2022-06-15 18:07:51 +03:00
Abdelatif Guettouche
73a1e0fc58
arch/xtensa: Refactor exceptions' entry and exit.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2022-06-15 18:07:51 +03:00
Abdelatif Guettouche
1c94cb5324
arch/xtensa: Refactor the differences in ABI calls.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2022-06-15 18:07:51 +03:00
Abdelatif Guettouche
48f20af8bc
arch/xtensa/xtensa_int_handlers.S: Remove unused macro.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2022-06-15 18:07:51 +03:00
Abdelatif Guettouche
fc22eddc38
arch/xtensa: Refactor the code that's used to get the pre-exception
...
backtrace.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2022-06-15 18:07:51 +03:00
Abdelatif Guettouche
05d412f6b5
arch/xtensa/xtensa_user_handler.S: Use the ps_setup macro when possible.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2022-06-15 18:07:51 +03:00
chao.an
e75c88df5b
wireless/bcm43xxx: load nvram from file system
...
added an option to load nvram from file system, which will help developers
easily to tuning the firmware parameters without compile firmware.
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-06-15 22:19:02 +08:00
Juha Niskanen
449cf4d076
getrandom: fix comment contradicting code
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2022-06-15 11:18:04 -03:00
Abdelatif Guettouche
0aa14f91da
arch/xtensa/esp32_rtc_lowerhalf.c: nitialize ret variable to avoid
...
warnings.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2022-06-15 21:29:55 +08:00
Eero Nurkkala
5683e020e8
risc-v/mpfs: update clock configuration parameters
...
Update PLL configuration parameters to match the values provided
by the vendor.
Also remove extra call to mpfs_pll_config() as it's already called
at mpfs_clockconfig().
Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2022-06-15 21:29:45 +08:00
Michał Łyszczek
4d4566e9ed
nucleo-wl55jc: add partition table support for progmem FLASH
...
This patch adds working integration of progmem FLASH. User can partition
internal FLASH memory to up to 4 partitions and use any combination of
raw, nxffs, smartfs and mtd_config filesystems (unless there are other
limitations like nxffs supports only single instance).
Support for dual CPU is added to Kconfig to not overwrite CPU2 program code.
Code guards user to not allocate more memory than there is on FLASH, and
warns user if not all FLASH memory is used. Errors will be printed when
user tries to initialize two instances of nxffs or mtd_config filesystems.
Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
2022-06-15 20:29:17 +08:00
Michał Łyszczek
5490f8964f
stm32wl5: add support for internal FLASH
...
This patch adds corrected implementation of FLASH memory to be used
with progmem driver for use with mtd filesystems like nxffs or smartfs.
Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
2022-06-15 20:29:17 +08:00