文档章节

Fuchsia 源码下载

郭大鹏
 郭大鹏
发布于 2018/06/03 10:08
字数 195
阅读 1066
收藏 1

准备活动

Ubuntu

sudo apt-get install texinfo libglib2.0-dev liblz4-tool autoconf libtool libsdl-dev build-essential golang git curl unzip

下载源码

Jiri

export FUCHSIA_ROOT=$HOME/fuchsia
curl -s https://raw.githubusercontent.com/fuchsia-mirror/jiri/master/scripts/bootstrap_jiri | bash -s "$FUCHSIA_ROOT"
export PATH="$FUCHSIA_ROOT"/.jiri_root/bin:$PATH
cd "$FUCHSIA_ROOT"
jiri import minimal https://fuchsia.googlesource.com/manifest
jiri update

正式开始下载

curl -s "https://fuchsia.googlesource.com/scripts/+/master/bootstrap?format=TEXT" | base64 --decode | bash -s topaz

最后一个词可以选 [zircon,garnet,peridot,topaz] 其中之一。 我选择了 topaz,下载完成后有 12G 那么大。 zircon 有 5G。

build

下载源码的目录下面有一个 scripts 文件夹。这里有 build 命令。

cd "$FUCHSIA_ROOT/fuchsia"
scripts/fx full-build

编译完成后 31G 了……

启动

scripts/fx run -g

不知道怎么才能有正经界面……

原文: https://fuchsia.googlesource.com/jiri https://fuchsia.googlesource.com/docs/+/master/development/source_code/README.md https://fuchsia.googlesource.com/docs/+/master/development/source_code/layers.md https://fuchsia.googlesource.com/docs/+/master/getting_started.md

© 著作权归作者所有

郭大鹏
粉丝 7
博文 28
码字总数 7481
作品 0
唐山
项目经理
私信 提问
加载中

评论(5)

dwl301
dwl301

引用来自“郭大鹏”的评论

引用来自“dwl301”的评论

$ jiri update
WARN: Please opt in or out of analytics collection. You will receive this warning until an option is selected.
To check what data we collect run 'jiri init -show-analytics-data'
To opt-in run 'jiri init -analytics-opt=true "/home/catlog/Desktop/fuchsia-dev"'
To opt-out run 'jiri init -analytics-opt=false "/home/catlog/Desktop/fuchsia-dev"'

ERROR: Get https://fuchsia.googlesource.com/jiri/+refs/heads/master?format=json: dial tcp 64.233.189.82:443: i/o timeout

Wait for 5s before next attempt...: download jiri binary

Attempt 2/3: download jiri binary

ERROR: Get https://fuchsia.googlesource.com/jiri/+refs/heads/master?format=json: dial tcp 74.125.23.82:443: i/o timeout

Wait for 5s before next attempt...: download jiri binary

Attempt 3/3: download jiri binary

warning: automatic update failed: "download jiri binary" failed 3 times in a row, Last error: Get https://fuchsia.googlesource.com/jiri/+refs/heads/master?format=json: dial tcp 74.125.23.82:443: i/o timeout
Updatin
好几个月过去了,可能 build 方法有微调?我发现我不会产生个图形化的东西后就再也没搞,连虚拟机都删除了……

����好吧~_~
郭大鹏
郭大鹏 博主

引用来自“dwl301”的评论

$ jiri update
WARN: Please opt in or out of analytics collection. You will receive this warning until an option is selected.
To check what data we collect run 'jiri init -show-analytics-data'
To opt-in run 'jiri init -analytics-opt=true "/home/catlog/Desktop/fuchsia-dev"'
To opt-out run 'jiri init -analytics-opt=false "/home/catlog/Desktop/fuchsia-dev"'

ERROR: Get https://fuchsia.googlesource.com/jiri/+refs/heads/master?format=json: dial tcp 64.233.189.82:443: i/o timeout

Wait for 5s before next attempt...: download jiri binary

Attempt 2/3: download jiri binary

ERROR: Get https://fuchsia.googlesource.com/jiri/+refs/heads/master?format=json: dial tcp 74.125.23.82:443: i/o timeout

Wait for 5s before next attempt...: download jiri binary

Attempt 3/3: download jiri binary

