400 028 6601

建站动态

根据您的个性需求进行定制 先人一步 抢占小程序红利时代

OpenWrt如何新建设备

这篇文章给大家分享的是有关OpenWrt如何新建设备的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。

成都创新互联主营钟山网站建设的网络公司,主营网站建设方案,app软件定制开发,钟山h5微信小程序搭建,钟山网站营销推广欢迎钟山等地区企业咨询

一.分析某一个设备实例(mt300a)


在target目录下查看设备[mt300a]的文件列表:

  1. target/linux/ramips/base-files/etc/board.d/01_leds

  2. target/linux/ramips/base-files/etc/board.d/02_network

  3. target/linux/ramips/base-files/lib/upgrade/platform.sh

  4. target/linux/ramips/base-files/lib/ramips.sh

  5. target/linux/ramips/dts/GL-MT300A.dts

  6. target/linux/ramips/image/mt7620.mk

二.细说新设备的重要文件


三.补丁文件

补丁- *子目录包含内核补丁应用对于每一个目标。 所有的补丁都应该被命名为'NNN-lowercase_shortname.patch',

分为以下类别:

  1. 0xx - upstream backports

  2. 1xx - code awaiting upstream merge

  3. 2xx - kernel build / config / header patches

  4. 3xx - architecture specific patches

  5. 4xx - mtd related patches (subsystem and drivers)

  6. 5xx - filesystem related patches

  7. 6xx - generic network patches

  8. 7xx - network / phy driver patches

  9. 8xx - other drivers

  10. 9xx - uncategorized other patches

感谢各位的阅读!关于“OpenWrt如何新建设备”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,让大家可以学到更多知识,如果觉得文章不错,可以把它分享出去让更多的人看到吧!


网站标题:OpenWrt如何新建设备
当前路径:http://mbwzsj.com/article/jhgcpd.html

其他资讯

让你的专属顾问为你服务