Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
jlaitine commented on code in PR #12353: URL: https://github.com/apache/nuttx/pull/12353#discussion_r1602712403 ## boards/arm64/imx9/imx93-evk/scripts/Make.defs: ## @@ -20,9 +20,14 @@ include $(TOPDIR)/.config include $(TOPDIR)/tools/Config.mk +include $(TOPDIR)/tools/imx9/C

Re: [I] How to use NAND Flash device simulator [nuttx]

2024-05-15 Thread via GitHub
resyfer commented on issue #12331: URL: https://github.com/apache/nuttx/issues/12331#issuecomment-2114104800 Hi @acassis, the execution weirdly stops in-between execution it seems. I am not too knowledgeable about the memory limits in the simulator. For me the stack trace for mkfatfs

Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
eenurkka commented on code in PR #12353: URL: https://github.com/apache/nuttx/pull/12353#discussion_r1602649023 ## arch/arm64/src/imx9/imx9_boot.c: ## @@ -111,7 +136,9 @@ void arm64_chip_boot(void) #endif #if defined(CONFIG_SMP) || defined(CONFIG_ARCH_HAVE_PSCI) +#ifndef CON

Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
eenurkka commented on code in PR #12353: URL: https://github.com/apache/nuttx/pull/12353#discussion_r1602647805 ## arch/arm64/src/imx9/imx9_boot.c: ## @@ -44,19 +44,39 @@ #include "imx9_gpio.h" #include "imx9_lowputc.h" +/*

Re: [PR] Add missing c symbols to std namespace [nuttx]

2024-05-15 Thread via GitHub
xiaoxiang781216 commented on PR #12354: URL: https://github.com/apache/nuttx/pull/12354#issuecomment-2114074375 > @nicolas71640 isn't __builtin_fpclassify and other something specific of GCC? Does it work for other C++ compilers as well? > The similar code in math.h also reference

Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
eenurkka commented on code in PR #12353: URL: https://github.com/apache/nuttx/pull/12353#discussion_r1602639089 ## boards/arm64/imx9/imx93-evk/scripts/ocramboot.ld: ## @@ -0,0 +1,155 @@ +/ + * boards/arm

Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
eenurkka commented on code in PR #12353: URL: https://github.com/apache/nuttx/pull/12353#discussion_r1602638748 ## arch/arm64/src/common/arm64_gicv3.c: ## @@ -789,6 +789,28 @@ uint64_t * arm64_decodefiq(uint64_t * regs) irq = arm64_gic_get_active_fiq(); +#ifdef CONFIG_ARC

[PR] pm: fix when RTC_HIRES enabled pm procfs err [nuttx]

2024-05-15 Thread via GitHub
jasonbu opened a new pull request, #12357: URL: https://github.com/apache/nuttx/pull/12357 ## Summary In drivers/power/pm/pm_changestate.c pm_stats fist time do ```C clock_systime_timespec(&ts); clock_timespec_subtract(&ts, &dom->start, &ts); ``` if enabled RTC_HIRES, pr

(nuttx-website) branch asf-site updated: Publishing web: ce5ab6cc062dbbe6065b26acd6a7b45062848749 docs: 6ef6d75840be86591eecaf4fab114fbc59f27f8e

2024-05-15 Thread github-bot
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/nuttx-website.git The following commit(s) were added to refs/heads/asf-site by this push: new 07a729b65 Publishing web: ce5ab6c

Re: [PR] esp32s3: add simple boot support [nuttx]

2024-05-15 Thread via GitHub
yamt commented on code in PR #12165: URL: https://github.com/apache/nuttx/pull/12165#discussion_r1602373581 ## arch/xtensa/src/esp32s3/esp32s3_start.c: ## @@ -447,55 +488,155 @@ static inline uint32_t calc_mmu_pages(uint32_t size, uint32_t vaddr) * *

Re: [I] Kernel Build Apps [nuttx]

2024-05-15 Thread via GitHub
acassis commented on issue #12356: URL: https://github.com/apache/nuttx/issues/12356#issuecomment-2113602706 Hi @MainframeReboot please enable Debug Scheduler Info and Debug FileSystem Info, it will report more info showing why it is failing. Look at sched/init/nx_bringup.c line 379, probab

