Questions tagged [fuchsia]

Fuchsia is Google's open source operating system that prioritizes security, updatability, and performance. It is based on a new kernel called Zircon and has the capability to run on universal devices including smartphones, tablets and PCs. The programming languages ​​supported for production software are C/C ++, Dart, Rust, Go and Python.

Fuchsia is a capability-based operating system developed by Google.
It is based on the new microkernel "Zircon" and is capable of running on universal devices, from embedded systems to smartphones, tablets and personal computers.

Source code documentation

Official Website

Supported programming languages (operative system and apps)

  • C
  • C++
  • Dart
  • Rust (not supported for end-devs)
  • Go (not approved)
  • Python (not supported for end-devs)

Other references

47 questions
1
vote
1 answer

Understanding the GN build system in Fuchsia OS, what is `build_api_module`?

GN stands for Generate Ninja. It generates ninja files which build things. The main file is BUILD.GN at the root of the fuchsia source tree It contains a lot of build_api_module calls: build_api_module("images") { testonly = true data_keys = […
Rafaelo
  • 33
  • 1
  • 15
1
vote
1 answer

Where is the first code run on Zircon (Fuchsia) kernel on this start.S file?

I'm reading the start.S assembly code for the Zircon Kernel (Fuchsia OS): https://fuchsia.googlesource.com/fuchsia/+/master/zircon/kernel/arch/arm64/start.S There's this line: .text FUNCTION(_start) I think this is the first thing ever that get…
Paprika
  • 402
  • 5
  • 18
1
vote
1 answer

Jiri hooks are not run due to fatal errors when updating projects or packages - Fuchsia Source code download

I am trying to install Fuchsia Source code but it is giving me error while fetching CIPD packages. I tried the solution in this stackoverflow post but i received the error. here I am just getting started with this and don't know a lot about it. I…
Sarthak
  • 99
  • 9
1
vote
1 answer

cat-like functionality under Fuchsia OS command line

In the first command the > has the output of the ls command go to /data/result.txt. In the second command you see that size of the file is 229. $ ls > /data/result.txt $ ls /data/result.txt - 229 /data/result.txt Using the Fuchsia OS emulator…
CW Holeman II
  • 4,661
  • 7
  • 41
  • 72
1
vote
1 answer

How to build out-of-tree Fuchsia OS program

After installing and building Fuchsia OS, I can modify the string in the example hello world program from "Hello, World!\n" to "Hello, Fuchsia!\n". Then I build and execute the code which produces the expected string "Hello, Fuchsia!" using: cd…
CW Holeman II
  • 4,661
  • 7
  • 41
  • 72
1
vote
1 answer

Fuchsia OS build command: fx set --with, produces: Include not allowed

fuchsia/examples/intl/tz_version_parrot/main.cc uses fxl::CommandLineFromArgcArgv(): #include "src/lib/fxl/command_line.h" ... int main(int argc, const char** argv) { const auto command_line = fxl::CommandLineFromArgcArgv(argc, argv); Fuchsia >…
CW Holeman II
  • 4,661
  • 7
  • 41
  • 72
1
vote
1 answer

Source for a build from fuchsia.dev vs the process to submit a change to fuchsia.googlesource.com?

Fuchsia > Guides -- Get Fuchsia source code seems to imply that git is involved in the downloading of the source for Fuchsia OS: $ sudo apt-get install build-essential curl git python unzip The actual commands for the download do not use git…
CW Holeman II
  • 4,661
  • 7
  • 41
  • 72
1
vote
1 answer

Fuchsia OS fxl::CommandLineFromArgcArgv() usage?

Fuchsia OS > Guides > Syslog has this example: #include "src/lib/fsl/syslogger/init.h" #include "src/lib/fxl/command_line.h" int main(int argc, char** argv) { auto command_line = fxl::CommandLineFromArgcArgv(argc, argv); …
CW Holeman II
  • 4,661
  • 7
  • 41
  • 72
1
vote
1 answer

Disk space needed for installing Fuchsia OS toolkit?

Following the directions on Fuchsia > Get started appears to be working until it runs out of disk space. I am unable to locate any info on the amount needed.
CW Holeman II
  • 4,661
  • 7
  • 41
  • 72
1
vote
0 answers

How to type special characters in Fuchsia OS running on qemu?

I am not able to type the characters like ! @ ie characters that are printed using shift in Fuchsia terminal running in qemu. Also can anyone tell me how to scroll in the terminal for the same?
Harshvardhan R
  • 407
  • 2
  • 7
  • 12
1
vote
1 answer

TypeError when set target to build Fuchsia

Trying to set a target before building Fuchsia, but getting the following error. I tried converting the sep to byte by using b.startswith(b'sep') then it gives the error. So I am just stuck on how to deal with this. I have zero knowledge of…
prashant0205
  • 269
  • 1
  • 3
  • 17
0
votes
0 answers

fx set workstation_eng.x64 --ccache --verbose failed on first checkout of the source code

DEBUG: starting: [/home/sindhu/workspace/fuchsia/prebuilt/third_party/gn/linux-x64/gn gen /home/sindhu/workspace/fuchsia/out/default --root=/home/sindhu/workspace/fuchsia --check=system --fail-on-unused-args…
0
votes
1 answer

Download Fuchsia source --ERROR: Project integration(integration) contains uncommitted changes

After going through the installation steps mentioned at https://fuchsia.dev/fuchsia-src/get-started/get_fuchsia_source. The error message was as shown below - yeah@DESKTOP:/mnt/c/Users/Yewon/Desktop$ curl -s…
Y.K
  • 1
  • 2
0
votes
1 answer

Time out connect to ffx component run "fuchsia-pkg://fuchsiasamples.com/hello_world#meta/hello_world.cm"

My system is MacOS and I have already build fuchsia, but when I run the command line fuchsia % ffx component run "fuchsia-pkg://fuchsiasamples.com/hello_world#meta/hello_world.cm" Timeout attempting to reach target "unspecified" this error…
0
votes
0 answers

Fuchsia OS Failed to start the emulator

I am trying to install fuchsia and it was downloaded perfectly , but when I tried to start the emulator , it popped waiting for emulator to start and then it failed, giving error device, health check failed . Unable to ssh due to error : exit status…