zoukankan      html  css  js  c++  java
  • 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);
                            }   

      修复前

      修复后

      

  • 相关阅读:
    ZOJ 1450
    HDU 3932
    POJ 3348
    POJ 1873
    POJ 1228
    POJ 2007
    POJ 1113
    POJ 1696
    POJ 1329
    HDU 3432
  • 原文地址:https://www.cnblogs.com/plinx/p/3025814.html
Copyright © 2011-2022 走看看