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.
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/shunder 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.