摘要: 对uboot、Linux、rootfs的深刻理解uboot2012改进:学习使用cmd,添加cmd_menu.c了解U_BOOT_CMD的用法: #define U_BOOT_CMD(name,maxargs,rep,cmd,usage,help) \ U_BOOT_CMD_COMPLETE(nam 阅读全文
posted @ 2018-12-07 19:56 一条水煮鱼 阅读(313) 评论(0) 推荐(0) 编辑
摘要: #include <common.h>#include <config.h>#include <command.h> static char cmd_buf[200];static int quit_flag = 0; char awaitkey(unsigned long delay, int* 阅读全文
posted @ 2018-12-07 19:55 一条水煮鱼 阅读(397) 评论(0) 推荐(0) 编辑