Replies: 2 comments 3 replies
-
sed确定执行成功了?是不是哪里转义有问题? |
Beta Was this translation helpful? Give feedback.
1 reply
-
我建议是直接编译的config里关掉CONFIG_GRUB_CONSOLE这个选项 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
大佬,我买了个x86平台的DELL Wyse 3040,使用x86的固件,启动要等半小时。
将固件写入U盘或者emmc,手动修改引导:/boot/grub/grub.cfg,删除其中的:console=tty0 console=ttyS0,115200n8,就正常了。
手动测试编译,使用下面代码,编译出来引导配置文件可以去掉上面的代码,不用刷固件后再手动修改(给变量GRUB_CONSOLE_CMDLINE赋值一个空格、删除下面两行):$(CONFIG_GRUB_FLOWCONTROL),r,)$ /d' ./target/linux/x86/image/Makefile
sed -i 's,GRUB_CONSOLE_CMDLINE =,GRUB_CONSOLE_CMDLINE = ,g' ./target/linux/x86/image/Makefile
sed -i '/^ GRUB_CONSOLE_CMDLINE += console=tty1$/d' ./target/linux/x86/image/Makefile
sed -i '/^GRUB_CONSOLE_CMDLINE += console=$(GRUB_SERIAL),$(CONFIG_GRUB_BAUDRATE)n8$(if
但Fork大神你的代码后修改,修改了两次,不同的地方:
1、在SCRIPTS/X86/02_target_only.sh最后增加,不行;
2、增加文件SCRIPTS/09_Added_support_for_DELL_Wyse_3040.sh,再.github/workflows/X86-OpenWrt.yml中make defconfig前运行增加的sh文件,也不行。
编译后没实现需要的效果,应该在哪里增加或修改代码呢?
Beta Was this translation helpful? Give feedback.
All reactions