8种机械键盘轴体对比

本人程序员,要买一个写代码的键盘,请问红轴和茶轴怎么选?

Introduction

What is the most interesting part about the beaglebone family is it’s expandability by using “Capes”, small add on boards that can stack, and allow easy access to the peripherals of the am3359 SoC. A plethora of capes have been produced for use for the Beaglebone White and most are compatible with the Black. Things are a bit complicated for capes that use the same pins as the onboard eMMC and the HDMI, to resolve this add-on capes have priority over the onboard peripherals.

The original beaglebone was shipped with a 3.2 kernel with a lot of patches and custom interfaces from Texas Instruments’s (TI) own kernel trees. Since this was based on a TI supported kernel, hardware compatibility was generally good and the capes worked. They were developed against it after all!

Linux 3.2 or linux 3.8之前在制作uboot时使用的linux 3.8内核由于device tree支持的问题,导致打印starting kernel启动内核失败。Linus Torvalds在2011年3月17日的ARM Linux邮件列表宣称“this whole ARM thing is a f*cking pain in the ass”,引发ARM Linux社区的地震,随后ARM社区进行了一系列的重大修正。在过去的ARM Linux中,arch/arm/plat-xxx和arch/arm/mach-xxx中充斥着大量的垃圾代码,相当多数的代码只是在描述板级细节,而 这些板级细节对于内核来讲,不过是垃圾,如板上的platform设备、resource、i2c_board_info、spi_board_info 以及各种硬件的platform_data。读者有兴趣可以统计下常见的s3c2410、s3c6410等板级目录,代码量在数万行。社区必须改变这种局面,于是PowerPC等其他体系架构下已经使用的Flattened Device Tree(FDT)进入ARM社区的视野。Device Tree是一种描述硬件的数据结构,它起源于 OpenFirmware (OF)。在Linux 2.6中,ARM架构的板极硬件细节过多地被硬编码在arch/arm/plat-xxx和arch/arm/mach-xxx,采用Device Tree后,许多硬件的细节可以直接透过它传递给Linux,而不再需要在kernel中进行大量的冗余编码。

Q&A

(1)ERROR:unrecognized/unsupported machine ID (r1 = 0x00000e05).Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Error: unrecognized/unsupported machine ID (r1 = 0x00000e05).

Available machine support:

ID (hex) NAME

ffffffff Generic OMAP4 (Flattened Device Tree)

ffffffff Generic AM33XX (Flattened Device Tree)

ffffffff Generic OMAP3-GP (Flattened Device Tree)

ffffffff Generic OMAP3 (Flattened Device Tree)

0000060a OMAP3 Beagle Board

00000a9d IGEP OMAP3 module

00000928 IGEP v2 board

00000ae7 OMAP4 Panda board

引导内核后,如果出现这个错误的原因有很多:一种是device tree描述文件am335x-bone.dtb没有正确加载引起;

