nietingting
4405264008
add citest support for qemu-armv8a and fvp-armv8r
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2023-08-22 00:07:46 +08:00
raiden00pl
72a0b19141
boards/nrf5340-dk: enable rpmsg uart for rptun configurations
2023-08-21 17:34:36 +08:00
raiden00pl
187a067866
arch/nrf53/rptun: remove dependency on DEV_SIMPLE_ADDRENV
2023-08-21 17:34:36 +08:00
raiden00pl
74cc036536
boards/nrf53: add missing shmem section
2023-08-21 17:34:36 +08:00
qinwei1
630b5f32a2
arm64: IMX8 MEK board support
...
Summary
Support for imx8qm MEK evaluate board
Signed-off-by: qinwei1 <qinwei1@xiaomi.com>
2023-08-21 14:23:05 +08:00
fangxinyong
6c8b0ba9f3
libc/netdb: add dependence to net ip config
...
avoid to invalid enabled if no net ip config
Signed-off-by: fangxinyong <fangxinyong@xiaomi.com>
2023-08-21 13:01:04 +08:00
Xiang Xiao
90f8315432
arch: Remove up_netinitialize
...
since this api change to xxx_netinitialize
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-08-20 14:33:17 +03:00
chenrun1
fb74c46e4d
arm64/gnu:Set arch_* optimizations to be on by default.
...
Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2023-08-19 18:43:08 +08:00
Tiago Medicci Serrano
2d8b96e562
esp32-devkitc/blewifi: Unset DEFAULT_SMALL
and debugging configs
...
Following the pattern of the others `defconfigs`, disable debugging
configs and `CONFIG_DEFAULT_SMALL`.
2023-08-19 18:40:31 +08:00
Tiago Medicci Serrano
e25fcb3bd5
esp32s3_devkit/sta_softap: Disable SMP on defconfig
temporarily
...
There is a known bug while using the Station + softAP mode with SMP
mode enabled. Disable it temporarily until the bug is properly
fixed.
2023-08-19 18:40:31 +08:00
zhanghongyu
e56c8571dc
sim_usbdev: modify some configuration options for network test
...
add default dns server
change eth_pktsize to 1518
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2023-08-19 01:34:28 +08:00
zhanghongyu
9326687b51
usbdev: add sim netdev config for rndis test
...
out flow:
linux:rndis -> sim:rndis -> (forward)sim:eth(nat) ->
(bridge)linux:bridge(forward) -> linux:eth(nat) -> internet
in flow:
internet -> linux:eth(nat) -> (forward)linux:bridge(bridge) ->
(nat)sim:eth(forward) -> sim:rndis -> linux:rndis
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2023-08-19 01:34:28 +08:00
raiden00pl
3350609a8a
boards/arduino-nano-33ble{-rev2}: use bool for leds state
2023-08-18 20:06:22 +08:00
Lucas Saavedra Vaz
1bd2595be8
boards/risc-v/esp32c3-generic: Fix MCUboot config name
...
Fix the config name to be the same as the other chips.
2023-08-18 14:44:11 +08:00
Lucas Saavedra Vaz
e02b203311
arch/xtensa/esp32s3: Update MCUboot build process
...
Change the MCUboot build process to, in the future, deprecate the esp-nuttx-bootloaders repository.
2023-08-18 14:44:11 +08:00
Lucas Saavedra Vaz
4bcc930535
arch/xtensa/esp32s2: Update MCUboot build process
...
Change the MCUboot build process to, in the future, deprecate the esp-nuttx-bootloaders repository.
2023-08-18 14:44:11 +08:00
Lucas Saavedra Vaz
60fdc9cb72
arch/xtensa/esp32: Update MCUboot build process
...
Change the MCUboot build process to, in the future, deprecate the esp-nuttx-bootloaders repository.
2023-08-18 14:44:11 +08:00
simbit18
e374f327c1
Fix Kconfig style
...
Remove spaces from Kconfig
2023-08-18 08:13:26 +02:00
Jukka Laitinen
6a5d00f68c
arch/risc-v/src/mpfs: Add CFG_DDR_SGMII_PHY_RPC156 register setting for DDR training
...
Decreasing the value may increase DQ/DQS window size. Keep the default value
(1) for the existing board configurations.
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2023-08-17 17:50:37 +08:00
Shoukui Zhang
6364fc6e69
esp32c3-devkit: Remove unnecessary configurations
...
TESTING_MTD_CONFIG_FAIL_SAFE auto select MTD_CONFIG_NAMED
Signed-off-by: Shoukui Zhang <zhangshoukui@xiaomi.com>
2023-08-16 22:06:41 +08:00
Shoukui Zhang
2acf445954
Revert "sim: Remove unnecessary configurations"
...
This reverts commit 52c0e6b576
.
2023-08-16 22:06:41 +08:00
Stuart Ianna
34bfa2f7ba
arch/risc-v/litex: Add platform specific tickless implementation.
...
Adds a platform specific implementation for tickless schedular operation. This includes:
- Tickless operation for vexriscv cores.
- Tickless operation for vexriscv-smp cores.
- Ticked operation for vexriscv-smp cores.
Ticked operation for vexriscv core has been refactored.
Additional default configuration added to demonstrate operation.
Both tickless and ticked options use Litex timer0 for scheduling intervals. This is significantly faster than interfaceing with the risc-v mtimer through opensbi.
2023-08-16 16:59:27 +08:00
wangming9
8cee6f0cc8
boards/arm/qemu: Add qemu board for ARM
...
See boards/arm/qemu/qemu-armv7a/README.txt for details
Signed-off-by: wangming9 <wangming9@xiaomi.com>
2023-08-15 23:56:41 +08:00
yinshengkai
88f3bc77f1
toolchain: detect use of large stack variables
...
partition/fs_gpt.c:384:5: warning: stack usage might be 288 bytes [-Wstack-usage=]
384 | int parse_gpt_partition(FAR struct partition_state_s *state,
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2023-08-15 14:50:27 +03:00
Peter Bee
58f9cf7c04
boards: update README for virtio gpu driver
...
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2023-08-15 13:32:05 +08:00
Tiago Medicci Serrano
6f235c5f0a
esp32-devkitc: Enable softAP on blewifi
defconfig to ease testing
...
In order to properly test the W-Fi/BT coexistence mode, set the
Wi-Fi mode to station + softAP.
2023-08-14 16:29:21 -03:00
Tiago Medicci Serrano
01b6c87b15
esp32s3: Implement the Wi-Fi/BLE coexistence
...
ESP32-S3 has only one 2.4 GHz ISM band RF module, which is shared
by Bluetooth and Wi-Fi, so Bluetooth can’t receive or transmit data
while Wi-Fi is receiving or transmitting data and vice versa.
Under such circumstances, ESP32-S3 uses the time-division
multiplexing method to receive and transmit packets.
2023-08-14 16:29:21 -03:00
Petro Karashchenko
655d00b1e7
arch/xtensa/esp32s3: initial effort to get BLE running on ESP32-S3
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2023-08-14 16:29:21 -03:00
raiden00pl
ae6067fb29
boards/stm32h7: HCLK and ACLK are delivered from SYSCLK not CPUCLK
2023-08-14 23:40:46 +08:00
anjiahao
307e0eb964
arch/sim:add -Ttext-segment to load the image in the fixed address
...
to make the address returned by backtrace and gdbstub match the symbol stored in elf.
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2023-08-14 20:43:41 +08:00
raiden00pl
a1d7b2961d
boards/nrf52: add Arduino Nano 33 BLE Rev2 board
2023-08-14 20:42:59 +08:00
simbit18
5830da2fc8
boards/Kconfig: Fix Kconfig style
...
Add TABs
remove the extra ---help--- in config ARCH_BOARD_METRO_M4
2023-08-14 14:12:27 +03:00
yinshengkai
756f6f425a
sim/segger: adjust the maximum number of channels for notes
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2023-08-14 13:41:00 +08:00
Brian Doherty
f444de0882
Initial port to Arduino Nano 33 BLE.
2023-08-14 11:11:50 +08:00
wanggang26
92eeaa4277
enable CONFIG_BOARDCTL for ofloader
...
Signed-off-by: wanggang26 <wanggang26@xiaomi.com>
2023-08-13 11:43:43 -03:00
Xiang Xiao
b183114d43
arch/arm: Change the default value to ARCH_TRUSTZONE_NONSECURE
...
since nuttx normally run inside the non secure execution environment
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-08-13 08:43:01 +02:00
Alexander Lunev
73867b9759
boards/arm/stm32h7/stm32h745i-disco: supported external SDRAM
...
Supported external SDRAM (MT48LC4M32B2B5-6AIT:L) on STM32H745I-DISCO dev board.
Though MT48LC4M32B2B5-6AIT:L SDRAM itself provides 32-bit data bus, STM32H745I-DISCO board
routes only DQ[15:0] bits. Thus only half of the memory can be accessed: the accessible memory
configuration is only 1 Meg x 16 x 4 banks instead of 1 Meg x 32 x 4 banks.
Thus the accessible memory size is 8 MBytes.
Testing:
nsh> ramtest -a 0xD0000000 -s 8388608
RAMTest: Marching ones: d0000000 8388608
RAMTest: Marching zeroes: d0000000 8388608
RAMTest: Pattern test: d0000000 8388608 55555555 aaaaaaaa
RAMTest: Pattern test: d0000000 8388608 66666666 99999999
RAMTest: Pattern test: d0000000 8388608 33333333 cccccccc
RAMTest: Address-in-address test: d0000000 8388608
nsh>
2023-08-12 18:18:23 +08:00
Xiang Xiao
4bb30ab0c1
freedom-k28f/nshsdusb: Remove CONFIG_NETDB_BUFSIZE
...
since it isn't really used by this config
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-08-12 00:36:52 +03:00
Alan Carvalho de Assis
9d51024434
Revert "Meadow.OS source code migration - Part 1"
...
It is causing error in the mainline:
boards/arm/stm32f7/.../src/Meadow.OS/espcp/Kconfig: No such file or directory
This reverts commit 24e37ec3e8
.
2023-08-12 00:36:31 +03:00
Alexis Christoforides
24e37ec3e8
Meadow.OS source code migration - Part 1
2023-08-11 16:37:10 -03:00
wangming9
c928acc9ff
perf: The new configuration supports hardware performance counting
...
Adding the CONFIG_ARCH_PERF_EVENTS configuration to enable
hardware performance counting,solve the problem that some platform
hardware counting support is not perfect, you can choose to use
software interface.
This is configured using CONFIG_ARCH_PERF_EVENTS, so weak_functions
are removed to prevent confusion
To use hardware performance counting, must:
1. Configure CONFIG_ARCH_PERF_EVENTS, default selection
2. Call up_perf_init for initialization
Signed-off-by: wangming9 <wangming9@xiaomi.com>
2023-08-12 02:20:44 +08:00
Peter van der Perk
d582e4d37e
boards: imxrt teensy-4.x/imxrt1064: Enable dma for lpi2c/lpspi
2023-08-11 13:41:49 -03:00
Peter van der Perk
c63cb4c2f3
boards: ucans32k146: Enable lpi2c/lpspi dma in can config
2023-08-11 13:41:49 -03:00
Peter van der Perk
2a6c5ed728
board: mr-canhubk3: enable lpi2c/lpspi edma for net config
2023-08-11 13:41:49 -03:00
Peter Bee
99c2a6ffbe
boards: add defconfig for virtio-gpu fb showcase
...
Usage example:
tools/configure.sh qemu-armv8a:fb
make -j
qemu-system-aarch64 -cpu cortex-a53 \
-machine virt,virtualization=on,gic-version=3 \
-chardev stdio,id=con,mux=on -serial chardev:con \
-global virtio-mmio.force-legacy=false \
-device virtio-gpu-device,xres=640,yres=480,bus=virtio-mmio-bus.1 \
-mon chardev=con,mode=readline \
-kernel ./nuttx
tools/configure.sh rv-virt:fb
make -j
qemu-system-riscv32 -semihosting -M virt -cpu rv32 -smp 8 -bios none -chardev stdio,id=con,mux=on -serial chardev:con -device virtio-gpu-device,xres=640,yres=480,bus=virtio-mmio-bus.1 -mon chardev=con,mode=readline -kernel ./nuttx
tools/configure.sh rv-virt:fb64
make -j
qemu-system-riscv64 -semihosting -M virt -cpu rv64 -smp 8 -bios none -chardev stdio,id=con,mux=on -serial chardev:con -device virtio-gpu-device,xres=640,yres=480,bus=virtio-mmio-bus.1 -mon chardev=con,mode=readline -kernel ./nuttx
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2023-08-11 20:20:11 +08:00
Shoukui Zhang
52c0e6b576
sim: Remove unnecessary configurations
...
LIBUV will auto select CONFIG_PSEUDOFS_SOFTLINKS and CONFIG_SCHED_HAVE_PARENT
Signed-off-by: Shoukui Zhang <zhangshoukui@xiaomi.com>
2023-08-11 19:42:26 +08:00
zhanghongyu
0ead147841
rpmsgdev: support single read/write mode device
...
The default mode for Rpmsgdev is to read/write data as long as possible for
caller, this mode does not apply to tun devices, tun devices can read and
write only one complete ip packet at a time.
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2023-08-11 15:29:32 +08:00
liaoao
dffab1e0c6
qemu: add devicetree support for arm64
...
Signed-off-by: liaoao <liaoao@xiaomi.com>
2023-08-11 00:46:50 +08:00
qinwei1
37e69cdeb0
arch/arm64: enable for arm64 virt to choice CPU core
...
Summary
Qemu virt board can choice CPU core with boot parameter
and we need to add Konfig option for choice
the change do this
Signed-off-by: qinwei1 <qinwei1@xiaomi.com>
2023-08-10 20:48:19 +08:00
qinwei1
d8e1022b6f
arm64: add hostfs support
...
Sumary
add hostfs support for arm64, it's a copy
from arm32.
Note:
it's not support for opendir and readdir, command
like ls will not work.
Signed-off-by: qinwei1 <qinwei1@xiaomi.com>
2023-08-10 17:58:34 +08:00