am335x system upgrade kernel gpio(九)】的更多相关文章

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 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…
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 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 …
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      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…
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 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…
在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==========================================…
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…
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源…
1      Scope of Document systemd 是一个 Linux 系统基础组件的集合,提供了一个系统和服务管理器,运行为 PID 1 并负责启动其它程序.功能包括:支持并行化任务:同时采用 socket 式与 D-Bus 总线式激活服务:按需启动守护进程(daemon):利用 Linux 的 cgroups 监视进程:支持快照和系统恢复:维护挂载点和自动挂载点:各服务间基于依赖关系进行精密控制.systemd 支持 SysV 和 LSB 初始脚本,可以替代 sysvinit.…
由于上层应用的需求,需要运行arm docker,在kernel3.2上面还不支持,且编译器的glibc版本比较低的问题,故需要做系统升级 新的内核4.14.40驱动开发和以往有很大的不同,关键在于dts,本质来说就是把以往通过注册设备资源来加载驱动,查找总线的挂载的驱动,通过比较驱动名称,来加载驱动. 现在变成了通过dst来表述设备资源,对比驱动当中的id,来加载驱动. 第一阶段的目标: 由TI官网上面下载TI SDK 5.0,搭建成功之后,第一件事情就是希望系统能引导起来,能挂载文件系统,能…
系统设计者会遇到较短的设计周期.标准发展和系统调度的挑战,飓风III系列支持远程系统更新,通过其固有的重编程功能和专有电路来克服以上问题.远程系统更新帮助传递系统性能增强和bug修复,避免了昂贵的召回,缩短了产品投产时间,延长了产品生命周期. Cyclone III系列芯片内置专用远程系统更新电路,这是Cyclone III系列芯片特有的,帮助避免系统下载时间.器件中实现的软逻辑(Nios II 内嵌处理器或者用户逻辑)从远处下载新的配置信息(configuration image),将其存储在…
或按照S5PV210学习秩序.我们首先解决的关键问题.TQ335x有六个用户按钮,每个上.下.剩下.对.Enter和ESC. 我想开始学习S5PV210当同一,写输入子系统驱动器的关键问题要解决,但浏览driver/input/keyboardgpio-keys.c,大体上看下该驱动程序,其功能是实现了通用的gpio按键. 再去看了下DTS,发现DTS中有对gpio-keys的引用.于是猜到.新的内核不须要自己编写输入子系统驱动,能够通过配置DTS直接解决按键问题.本人终于通过实验证实了这个猜想…
还是按照S5PV210的学习顺序来,我们首先解决按键问题.TQ335x有六个用户按键,分别是上.下.左.右.Enter和ESC.开始我想到的是跟学习S5PV210时一样,编写输入子系统驱动解决按键问题,但是浏览driver/input/keyboard目录时意外的发现了gpio-keys.c,大体上看下该驱动程序,其功能是实现了通用的gpio按键.再去看了下DTS,发现DTS中有对gpio-keys的引用,于是猜到,新的内核不需要自己编写输入子系统驱动,可以通过配置DTS直接解决按键问题.本人最…
1. 进程地址空间 Linux中,进程并不是直接操作物理内存地址,而是每个进程关联一个虚拟地址空间 内存页是memory management unit (MMU) 可以管理的最小地址单元 机器的体系结构决定了内存页大小,32位系统通常是 4KB, 64位系统通常是 8KB 内存页分为 valid or invalid: A valid page is associated with an actual page of data,例如RAM或者磁盘上的文件 An invalid page is…
任务管理器发现 system进程持续占用12%左右的cpu,网上搜索到的很多方法均无效 误打误撞发现了这个方法,亲测可用 卸载系统补丁(KB41000347),提升10%的cpu性能 卸载补丁前:    卸载补丁后:    卸载补丁后cpu性能提升了12%. 卸载方法: 第一种方法:用工具一键卸载 1.退了杀毒软件(360 qq管家) .  2.下载这个(点击下载)工具,鼠标右键工具,用管理员权限打开这个工具即可. 第二种方法:  1. 右键点选电脑-[属性],在弹出视窗选择[控制面板] \ 程…
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…
构建多LAN口多WAN口动态网络 [目的] 在AM335X定制动态网络功能,如下所示,在系统当中有两个以太网口,有4G模块,有wifi芯片8188eu支持AP+STA功能. [实验环境] 1.  Ubuntu 16.04发行版 2.  MC183平台 3.  交叉编译器arm-linux-gnueabihf-gcc-4.7.3 [步骤] 如下案例,eth0,wlan0为LAN口,eth1,wlan1,eth2(4G)为WAN口 本地局域网的构建 可以通过brctl,创建虚拟网卡,将网口及WIFI…
/************************************************************************ * am335x_gpio * 本文主要记录am335x gpio初始化过程,包括设置引脚复用寄存器,驱动注册. * 主要文件: * 设备初始化: * arch/arm/mach-omap2/board_am335xevm.c * arch/arm/mach-omap2/io.c * arch/arm/mach-omap2/omap_hwmod_33…
1.执行下面的命令,可以显示目前驱动已经申请到的IO状态 : $ mount -t debugfs debugfs /sys/kernel/debug  $ cat /sys/kernel/debug/gpio    root@am335x-evm:/# cat /sys/kernel/debug/gpio  GPIOs 0-31, gpio:   gpio-2   (volume-up           ) in  hi   gpio-3   (volume-down         ) i…
How to Add a System Call Kernel : 2.6.18編譯環境 : Fedora Core 6 假設要加的system call為 sys_project, 有一個int的輸入參數一.在linux source code的部份(以 linux 代表source code的根目錄) linux/arch/i386/kernel/syscall_table.S的最後面加上要新增的system call名稱如果syscall_table.S的最後面長得像這樣         …
linux的GPIO通过sysfs为用户提供服务,下面是linux kernel里的说明文档,学习一下. GPIO Sysfs Interface for Userspace ================================== Platforms which use the "gpiolib" implementors framework may choose to configure a sysfs user interface to GPIOs. This is…