-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zephyr on milkv-duo by Jude小队 #2
base: main
Are you sure you want to change the base?
Conversation
你好,目前验证中发现 PR 中 Hello World 和 posix/uname 这两个源码编译和 prebuild/image 下预编译的 fip.bin 行为不一致。 Hello World 预编译的 fip.bin 会切换线程打印,使用 PR 源码编译则仅打印一次。使用源码编译的 posix/uname 示例连接 Shell 后是找不到 uname 以及其他命令的,预编译的则正常。我们验证的时候,不论是镜像还是代码只要有一份能通过就可以了,按照目前的情况本 PR 会以你提交的二进制为准。 |
Hi shiptux, 十分抱歉,我的 PR 描述中出现了疏忽,为你们带来了额外的工作负担。若需要重新验证源码编译,可参考以下信息: 验证时钟中断与任务切换的 sample 应为:
而在 sample |
Ok. 这里验证没有问题,感谢你的回复。 |
尊敬的参赛选手,您好。 |
确认无误 |
感谢您的回复。 |
Dears,
此为由本人个人组成的Jude小队的工作成果,将 zephyr 移植到了 milkv-duo 开发板,能在小核上运行并默认使用 UART1 进行串口输出,目前支持 中断、时钟、UART、GPIO 以及 I2C 功能。
目前已测试完成的 samples 有:
hello_world:
时钟中断与任务切换。
posix/uname:
UART 终端,可通过
uname -a
命令查看内核信息。basic/blinky:
板载 led 灯闪烁,需要先移除大核 linux 侧的
/mnt/system/blink.sh
脚本 。basic/button:
通过连接及断开
GP15
与3V3
来模拟按钮,以验证 GPIO 中断,发生中断时 UART1 会输出 log。sensor/sht3xd:
SHT3XD 温湿度传感器实例,以验证 i2c 功能。测试时使用 SHT30-D 传感器,按以下方式连接,可通过 UART1 查看数据。
samples 编译方式:
编译出来
build/zephyr/zephyr.bin
即为小核 zephyr 固件生成
fip.bin
:由于尚未在 zephyr 中添加 pinmux 支持,
prebuilt
目录中的bl2.bin
文件经过以下修改: