Article: Emulate NuttX on PinePhone with Unicorn Emulator
Unicorn is a lightweight CPU Emulator Framework based on QEMU. To make PinePhone testing easier, can we emulate NuttX on PinePhone with Unicorn Emulator? In this article we’ll call Unicorn Emulator to… 1. Emulate Arm64 Machine Code 2. Attach Hooks to intercept Memory Access and Code Execution 3. Boot NuttX in the emulator 4. Simulate the UART Controller for PinePhone 5. Track an Exception in Arm64 Memory Management https://lupyuen.github.io/articles/unicorn Lup
Re: Bitbucket Pipeline - romfs failure
Hi Simon, What board and board profile are you using? This error normally happens when genromfs didn't generated the romfs image. BR, Alan On 2/23/23, Simon Filgis wrote: > Dear all, > > I'm setting up a build-pipeline in bitbucket. It fails with: > arm-none-eabi-ld: > /opt/atlassian/pipelines/agent/build/nuttx/staging/libapps.a(nsh_romfsetc.c.opt.atlassian.pipelines.agent.build.apps.nshlib.o): > in function `nsh_romfsetc': > 3126 > /opt/atlassian/pipelines/agent/build/apps/nshlib/nsh_romfsetc.c:97: > undefined reference to `romfs_img_len' > 3127 > arm-none-eabi-ld: > /opt/atlassian/pipelines/agent/build/apps/nshlib/nsh_romfsetc.c:97: > undefined reference to `romfs_img' > 3128 > make[1]: *** [Makefile:159: nuttx] Error 1 > > Has anybody a hint or idea howto overcome this? > > Simon > > -- > Hard- and Softwaredevelopment Consultant > Ingenieurbüro-Filgis > USt-IdNr.: DE305343278 >
Re: Bitbucket Pipeline - romfs failure
Hi Alan, my custom board. It compiles well on my computer. Romfs fails only the bitbucket pipe docker. How can I check if the generation was successful? In the log, it looks fine, doesn't it? Simon -- Hard- and Softwaredevelopment Consultant Ingenieurbüro-Filgis USt-IdNr.: DE305343278 On Thu, Feb 23, 2023 at 3:27 PM Alan C. Assis wrote: > Hi Simon, > > What board and board profile are you using? > > This error normally happens when genromfs didn't generated the romfs image. > > BR, > > Alan > > On 2/23/23, Simon Filgis wrote: > > Dear all, > > > > I'm setting up a build-pipeline in bitbucket. It fails with: > > arm-none-eabi-ld: > > > /opt/atlassian/pipelines/agent/build/nuttx/staging/libapps.a(nsh_romfsetc.c.opt.atlassian.pipelines.agent.build.apps.nshlib.o): > > in function `nsh_romfsetc': > > 3126 > > /opt/atlassian/pipelines/agent/build/apps/nshlib/nsh_romfsetc.c:97: > > undefined reference to `romfs_img_len' > > 3127 > > arm-none-eabi-ld: > > /opt/atlassian/pipelines/agent/build/apps/nshlib/nsh_romfsetc.c:97: > > undefined reference to `romfs_img' > > 3128 > > make[1]: *** [Makefile:159: nuttx] Error 1 > > > > Has anybody a hint or idea howto overcome this? > > > > Simon > > > > -- > > Hard- and Softwaredevelopment Consultant > > Ingenieurbüro-Filgis > > USt-IdNr.: DE305343278 > > >
Re: Bitbucket Pipeline - romfs failure
Hi Simon, Please try to compile with verbose enabled: make V=1 It could disclose more information about the issue. BR, Alan On 2/23/23, Simon Filgis wrote: > Hi Alan, > > my custom board. It compiles well on my computer. Romfs fails only the > bitbucket pipe docker. How can I check if the generation was successful? In > the log, it looks fine, doesn't it? > > Simon > > > -- > Hard- and Softwaredevelopment Consultant > Ingenieurbüro-Filgis > USt-IdNr.: DE305343278 > > > On Thu, Feb 23, 2023 at 3:27 PM Alan C. Assis wrote: > >> Hi Simon, >> >> What board and board profile are you using? >> >> This error normally happens when genromfs didn't generated the romfs >> image. >> >> BR, >> >> Alan >> >> On 2/23/23, Simon Filgis wrote: >> > Dear all, >> > >> > I'm setting up a build-pipeline in bitbucket. It fails with: >> > arm-none-eabi-ld: >> > >> /opt/atlassian/pipelines/agent/build/nuttx/staging/libapps.a(nsh_romfsetc.c.opt.atlassian.pipelines.agent.build.apps.nshlib.o): >> > in function `nsh_romfsetc': >> > 3126 >> > /opt/atlassian/pipelines/agent/build/apps/nshlib/nsh_romfsetc.c:97: >> > undefined reference to `romfs_img_len' >> > 3127 >> > arm-none-eabi-ld: >> > /opt/atlassian/pipelines/agent/build/apps/nshlib/nsh_romfsetc.c:97: >> > undefined reference to `romfs_img' >> > 3128 >> > make[1]: *** [Makefile:159: nuttx] Error 1 >> > >> > Has anybody a hint or idea howto overcome this? >> > >> > Simon >> > >> > -- >> > Hard- and Softwaredevelopment Consultant >> > Ingenieurbüro-Filgis >> > USt-IdNr.: DE305343278 >> > >> >