dhcpcd移植 [目的] 移植dhcpcd的目是在AM335X开发板上使用dhcp功能,获取WAN口设备的IP,并且可以通过参数指定其matric,matric值越小,其优先级越高.如设备可以以太网,WIFI,4G上网时,可定制外网功能,以太网优先级最高,WIFI次之,4G优先级最低. [环境] 1.  Ubuntu 16.04发行版 2.  MC183平台 3.  交叉编译器arm-linux-gnueabihf-gcc-4.7.3 [步骤] 1.下载dhcpcd-6.7.1.tar.gz源…
bridge-utils移植 [目的] 移植bridge-utils的目是在AM335X开发板上使用bridge功能. [环境] 1.  Ubuntu 16.04发行版 2.  MC183平台 3.  交叉编译器arm-linux-gnueabihf-gcc-4.7.3 [步骤] 1.下载bridge-utils-1.5.tar.gz源码. 2.  交叉编译bridge-utils-1.5. 解压bridge-utils-1.5.tar.gz tar zvxf  bridge-utils-1.5…
1      Scope of Document This document describes how to make am335x arago rootfs using ycoto project 2      Requiremen 2.1     Function Requirement Make am335x arago rootfs 2.2     Performance Requirement NA 3      Functional Description 3.1     Ycot…
1      Scope of Document systemd 是一个 Linux 系统基础组件的集合,提供了一个系统和服务管理器,运行为 PID 1 并负责启动其它程序.功能包括:支持并行化任务:同时采用 socket 式与 D-Bus 总线式激活服务:按需启动守护进程(daemon):利用 Linux 的 cgroups 监视进程:支持快照和系统恢复:维护挂载点和自动挂载点:各服务间基于依赖关系进行精密控制.systemd 支持 SysV 和 LSB 初始脚本,可以替代 sysvinit.…
1      Scope of Document This document describes am335x cpufreq technology insider. 2      Requiremen 2.1     Function Requirement How to get current cpufreq, and to change cpufreq. Learning Processor Clocking Control(PPC) Interface Specification, le…
1      Scope of Document This document describes TF hardware design 2      Requiremen 2.1     Function Requirement Enumerate tf card , support boot from tf and can mount in rootfs when nand boot. 2.2     Performance Requirement Support common capacit…
在uboot 下初始化nand,一般需要做如下工作: 第一: 配置默认从NAND boot Index: include/configs/am335x_evm.h===================================================================--- include/configs/am335x_evm.h (revision 8)+++ include/configs/am335x_evm.h (revision 9)@@ -17,9 +17…
系统可以通过SD卡引道之后,为了之后了调试方便 通过查看网卡的硬件设计 正常来说需要注意的有如下几点: 1) 网口 的接线方式: RMII 2) 网口的PHY地址两张网口,这里我们只需先初始化一张网卡,通过查看PHY的数据手册,可以发现其代码PHY地址是0. 3) 将对应的网卡驱动在include/configs/am335x_evm.h 添加对应的网卡驱动选项,以支持对应的PHY. Index: board.c==========================================…
1      Scope of Document This document describes ethernet hardware design and porting KZS8081 to uboot and kernel 2      Requiremen 2.1     Function Requirement Use KZS8081 in am335x, user space use network interface 2.2     Performance Requirement S…
1      Scope of Document This document describes 4G hardware design, support quectel ec20 4G module/ Simcom 7600 CE 4G module 2      Requiremen 2.1     Function Requirement support ec20 qmi driver/ simcom 7600 ce ndis driver 2.2     Performance Requi…
1      Hardware Overview gpio interface,pin map: AM335X_I2C0_W_C----------------------MCASP0_AXR1 /*4g-power*/ AM335X_MMC2_DAT0------------------GPMC_A1 /*4g-reset*/ AM335X_MMC2_DAT2------------------GPMC_A3 /*wifi-led*/ AM335X_WIFI------------------…
1      Scope of Document This document describes can bus hardware design and can bus driver development and can test 2      Requiremen 2.1     Function Requirement Use can bus in am335x, user space use socketcan interface 2.2     Performance Requirem…
1      Scope of Document This document describes UART hardware design, uart driver porting 2      Requiremen 2.1     Function Requirement Uboot enable uart0 for debug, Kernel enable uart0 uart1 uart2 uart3. 2.2     Performance Requirement Support com…
1      Scope of Document This document describes i2c bus hardware design and support i2c-devices: eeprom(at24c08) rtc(rx8025). 2      Requiremen 2.1     Function Requirement Enumerate i2c bus eeprom and rtc i2c-device, load corresponding drivers 2.2 …
由于上层应用的需求,需要运行arm docker,在kernel3.2上面还不支持,且编译器的glibc版本比较低的问题,故需要做系统升级 新的内核4.14.40驱动开发和以往有很大的不同,关键在于dts,本质来说就是把以往通过注册设备资源来加载驱动,查找总线的挂载的驱动,通过比较驱动名称,来加载驱动. 现在变成了通过dst来表述设备资源,对比驱动当中的id,来加载驱动. 第一阶段的目标: 由TI官网上面下载TI SDK 5.0,搭建成功之后,第一件事情就是希望系统能引导起来,能挂载文件系统,能…
1      Scope of Document This document describes USB hardware design, support stardard usb2.0 port on port1 2      Requiremen 2.1     Function Requirement support stardard usb2.0 port on port1, support mass storage. 2.2     Performance Requirement NA…
1      Scope of Document This document describes SPI F-RAM hardware design 2      Requiremen 2.1     Function Requirement support spi f-ram fm25l16b in linux 2.2     Performance Requirement NA 3      Hardware Overview standard spi interface, four lin…
1      Scope of Document This document describes EMMC hardware design 2      Requiremen 2.1     Function Requirement support 4G capacity EMMC in linux 2.2     Performance Requirement NA 3      Hardware Overview standard 8 bit emmc interface, eight da…
1      Scope of Document This document describes how to port rtl8188eus driver to linux 4.14.y design. 2      Requiremen 2.1     Function Requirement Support usb wifi rtl8188eus working in sta mode under linux 4.14.y kernel version 2.2     Performanc…
在mac机上, 为iPhone版本编译产品. 运行./configure报错如下: configure:22793: error: cannot run test program while cross compiling See `config.log' for more details 原因: aclocal/xx.m4中, 有如下代码: AC_RUN_IFELSE([AC_LANG_PROGRAM([], [// ...])], [var="a"], [var="b&q…
上一篇文章介绍了如何交叉编译 FFmpeg ,继续介绍  VLC播放器  交叉编译 . 首先下载 vlc 源码  我用的是 2.2.6  地址 : http://mirrors.neusoft.edu.cn/videolan/vlc/2.2.6/vlc-2.2.6.tar.xz  解压,进入目录. 然后  设置 ffmpeg路径  ,上一章把ffmpeg 装在了   --prefix=/exports/rfs/usr   对应得在 交叉工具 脚本 中添加 export PKG_CONFIG_PA…
Alex Suykov had do some work for this purpose, and my compile script is based on her patch. Steps Step 1: Download perl source code from perl's official site, such as: wget http://www.cpan.org/src/5.0/perl-5.20.2.tar.gz Step 2: Download the correspon…
系统设计者会遇到较短的设计周期.标准发展和系统调度的挑战,飓风III系列支持远程系统更新,通过其固有的重编程功能和专有电路来克服以上问题.远程系统更新帮助传递系统性能增强和bug修复,避免了昂贵的召回,缩短了产品投产时间,延长了产品生命周期. Cyclone III系列芯片内置专用远程系统更新电路,这是Cyclone III系列芯片特有的,帮助避免系统下载时间.器件中实现的软逻辑(Nios II 内嵌处理器或者用户逻辑)从远处下载新的配置信息(configuration image),将其存储在…
----------------------------------------------------------------------- In Ubuntu 10.4 Desktop and "root" login apt-get install build-essential libncurses5-dev apt-get install autoconf apt-get install libtool apt-get install gettext apt-get inst…
cmake_minimum_required(VERSION 2.8) if (${ARM}) set(CMAKE_SYSTEM_NAME Linux) set(CMAKE_SYSTEM_PROCESSOR arm) set(CMAKE_STAGING_PREFIX $ENV{HOME}/dev/kndos/rootfs) set(CMAKE_SYSROOT ${CMAKE_STAGING_PREFIX}) set(CMAKE_FIND_ROOT_PATH /usr/lib/arm-linux-…
follow test is  use ti DDR Software Leveling op log. AM335x DDR3 Software Leveling -- Version: Beta 3.0 -- Copyright: Texas Instruments China Local Team *************************** Program Start******************************** Please input the AM335x…
Qt 的版本众多,交叉编译Qt可以下载 最新的 Qt 5.11,在 qtbase/mkspecs/devices/ 下找到你对应开发板的配置文件, 拷贝出来, 选择一版适用当前交叉编译工具链的版本,这里以  5.8.0版本的Qt 作为demo. 下载源码,qt-everywhere-opensource-src-5.8.0    下载地址    http://download.qt.io/archive/qt/ 解压后 ,找到Qt 5.11.1中跟目标开发板最匹配的配置文件 ,我的是 qt-ev…
需求 : linux host :  UBUNTU opencv source : opencv 3.3.1.zip CMAKE  :  apt-get install cmake cmake-qt-gui 若干 依赖库 编译 : 新建   ./build  文件夹 在 源码 目录   source  交叉编译脚本    并执行 ./cmake-gui 在   where is  source code      . build the binaries  选择源码   build目录 在   …
转自:http://blog.csdn.net/embededvc/article/details/6829010 1. MinGW和CygWin/gcc概念 Unix下编译通过的C代码,在win32下编译是不能通过的. 当然Unix 和win32的API都是符合标准C,也就是说,大多数函数调用在unix和win32下是相同的.但是,unix有自己一些独特的API(如fork,spawn,signals,select,sockets等),如果代码中使用了这些API,在win32下当然找不到对应的…
在Centos7上交叉编译生成OpenWrt固件 安装ss-* 获取最新的ss, 当前是 wget https://github.com/shadowsocks/shadowsocks-libev/archive/v2.5.6.tar.gz 解压后 ./configure, make, make install 设置代理 [root@u02 ~]# more /etc/shadowsocks-local.json { "server": "milton.somewhere.c…