uboot nand erase 的显示错误修复

发布时间: 2024-09-03
来源: 电子工程世界

修复文件/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);

                        }   


修复前

5270293643bf80eaa93b5d3703704aa0_17112324-d438ef2b96df445ba8de330c054730b9.jpg

修复后

0dbd85a724691bae8abcabfac65e9a42_17112343-ad5bf2c8f84344af93bf9396f681aeb3.jpg

文章来源于: 电子工程世界 原文链接

本站所有转载文章系出于传递更多信息之目的,且明确注明来源,不希望被转载的媒体或个人可与我们联系,我们将立即进行删除处理。