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);

                        }   

  修复前

  修复后

uboot nand erase 的显示错误修复

  

你可能感兴趣的:(Boot)