Re: Build Nuttx on MAC / ARM64 Ubuntu

2022-02-02 Thread Peter Kalbus
Hi, please check https://github.com/apache/incubator-nuttx/pull/5401 with initial support. Feedback is highly appreciated. /Piet > Am 02.02.2022 um 08:57 schrieb Peter Kalbus : > > Hi Flavio, > > let me share my latest findings. > > I’m

Re: Right way to start a lightweight kernel thread without copying open file descriptors?

2022-02-02 Thread Gregory Nutt
in my case the device driver keeps track whether the kernel thread runs and > returns EBUSY If thats the case for a second start attempt. Would that be > sufficient to avoid the security risk you are considering? > > Yes. A more typical use case would be to start the kernel thread at the time that

Re: Right way to start a lightweight kernel thread without copying open file descriptors?

2022-02-02 Thread Michael Jung
Hi Greg, in my case the device driver keeps track whether the kernel thread runs and returns EBUSY If thats the case for a second start attempt. Would that be sufficient to avoid the security risk you are considering? Thanks! Michael Gregory Nutt schrieb am Mi., 2. Feb. 2022, 00:42: > It seem

Re: enable the excute of install_tools in cibuild.sh

2022-02-02 Thread fft
Hi Ashton there's new error when run Dockerfile,do you know why? thanks! #31 [nuttx-toolchain-sparc 1/1] RUN mkdir sparc-gaisler-elf-gcc &&   curl -L "https://www.gaisler.com/anonftp/bcc2/bin/bcc-2.1.0-gcc-linux64.tar.xz"  ; | tar -C sparc-gaisler-elf-gcc --strip-components 1 -xvJf #31 sha256:

Re: enable the excute of install_tools in cibuild.sh

2022-02-02 Thread fft
thanks??let me try! ---Original--- From: "Brennan Ashton"https://github.com/apache/incubator-nuttx/blob/master/tools/ci/docker/linux/Dockerfile > > > On Tue, Feb 1, 2022, 11:37 PM fft https://github.com/apache/incubator-nuttx/runs/5032993342?check_suite_focus=true > > >

Re: enable the excute of install_tools in cibuild.sh

2022-02-02 Thread Brennan Ashton
We do not run install_tools in the Linux builds and instead pre install them in the docker image I linked. This provides a stable environment to then run the test builds against and also substantially reduces the build time. To make changes to the image the changes will have to first merge to mast

Re: enable the excute of install_tools in cibuild.sh

2022-02-02 Thread fft
The "install_tools" function in tools/ci/cibuild.sh should be excuted firstly to install sparc-gcc-toolchain,isn't it? but there's some error when excute "install_tools" function   -- Original -- From:  "Brennan Ashton"https://github.com/apache/incubator-nuttx/blob

Re: enable the excute of install_tools in cibuild.sh

2022-02-02 Thread Brennan Ashton
The ci uses the docker container. You will want to submit a PR updating that and have that merge first. https://github.com/apache/incubator-nuttx/blob/master/tools/ci/docker/linux/Dockerfile On Tue, Feb 1, 2022, 11:37 PM fft wrote: > Hi team's > I'm try to add sparc to the daily ci,I add code