Qingtao Liu

Results 8 comments of Qingtao Liu

感谢回复。 抱歉,刚提交了一个[版本](https://github.com/apache/nuttx/commit/4440275a34a13b1bcacf8ddee1d41e2c0a65bd4d)。 这个版本编译出的内核,可以跑在qemu-system-looongarch64 v6.2版本上, v6.2具体运行环境是https://github.com/foxsen/qemu-loongarch-runenv,使用的仓库里的bios。 最近调timer 和 uart中断,发现6.2版本的qemu里,timer清中断把uart中断清掉了。 看到最新版本的qemu好像修复了,于是,尝试拉取编译了官方qemu-system-loongarch64 V7.2.0版本的qemu: ![图片](https://user-images.githubusercontent.com/40800103/221394280-6fba0495-c6fb-4cb3-be86-0bbf59f5bec2.png) 然后拉取编译了bios,bios编译方法按照:https://github.com/foxsen/qemu-loongarch-runenv/blob/devel/docker/setup-bios.sh。 参考[该仓库](https://github.com/foxsen/qemu-loongarch-runenv/tree/devel/docker),我使用了如下命令,尝试启动nuttx: ``` ./qemu-system-loongarch64 -machine virt -m 4G -cpu la464-loongarch-cpu\ -smp 1\ -bios ./bios/QEMU_EFI.fd\ -kernel ./nuttx\ --drive id=disk0,file=./poky-minimal.ext4,if=none,format=raw -device...

hello,谢谢提醒 @xen0n ,我发现qemu7.2的hw/loongarch/virt.c中,loongarch_init调用了loongarch_direct_kernel_boot函数,此处是bios指定为空的情况,也就是说,我们根本不用指定bios辣,只要-kernel就行了。 这是我的运行命令: ``` ./qemu-system-loongarch64 -machine virt -m 4G -cpu la464 -smp 1 -kernel ./nuttx --nographic -gdb tcp::1122 -S ``` 另外,发现了qemu7.2的hw/loongarch/virt.c文件的cpu_loongarch_virt_to_phys函数中,它只保留了低29位?之前是保留32位来着,此处不太理解改动原因。我暂时还是将此处改回32位。(我的nuttx内核是 flat build模式,不启用页表,链接脚本的地址指定了0x9000 0000 a000 0000),也就被装入了0xa000 0000的物理地址,如果只保留低29位,可能会写乱内存其他地方)。 不知道改为32位是否会有其他问题。 Anyway,跑起来了:...

Hi, i want to make sure that NuttX is fully open source, right? I investigated another RTOS namely rt-thread, but some libraries of rt-thread is prebuilt (not open source), thus...

Hi @acassis , is the [porting guide](https://cwiki.apache.org/confluence/display/NUTTX/Porting+Guide) still in maintenance? Is there a git repo for the porting guide? Maybe it\`s more convenient to maintain and discuss details of the...

Hi, i\`m trying to add some config items in Kconfig files. I notice that there is a `$ARCH` variable in `${TOPDIR}/Kconfig` file. I think it may stand for host cpu...

Hey, i noticed that the aclint base for risc-v qemu is defined like this: ``` #define QEMU_RV_ACLINT_BASE 0x02f00000 ``` I can`t find out the related specification, but only found this...