How to run nuttx(kernel build) on real hardware instead of qemu semihosting?
- Dominant language
- C
- Stars
- 4k
- Forks
- 1.7k
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 237
Description
Hi, i`ve already ported Nuttx(kernel build) to LoongArch referring to qemu-rv:virt.
I notice that qemu-rv:virt used semihosting to load nsh_main\`s code into memory from host file system.
But on real hardware, it\`s necessary to load nsh_main\`s code from disk. I\`m trying to figure out how to load the related code.
I\`ve successfully run nuttx(flat build) on real hardware. Here\`s how i run it: I put the elf file under the `/boot/` directory of Linux. And loaded the elf by grub or pmon, then boot the kernel.
I hope to put the nuttx(kernel build) and `apps/bin/sh` under the `/boot/` directory of Linux. And use grub to boot my kernel, too. Is this a feasible way?
Could anyone provide some suggestions? Thanks a lot.
Contributor guide
Assessment
This issue has not been assessed yet.