BTW, since Ubuntu for Windows 10 is same as Native Ubuntu, should we remove CONFIG_WINDOWS_UBUNTU(-u) support and let user select CONFIG_HOST_LINUX(-l) instead? This will reduce the maintain effort and avoid the misunderstanding that we don't support other Linux Distribution on Windows.
> -----Original Message----- > From: Eduard Niesner <niesneredu...@gmail.com> > Sent: Friday, October 16, 2020 11:32 PM > To: dev@nuttx.apache.org > Subject: Re: Cannot build H7 configuration using Ubuntu for Windows 10 > > I debugged and found what my problem was. I am using a custom configuration > for a custom board and did not notice that the > Make.defs and flash.ld changed for H7 between Nuttx 9.0 and Nuttx 9.1. My > configuration was still using the old ones from 9.0. > This is why even though the build worked it was crashing when running the bin > on the board. Using the new files from 9.1 fixed the > problem. > > Thank you all for your help, > Edi > > On Wed, Oct 14, 2020 at 6:06 PM Gregory Nutt <spudan...@gmail.com> wrote: > > > > > > You are right. I used your changes and build using -u and I still > > > have > > the > > > same issue (the board does not bootup). > > > This is what I can see on the serial port: > > > > > > ADE > > > > This is debug output from arch/arm/src/stm32h7/start.c. The hang > > occurs somewhere after line 412 ( showprogress('E');), and probably > > after > > nx_start() is called. I would put breakpoints on nx_start(), > > up_initialize(), and nsh_main(). > > > > > > > > > >