Re: [PR] Added support in Nucleo-L476RG board for MPU9250 sensor. [nuttx]

2024-05-15 Thread via GitHub
acassis commented on PR #12347: URL: https://github.com/apache/nuttx/pull/12347#issuecomment-2113507144 @ivan95603 I suggest you to try getting MPU9250 working with sensor fusion example: https://github.com/apache/nuttx-apps/blob/master/examples/sensor_fusion/sensor_fusion_main.c The

(nuttx-apps) branch master updated: wamr: tweak the defaults according to the new ARCH kconfig options

2024-05-15 Thread acassis
This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git The following commit(s) were added to refs/heads/master by this push: new bc68ce993 wamr: tweak the defaults accordin

Re: [PR] wamr: tweak the defaults according to the new ARCH kconfig options [nuttx-apps]

2024-05-15 Thread via GitHub
acassis merged PR #2395: URL: https://github.com/apache/nuttx-apps/pull/2395 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.a

Re: [PR] Added support in Nucleo-L476RG board for MPU9250 sensor. [nuttx]

2024-05-15 Thread via GitHub
ivan95603 commented on PR #12347: URL: https://github.com/apache/nuttx/pull/12347#issuecomment-2113483045 @xiaoxiang781216 Thanks for merging. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the

Re: [PR] Added support in Nucleo-L476RG board for MPU9250 sensor. [nuttx]

2024-05-15 Thread via GitHub
ivan95603 commented on PR #12347: URL: https://github.com/apache/nuttx/pull/12347#issuecomment-2113477600 > > @ivan95603 yes, the new sensor driver use the uorb standard, it is a standardized way to read from sensors, normally the old char device sensor are specific for each sensor, it mean

Re: [PR] Added support in Nucleo-L476RG board for MPU9250 sensor. [nuttx]

2024-05-15 Thread via GitHub
ivan95603 commented on PR #12347: URL: https://github.com/apache/nuttx/pull/12347#issuecomment-2113463550 > > Hi @fdcavalcanti and @acassis, Regarding [ #2111376548](https://github.com/apache/nuttx/pull/12287#issuecomment-2111376548) as I saw it [mpu60x0.c](https://github.com/apache/nuttx/

[I] Kernel Build Apps [nuttx]

2024-05-15 Thread via GitHub
MainframeReboot opened a new issue, #12356: URL: https://github.com/apache/nuttx/issues/12356 Hi, I have NuttX starting up in kernel build but it fails to load the init ELF file and as such, nothing really happens: ![image](https://github.com/apache/nuttx/assets/168458700/1749

Re: [PR] add stm32h755II chip [nuttx]

2024-05-15 Thread via GitHub
davids5 commented on PR #12350: URL: https://github.com/apache/nuttx/pull/12350#issuecomment-2113397971 @jfbblue0922 What is the diff from the the exiting rcc look like? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and us

Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
acassis commented on PR #12353: URL: https://github.com/apache/nuttx/pull/12353#issuecomment-2113325012 @pussuw could you please take a look at those CI errors on imx9: "nuttx/tools/imx9/Config.mk: No such file or directory" -- This is an automated message from the Apache Git Service. To

(nuttx) branch master updated: PM: change domain field state after callback done

2024-05-15 Thread acassis
This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/master by this push: new 6ef6d75840 PM: change domain field state after c

Re: [PR] PM: change domain field state after callback done [nuttx]

2024-05-15 Thread via GitHub
acassis merged PR #12351: URL: https://github.com/apache/nuttx/pull/12351 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apac

Re: [PR] Add missing c symbols to std namespace [nuttx]

2024-05-15 Thread via GitHub
acassis commented on PR #12354: URL: https://github.com/apache/nuttx/pull/12354#issuecomment-2113314158 @nicolas71640 isn't __builtin_fpclassify and other something specific of GCC? Does it work for other C++ compilers as well? @xiaoxiang781216 and @masayuki2009 since you have more e

