Firefly开源社区

标题: RTlinux内核隔离设置 [打印本页]

作者: 椤界煶    时间: 2023-1-8 20:27
标题: RTlinux内核隔离设置
Uboot通过setenv设置cmdline参数"isolcpus=3"不生效
有没有其他方式可以实现CPU隔离?
tchip_askquestions

RK3568 Uboot ENVsetting.txt

151 Bytes, 下载次数: 7, 下载积分: 灯泡 -1 , 经验 -1


作者: Liuth    时间: 2023-1-9 09:52
用逗号分开,isolcpus=2,3
启动后cat /proc/cmdline看看是否成功传递给内核了
另外需要选择一个环境存储位置并重新编译uboot,saveenv才会生效
u-boot 根目录下
make ARCH=arm64 firefly-rk3568_defconfig
make ARCH=arm64 menuconfig
存储配置:
Environment  --->
Select the location of the environment
(X) Environment in an MMC device




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1