warning: automatic update failed: "download jiri binary" failed 3 times in a row, Last error: Get https://fuchsia.googlesource.com/jiri/+refs/heads/master?format=json: dial tcp 74.125.23.82:443: i/o timeout
Updatin
好几个月过去了,可能 build 方法有微调?我发现我不会产生个图形化的东西后就再也没搞,连虚拟机都删除了……
dwl301
dwl301
报错的几个 https://fuchsia.googlesource.com/... 的地址在浏览器中没有问题(浏览器使用了sock5代理),terminal中设置ALL_PROXY=socks5://127.0.0.1:1080 但是无法访问
dwl301
dwl301
Updating all projects
ERROR: Error while downloading "https://fuchsia-review.googlesource.com/tools/hooks/commit-msg": Get https://fuchsia-review.googlesource.com/tools/hooks/commit-msg: dial tcp 108.177.97.82:443: i/o timeout, Error while downloading "https://fuchsia-review.googlesource.com/tools/hooks/commit-msg": Get https://fuchsia-review.googlesource.com/tools/hooks/commit-msg: dial tcp 108.177.125.82:443: i/o timeout
dwl301
dwl301
$ jiri update
WARN: Please opt in or out of analytics collection. You will receive this warning until an option is selected.
To check what data we collect run 'jiri init -show-analytics-data'
To opt-in run 'jiri init -analytics-opt=true "/home/catlog/Desktop/fuchsia-dev"'
To opt-out run 'jiri init -analytics-opt=false "/home/catlog/Desktop/fuchsia-dev"'

ERROR: Get https://fuchsia.googlesource.com/jiri/+refs/heads/master?format=json: dial tcp 64.233.189.82:443: i/o timeout

Wait for 5s before next attempt...: download jiri binary

Attempt 2/3: download jiri binary

ERROR: Get https://fuchsia.googlesource.com/jiri/+refs/heads/master?format=json: dial tcp 74.125.23.82:443: i/o timeout

Wait for 5s before next attempt...: download jiri binary

Attempt 3/3: download jiri binary

warning: automatic update failed: "download jiri binary" failed 3 times in a row, Last error: Get https://fuchsia.googlesource.com/jiri/+refs/heads/master?format=json: dial tcp 74.125.23.82:443: i/o timeout
Updatin
Google 正式发布 Fuchsia 文档,这下清晰多了!

说起 Fuchsia,这个直到现在一直被认为即将取代 Android 的新一代操作系统,相信相当一大部分人对此或多或少有所耳闻,毕竟 Google 已经半秘密式地开发时间将近两年之久。 这里我为什么说是半...

亦枫
2018/10/29
0
0
Google 究竟是不是要用 Fuchsia OS 取代 Android?

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/csdnnews/article/details/90168580

CSDN资讯
05/11
0
0
Fuchsia OS 或许将支持基于 AMD 的 Chromebook

源码提交记录显示,谷歌可能想要在 AMD Chromebook 上支持其新一代操作系统 Fuchsia OS。 Google 一直在努力将 Fuchsia 用于各种设备,从 Google Home Hub 等物联网设备到 Pixelbook 等传统计...

h4cd
03/03
1K
0
Fuchsia 设备出现,谷歌正对其进行蓝牙测试

据 cnbeta 报导,谷歌正在对基于 Fuchsia OS 的设备进行蓝牙测试。 报导指出,10 月 21 日至 25 日在致力于提高市场蓝牙设备互操作性的“蓝牙特别兴趣小组(Bluetooth SIG)”举办的 UnPlug...

h4cd
2018/11/30
3.5K
15
终结安卓?谷歌可能正酝酿巨无霸操作系统

  【IT168 评论】自从2016年谷歌发布了它的操作系统――Fuchsia operating system ,其就频频成为了头条新闻,多次有传言称谷歌预计使用Fuchsia代替它的Android和Chrome操作系统。   XDA...

it168网站
2018/04/30
0
0

没有更多内容

加载失败,请刷新页面

加载更多

让《强化学习(第2版)》架起一座通往强化学习经典知识宝库的桥梁

上交大计算科学与工程系俞凯教授,5分钟口述讲解,带你快速认识了解年度重磅图书《强化学习(第二版)》! 在 AlphaGo战胜李世石之后,AlphaZero以其完全凭借自我学习超越人类在各种棋类游戏...

博文视点Bv
27分钟前
6
0
TLA7-EVM开发板的处理器、NOR FLASH、DDR3

TLA7-EVM开发板是一款由广州创龙基于Xilinx Artix-7系列FPGA自主研发的核心板+底板方式的开发板,可快速评估FPGA性能。核心板尺寸仅70mm*50mm,底板采用沉金无铅工艺的6层板设计,专业的PCB...

Tronlong创龙
36分钟前
4
0
UUID的变种-有序

为了解决UUID无序的问题,NHibernate在其主键生成方式中提供了Comb算法(combined guid/timestamp)。保留GUID的10个字节,用另6个字节表示GUID生成的时间(DateTime)。 /// <summary> //...

Canaan_
37分钟前
5
0
Netty学习(6)——通道间数据传输

1. FileChannel实现通道间的数据传输 在Java NIO中,如果两个通道中有一个是FileChannel,那你可以直接将数据从一个channel传输到另外一个channel。 transferFrom() FileChannel的transferF...

江左煤郎
40分钟前
4
0
AngularDOM操作

gtandsn
41分钟前
3
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部