Re: [PR] Add a few optional text heap APIs to support esp32s3 [nuttx]

2024-05-15 Thread via GitHub
acassis commented on PR #12355: URL: https://github.com/apache/nuttx/pull/12355#issuecomment-2113305758 @tmedicci please take a look -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specif

Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
pussuw commented on code in PR #12353: URL: https://github.com/apache/nuttx/pull/12353#discussion_r1601980787 ## arch/arm64/src/imx9/imx9_boot.c: ## @@ -44,19 +44,39 @@ #include "imx9_gpio.h" #include "imx9_lowputc.h" +/***

Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
eenurkka commented on code in PR #12353: URL: https://github.com/apache/nuttx/pull/12353#discussion_r1601915922 ## arch/arm64/src/imx9/imx9_boot.c: ## @@ -111,7 +136,9 @@ void arm64_chip_boot(void) #endif #if defined(CONFIG_SMP) || defined(CONFIG_ARCH_HAVE_PSCI) +#ifndef CON

Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
eenurkka commented on code in PR #12353: URL: https://github.com/apache/nuttx/pull/12353#discussion_r1601914481 ## arch/arm64/src/imx9/imx9_boot.c: ## @@ -44,19 +44,39 @@ #include "imx9_gpio.h" #include "imx9_lowputc.h" +/*

(nuttx) branch master updated: Added support in Nucleo-L476RG board for MPU9250 sensor.

2024-05-15 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/master by this push: new fcbae598e4 Added support in Nucleo-L476RG boar

Re: [PR] Added support in Nucleo-L476RG board for MPU9250 sensor. [nuttx]

2024-05-15 Thread via GitHub
xiaoxiang781216 merged PR #12347: URL: https://github.com/apache/nuttx/pull/12347 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nu

(nuttx-apps) branch master updated: fix nxstyle

2024-05-15 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git The following commit(s) were added to refs/heads/master by this push: new d0e030ff0 fix nxstyle d0e030ff0 is descri

Re: [PR] fix nxstyle [nuttx-apps]

2024-05-15 Thread via GitHub
xiaoxiang781216 merged PR #2388: URL: https://github.com/apache/nuttx-apps/pull/2388 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...

Re: [PR] benchmarks/ramspeed: Don't expose interrupt control with kernel configuration. [nuttx-apps]

2024-05-15 Thread via GitHub
xiaoxiang781216 commented on code in PR #2393: URL: https://github.com/apache/nuttx-apps/pull/2393#discussion_r1601890635 ## benchmarks/ramspeed/ramspeed_main.c: ## @@ -400,7 +404,9 @@ static void memcpy_speed_test(FAR void *dest, FAR const void *src, if (irq_disable)

Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
pussuw commented on code in PR #12353: URL: https://github.com/apache/nuttx/pull/12353#discussion_r1601881397 ## boards/arm64/imx9/imx93-evk/scripts/ocramboot.ld: ## @@ -0,0 +1,155 @@ +/ + * boards/arm64

Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
pussuw commented on code in PR #12353: URL: https://github.com/apache/nuttx/pull/12353#discussion_r1601880174 ## arch/arm64/src/imx9/imx9_boot.c: ## @@ -111,7 +136,9 @@ void arm64_chip_boot(void) #endif #if defined(CONFIG_SMP) || defined(CONFIG_ARCH_HAVE_PSCI) +#ifndef CONFI

Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
pussuw commented on code in PR #12353: URL: https://github.com/apache/nuttx/pull/12353#discussion_r1601878364 ## arch/arm64/src/imx9/imx9_boot.c: ## @@ -44,19 +44,39 @@ #include "imx9_gpio.h" #include "imx9_lowputc.h" +/***

Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
pussuw commented on code in PR #12353: URL: https://github.com/apache/nuttx/pull/12353#discussion_r1601876575 ## arch/arm64/src/imx9/imx9_boot.c: ## @@ -44,19 +44,39 @@ #include "imx9_gpio.h" #include "imx9_lowputc.h" +/***

Re: [I] [Discussion] Integrating port specific syscall proxies [nuttx]

