hfrk_cmd_line.c

来自「Bootload 程序」· C语言 代码 · 共 36 行

C
36
字号
#include "hfrk.h"#include "lib.h"#include "dbldr_std.h"#include "dbldr_spec.h"#include "hfrk_cmd_line.h"/* for declarations of common commands */#include "core_main.h"/* for declarations of special commands */#include "hfrk_clib.h"#include "nand.h"struct _cmd_tip cmd_tip[] = {       { soft_reset,          "soft reset" },       { ether_download,      "download file by ethernet ..." },       { xmodem_download,     "download file by xmodem ..." },       { tftp_kernel,         "download kernel by tftp and run directly ..."},       { set_boot_src,        "set linux boot source ..." },       { run_linux,           "load linux in kernel partition" },       { run_prog_by_choice,  "load pragram from nand flash and run ..." },       { disp_mem,            "display the content of memory ..." },       { mod_mem,             "modify the content of memory ..."},       { disp_nand_part,      "display the partitions in nand flash" },       { NULL,                "erase nand flash regions" },       { modify_kernel_params, "set boot params ..." },       { NULL,                "test power off" },       { NULL,                "test sdram memory" },#ifdef __DBLDR_DEBUG__       { test_field,          "private test field" },#endif       { NULL,                NULL }};INT32 cmd_tip_num = 0;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?