Lionel Ains
Lionel Ains
Hi. I'm facing the same issue here when running the following sample script using nodejs v20.4.0 on Ubuntu 23.10: ``` const {SerialPort} = require('serialport'); const f = async () =>...
It looks like this problem is related to libuv, and maybe specifically to when libuv started to use the Linux kernel's facility `io_uring` instead of `epoll` for async operations. This...
In the nodejs v20.2.0 I'm using, the embedded libuv is: ``` $ npm version | grep 'uv:' uv: '1.44.2', ``` And in nodejs v20.4.0, it is: ``` $ npm version...
When rust boot hangs, execution seems to hit the following `panic()`, which actually makes sense: https://github.com/nihalpasham/rustBoot/blob/8437fd2a6ebf79d68a885da895e009fafccfccee/rustBoot/src/image/image.rs#L572
I am going to give it a try again on my board. I'll keep you posted.
I did reproduce on https://github.com/nihalpasham/rustBoot/commit/8437fd2a6ebf79d68a885da895e009fafccfccee and also on https://github.com/nihalpasham/rustBoot/commit/d4394d383ba3758574159c6630e4c3261a6b47f1 Same thing after a ``` rustup update ``` which leads to: ``` stable-x86_64-unknown-linux-gnu updated - rustc 1.81.0 (eeb90cda1 2024-09-04) (from rustc...
@imrank03, on which board did you try to run the test? on a NUCLEO-H723ZG?
Hi @imrank03 , yes, the panic implementation is indeed in [main.rs](https://github.com/nihalpasham/rustBoot/blob/8437fd2a6ebf79d68a885da895e009fafccfccee/boards/bootloaders/stm32h723/src/main.rs#L21). As far as I could diagnose, the root case actually comes from here: https://github.com/nihalpasham/rustBoot/blob/8437fd2a6ebf79d68a885da895e009fafccfccee/rustBoot/src/image/image.rs#L572 Changing it from a `panic()`...
Hello @imrank03, did you make any progress on this? If not, I can probably have a quick look next week, and probably even go further the following week.
I am preparing a PR [here](https://github.com/nihalpasham/rustBoot/pull/82). It still needs review and maybe some rework.