Bug: 119572983

Clone this repo:
  1. 2216191 Sync zbi-rs implementation. by Sergii Parubochyi · 5 weeks ago main master
  2. 7b899a8 Sync zbi-rs implementation by Sergii Parubochyi · 3 months ago
  3. 4edfe44 Add zbi-rs from fuchsia firmware by Sergii Parubochyi · 4 months ago
  4. 2b318cd fuchsia: update the prebuilts by David Pursell · 4 months ago
  5. 12c41f2 [automerger skipped] DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master by Xin Li · 6 years ago aml_tz2_305400100 android-s-beta-4 android-s-beta-5 android-s-qpr3-beta-1 android-s-v2-beta-3 android-s-v2-preview-1 android-t-preview-1 android10-c2f2-release android10-c2f2-s1-release android10-c2f2-s2-release android10-d4-release android10-d4-s1-release android10-dev android10-mainline-media-release android10-mainline-networking-release android10-mainline-resolv-release android10-qpr1-b-release android10-qpr1-b-s1-release android10-qpr1-c-release android10-qpr1-c-s1-release android10-qpr1-d-release android10-qpr1-mainline-release android10-qpr1-release android10-qpr2-release android10-qpr2-s1-release android10-qpr2-s2-release android10-qpr2-s3-release android10-qpr2-s4-release android10-qpr3-release android10-qpr3-s1-release android11-d1-b-release android11-d1-release android11-d1-s1-release android11-d1-s5-release android11-d1-s6-release android11-d1-s7-release android11-d2-release android11-dev android11-gsi android11-mainline-captiveportallogin-release android11-mainline-cellbroadcast-release android11-mainline-conscrypt-release android11-mainline-documentsui-release android11-mainline-extservices-release android11-mainline-media-release android11-mainline-media-swcodec-release android11-mainline-networkstack-release android11-mainline-os-statsd-release android11-mainline-permission-release android11-mainline-release android11-mainline-sparse-2020-dec-release android11-mainline-sparse-2021-jan-release android11-mainline-tethering-release android11-platform-release android11-prebuilt-test android11-qpr1-c-release android11-qpr1-d-release android11-qpr1-d-s1-release android11-qpr1-release android11-qpr1-s1-release android11-qpr1-s2-release android11-qpr2-release android11-qpr3-release android11-qpr3-s1-release android11-release android11-s1-release android11-security-release android11-tests-release android12-mainline-tzdata2-release main-cg-testing-release ndk-sysroot-r21 aml_tz2_303200001 aml_tz2_303800001 aml_tz2_303800002 aml_tz2_303900102 aml_tz2_303900110 aml_tz2_304500300 aml_tz2_305400100 aml_tz2_305400300 aml_tz2_305400500 aml_tz2_305400800 android-10.0.0_r12 android-10.0.0_r13 android-10.0.0_r14 android-10.0.0_r15 android-10.0.0_r16 android-10.0.0_r18 android-10.0.0_r19 android-10.0.0_r20 android-10.0.0_r21 android-10.0.0_r22 android-10.0.0_r23 android-10.0.0_r24 android-10.0.0_r25 android-10.0.0_r26 android-10.0.0_r27 android-10.0.0_r28 android-10.0.0_r29 android-10.0.0_r30 android-10.0.0_r31 android-10.0.0_r32 android-10.0.0_r33 android-10.0.0_r34 android-10.0.0_r35 android-10.0.0_r36 android-10.0.0_r37 android-10.0.0_r38 android-10.0.0_r39 android-10.0.0_r40 android-10.0.0_r41 android-10.0.0_r42 android-10.0.0_r43 android-10.0.0_r44 android-10.0.0_r45 android-10.0.0_r7 android-10.0.0_r8 android-10.0.0_r9 android-11.0.0_r1 android-11.0.0_r10 android-11.0.0_r11 android-11.0.0_r12 android-11.0.0_r13 android-11.0.0_r14 android-11.0.0_r15 android-11.0.0_r16 android-11.0.0_r17 android-11.0.0_r18 android-11.0.0_r19 android-11.0.0_r2 android-11.0.0_r20 android-11.0.0_r21 android-11.0.0_r22 android-11.0.0_r23 android-11.0.0_r24 android-11.0.0_r25 android-11.0.0_r26 android-11.0.0_r27 android-11.0.0_r28 android-11.0.0_r29 android-11.0.0_r3 android-11.0.0_r30 android-11.0.0_r31 android-11.0.0_r32 android-11.0.0_r33 android-11.0.0_r34 android-11.0.0_r35 android-11.0.0_r36 android-11.0.0_r37 android-11.0.0_r38 android-11.0.0_r39 android-11.0.0_r4 android-11.0.0_r40 android-11.0.0_r41 android-11.0.0_r42 android-11.0.0_r43 android-11.0.0_r44 android-11.0.0_r45 android-11.0.0_r46 android-11.0.0_r47 android-11.0.0_r48 android-11.0.0_r5 android-11.0.0_r7 android-11.0.0_r8 android-11.0.0_r9 android-cts-11.0_r1 android-cts-11.0_r10 android-cts-11.0_r11 android-cts-11.0_r12 android-cts-11.0_r13 android-cts-11.0_r14 android-cts-11.0_r15 android-cts-11.0_r16 android-cts-11.0_r2 android-cts-11.0_r3 android-cts-11.0_r4 android-cts-11.0_r5 android-cts-11.0_r6 android-cts-11.0_r7 android-cts-11.0_r8 android-cts-11.0_r9 android-mainline-10.0.0_r4 android-mainline-11.0.0_r1 android-mainline-11.0.0_r10 android-mainline-11.0.0_r12 android-mainline-11.0.0_r13 android-mainline-11.0.0_r14 android-mainline-11.0.0_r15 android-mainline-11.0.0_r16 android-mainline-11.0.0_r17 android-mainline-11.0.0_r18 android-mainline-11.0.0_r19 android-mainline-11.0.0_r2 android-mainline-11.0.0_r20 android-mainline-11.0.0_r21 android-mainline-11.0.0_r22 android-mainline-11.0.0_r23 android-mainline-11.0.0_r24 android-mainline-11.0.0_r25 android-mainline-11.0.0_r26 android-mainline-11.0.0_r27 android-mainline-11.0.0_r28 android-mainline-11.0.0_r29 android-mainline-11.0.0_r3 android-mainline-11.0.0_r30 android-mainline-11.0.0_r31 android-mainline-11.0.0_r32 android-mainline-11.0.0_r33 android-mainline-11.0.0_r34 android-mainline-11.0.0_r35 android-mainline-11.0.0_r36 android-mainline-11.0.0_r37 android-mainline-11.0.0_r38 android-mainline-11.0.0_r39 android-mainline-11.0.0_r4 android-mainline-11.0.0_r40 android-mainline-11.0.0_r41 android-mainline-11.0.0_r42 android-mainline-11.0.0_r43 android-mainline-11.0.0_r44 android-mainline-11.0.0_r45 android-mainline-11.0.0_r5 android-mainline-11.0.0_r6 android-mainline-11.0.0_r7 android-mainline-11.0.0_r8 android-mainline-11.0.0_r9 android-mainline-12.0.0_r112 android-mainline-12.0.0_r55 android-platform-11.0.0_r1 android-platform-11.0.0_r10 android-platform-11.0.0_r11 android-platform-11.0.0_r12 android-platform-11.0.0_r13 android-platform-11.0.0_r14 android-platform-11.0.0_r15 android-platform-11.0.0_r16 android-platform-11.0.0_r17 android-platform-11.0.0_r18 android-platform-11.0.0_r19 android-platform-11.0.0_r2 android-platform-11.0.0_r20 android-platform-11.0.0_r21 android-platform-11.0.0_r22 android-platform-11.0.0_r23 android-platform-11.0.0_r24 android-platform-11.0.0_r25 android-platform-11.0.0_r26 android-platform-11.0.0_r27 android-platform-11.0.0_r28 android-platform-11.0.0_r29 android-platform-11.0.0_r3 android-platform-11.0.0_r30 android-platform-11.0.0_r31 android-platform-11.0.0_r32 android-platform-11.0.0_r33 android-platform-11.0.0_r34 android-platform-11.0.0_r35 android-platform-11.0.0_r36 android-platform-11.0.0_r37 android-platform-11.0.0_r38 android-platform-11.0.0_r39 android-platform-11.0.0_r4 android-platform-11.0.0_r40 android-platform-11.0.0_r5 android-platform-11.0.0_r6 android-platform-11.0.0_r7 android-platform-11.0.0_r8 android-platform-11.0.0_r9 android-r-beta-2 android-r-beta-3 android-r-preview-1 android-r-preview-2 android-r-preview-3 android-r-preview-4 android-s-beta-1 android-s-beta-2 android-s-beta-3 android-s-beta-4 android-s-beta-5 android-s-preview-1 android-s-qpr3-beta-1 android-s-v2-beta-2 android-s-v2-beta-3 android-s-v2-preview-1 android-s-v2-preview-2 android-security-11.0.0_r1 android-security-11.0.0_r49 android-security-11.0.0_r50 android-security-11.0.0_r51 android-security-11.0.0_r52 android-security-11.0.0_r53 android-security-11.0.0_r54 android-security-11.0.0_r55 android-security-11.0.0_r56 android-security-11.0.0_r57 android-security-11.0.0_r58 android-security-11.0.0_r59 android-security-11.0.0_r60 android-security-11.0.0_r61 android-security-11.0.0_r62 android-security-11.0.0_r63 android-security-11.0.0_r64 android-security-11.0.0_r65 android-security-11.0.0_r66 android-security-11.0.0_r67 android-security-11.0.0_r68 android-security-11.0.0_r69 android-security-11.0.0_r70 android-security-11.0.0_r71 android-security-11.0.0_r72 android-security-11.0.0_r73 android-security-11.0.0_r74 android-security-11.0.0_r75 android-security-11.0.0_r76 android-t-beta-3 android-t-preview-1 android-t-preview-2 android-vts-11.0_r1 android-vts-11.0_r10 android-vts-11.0_r11 android-vts-11.0_r12 android-vts-11.0_r13 android-vts-11.0_r14 android-vts-11.0_r15 android-vts-11.0_r16 android-vts-11.0_r2 android-vts-11.0_r3 android-vts-11.0_r4 android-vts-11.0_r5 android-vts-11.0_r6 android-vts-11.0_r7 android-vts-11.0_r8 android-vts-11.0_r9 r_aml_301500702

Fuchsia SDK

This directory contains a subset of the Fuchsia Integrator Development Kit (IDK) downloaded from the public CIPD artifacts.

Currently the only need is for some definitions in the pkg/ subdirectory, so to save a few GiB of storage that's all we include here. If necessary this could be expanded to include the full IDK.

Updating

Example command to download the f22 version:

# Replace "f22" below with the desired CIPD version.
$ echo "fuchsia/sdk/core/linux-amd64 f22" | cipd ensure -ensure-file - -root download/

# Copy out the files we need and delete the rest.
$ mv download/pkg pkg
$ rm -rf download/

Getting zbi-rs library sources:

$ git clone -n --filter=tree:0 https://fuchsia.googlesource.com/fuchsia
$ cd fuchsia/
$ git sparse-checkout set src/firmware/lib/zbi-rs
$ git checkout origin/releases/f22
$ mv src/ ../
$ cd ..
$ rm -rf ./fuchsia/