Commit Graph
100 Commits
Author SHA1 Message Date
alex 76398090b3 Corrects typing for UINT32, still same size but correct type now
This change is warranted by integrating the wolfssl netxduo sockets
2026-05-06 07:32:31 +01:00
alex 5b8c72cd9d changes ULONG to UINT32 for 64bit netxduo 2026-04-12 19:10:55 +02:00
alex 91632bcdee updates test for smp 2026-04-10 16:25:15 +02:00
alex 5b2da239d2 enables smp demo 2026-04-10 16:19:26 +02:00
alex 1165785154 formats file 2026-04-10 16:16:29 +02:00
alex ba39d23a18 adds hooks in bootup do move smp booting into the smp port lib 2026-04-10 14:40:21 +02:00
alex d97e71ca83 updates test to work with new build system 2026-04-10 14:13:18 +02:00
alex 4c15a3e15f enables tcp demo 2026-04-10 13:28:16 +02:00
alex 68057507c9 adds small cleanups towards updating the entire build system 2026-04-10 13:22:54 +02:00
alex 32df317b38 adds board header 2026-04-10 13:21:40 +02:00
alex 12ae01cda2 WIP: makes moonlight now the base library with no dependencies to be consumed by others 2026-04-10 13:14:40 +02:00
alex ff0f81e9c0 corrects bootup code
not tested if tls actually works
2026-04-10 13:14:04 +02:00
alex f989e21bad makes uart.h now also provide init 2026-04-10 13:13:05 +02:00
alex e3a7a9ccaf adds missing build system changes from a prio commit 2026-04-10 13:12:35 +02:00
alex c717297b30 removes more dependencies 2026-04-10 13:12:05 +02:00
alex b16a0ed956 splits low_level_init to allow usage of c file
this also makes threadx hook into the isrs
2026-04-10 13:10:50 +02:00
alex 21f95341af removes dependency of board.c to libc 2026-04-10 13:09:26 +02:00
alex 86025e020d moves linker script file into moonlight 2026-04-10 12:35:55 +02:00
alex 764ccd4a52 adds tracing to thread demo
this hardcodes the trace buffer
2026-04-10 10:13:14 +02:00
alex 27438ef6a5 also corrects LONG (not just ULONG) 2026-04-04 11:45:39 +02:00
alex f58aa42abd changes regression such that non-smp test run before smp tests 2026-04-02 14:52:02 +02:00
alex ac1fb36e2c adds MinSizeRel to the regression 2026-04-02 14:49:43 +02:00
alex c0386ea4a1 makes bootup code work for any number of cores 2026-04-02 14:26:24 +02:00
alex ffc49bc6a9 small formatting 2026-04-02 14:25:58 +02:00
alex 8772df619f adds 64 bit versions to regression 2026-04-02 11:38:16 +02:00
alex a6a6a034d6 removes convoluted generation of offsets
Ass ULONG is now 8 bytes on RV64, the SMP offset is the only one left, harcoding it as a magic number is simpler
2026-04-02 11:35:37 +02:00
alex 9212d40d86 adds newest version of patched threadx tests 2026-04-02 11:00:50 +02:00
alex c16e6b0446 adjust SMP port to also use ULONG = 8 bytes 2026-04-02 10:48:43 +02:00
alex eda2a85dc1 makes ULONG 64 bit on RV64 2026-04-02 10:31:12 +02:00
alex bdf3893bf2 updates latest image for regression 2026-04-01 18:21:20 +02:00
alex 8dfc5ab688 parallelizes ctest and build in regression 2026-03-31 22:52:50 +02:00
alex 856b5f9d32 updates threadx 2026-03-31 21:59:05 +02:00
alex 27fc04011c forces rebuild for cmake 2026-03-31 17:39:44 +02:00
alex bb79d43ff7 removes parallel build to enable searching for build error 2026-03-31 17:34:12 +02:00
alex 3cd42fcb10 adds submodules to checkout 2026-03-31 17:31:31 +02:00
alex ea1945983f Removes parameters for latest image and simulator path
also addresses latest error
2026-03-31 17:28:03 +02:00
alex dc30c46763 adds quote do cred ID 2026-03-31 17:24:38 +02:00
alex 0e0ad03e63 adds auth to docker login 2026-03-31 17:20:09 +02:00
alex 6b16e22ba6 next try at debugging the Jenkinsfile 2026-03-31 16:59:58 +02:00
alex f366a9211e adds Info for debugging 2026-03-31 16:51:52 +02:00
alex 9d698fb911 removes ansiColor step 2026-03-31 16:21:20 +02:00
alex 6e82d49488 adds Jenkinsfile 2026-03-31 16:13:53 +02:00
alex b5016c23b0 updates README 2026-03-31 16:13:45 +02:00
alex 824b71c283 adds csr.h to the moonlight port (adds duplicate as it is also in port/threadx/inc) 2026-03-31 16:13:34 +02:00
alex 7e2e162fe1 cleans up nx_port dependency 2026-03-31 16:09:44 +02:00
alex dd0c837930 corrects stack alignment 2026-03-30 19:48:09 +02:00
alex 870a5f9c36 adds newer version of threadx fork;
regression tx and smp now works for Debug32 and Release32
2026-03-26 16:18:04 +01:00
alex ab6c2d0bc4 adds newest version of threadx fork
ATP Debug32 passes all tx and smp regression tests
2026-03-26 15:56:47 +01:00
alex 8a41f3e0fa small cleanuo to smp asm files 2026-03-26 15:55:32 +01:00
alex 1aa9944581 corrects timeout for smp ctest 2026-03-25 09:27:44 +01:00
alex c9c2d2009f adds regression for smp 2026-03-25 08:49:20 +01:00
alex c11f68d20c initial test harness for smp regression 2026-03-24 18:00:50 +01:00
alex 7253aadd52 corrects alignment for 64bit in port 2026-03-24 14:38:16 +01:00
alex 24d22e42f6 moves threadx to minres fork 2026-03-24 14:37:47 +01:00
alex e02a58e25f switches to tohost based exit code, reducing complexity in deciding failure / pass 2026-03-23 16:58:56 +01:00
alex 4e87ae718b removes patching of kernel tets, as a correct testsuite requires a patched threadx anyways
This will not build, as atp threadx is still checked in clean
2026-03-23 16:32:33 +01:00
alex 47ba20d762 Changes simulation ending mechanism (exit function)
As higher optimization might actually schedule a jump to self while waiting for timer interrupts this is a more robust implementation in that sense
2026-03-22 22:47:26 +01:00
alex 59b9e9e7e3 adds explicit dependencies for generated files 2026-03-22 21:37:30 +01:00
alex bbbdae160a makes the timer tick actually every ms 2026-03-22 21:18:40 +01:00
alex b8d4472657 corrects interrupt disable and restore macros
Turns out the port was really that shitty
2026-03-22 21:14:39 +01:00
alex 78163ebb99 adds test harness 2026-03-22 18:27:07 +01:00
alex bbad53cc1a adds all regression tests 2026-03-22 17:12:16 +01:00
alex 9947ce8d52 corrects naming of TX_INTERRUPT_SAVE_AREA to meet test expectations
Also corrects the sizes, as ULONG is XLEN bits
2026-03-22 15:56:00 +01:00
alex 7307a86860 adds ISR check that is closer to productive code
This approach patches the existing trap handler to call the test routine
2026-03-21 20:27:16 +01:00
alex 8bcbc9881e Revert "adds testing hook for trap_non_vectored"
This reverts commit 014cf9f8ee.
2026-03-21 20:19:42 +01:00
alex 014cf9f8ee adds testing hook for trap_non_vectored 2026-03-21 20:15:46 +01:00
alex 124783a57c corrects exit 2026-03-21 20:15:33 +01:00
alex 4cfa80d7a6 adds build presets for demos 2026-03-21 18:27:26 +01:00
alex 55cd39271a adds toplevel CMakeLists.txt for tests 2026-03-21 18:23:25 +01:00
alex c98ac25ca6 makes compilation of the network driver depend on netxduo being built 2026-03-21 18:19:45 +01:00
alex fdf477044f removes arguments for consumers (setting output dir and target_mem) 2026-03-21 18:15:11 +01:00
alex be47608a03 corrects hwtimer TICKNUM
this change went unnoticed when moving the file into moonlight/inc
2026-03-21 17:53:43 +01:00
alex dfa1c2182c adds initial testing setup 2026-03-21 16:34:08 +01:00
alex d85f524d07 makes setup_target take output dir for binaries and target mem as arguments 2026-03-21 16:32:29 +01:00
alex 083565251e cleans up moonlight dir 2026-03-21 15:40:54 +01:00
alex ba1b9c44ee makes the port provide its dependencies as a library 2026-03-21 15:33:02 +01:00
alex 3ccc0de209 adds overlooked file
This was just never used in the demos and thus not noticed
2026-03-21 15:12:08 +01:00
alex 950dd213c8 makes setup_target function more robust when being called in other CMakeLists.txt files 2026-03-21 15:10:45 +01:00
alex 2433b66dc0 corrects port files, enables wakeups in port 2026-03-16 08:08:49 +01:00
alex 2d0ec274ac makes bootup multi core able 2026-03-16 08:08:18 +01:00
alex 58fc04bbb3 adds trap handler 2026-03-16 08:08:07 +01:00
alex 3ba7cdda9e fortifies regex for asm offset parsing 2026-03-12 20:17:42 +01:00
alex 239cd26a5c adds stub for dynamic core discovery in port 2026-03-12 16:31:51 +01:00
alex ebe891dad6 adds smp tx_timer_interrupt 2026-03-12 16:15:57 +01:00
alex c390c4b8db adds smp demo as target 2026-03-12 15:57:28 +01:00
alex 1da9671197 adds trap_entry to smp lib 2026-03-12 15:57:02 +01:00
alex 28aaf8fd96 makes smp a lib only 2026-03-12 15:56:48 +01:00
alex 6d635345dd small formatting changes 2026-03-12 15:56:33 +01:00
alex 3fc721d6f2 moves spm_offset functionality into its own cmake file 2026-03-12 15:38:15 +01:00
alex 5ebcce634a small cleanup 2026-03-12 15:29:41 +01:00
alex cca56f89c6 adds other files necessary to build smp library 2026-03-12 15:21:18 +01:00
alex 1117527a02 changes so that cmake builds for now 2026-03-11 19:13:10 +01:00
alex a75db78425 adds ipi functionality 2026-03-10 21:02:29 +01:00
alex 744773848c adds initial smp tx_port 2026-03-10 21:02:16 +01:00
alex f83e96fbcd adds initial low_level_init 2026-03-10 21:01:01 +01:00
alex 2e955b9342 adds the generation of the offsetof defines to CMakeLists.txt
As the offsets into the TX_THREAD are needed to access certain fields and the members for smp are quite difficult to obtain this was the safest option
2026-03-10 20:59:58 +01:00
alex 70bbde8502 adds initial smp scheduler 2026-03-10 20:57:47 +01:00
alex e5020b78de WIP: build system 2026-03-09 19:37:34 +01:00
alex f10fbbffab adds small changes to make tx_port for non-smp consistent with the one that implements smp 2026-03-09 15:49:15 +01:00
alex add4ef840b removes trace section
As there is no definitive decision as to where the tracing should be placed in the memory, it is removed for now
2026-02-13 10:04:17 +00:00