欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程资源 > 编程问答 >内容正文

编程问答

uboot nand erase 的显示错误修复

发布时间:2025/3/20 编程问答 34 豆豆
生活随笔 收集整理的这篇文章主要介绍了 uboot nand erase 的显示错误修复 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

  修复文件/uboot/drivers/mtd/nand/nand_util.c文件如下代码段

/* output progress message only at whole percent* steps to reduce the number of messages printed* on (slow) serial consoles*/if (percent != percent_complete) {percent_complete = percent;// printf("\rErasing at 0x%llx -- %3d%% complete.",printf("\rErasing at 0x%x -- %3d%% complete.",erase.addr, percent);if (opts->jffs2 && result == 0)printf(" Cleanmarker written at 0x%llx.",erase.addr);}

  修复前

  修复后

  

转载于:https://www.cnblogs.com/plinx/archive/2013/04/17/3025814.html

总结

以上是生活随笔为你收集整理的uboot nand erase 的显示错误修复的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。