如何使能uboot的debug开关?

答: 直接在<uboot源码>/include/common.h添加以下内容:
#ifndef DEBUG
#define DEBUG
#endif

原文地址:https://www.cnblogs.com/dakewei/p/14010217.html