2024-05-15 Thread via GitHub
acassis commented on issue #12349: URL: https://github.com/apache/nuttx/issues/12349#issuecomment-2112842067 @g2gps I suggest you to send thing discussion to mailing list as well. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHu

(nuttx) branch master updated: add Port selection on xmc4800

2024-05-15 Thread acassis
This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/master by this push: new 63294c5da2 add Port selection on xmc4800 63294c5

Re: [PR] XMC4800 improve EtherCAT support [nuttx]

2024-05-15 Thread via GitHub
acassis merged PR #12352: URL: https://github.com/apache/nuttx/pull/12352 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apac

Re: [PR] XMC4800 improve EtherCAT support [nuttx]

2024-05-15 Thread via GitHub
acassis commented on PR #12352: URL: https://github.com/apache/nuttx/pull/12352#issuecomment-2112775252 Thank you for explanation @leducp !!! And nice work with that KickCAT project! It should be nice to have AX58100 support on NuttX too (there is a project at HaD using it: https://

[PR] wamr: tweak the defaults according to the new ARCH kconfig options [nuttx-apps]

2024-05-15 Thread via GitHub
yamt opened a new pull request, #2395: URL: https://github.com/apache/nuttx-apps/pull/2395 ## Summary ## Impact ## Testing -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to th

[PR] Add a few optional text heap APIs to support esp32s3 [nuttx]

2024-05-15 Thread via GitHub
yamt opened a new pull request, #12355: URL: https://github.com/apache/nuttx/pull/12355 ## Summary esp32s3's Internal SRAM 1 and External Memory have two separate mappings for instructions and data. ## Impact ## Testing -- This is an automated message from the Apa

Re: [PR] XMC4800 improve EtherCAT support [nuttx]

2024-05-15 Thread via GitHub
leducp commented on PR #12352: URL: https://github.com/apache/nuttx/pull/12352#issuecomment-2112659497 > @Rdk-T Are you using EtherCAT on NuttX? How do we could add generic support for EtherCAT on NuttX? Probably it will require some feature (ioctl?) to inform the network stack that a packa

Re: [PR] Added support in Nucleo-L476RG board for MPU9250 sensor. [nuttx]

2024-05-15 Thread via GitHub
raiden00pl commented on PR #12347: URL: https://github.com/apache/nuttx/pull/12347#issuecomment-2112647788 > @ivan95603 yes, the new sensor driver use the uorb standard, it is a standardized way to read from sensors, normally the old char device sensor are specific for each sensor, it mean

(nuttx) branch master updated (360c2fc44c -> 33b5e1414c)

2024-05-15 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git from 360c2fc44c fix nxstyle add fecf2039d8 videoio: modify the v4l2_pix_format type is the same as mplane add

Re: [PR] V4l2m2m [nuttx]

2024-05-15 Thread via GitHub
xiaoxiang781216 merged PR #12329: URL: https://github.com/apache/nuttx/pull/12329 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nu

[PR] Add missing c symbols to std namespace [nuttx]

2024-05-15 Thread via GitHub
nicolas71640 opened a new pull request, #12354: URL: https://github.com/apache/nuttx/pull/12354 ## Summary Some symbols from libc were missing in std namespace. This PR add them, allowing better support of c++ ## Testing c++ project compilation ok. -- This is an automate

Re: [PR] fix nxstyle [nuttx]

2024-05-15 Thread via GitHub
xiaoxiang781216 merged PR #12345: URL: https://github.com/apache/nuttx/pull/12345 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nu

(nuttx) branch master updated (5df4925672 -> 056eb46d69)

2024-05-15 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git from 5df4925672 esp32s3_textheap.c: fix range checks add 056eb46d69 nxstyle: Ignore long line for file path at line

(nuttx) branch master updated: fix nxstyle

2024-05-15 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/master by this push: new 360c2fc44c fix nxstyle 360c2fc44c is described

Re: [PR] nxstyle: Ignore long line for file path at line 2 [nuttx]

2024-05-15 Thread via GitHub
xiaoxiang781216 merged PR #12346: URL: https://github.com/apache/nuttx/pull/12346 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nu

