Re: Should we relax precheck a little bit?

2020-03-10 Thread Takashi Yamamoto
we basically prevent changes on files unless you can fix all nxstyle issues in them. i don't think it's a good idea. i believe that there can be changes more important than style fixes. in addition to -r option you suggested, i'd suggest to make precheck separate from other (IMO more important) ch

Re: Should we relax precheck a little bit?

2020-03-10 Thread Takashi Yamamoto
On Tue, Mar 10, 2020 at 3:43 PM Xiang Xiao wrote: > > On Tue, Mar 10, 2020 at 1:17 AM Gregory Nutt wrote: > > > > > > > - Fixing the entire file we touch helps makes things better overall > > > even > > > though its painful in the short run. > > > - Having a tool that produces accura

Build failed in Jenkins: NuttX-Nightly-Build #60

2020-03-10 Thread Apache Jenkins Server
See Changes: -- [...truncated 504.04 KB...] Copy files Select CONFIG_HOST_LINUX=y Refreshing... Building NuttX... --

Re: NXFLAT Binary loader support for RX65N

2020-03-10 Thread Gregory Nutt
Yes, you would need to implement support similar to ARM in buildroot. It would be easier to implement ELF module support. On Tue, Mar 10, 2020, 10:14 PM Anjana wrote: > Hello Team, > > I am trying to enable and test NXFLAT binary loader support for RX65N. > > I have noticed that NXFLAT binary l

NXFLAT Binary loader support for RX65N

2020-03-10 Thread Anjana
Hello Team, I am trying to enable and test NXFLAT binary loader support for RX65N. I have noticed that NXFLAT binary loader requires NXFLAT toolchain to be built using buildroot package. The current NXFLAT toolchain supports ARM targets only. I have referred to https://cwiki.apache.org/conflue

Re: Re: Should we relax precheck a little bit?

2020-03-10 Thread Takashi Yamamoto
On Mon, Mar 9, 2020 at 6:09 AM Peter Van Der Perk wrote: > > Hi Adam, > > I've been trying to make a clang-format for NuttX however I did run in some > nasty bugs with clang-format. > Mostly the inconsistent spacing caused by preprocessor directives (#ifdef) > etc. > I've filed a bug on the LLVM

Re: Recent nxstyle changes

2020-03-10 Thread Gregory Nutt
I just like to discuss my recent nxstyle changes in regards to check the alignment of right of code comments according to coding standard. https://cwiki.apache.org/confluence/display/NUTTX/Coding+Standard#comments I checked against /sched before PR and everything looked good. But know I see a

Recent nxstyle changes

2020-03-10 Thread Schock, Johannes - NIVUS GmbH
I just like to discuss my recent nxstyle changes in regards to check the alignment of right of code comments according to coding standard. https://cwiki.apache.org/confluence/display/NUTTX/Coding+Standard#comments I checked against /sched before PR and everything looked good. But know I see at le

Re: let's discuss about the file system and nand flash driver

2020-03-10 Thread Schock, Johannes - NIVUS GmbH
Just for reference another nand FTL, I found it some time ago, but never tried it: https://github.com/dlbeer/dhara Johannes

Re: Github Issue on Build Failure

2020-03-10 Thread Xiang Xiao
On Wed, Mar 11, 2020 at 12:57 AM Anthony Merlino wrote: > > I have been inactive for some time now, but I would like to get back up to > speed and start making some contributions. One thing I was hoping to do was > help get rid of some of the nightly build errors so that we can get a > stable base

Re: Github Issue on Build Failure

2020-03-10 Thread Xiang Xiao
On Wed, Mar 11, 2020 at 1:24 AM Gregory Nutt wrote: > > > >> It looks like there is a Jenkins plugin that allows the Github issue to be > > created relatively easily. I'd be happy to try and get this working if > > everyone agrees. > Just as a matter of practicality, it would be good to restrict t

Re: let's discuss about the file system and nand flash driver

2020-03-10 Thread Xiang Xiao
On Tue, Mar 10, 2020 at 11:48 PM wangxinyu...@163.com wrote: > > hello > > I want to discuss about the nand flash and filesystem support. I turned into > nuttx because > I have a linux background and RTOS like freertos is most likely a bare OS > kernel ,porting > exist things is annoying such a

Re: Github Issue on Build Failure

2020-03-10 Thread Gregory Nutt
It looks like there is a Jenkins plugin that allows the Github issue to be created relatively easily. I'd be happy to try and get this working if everyone agrees. Just as a matter of practicality, it would be good to restrict to build failures and not style check problems, at least for the ti

RE: Github Issue on Build Failure

2020-03-10 Thread David Sidrane
> It looks like there is a Jenkins plugin that allows the Github issue to be created relatively easily. I'd be happy to try and get this working if everyone agrees. +1 -Original Message- From: Anthony Merlino [mailto:anth...@vergeaero.com] Sent: Tuesday, March 10, 2020 9:57 AM To: dev@nut

Re: Github Issue on Build Failure

2020-03-10 Thread Gregory Nutt
I have been inactive for some time now, but I would like to get back up to speed and start making some contributions. I am really glad to see back!

Github Issue on Build Failure

2020-03-10 Thread Anthony Merlino
I have been inactive for some time now, but I would like to get back up to speed and start making some contributions. One thing I was hoping to do was help get rid of some of the nightly build errors so that we can get a stable base and hopefully make a release soon. I spent the time getting the do

Re: Giant Board update

