Sean Stel

Results 29 comments of Sean Stel

Hey guys, I did some more thinking and took this a step further with the help of one of the conan developers. See https://github.com/conan-io/conan/issues/16340. With this approach you can package...

> How do you go about installing other Conan packages ? From what I can see you are building nuttx using Conan but what if your application needs other Conan...

@pussuw to summarize what you are saying, we have to set up the HSS OpenSBI memory areas and access rights in a way that match/support the NuttX knsh config. Did...

### Scripts for Debugging with GDB and Renode Here is what I've been using to debug this: These scripts go in `nuttxspace/nuttx`. ``` $ cat gdb.sc target remote :3333 break...

@acassis @jrosberg the `eh_frame` and `eh_frame_hdr` sections are missing from the linker script `boards/risc-v/mpfs/icicle/scripts/ld.script`. That's part of the problem, though there seems to be other things missing because I was...

@acassis I tried STM32F4 Discovery NSH build from 12.4 in Renode today, but it crashed on startup. I don't have the physical board. I cloned gcc and compared the libgcc...

I made some progress on this today. [`_Unwind_Find_FDE`](https://github.com/riscv-collab/riscv-gcc/blob/riscv-gcc-10.2.0/libgcc/unwind-dw2-fde.c#L1030) was returning NULL because the [`unseen_objects`](https://github.com/riscv-collab/riscv-gcc/blob/riscv-gcc-10.2.0/libgcc/unwind-dw2-fde.c#L49) linked list wasn't initialized. This linked list needs to be initialized at startup, and then during...

@acassis to be clear, exceptions still aren't being caught - the load address misalignment crash is happening during the `_Unwind_Find_FDE` call from the `throw`. I think we should use `CONFIG_CXX_EXCEPTION`,...

@acassis one of my colleagues built the gcc toolchain (including libgcc.a) for RISC-V with -mstrict-align. That fixed the crash. Now there's another problem! 🤣 `libc++abi: terminating due to uncaught exception...

> This is why I think it could be a good idea to document all the process to help other people facing similar issue, maybe on other arch in the...