Re: [PR] XMC4800 improve EtherCAT support [nuttx]

2024-05-15 Thread via GitHub
acassis commented on PR #12352: URL: https://github.com/apache/nuttx/pull/12352#issuecomment-2112598718 @Rdk-T Are you using EtherCAT on NuttX? How do we could add generic support for EtherCAT on NuttX? Probably it will require some feature (ioctl?) to inform the network stack that a packag

Re: [PR] Implement Filelock [nuttx]

2024-05-15 Thread via GitHub
xiaoxiang781216 commented on PR #11724: URL: https://github.com/apache/nuttx/pull/11724#issuecomment-2112594135 > > If you don't use file lock, could skip the local patch safely. > > it doesn't solve the maintenance problem. > > if no one wants to work on a solution, i'd suggest

Re: [PR] esp32s3_textheap.c: fix range checks [nuttx]

2024-05-15 Thread via GitHub
acassis merged PR #12348: URL: https://github.com/apache/nuttx/pull/12348 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apac

(nuttx) branch master updated: esp32s3_textheap.c: fix range checks

2024-05-15 Thread acassis
This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/master by this push: new 5df4925672 esp32s3_textheap.c: fix range checks

Re: [PR] sim: add sqlite configuration [nuttx]

2024-05-15 Thread via GitHub
acassis commented on PR #12305: URL: https://github.com/apache/nuttx/pull/12305#issuecomment-2112581954 ping @Gary-Hobson -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. T

Re: [PR] Added support in Nucleo-L476RG board for MPU9250 sensor. [nuttx]

2024-05-15 Thread via GitHub
acassis commented on PR #12347: URL: https://github.com/apache/nuttx/pull/12347#issuecomment-2112573755 > Hi @fdcavalcanti and @acassis, Regarding [ #2111376548](https://github.com/apache/nuttx/pull/12287#issuecomment-2111376548) as I saw it [mpu60x0.c](https://github.com/apache/nuttx/blob

Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
jlaitine commented on code in PR #12353: URL: https://github.com/apache/nuttx/pull/12353#discussion_r1601605844 ## arch/arm64/src/common/arm64_head.S: ## @@ -235,6 +235,15 @@ switch_el: blarm64_boot_el3_init +#ifdef CONFIG_ARCH_BOOT_EL3 +msr SPSel, #1 + +/

(nuttx) branch master updated: xtensa/esp32s3: pending interrupt should be clear while disable GPIO IRQ

2024-05-15 Thread acassis
This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/master by this push: new 10c8c39426 xtensa/esp32s3: pending interrupt sho

Re: [PR] xtensa/esp32s3: pending interrupt should be clear while disable GPIO IRQ [nuttx]

2024-05-15 Thread via GitHub
acassis merged PR #12332: URL: https://github.com/apache/nuttx/pull/12332 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apac

Re: [PR] nxstyle: Ignore long line for file path at line 2 [nuttx]

2024-05-15 Thread via GitHub
acassis commented on PR #12346: URL: https://github.com/apache/nuttx/pull/12346#issuecomment-2112554629 ping @xiaoxiang781216 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment

Re: [PR] add stm32h755II chip [nuttx]

