cederom commented on PR #3120:
URL: https://github.com/apache/nuttx-apps/pull/3120#issuecomment-3036400714

   Yup :-) GCC 14.2 AARCH64 needs to be used :-)
   
   ```
   % ./tools/configure.sh -B qemu-armv8a:xedge
   % gmake -j24 CROSSDEV=aarch64-none-elf-
   (..)
   Register: ping
   Register: renew
   Register: iperf
   Register: dd
   Register: hello
   Register: xedge
   Register: fdtdump
   Register: nsh
   Register: sh
   Register: nxrecorder
   Register: nxplayer
   Register: getprime
   Register: taskset
   Register: telnetd
   Register: ostest
   Register: smp
   LD: nuttx
   Memory region         Used Size  Region Size  %age Used
   CP: nuttx.hex
   CP: nuttx.bin
   
   % aarch64-none-elf-gcc --version
   aarch64-none-elf-gcc (gcc) 14.2.1 20241119
   Copyright (C) 2024 Free Software Foundation, Inc.
   This is free software; see the source for copying conditions.  There is NO
   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   
   
   % qemu-system-aarch64
   hexagon%    $ qemu-system-aarch64 -cpu cortex-a53 -smp 4 -nographic \
        -machine virt,virtualization=on,gic-version=3 \
        -chardev stdio,id=con,mux=on -serial chardev:con \
        -global virtio-mmio.force-legacy=false \
        -netdev 
user,id=u1,hostfwd=tcp:127.0.0.1:8080-10.0.2.15:80,hostfwd=tcp:127.0.0.1:8443-10.0.2.15:443,hostfwd=tcp:127.0.0.1:10023-10.0.2.15:23
 \
        -device virtio-net-device,netdev=u1,bus=virtio-mmio-bus.0 \
        -mon chardev=con,mode=readline -kernel ./nuttx
   zsh: command not found: $
   hexagon% qemu-system-aarch64 -cpu cortex-a53 -smp 4 -nographic \
        -machine virt,virtualization=on,gic-version=3 \
        -chardev stdio,id=con,mux=on -serial chardev:con \
        -global virtio-mmio.force-legacy=false \
        -netdev 
user,id=u1,hostfwd=tcp:127.0.0.1:8080-10.0.2.15:80,hostfwd=tcp:127.0.0.1:8443-10.0.2.15:443,hostfwd=tcp:127.0.0.1:10023-10.0.2.15:23
 \
        -device virtio-net-device,netdev=u1,bus=virtio-mmio-bus.0 \
        -mon chardev=con,mode=readline -kernel ./nuttx
   telnetd [8:100]
   
   NuttShell (NSH) NuttX-10.4.0
   nsh> uname -a
   NuttX  10.4.0 ffecbaa4a2 Jul  4 2025 16:02:01 arm64 qemu-armv8a
   nsh> help
   help usage:  help [-v] [<cmd>]
   
       .           cmp         free        mkdir       pwd         umount
       [           dirname     get         mkfatfs     rm          unset
       ?           df          help        mkrd        rmdir       uptime
       alias       dmesg       hexdump     mount       set         usleep
       unalias     echo        ifconfig    mv          sleep       watch
       arp         env         ifdown      nfsmount    source      wget
       basename    exec        ifup        nslookup    test        xd
       break       exit        kill        pidof       time        wait
       cat         expr        pkill       printf      true
       cd          false       ls          ps          truncate
       cp          fdinfo      md5         put         uname
   
   Builtin Apps:
       dd            iperf         ostest        smp
       fdtdump       nsh           ping          taskset
       getprime      nxplayer      renew         telnetd
       hello         nxrecorder    sh            xedge
   nsh> free
         total       used       free    maxused    maxfree  nused  nfree name
     126701568     142848  126558720     143544  126558064     51      3 Umem
   nsh> xedge
   [   34.940000] [CPU0] Error: cannot set root to /mnt/lfs
   [   34.940000] [CPU0] Installing DiskIo failed!
   [   35.000000] [CPU0] Xedge: Server listening on IPv4 port 80
   [   35.000000] [CPU0] Xedge: SharkSSL server listening on IPv4 port 443
   ```
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to