摘要: 1、使用man 2 open、man 2 creat、man 2 write、man 2 read命令获取头文件 语法: ssize_t read(int fd, void *buf, size_t count);//fd:句柄,*buf:读出的数据缓存,最多读的字节数。错误返回-1,正确返回读取字 阅读全文
posted @ 2019-03-23 13:56 在路上2019 阅读(704) 评论(0) 推荐(0) 编辑
摘要: 1、window系统上创建helloworld.c文件,并编写程序 2、程序文件导入Ubuntu系统的某一文件夹下,从超级终端进入该文件夹,运行命令: arm-none-linux-gnueabi-gcc -o helloworld helloworld.c -static 编译后生成hellowo 阅读全文
posted @ 2019-03-23 11:10 在路上2019 阅读(316) 评论(0) 推荐(0) 编辑
摘要: fastboot烧写方式 准备工作: 硬件– 串口线连接开发板串口con3到PC的串口– OTG线连接开发板的OTG接口和PC的USB接口软件– 串口工具(超级终端),默认波特率为115200– 烧写工具“USB_fastboot_tool”工具– PC机安装USB驱动(Android adb驱动) 阅读全文
posted @ 2019-03-23 09:44 在路上2019 阅读(1619) 评论(0) 推荐(0) 编辑
摘要: root用户 安装初始系统默认没有启动root用户,如下方式启动: l sudo passwd l 连续输入两次密码,启动root用户 l 再登陆 登陆root用户 l su root l 输入密码 Shell 命令 1、 命令:ls查看当前目录下文件 参数:-a:隐藏文件显示ls –a -l:文件 阅读全文
posted @ 2019-03-23 09:11 在路上2019 阅读(159) 评论(0) 推荐(0) 编辑