- 博客(8)
- 收藏
- 关注
原创 Linux Ubuntu16.04 TFTP 服务器搭建
安装xinetdsudo apt-get install xinetd安装完成后安装tftp和tftpdsudo apt-get install tftp tftpd安装完成配置TFTP文件:sudo vi /etc/xinetd.d/tftp输入以下内容 service tftp { socket_type = dgram protocol = udp wait = yes user = BIN
2020-06-07 18:53:08 263
原创 imx6ull交叉编译链配置
vim ~/.bashrc在行尾添加或修改:export ARCH=armexport CROSS_COMPILE=arm-linux-gnueabihf-Export PATH=$PATH:/home/book/imx6ull/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/binPATH为自己添加的编译链路径,可以进入编译链路径使用pwd命令后将输出结果复制过来source
2020-06-02 15:05:25 692
原创 无法挂载 启动nfs-kernel-server失败
原因:解决:sudo vim /etc/exports执行之后在exports中添加/work/ *(rw,nohide,insecure,no_subtree_check,async,no_root_squash)/home/book *(rw,nohide,insecure,no_subtree_check,async,no_root_squash)/home/book/nfs_rootfs *(rw,nohide,insecure,no_subtree_check,async,no_
2020-05-30 19:34:39 6186
原创 编译内核镜像时出错——lzop工具
/bin/sh: 1: lzop: not foundarch/arm/boot/compressed/Makefile:186:recipe for target[arch/arm/boot/compressed/piggy_data] failed make[2]: ***[arch/arm/boot/compressed/piggy_data] Error 1arch/arm/boot/Makefile:53: recipe for target[arch/arm/boot/compres.
2020-05-29 01:24:48 979
原创 编译u-boot镜像出错
出错原因:Your dtc is too old, please upgrade to dtc 1.4 or newer Makefile:1410:recipe for target ‘checkdtc’ faileddtc版本过旧解决办法:安装device-tree-compilersudo apt-get install device-tree-compiler
2020-05-29 00:48:58 298
原创 Linux 下串口编程(个人笔记)
串口即串行接口(serial port)标准串口协议支持的最高数据传输率为115kbps硬件流量控制(RTS/CTS和DTR/CTS)RTS/CTS:当接收端数据超过缓冲区高位标志后,串口控制器把CTS信号线设置为低电平,表示停止数据发送;当接收端数据缓冲区处理到低位以下,串口控制器设置CTS为高电平,表示可以开始数据发送。数据接收端RTS信号表示是否准备好接收数据。软件流量控制(XON/OFF)XON/OFF:当接收端数据流量超过高位时,接收端向发送端发出XOFF字符(通常为十进制19),表示
2020-05-27 22:33:29 410
原创 Esp8266 ROTS SDK 编译示例 hello_world
创建目录mkdir esp8266cd esp8266/获取SDK:乐鑫官网下载SDK资源https://github.com/espressif/ESP8266_RTOS_SDK/releases/tag/v2.0.0tar zxvf ESP8266_RTOS_SDK.tar.gz(解压文件到当前文件夹)或者直接执行git clone --recursive https://github.com/espressif/ESP8266_RTOS_SDK.git将hello_wor
2020-05-25 14:52:28 378
原创 Linux Ubuntu16.04下载慢或者不成功
更换下载源sudo gedit /etc/apt/sources.list删除里面所有内容粘贴以下内容(阿里云镜像点)deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universemultiverse deb http://mirrors.aliyun.com/ubuntu/ xenial-securitymain restricted universe multiverse debhttp://mir.
2020-05-25 14:47:35 730 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人