上一页 1 ··· 63 64 65 66 67 68 69 70 71 ··· 107 下一页
摘要: 驱动开发中使用函数 printk() 打印的信息可以通过 dmesg 查看 简介 ‘dmesg’命令显示linux内核的环形缓冲区信息,我们可以从中获得诸如系统架构、cpu、挂载的硬件,RAM等多个运行级别的大量的系统信息,在这些信息中我们可以看到内核检测到的硬件设备。这些信息也保存在 /var/l 阅读全文
posted @ 2018-04-07 14:42 流水灯 阅读(768) 评论(0) 推荐(0)
摘要: 特别说明:SSH 或 串口 都可以使用 lrzsz 进行通信 lrzsz是一个Unix通信包,提供XMODEM、YMODEM和ZMODEM文件传输协议。lrzsz以前是Omen科技的主打软件,现在已经免费,并且遵循GNU开源协议。 lrzsz适合这样一种开发环境,一块板子,除了串口,没有任何外部出入 阅读全文
posted @ 2018-04-06 18:39 流水灯 阅读(2489) 评论(0) 推荐(0)
摘要: cat /proc/partitions 查看有u盘设备 df 查看挂载情况 iTOP4416开发板插入u盘,自动挂载到 /mnt/udisk1 阅读全文
posted @ 2018-04-05 20:36 流水灯 阅读(2024) 评论(0) 推荐(0)
摘要: ERROR: Kernel configuration is invalid. include/generated/autoconf.h or include/config/auto.conf are missing. Run 'make oldconfig && make prepare' on  阅读全文
posted @ 2018-04-04 19:55 流水灯 阅读(11078) 评论(0) 推荐(0)
摘要: #include #include #include int main(int argc, char argv[]) { time_t t; time(&t); printf(" second is %ld\n",t); sleep(1); t = time(NULL); printf(" second ... 阅读全文
posted @ 2018-04-04 18:47 流水灯 阅读(2762) 评论(0) 推荐(0)
摘要: #include int main(int argc, char *argv[]) { printf("the program is %s\n", argv[0]); int i = argc; printf("the num of arg is %d\n", argc); for(i=1; i<argc; i++) { ... 阅读全文
posted @ 2018-04-04 18:31 流水灯 阅读(291) 评论(0) 推荐(0)
摘要: 一般习惯把 shell 脚本语言和 shell 解释器统称为 shell,用 shell 脚本语言编写的程序简称脚本。 shell 解释器 是用 c 语言写一个应用程序,它是用户使用 Unix / Linux 的桥梁,通过调用系统核心的大部分功能来执行任务。 可以通过在 shell 解释器交互界面敲 阅读全文
posted @ 2018-04-04 10:53 流水灯 阅读(524) 评论(0) 推荐(0)
摘要: 当我们需要一次执行多个命令的时候,命令之间需要用连接符连接,不同的连接符有不同的效果。下面我们总结一下,加以区分。 (1) ; 分号,没有任何逻辑关系的连接符。当多个命令用分号连接时,各命令之间的执行成功与否彼此没有任何影响,都会一条一条顺序执行下去。 在shell中各个指令中要加分号,但是在XX. 阅读全文
posted @ 2018-04-03 19:19 流水灯 阅读(208) 评论(0) 推荐(0)
摘要: source FileName 等效于. FileName,注 . 和 FileName 有空格 source命令也称为“点命令”,也就是一个点符号(.),作用是在当前bash环境下读取并执行FileName中的命令。该filename文件可以无"执行权限" source命令通常用于重新执行刚修改的 阅读全文
posted @ 2018-04-03 19:17 流水灯 阅读(204) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2018-04-03 16:05 流水灯 阅读(9) 评论(0) 推荐(0)
上一页 1 ··· 63 64 65 66 67 68 69 70 71 ··· 107 下一页