Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
CubieBoard
Search
spawnris
February 24, 2014
260
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
CubieBoard
spawnris
February 24, 2014
More Decks by spawnris
See All by spawnris
不甘社
spawnris
0
330
Featured
See All Featured
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
550
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
2k
Git: the NoSQL Database
bkeepers
PRO
432
67k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
440
Between Models and Reality
mayunak
4
460
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.1k
RailsConf 2023
tenderlove
30
1.6k
How to train your dragon (web standard)
notwaldorf
97
6.8k
A better future with KSS
kneath
240
18k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.5k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.8k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
710
Transcript
怎样成为合格的 Cubier 凌祥华 aaron@cubietech
自我介绍 • 2012 年底开始接触嵌入式, MINI2440 • 2013 年 6 月成为方糖科技实习生
, CubieBoard • 2013 年 7 月接触到 Linux ,感受到社区的力量 • 现在主要负责维护 CubieBoard Lubuntu 固件,底层驱动 • 还有个重要的工作就是让更多的人加入到 Cubiers 这个社区
入门 • Ubuntu 12.04 • Vim 文本编辑器 • Git 源代码管理
• Gcc 编译器选项 • Makefile 基本的语法 • 投身到社区去
Ubuntu12.04
Ubuntu 12.04 开发相关工具链 • $sudo apt-get update • $sudo apt-get
upgrade • $sudo apt-get install build-essential u-boot-tools uboot-mkimage binutils-arm-linux-gnueabihf gcc-arm-linux-gnueabi • gcc-arm-linux-gnueabihf cpp-arm-linux-gnueabihf libusb-1.0-0 libusb- 1.0-0-dev git wget fakeroot • kernel-package zlib1g-dev libncurses5-dev • $sudo apt-get install build-essential git u-boot-tools texinfo texlive ccache zlib1g-dev gawk bison flex gettext uuid-dev • $sudo apt-get install ia32-libs • $sudo apt-get install ncurses-dev
Ubuntu12.04 开发环境 • SSH 远程登陆 • TTL 串口调试 • Meld
代码比较 • 高效进行邮件沟通 • Linux 下即时聊天工具
VIM Vim 是编辑器之神, Emacs 是神的编辑器
VIM 插件 • 安装 $ sudo apt-get install vim •
Ctag tags 文件是实现跳转功能的数据库文 件,就是它把我们送到我们想要去的地方的 • TagList Taglist 是 vim 的一个插件,可以方便地 在终端侧边显示出当前程序所有的函数、宏等 信息,支持鼠标双击跳转,对于规模比较大的 代码而言,这是一个非常实用功能
None
Gcc 编译选项 • -C 只是编译不链接,生成目标文件“ .o” • -S 只是编译不汇编,生成汇编代码 •
-E 只进行预编译,不做其他处理 • -G 在可执行程序中包含标准调试信息 • -O file 把输出文件输出到 file 里 • -static 链接静态库
Gcc 编译选项 • -V 打印出编译器内部编译各过程的命令行信息 和编译器的版本 • -I dir 在头文件的搜索路径列表中添加
dir 目录 • -L dir 在库文件的搜索路径列表中添加 dir 目录 • -llibrary 连接名为 library 的库文件
CBC • CubieBoard Community • 邮件列表 • 中英文论坛 • Linux-sunxi
深度发烧 •
[email protected]
Cubier 微信