Embedded Linux
itom1900
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Linux 5.1移植到orange pi (八)--PWM驱动
1:移植PWM驱动 PWM驱动主要是修改下DTS,看了下驱动架构和Linux 3.10区别还是比较大,主要添加了sysfs接口为上层提供控制接口, echo 0 > /sys/class/pwm/pwmchip0/export echo 1000000 > /sys/class/pwm/pwmchip0/pwm0/period echo 500000 > /sys/clas...原创 2020-03-05 20:04:26 · 465 阅读 · 0 评论 -
libusb FAQ
Can libusb be used on the USB device side, e.g. Linux Gadget Device? No. libusb only provides an API for writing software on the host. Of course, if the device also acts as a USB host then libusb cou...原创 2020-01-08 10:58:18 · 199 阅读 · 0 评论 -
IMX6Q开发环境搭建
1: repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-4.1-krogoth --repo-url=https://gerrit-googlesource.lug.ustc.edu.cn/git-repo repo sync sudoapt-getinstallbuild-essential ...原创 2019-08-28 12:54:29 · 785 阅读 · 0 评论 -
RCF Ubuntu 18.04中demo编译以及so库文件编译
下载RCF3.1,此版本不依赖于boost库,用std库重构了 下载LinkRCF包 g++ DemoClient.cpp ../src/RCF/RCF.cpp -lpthread -ldl -std=c++1y -luuid -I ../include -o DemoClient g++ -fPIC -shared ./src/RCF/RCF.cpp -lpthread -ldl -st...原创 2019-08-10 17:30:29 · 819 阅读 · 0 评论 -
Linux 5.1移植到orange pi (四)--网络协议
1:网络驱动分析 协议栈上层见图片,TCP/IP收发流程 2:Ethernet驱动分析 待续,待会写原创 2019-07-06 12:04:18 · 272 阅读 · 0 评论 -
Linux 5.1移植到orange pi (六)--SPI NOR FLASH驱动
1:W25Q128FVSG驱动移植到orange pi上 &spi0 { status = "okay"; nor_flash@0 { #address-cells = <1>; #size-cells = <1>; compatible = "winbond,w25q128", "jedec,spi-nor"; spi-max-frequ...原创 2019-07-09 21:36:47 · 786 阅读 · 0 评论 -
Linux 5.1移植到orange pi (七)--搭建NFS
1:Ubuntu主机安装NFS-server sudo apt-get install nfs-kernel-server sudo vim /etc/exports ++ /home/xxx/nfs *(rw,sync,no_root_squash,no_subtree_check) exportfs -rv sudo /etc/init.d/nfs-kernel-server r...原创 2019-07-12 21:36:58 · 471 阅读 · 0 评论 -
Linux 5.1移植到orange pi (三)--网卡驱动
drivers/net/ethernet/allwinner/sun8i-emac.c:160:19: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] static const char const estats_str[][ETH_GSTRING_LEN] = { ...原创 2019-07-02 22:31:38 · 1465 阅读 · 0 评论 -
Linux 5.1移植到orange pi (五)--USB摄像头
1:mjpg-streamer在orange pi ubuntu上测试UVC camera sudo apt-get install libjpeg8-dev sudo apt-get install imagemagick sudo apt-get install libv4l-dev sudo apt-get install cmake git clone https:/...原创 2019-07-07 22:06:25 · 534 阅读 · 0 评论 -
Linux 5.1移植到orange pi (二)--build相关
1:查看下defconfig设置 首先看下官方支持的4.9的sun8iw7p1_mainline_defconfig和sunxi_defconfig对比 复制到Linux-5.1的configs目录。make zImage,有错误 scripts/extract-cert.c:21:10: fatal error: openssl/bio.h: No such file or dire...原创 2019-07-01 21:01:40 · 526 阅读 · 0 评论 -
Linux 5.1移植到orange pi (一)--移植新内核
Linux 5.1移植到orange pi pc plus快速预览 1:下载最新的Linux内核 首先下载最新的Linux 5.1, 解压压缩包 xz -dlinux-5.1.15.tar.xz tar xvzf linux-5.1.tar.gz 2:编译 sudo make ARCH=arm CROSS_COMPILE=~/share/orangepi_h3_linux/or...原创 2019-07-01 20:47:50 · 1710 阅读 · 0 评论
分享