2020-03-10 Thread Gregory Nutt
I'll see if I can adapt the dramboot config for the SAMA5D27. I'll probably have to set up SWD debugging... for that I need an adapter for my JLink, and I'll need to solder some wires onto the GiantBoard SWD pads. ... You might be able to use J-link with U-boot too. Put a breakpoint at 0x200

Re: Giant Board update

2020-03-10 Thread Adam Feuer
Thanks Greg. You mentioned running from SDRAM before. I read the dramboot section, now I understand this a little better. My .config for the SAMA5D27-XULT has these two settings: CONFIG_SAMA5_BOOT_SDRAM=y CONFIG_BOOT_RUNFROM_SDRAM=y So I think I am doing this already on the SAMA5D27-XULT, but it

Re: Giant Board update

2020-03-10 Thread Gregory Nutt
... I can fatload nuttx.bin. But when I run (go 0x20008040) nuttx doesn't boot. Doing the same sequence on the SAMA5D2-XULT results in nuttx booting... When I worked with the SAMA5D4-EK, I used a tiny bootloader that I wrote called dramboot.  It make debug a lot easier.  See boards/arm/sama

Re: let's discuss about the file system and nand flash driver

2020-03-10 Thread Adam Feuer
Hi, NetBSD has a NAND flash file system (similar to JFFS2) that is BSD Licensed: https://en.wikipedia.org/wiki/CHFS https://wiki.netbsd.org/tutorials/using_the_nand_emulator_and_chfs/ NetBSD CHFS source code on GitHub

Re: let's discuss about the file system and nand flash driver

2020-03-10 Thread Gregory Nutt
b. Should I put the raw_nand method drivers/mtd/ or the board specific folder?I think I should put in the mtd folder for micron specific That depends on if the code is modular and reusable by other architectures or it depends on the unique properties of the board. The better design would be to

Giant Board update

2020-03-10 Thread Adam Feuer
I got my Giant Board yesterday and worked on it for about an hour last night. I got the DBGU serial terminal working with U-Boot, and was able to make an SDCard that will boot to the U-Boot that comes with the Giant Board. I can fatload nuttx.bin. But when I run (go 0x20008040) nuttx doesn't boot.

let's discuss about the file system and nand flash driver

2020-03-10 Thread wangxinyu...@163.com
hello I want to discuss about the nand flash and filesystem support. I turned into nuttx because I have a linux background and RTOS like freertos is most likely a bare OS kernel ,porting exist things is annoying such as filesystem and POSIX interface etc. Some introduction of my situation

How to get the rerefernce of buffer t....

2020-03-10 Thread Phani Kumar
Hello Greg and others, I am developing a USB Host controller on NuttX with hardware which is not compliant with OHCI or EHCI. As the hardware provides setup of hardware registers for the USB Host, I am trying to "fit" it to OHCI spec (currently using lpc17_40_usbhost as reference). I am confused ab

Re: [nuttx] How could I get all archived mail list history

2020-03-10 Thread Alan Carvalho de Assis
And the history of the yahoo groups is here: https://nuttx.yahoogroups.narkive.com On 3/10/20, Abdelatif Guettouche wrote: > Hi, > > The old google group has a search bar that you can use. > https://groups.google.com/forum/#!forum/nuttx > The Apache mailing list is archived and searchable, you c

Re: [PATCH] stm32/stm32f7/stm32h7: Fix bugs in SERIAL_CONSOLE definition

2020-03-10 Thread Abdelatif Guettouche
Thanks Marcus and sorry for the inconvenience. I created a PR based on your patch (https://github.com/apache/incubator-nuttx/pull/520) As Xiang noted, using Github puts the patch through the CI/CD checks. If you can use Github please create PRs for future contributions. Thanks. On Tue, Mar 10, 2

RE: [PATCH] stm32/stm32f7/stm32h7: Fix bugs in SERIAL_CONSOLE definition

2020-03-10 Thread BERNET Markus
Sorry about that, now with .txt extension -Original Message- From: Xiang Xiao Sent: Dienstag, 10. März 2020 11:29 To: dev@nuttx.apache.org Subject: Re: [PATCH] stm32/stm32f7/stm32h7: Fix bugs in SERIAL_CONSOLE definition This email is not from Hexagon’s Office 365 instance. Please be

Re: [PATCH] stm32/stm32f7/stm32h7: Fix bugs in SERIAL_CONSOLE definition

2020-03-10 Thread Xiang Xiao
Or send PR to: https://github.com/apache/incubator-nuttx/pulls This is more interactive than email loop. On Tue, Mar 10, 2020 at 6:11 PM Abdelatif Guettouche wrote: > > Hi, > > Thanks for the patch, however the attachment didn't come through. > Could you please send it again with a .txt extension

Re: [PATCH] stm32/stm32f7/stm32h7: Fix bugs in SERIAL_CONSOLE definition

2020-03-10 Thread Abdelatif Guettouche
Hi, Thanks for the patch, however the attachment didn't come through. Could you please send it again with a .txt extension? Thanks. On Tue, Mar 10, 2020 at 9:59 AM BERNET Markus wrote: > > Hi all, > > > > I’ve found some typos in the SERIAL_CONSOLE definition, see attached patch. > > > > Best r

[PATCH] stm32/stm32f7/stm32h7: Fix bugs in SERIAL_CONSOLE definition

2020-03-10 Thread BERNET Markus
Hi all, I've found some typos in the SERIAL_CONSOLE definition, see attached patch. Best regards, Markus Markus Bernet Senior Software Engineer T: +41 41 729 87 49 E: markus.ber...@hexagon.com Hexagon Mining Baarerstrasse 133 6300 Zug, Switzerland hexagonmining.com