2024-05-15 Thread via GitHub
acassis commented on PR #12350: URL: https://github.com/apache/nuttx/pull/12350#issuecomment-2112553331 Hi @jfbblue0922 thank you for your first contribution! I hope you attend our NuttX International Workshop in Japan next month (more info: https://events.nuttx.apache.org). Please f

Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
eenurkka commented on code in PR #12353: URL: https://github.com/apache/nuttx/pull/12353#discussion_r1601647705 ## arch/arm64/src/common/arm64_gicv3.c: ## @@ -789,6 +789,28 @@ uint64_t * arm64_decodefiq(uint64_t * regs) irq = arm64_gic_get_active_fiq(); +#ifdef CONFIG_ARC

Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
acassis commented on code in PR #12353: URL: https://github.com/apache/nuttx/pull/12353#discussion_r1601642973 ## arch/arm64/src/common/arm64_gicv3.c: ## @@ -789,6 +789,28 @@ uint64_t * arm64_decodefiq(uint64_t * regs) irq = arm64_gic_get_active_fiq(); +#ifdef CONFIG_ARCH

Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
jlaitine commented on code in PR #12353: URL: https://github.com/apache/nuttx/pull/12353#discussion_r1601616761 ## arch/arm64/src/common/arm64_head.S: ## @@ -235,6 +235,15 @@ switch_el: blarm64_boot_el3_init +#ifdef CONFIG_ARCH_BOOT_EL3 +msr SPSel, #1 + +/

Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
eenurkka commented on code in PR #12353: URL: https://github.com/apache/nuttx/pull/12353#discussion_r1601613068 ## arch/arm64/src/common/arm64_mmu.c: ## @@ -556,6 +556,41 @@ static void enable_mmu_el1(unsigned int flags) #endif } +#ifdef CONFIG_ARCH_HAVE_EL3 Review Comment:

Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
jlaitine commented on PR #12353: URL: https://github.com/apache/nuttx/pull/12353#issuecomment-2112469769 Added a few comments, otherwise looks good. Nice work! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL ab

Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
jlaitine commented on code in PR #12353: URL: https://github.com/apache/nuttx/pull/12353#discussion_r1601588726 ## arch/arm64/src/imx9/imx9_boot.c: ## @@ -44,19 +44,39 @@ #include "imx9_gpio.h" #include "imx9_lowputc.h" +/*

Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
jlaitine commented on code in PR #12353: URL: https://github.com/apache/nuttx/pull/12353#discussion_r1601605844 ## arch/arm64/src/common/arm64_head.S: ## @@ -235,6 +235,15 @@ switch_el: blarm64_boot_el3_init +#ifdef CONFIG_ARCH_BOOT_EL3 +msr SPSel, #1 + +/

Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
eenurkka commented on code in PR #12353: URL: https://github.com/apache/nuttx/pull/12353#discussion_r1601584026 ## arch/arm64/src/common/arm64_head.S: ## @@ -235,6 +235,15 @@ switch_el: blarm64_boot_el3_init +#ifdef CONFIG_ARCH_BOOT_EL3 +msr SPSel, #1 + +/

Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
eenurkka commented on code in PR #12353: URL: https://github.com/apache/nuttx/pull/12353#discussion_r1601602021 ## boards/arm64/imx9/imx93-evk/scripts/ocramboot.ld: ## @@ -0,0 +1,155 @@ +/ + * boards/arm

Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
eenurkka commented on code in PR #12353: URL: https://github.com/apache/nuttx/pull/12353#discussion_r1601595434 ## arch/arm64/src/imx9/Kconfig: ## @@ -47,6 +47,14 @@ config IMX9_FLEXIO_PWM select PWM_MULTICHAN default n +config IMX9_BOOTLOADER + bool "Boo

Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
jlaitine commented on code in PR #12353: URL: https://github.com/apache/nuttx/pull/12353#discussion_r1601593274 ## boards/arm64/imx9/imx93-evk/scripts/ocramboot.ld: ## @@ -0,0 +1,155 @@ +/ + * boards/arm

Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
jlaitine commented on code in PR #12353: URL: https://github.com/apache/nuttx/pull/12353#discussion_r1601588726 ## arch/arm64/src/imx9/imx9_boot.c: ## @@ -44,19 +44,39 @@ #include "imx9_gpio.h" #include "imx9_lowputc.h" +/*

Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
jlaitine commented on code in PR #12353: URL: https://github.com/apache/nuttx/pull/12353#discussion_r1601588726 ## arch/arm64/src/imx9/imx9_boot.c: ## @@ -44,19 +44,39 @@ #include "imx9_gpio.h" #include "imx9_lowputc.h" +/*

Re: [PR] Added support in Nucleo-L476RG board for MPU9250 sensor. [nuttx]