也有可能是dtb文件加载位置被覆盖(ref:[[https://groups.google.com/forum/#!topic/beagleboard/WeAECofkl1k]]);

还有可能是U-Boot版本过老对dtd没有支持。为了解决这个问题可以在编译内核时将dtd兼容选项编译进去,参考[[https://github.com/hvaibhav/am335x-linux/wiki/How-To-Use-Upstream-TreeHow-To-Use-Upstream-Tree]]。U-Boot 2012.10以后的版本都可以很好的支持dtd,所以在U-Boot中添加响应选项即可正确加载device tree表。我使用的uEnv.txt如下:

bootfile=uImage

devtree=/dtbs/am335x-bone.dtb

kloadaddr=0x80007fc0

dtboot=run mmcargs; fatload mmc ${mmcdev}:1 ${kloadaddr} ${bootfile} ; fatload mmc ${mmcdev}:1 ${fdtaddr} ${devtree} ; bootm ${kloadaddr} - ${fdtaddr}

uenvcmd=run dtboot

optargs=consoleblank=0

(2)VFS: Cannot open root device “mmcblk0p2”普通列表项目检查内核fiiesystem下面对所挂载分区是否支持。如果不知道自己挂载的是什么分区,那么重新格式化储存卡,重新制作。支持的分区,一般ext2 ext3分区的兼容性较好,ext4在老一点的内核中不一定配置使用了。

检查kernel启动参数有bootwait

(3)Ubuntu文件系统apache server后卡死

其输出如下:[ 4.542999] Freeing init memory: 236K

[ 4.548034] Failed to execute /init. Attempting defaults...

[ 4.978881] init: ureadahead main process (844) terminated with status 5

[ OK ]ding cpufreq kernel modules...

[ OK ]Freq Utilities: Setting ondemand CPUFreq governor... * CPU0...

udhcpd: Disabled. Edit /etc/default/udhcpd to enable it.

* Starting web server apache2 AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally te

*

linux 3.8 from elinux.org

The modern BeagleBone kernels are Maintained by Koen Kooi and are available on the 3.8 branch at https://github.com/beagleboard/kernel/tree/3.8 . This repo contains a set of patches and a script which downloads a mainline kernel and then patches it appropriately. Exact steps for building it are in the README.

cp /opt/beaglebone/firmware/bin_am335x-pm-firmware.bin firmware/am335x-pm-firmware.bin

Reference

beaglebone 源代码 linux,[Beaglebone] Linux kernel for Beaglebone相关推荐

  1. linux 内核3.8,[Beaglebone] BBB迁移到linux 3.8实时内核

    8种机械键盘轴体对比 本人程序员,要买一个写代码的键盘,请问红轴和茶轴怎么选? 动机 之前使用TI SDK提供的3.2标准内核,在和fpga进行高速通信时出现CPU 100%中断响应延迟严重(偶尔&g ...

  2. 《BeagleBone开发指南》——1.3 BeagleBone硬件

    本节书摘来自异步社区<BeagleBone开发指南>一书中的第1章,第1.3节,作者[爱]Derek Molloy(莫洛伊), 鞠尔男 , 王伟 , 刘龙 , 佟佳珈 译,更多章节内容可以 ...

  3. linux 什么是源代码目录结构,Linux源代码目录树结构Linux -电脑资料

    Linux 用来支持各种体系结构的源代码包含大约4500个C语言程序,存放在270个左右的子目录下,总共大约包含200万行代码,大概占用58MB磁盘空间,Linux用来支持各种体系结构的源代码包含大约 ...

  4. MongoDB数据库泄露8亿电邮地址;微软开源Windows计算器;Linux 5.0 Kernel发布丨Q新闻...

    本周要闻:华为正式宣布起诉美国政府:360 首席安全官谭晓生宣布离职:阿里开源 Flutter 应用框架 Fish Redux:微软开源 Windows 计算器:Linux 5.0 Kernel 发布 ...

  5. Linux内核线程kernel thread详解--Linux进程的管理与调度(十)【转】

    转自:https://blog.csdn.net/gatieme/article/details/51589205 版权声明:本文为博主原创文章 && 转载请著名出处 @ http:/ ...

  6. Linux内核线程kernel thread详解--Linux进程的管理与调度

    内核线程 为什么需要内核线程 Linux内核可以看作一个服务进程(管理软硬件资源,响应用户进程的种种合理以及不合理的请求). 内核需要多个执行流并行,为了防止可能的阻塞,支持多线程是必要的. 内核线程 ...

  7. git 的安装以及使用:是一个开源的分布式版本控制系统,可以对项目进行版本管理。 早期是linux之父用来管理linux系统源代码的(linux是和windows一样操作系统 开源免费的操作...

    ## 总结 - 学会使用基本的git命令 管理源代码 - 学会去github创建仓库 并将代码上传到github的仓库 (有待完成 回家有网再push) - 了解本地的.git和服务器github的. ...

  8. linux编译aborted,Ubuntu Linux上编译kernel出错__stack_chk_fail

    Ubuntu Linux上编译kernel出错__stack_chk_fail 发布时间:2008-02-06 00:02:18来源:红联作者:SMuonon init/built-in.o: In ...

  9. Linux 设备分配清单(kernel:2.6+)

    Linux 设备分配清单(kernel:2.6+) -------------------------------------------------------------------------- ...

  10. linux数据泄露,Linux Kernel 5.9.1 及更早版本发现数据泄露和特权升级漏洞,需尽快升级...

    新酷产品第一时间免费试玩,还有众多优质达人分享独到生活经验,快来新浪众测,体验各领域最前沿.最有趣.最好玩的产品吧~!下载客户端还能获得专享福利哦! 原标题:Linux Kernel 5.9.1 及更 ...

最新文章

  1. 故障发生前为什么敏捷团队的成功?
  2. python课程设计报告总结-上海python课程设计报告目的
  3. [ZJOI2007]仓库建设(斜率优化)
  4. python网络通信框架_Python运维-Socket网络编程 (1)
  5. SAP ABAP 服务器上OData Gateway 框架代码的单步调试
  6. 投影元素直接隔离_摸着夜色上露台开投影,是巴塞罗那设计师的浪漫
  7. 基础学习——C语言递归解决分鱼问题
  8. [机器学习]TF-IDF是什么
  9. VS生成dump文件和调试dump文件
  10. Ubuntu升级glibc
  11. ubuntu中安装flash播放器
  12. 解决keil4与keil5不兼容问题
  13. java 解析umd文件_Javascript模块化编程之CommonJS,AMD,CMD,UMD模块加载规范详解
  14. 性能优化-图片压缩格式的选择(ETC和ASTC)
  15. 3---IO流练习题库
  16. 360全景倒车影像怎么看_倒车注意了!路证人360度全景倒车影像实时显示动态轨迹,轻松倒车泊车...
  17. MyBatis-Plus的使用
  18. 成都1008 hdu4038
  19. 前端一键换肤换肤简单探索
  20. 一看就会!DS1302实时时钟原理和程序

热门文章

  1. 苹果内购服务器验证之receipt返回多组in_app思考
  2. php适合用什么苹果笔记本,苹果的笔记本好用吗 苹果电脑适合什么样的人群使用...
  3. (百度贴吧发帖)html5,百度贴吧怎么发帖,百度贴吧发帖方法
  4. PHPCMS v9类新华网新闻头条模块自动生成头条图片
  5. navicat 远程连接docker mysql提示:Authentication plugin ‘caching_sha2_password‘ cannot be loaded
  6. ASO优化关键词篇—关键词到底要不要反复出现
  7. 微信小程序-扫一扫 wx.scanCode() 扫码大变身
  8. OpenStack_Havana_Install_Guide 多节点安装总结1
  9. java遍历list对象集合_java遍历List集合的方法有哪些
  10. 考一建的难度是不是要比二建大很多?