2024-05-15 Thread via GitHub
ivan95603 commented on PR #12347: URL: https://github.com/apache/nuttx/pull/12347#issuecomment-2112436983 Hi @fdcavalcanti and @acassis, Regarding [ #2111376548](https://github.com/apache/nuttx/pull/12287#issuecomment-2111376548) as I saw it [mpu60x0.c](https://github.com/apache/nuttx/b

Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
jlaitine commented on code in PR #12353: URL: https://github.com/apache/nuttx/pull/12353#discussion_r1601586955 ## arch/arm64/src/imx9/Kconfig: ## @@ -47,6 +47,14 @@ config IMX9_FLEXIO_PWM select PWM_MULTICHAN default n +config IMX9_BOOTLOADER + bool "Boo

Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
eenurkka commented on code in PR #12353: URL: https://github.com/apache/nuttx/pull/12353#discussion_r1601584026 ## arch/arm64/src/common/arm64_head.S: ## @@ -235,6 +235,15 @@ switch_el: blarm64_boot_el3_init +#ifdef CONFIG_ARCH_BOOT_EL3 +msr SPSel, #1 + +/

Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
eenurkka commented on code in PR #12353: URL: https://github.com/apache/nuttx/pull/12353#discussion_r1601581966 ## arch/arm64/src/common/arm64_head.S: ## @@ -235,6 +235,15 @@ switch_el: blarm64_boot_el3_init +#ifdef CONFIG_ARCH_BOOT_EL3 +msr SPSel, #1 + +/

Re: [PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
jlaitine commented on code in PR #12353: URL: https://github.com/apache/nuttx/pull/12353#discussion_r1601578603 ## arch/arm64/src/common/arm64_head.S: ## @@ -235,6 +235,15 @@ switch_el: blarm64_boot_el3_init +#ifdef CONFIG_ARCH_BOOT_EL3 +msr SPSel, #1 + +/

Re: [PR] Added support in Nucleo-L476RG board for MPU9250 sensor. [nuttx]

2024-05-15 Thread via GitHub
ivan95603 commented on PR #12347: URL: https://github.com/apache/nuttx/pull/12347#issuecomment-2112396045 @acassis Thanks. Fixed all three lines and squashed commit. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the

Re: [PR] XMC4800 improve EtherCAT support [nuttx]

2024-05-15 Thread via GitHub
Rdk-T commented on PR #12352: URL: https://github.com/apache/nuttx/pull/12352#issuecomment-2112383669 Hi @jerpelea , I'm not sure what you mean. The changes I make in the KConfig will not be seen in the default defconfig. The defconfig will only change if the default settings are changed by

Re: [I] make menuconfig failed [nuttx]

2024-05-15 Thread via GitHub
simbit18 commented on issue #12333: URL: https://github.com/apache/nuttx/issues/12333#issuecomment-2112374359 @snikeguo you are not yet using the MSYS environment path MSYS environment -> **C:\msys64\msys2.exe** ![MSYS_environment](https://github.com/apache/nuttx/assets/101105

[PR] arm64 EL3 runtime support [nuttx]

2024-05-15 Thread via GitHub
eenurkka opened a new pull request, #12353: URL: https://github.com/apache/nuttx/pull/12353 ## Summary This introduces EL3 support for NuttX meaning it may run from EL3 without dropping privileges. It's useful when it replaces an existing bootloader, such as SPL (from SPL/U-boot comb

Re: [I] make menuconfig failed [nuttx]

2024-05-15 Thread via GitHub
snikeguo commented on issue #12333: URL: https://github.com/apache/nuttx/issues/12333#issuecomment-2112319303 > > > > you need to use MSYS environment C:\msys64\msys2.exe > > > > ![msys2](https://private-user-images.githubusercontent.com/101105604/330736407-3c7669be-967b-48f1-bd2a-b526245

Re: [I] make menuconfig failed [nuttx]

2024-05-15 Thread via GitHub
snikeguo commented on issue #12333: URL: https://github.com/apache/nuttx/issues/12333#issuecomment-2112317728 > > > you need to use MSYS environment C:\msys64\msys2.exe > > > ![msys2](https://private-user-images.githubusercontent.com/101105604/330736407-3c7669be-967b-48f1-bd2a-b52624548b4

Re: [I] make menuconfig failed [nuttx]

2024-05-15 Thread via GitHub
snikeguo commented on issue #12333: URL: https://github.com/apache/nuttx/issues/12333#issuecomment-2112315800 > > you need to use MSYS environment C:\msys64\msys2.exe > > ![msys2](https://private-user-images.githubusercontent.com/101105604/330736407-3c7669be-967b-48f1-bd2a-b52624548b44.jp

Re: [I] make menuconfig failed [nuttx]

2024-05-15 Thread via GitHub
snikeguo commented on issue #12333: URL: https://github.com/apache/nuttx/issues/12333#issuecomment-2112314909 > you need to use MSYS environment C:\msys64\msys2.exe > > ![msys2](https://private-user-images.githubusercontent.com/101105604/330736407-3c7669be-967b-48f1-bd2a-b52624548b44.

[PR] XMC4800 improve EtherCAT support [nuttx]

2024-05-15 Thread via GitHub
Rdk-T opened a new pull request, #12352: URL: https://github.com/apache/nuttx/pull/12352 ## Summary - add Port selection on xmc4800, to select either Port 0, Port1 or both. - Base ecat option on chip instead of board (allow custom boards to use the EtherCAT) - add GPIO_E

Re: [I] make menuconfig failed [nuttx]

2024-05-15 Thread via GitHub
simbit18 commented on issue #12333: URL: https://github.com/apache/nuttx/issues/12333#issuecomment-2111953750 you need to use MSYS environment C:\msys64\msys2.exe ![msys2](https://github.com/apache/nuttx/assets/101105604/3c7669be-967b-48f1-bd2a-b52624548b44) -- This is an auto

Re: [I] make menuconfig failed [nuttx]

2024-05-15 Thread via GitHub
snikeguo commented on issue #12333: URL: https://github.com/apache/nuttx/issues/12333#issuecomment-2111927769 > @snikeguo Which environment are you using ? > > https://www.msys2.org/docs/environments/ > > nuttx is currently used on **MSYS environment** > > `The MSYS envir

[PR] PM: change domain field state after callback done [nuttx]

2024-05-15 Thread via GitHub
jasonbu opened a new pull request, #12351: URL: https://github.com/apache/nuttx/pull/12351 ## Summary Swap the sequency of domain state update and statechanged callback, Make sure inside statechanged callback can get the old domain state. ## Impact Only have impact on stabil

Re: [I] make menuconfig failed [nuttx]

2024-05-15 Thread via GitHub
simbit18 commented on issue #12333: URL: https://github.com/apache/nuttx/issues/12333#issuecomment-2111908170 @snikeguo Which environment are you using ? https://www.msys2.org/docs/environments/ nuttx is currently used on **MSYS environment** `The MSYS environment contai

Re: [PR] esp32s3: add simple boot support [nuttx]

2024-05-15 Thread via GitHub
almir-okato commented on code in PR #12165: URL: https://github.com/apache/nuttx/pull/12165#discussion_r1601199361 ## arch/xtensa/src/esp32s3/esp32s3_start.c: ## @@ -447,55 +488,155 @@ static inline uint32_t calc_mmu_pages(uint32_t size, uint32_t vaddr) * **

(nuttx) branch master updated: sys/socket.h: add the definition of SCM_TIMESTAMP.

2024-05-15 Thread archer
This is an automated email from the ASF dual-hosted git repository. archer pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/master by this push: new 53a72a31fb sys/socket.h: add the definition of SC

Re: [PR] sys/socket.h: add the definition of SCM_TIMESTAMP [nuttx]

2024-05-15 Thread via GitHub
anchao merged PR #12343: URL: https://github.com/apache/nuttx/pull/12343 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apach

Re: [I] make menuconfig failed [nuttx]

2024-05-15 Thread via GitHub
snikeguo commented on issue #12333: URL: https://github.com/apache/nuttx/issues/12333#issuecomment-2111799423 > make clean -j 2 @simbit18 when i enter 'make menuconfig' again ``` # make menuconfig CP: arch/dummy/Kconfig to /d/Project/nuttxspace/nuttx/arch/dummy/dummy_kconfig