GithubHelp home page GithubHelp logo

brobwind / pie-device-brobwind-rpi3 Goto Github PK

View Code? Open in Web Editor NEW
77.0 77.0 41.0 58.13 MB

The Android 9 Pie device configuration for Raspberry Pi 3 Model B & B+

Makefile 1.66% Java 0.05% C++ 29.42% C 66.17% Shell 0.58% Meson 1.62% M4 0.49%

pie-device-brobwind-rpi3's People

Contributors

brobwind avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pie-device-brobwind-rpi3's Issues

Unable to flash a second time

After the build I flashed an SD card.

When I try to flash the card again (or another SD card) the script exits very quickly with the output below.

What's the cause?

$ sudo OUT=${OUT} device/brobwind/rpi3/boot/create_partition_table.sh /dev/sde
=> Destroy partition table ...
GPT data structures destroyed! You may now partition the disk using fdisk or
other utilities.
=> Install GPT partition table ...
=> Install hybrid MBR partition table ...
=> Install images ....
=> Install: misc(device/brobwind/rpi3/boot/images/misc.img) image ...
2048+0 records in
2048+0 records out
1048576 bytes (1.0 MB, 1.0 MiB) copied, 1.11514 s, 940 kB/s
=> Install: oem_bootloader_a(device/brobwind/rpi3/boot/images/oem_bootloader_a.img) image ...
8192+0 records in
8192+0 records out
4194304 bytes (4.2 MB, 4.0 MiB) copied, 2.10722 s, 2.0 MB/s
=> Install: userdata(device/brobwind/rpi3/boot/images/zero_4k.bin) image ...
8+0 records in
8+0 records out
4096 bytes (4.1 kB, 4.0 KiB) copied, 0.00282697 s, 1.4 MB/s
=> Dump partition table ....
Disk /dev/sde: 62521344 sectors, 29.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 300423F2-580B-4F66-89B4-5843743E5E9D
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 62521310
Partitions will be aligned on 8-sector boundaries
Total free space is 6 sectors (3.0 KiB)

Number Start (sector) End (sector) Size Code Name
1 40 131111 64.0 MiB FFFF rpiboot
2 131112 133159 1024.0 KiB FFFF uboot_a
3 133160 135207 1024.0 KiB FFFF uboot_b
4 135208 200743 32.0 MiB FFFF boot_a
5 200744 266279 32.0 MiB FFFF boot_b
6 266280 1597479 650.0 MiB FFFF system_a
7 1597480 2928679 650.0 MiB FFFF system_b
8 2928680 2928807 64.0 KiB FFFF vbmeta_a
9 2928808 2928935 64.0 KiB FFFF vbmeta_b
10 2928936 2930983 1024.0 KiB FFFF misc
11 2930984 3455271 256.0 MiB FFFF vendor_a
12 3455272 3979559 256.0 MiB FFFF vendor_b
13 3979560 3987751 4.0 MiB FFFF oem_bootloader_a
14 3987752 3995943 4.0 MiB FFFF oem_bootloader_b
15 3995944 4000039 2.0 MiB FFFF frp
16 4000040 4786471 384.0 MiB FFFF swap
17 4786472 62521310 27.5 GiB FFFF userdata
PART: 314F99D5-B2BF-4883-8D03-E2F2CE507D6A 58DCEFFE-11CB-4793-8CBD-B1873747626B rpiboot
PART: 314F99D5-B2BF-4883-8D03-E2F2CE507D6A E52BF61D-4914-4F2F-9768-F08CDD9DF904 uboot_a
PART: 314F99D5-B2BF-4883-8D03-E2F2CE507D6A 17841D7D-2B7A-418C-8BBD-3E9762D7F3C7 uboot_b
PART: BB499290-B57E-49F6-BF41-190386693794 B0C780C0-11FB-4BB1-A941-EF0FCA9D0657 boot_a
PART: BB499290-B57E-49F6-BF41-190386693794 E170383C-5AE0-4304-A458-E1FC80A6D942 boot_b
PART: 0F2778C4-5CC1-4300-8670-6C88B7E57ED6 2BEFE2F1-5579-47F1-8CDA-997CF5A59805 system_a
PART: 0F2778C4-5CC1-4300-8670-6C88B7E57ED6 4A71F544-56F8-4166-B550-E2144261F305 system_b
PART: B598858A-5FE3-418E-B8C4-824B41F4ADFC 0FCFDBBF-BAF6-4D44-9DBE-8D295782651D vbmeta_a
PART: B598858A-5FE3-418E-B8C4-824B41F4ADFC A6E13B71-5BC9-4D73-866C-F4D63355E4C0 vbmeta_b
PART: 6B2378B0-0FBC-4AA9-A4F6-4D6E17281C47 5C7A4647-5C13-4AA3-B0DF-3C6929C627DA misc
PART: 314F99D5-B2BF-4883-8D03-E2F2CE507D6A 5B450E58-CAED-4095-BF52-0B02D6865B22 vendor_a
PART: 314F99D5-B2BF-4883-8D03-E2F2CE507D6A 93086839-CF56-4E21-9F56-6A5131799CE1 vendor_b
PART: AA3434B2-DDC3-4065-8B1A-18E99EA15CB7 B513191E-63B0-4F42-A02B-8F350B490D8C oem_bootloader_a
PART: AA3434B2-DDC3-4065-8B1A-18E99EA15CB7 67B9FC5D-FBFD-4CCE-B938-8DFB8CA8BFD1 oem_bootloader_b
PART: AA3434B2-DDC3-4065-8B1A-18E99EA15CB7 A4994273-7C7F-402D-BF24-081985999619 frp
PART: AA3434B2-DDC3-4065-8B1A-18E99EA15CB7 EABA5D26-3934-4EE7-9605-E6050B3FEF2D swap
PART: 0BB7E6ED-4424-49C0-9372-7FBAB465AB4C 35045F08-6973-4F0C-B58B-83F468E97908 userdata

Booting problem

Hi,
I've followed all the step to build and flash the image using create_partition.sh script
The bootloader starts, but after 10 minutes still remains the boot animation (running) and nothing happens.
I've no ttl usb cable so I cannot use the fastboot procedure
How can I check what is happening ?
Thanks in advance.
Adriano

Camera Ver1 is not working

we are not able to take picture form camera , even if this camera is working for rasbian linux perfectly. Error Message "No Camera Found " when running door bell app

Build failure

Hi Brobwind,
I have a build failure:
mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
mkfs.fat 4.1 (2017-01-24)
Traceback (most recent call last):
File "build/make/tools/fat16copy.py", line 773, in
root = fat(sys.argv[1]).root
File "build/make/tools/fat16copy.py", line 469, in init
"Can only handle FAT with 1 reserved sector"

Have you ever see this? Can it be old version of toolchain?
Thanks,
Snd-Raspberry

[Build Failure] Unknown reason

I'm not an expert on building android, this is my first try.

I'm facing this issue:

root@servertwo:/home/user/android# make -j
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=aosp_arm
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.9.0-9-amd64-x86_64-Debian-GNU/Linux-9-(stretch)
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ3B.190705.003
OUT_DIR=out
============================================
ninja: no work to do.
ninja: no work to do.
wildcard(out/target/product/generic/clean_steps.mk) was changed, regenerating...
No need to regenerate ninja file
[  1% 9/601] target dex2oat: out/target/product/generic/dex_bootjars/system/framework/arm/boot.art
FAILED: out/target/product/generic/dex_bootjars/system/framework/arm/boot.art
/bin/bash -c "(mkdir -p out/target/product/generic/symbols/system/framework/arm/ ) && (rm -f out/target/product/generic/dex_bootjars/system/framework/arm//*.art out/target/product/generic/dex_bootjars/system/framework/arm//*.oat out/target/product/generic/dex_bootjars/system/framework/arm//*.art.rel ) && (rm -f out/target/product/generic/symbols/system/framework/arm//*.art ) && (rm -f out/target/product/generic/symbols/system/framework/arm//*.oat ) && (rm -f out/target/product/generic/symbols/system/framework/arm//*.art.rel ) && (ANDROID_LOG_TAGS=\"*:e\" out/host/linux-x86/bin/dex2oatd --runtime-arg -Xms64m              --runtime-arg -Xmx64m           --compiler-filter=speed-profile --profile-file=out/target/product/generic/dex_bootjars/system/framework/boot.prof           --dex-file=out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/voip-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/android.hidl.base-V1.0-java_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/android.hidl.manager-V1.0-java_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/framework-oahl-backward-compatibility_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar                 --dex-location=/system/framework/core-oj.jar --dex-location=/system/framework/core-libart.jar --dex-location=/system/framework/conscrypt.jar --dex-location=/system/framework/okhttp.jar --dex-location=/system/framework/bouncycastle.jar --dex-location=/system/framework/apache-xml.jar --dex-location=/system/framework/ext.jar --dex-location=/system/framework/framework.jar --dex-location=/system/framework/telephony-common.jar --dex-location=/system/framework/voip-common.jar --dex-location=/system/framework/ims-common.jar --dex-location=/system/framework/android.hidl.base-V1.0-java.jar --dex-location=/system/framework/android.hidl.manager-V1.0-java.jar --dex-location=/system/framework/framework-oahl-backward-compatibility.jar --dex-location=/system/framework/android.test.base.jar            --oat-symbols=out/target/product/generic/symbols/system/framework/arm/boot.oat          --oat-file=out/target/product/generic/dex_bootjars/system/framework/arm/boot.oat            --oat-location=/system/framework/arm/boot.oat           --image=out/target/product/generic/dex_bootjars/system/framework/arm/boot.art --base=0x70000000             --instruction-set=arm           --instruction-set-variant=generic               --instruction-set-features=default              --android-root=out/target/product/generic/system            --runtime-arg -Xnorelocate --compile-pic                --no-generate-debug-info --generate-build-id            --multi-image --no-inline-from=core-oj.jar          --abort-on-hard-verifier-error          --abort-on-soft-verifier-error           --generate-mini-debug-info             || ( echo \"ERROR: Dex2oat failed to compile a boot image. It is likely that the boot classpath is inconsistent. Rebuild with ART_BOOT_IMAGE_EXTRA_ARGS=\"--runtime-arg -verbose:verifier\" to see verification errors.\" ; false ) &&  ANDROID_LOG_TAGS=\"*:e\" ANDROID_ROOT=out/target/product/generic/system ANDROID_DATA=out/target/product/generic/dex_bootjars/system/framework/arm/ out/host/linux-x86/bin/patchoatd                 --input-image-location=out/target/product/generic/dex_bootjars/system/framework/boot.art                --output-image-relocation-directory=out/target/product/generic/dex_bootjars/system/framework/arm/           --instruction-set=arm           --base-offset-delta=0x10000000 )"
/bin/bash: riga 1:  4750 Istruzione non consentita ANDROID_LOG_TAGS="*:e" out/host/linux-x86/bin/dex2oatd --runtime-arg -Xms64m --runtime-arg -Xmx64m --compiler-filter=speed-profile --profile-file=out/target/product/generic/dex_bootjars/system/framework/boot.prof --dex-file=out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/voip-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/android.hidl.base-V1.0-java_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/android.hidl.manager-V1.0-java_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/framework-oahl-backward-compatibility_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar --dex-location=/system/framework/core-oj.jar --dex-location=/system/framework/core-libart.jar --dex-location=/system/framework/conscrypt.jar --dex-location=/system/framework/okhttp.jar --dex-location=/system/framework/bouncycastle.jar --dex-location=/system/framework/apache-xml.jar --dex-location=/system/framework/ext.jar --dex-location=/system/framework/framework.jar --dex-location=/system/framework/telephony-common.jar --dex-location=/system/framework/voip-common.jar --dex-location=/system/framework/ims-common.jar --dex-location=/system/framework/android.hidl.base-V1.0-java.jar --dex-location=/system/framework/android.hidl.manager-V1.0-java.jar --dex-location=/system/framework/framework-oahl-backward-compatibility.jar --dex-location=/system/framework/android.test.base.jar --oat-symbols=out/target/product/generic/symbols/system/framework/arm/boot.oat --oat-file=out/target/product/generic/dex_bootjars/system/framework/arm/boot.oat --oat-location=/system/framework/arm/boot.oat --image=out/target/product/generic/dex_bootjars/system/framework/arm/boot.art --base=0x70000000 --instruction-set=arm --instruction-set-variant=generic --instruction-set-features=default --android-root=out/target/product/generic/system --runtime-arg -Xnorelocate --compile-pic --no-generate-debug-info --generate-build-id --multi-image --no-inline-from=core-oj.jar --abort-on-hard-verifier-error --abort-on-soft-verifier-error --generate-mini-debug-info
ERROR: Dex2oat failed to compile a boot image. It is likely that the boot classpath is inconsistent. Rebuild with ART_BOOT_IMAGE_EXTRA_ARGS=--runtime-arg -verbose:verifier to see verification errors.
[  2% 14/601] Proguard: out/target/common/obj/APPS/ContactsProvider_intermediates/classes-proguard.jar
ProGuard, version 5.1
Reading input...
Reading system jar [/home/user/android/out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/classes-header.jar]
Reading system jar [/home/user/android/out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/classes-header.jar]
Reading system jar [/home/user/android/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes-header.jar]
Reading system jar [/home/user/android/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-header.jar]
Reading system jar [/home/user/android/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes-header.jar]
Reading system jar [/home/user/android/out/target/common/obj/JAVA_LIBRARIES/core-lambda-stubs_intermediates/classes-header.jar]
Reading system jar [/home/user/android/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes-header.jar]
Reading program jar [/home/user/android/out/target/common/obj/APPS/ContactsProvider_intermediates/classes.jar]
Initializing...
Ignoring unused library classes...
  Original number of library classes: 16429
  Final number of library classes:    16429
Shrinking...
Removing unused program classes and class elements...
  Original number of program classes: 2150
  Final number of program classes:    616
Writing output...
Preparing output jar [/home/user/android/out/target/common/obj/APPS/ContactsProvider_intermediates/classes-proguard.jar]
  Copying resources from program jar [/home/user/android/out/target/common/obj/APPS/ContactsProvider_intermediates/classes.jar]
[  2% 17/601] Proguard: out/target/common/obj/APPS/Contacts_intermediates/classes-proguard.jar
ProGuard, version 5.1
Reading system jar [/home/user/android/out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/classes-header.jar]
Reading system jar [/home/user/android/out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/classes-header.jar]
Reading system jar [/home/user/android/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes-header.jar]
Reading system jar [/home/user/android/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-header.jar]
Reading system jar [/home/user/android/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes-header.jar]
Reading system jar [/home/user/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes-header.jar]
Reading system jar [/home/user/android/out/target/common/obj/JAVA_LIBRARIES/core-lambda-stubs_intermediates/classes-header.jar]
Reading program jar [/home/user/android/out/target/common/obj/APPS/Contacts_intermediates/classes.jar]
Preparing output jar [/home/user/android/out/target/common/obj/APPS/Contacts_intermediates/classes-proguard.jar]
  Copying resources from program jar [/home/user/android/out/target/common/obj/APPS/Contacts_intermediates/classes.jar]
[  2% 18/601] Proguard: out/target/common/obj/APPS/messaging_intermediates/classes-proguard.jar
ProGuard, version 5.1
Reading system jar [/home/user/android/out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/classes-header.jar]
Reading system jar [/home/user/android/out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/classes-header.jar]
Reading system jar [/home/user/android/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes-header.jar]
Reading system jar [/home/user/android/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-header.jar]
Reading system jar [/home/user/android/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes-header.jar]
Reading system jar [/home/user/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes-header.jar]
Reading system jar [/home/user/android/out/target/common/obj/JAVA_LIBRARIES/core-lambda-stubs_intermediates/classes-header.jar]
Reading program jar [/home/user/android/out/target/common/obj/APPS/messaging_intermediates/classes.jar]
Preparing output jar [/home/user/android/out/target/common/obj/APPS/messaging_intermediates/classes-proguard.jar]
  Copying resources from program jar [/home/user/android/out/target/common/obj/APPS/messaging_intermediates/classes.jar]
ninja: build stopped: subcommand failed.
19:19:22 ninja failed with: exit status 1
build/make/core/main.mk:21: set di istruzioni per l'obiettivo "run_soong_ui" non riuscito
make: *** [run_soong_ui] Errore 1
root@servertwo:/home/user/android#

Any idea?

Usb Microphone not recognized.

I completed build Aosp source to pi3/pi3+.
All functions work well except when I plug usb microphone to record. but it's not recognized in device.
cat /proc/asound/cards
0 [vc4hdmi ]: vc4-hdmi - vc4-hdmi
vc4-hdmi
1 [ALSA ]: bcm2835_alsa - bcm2835 ALSA
bcm2835 ALSA

I have added these lines into kernel source code to enable usb audio but it not work.
CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=y

Install Open GApps

Hello, I downloaded the ready image from your website, and flashed it on the SD card, the system ran perfectly on the Raspberry, but I would like to know how to access the recovery mode to install the GApps, or I would like to know if there is another way to flash the GApps on top of the flashead system image on the SD card, thanks!

Errors while building

Hi,
I followed all the indicated steps but I got an error after few minutes building the images.

Full output below, here some extracts:

  • Found class java.io.PrintWriter, but unable to insert @libcore.util.NonNull:
  • FAILED: out/target/product/rpi3/gen/STATIC_LIBRARIES/libmesa_nir_intermediates
  • Found class java.util.HashMap, but unable to insert @libcore.util.NullFromTypeParam:
  • File "device/brobwind/rpi3/hals/display/mesa3d/src/compiler/nir/nir_opcodes_h.py", line 45, in
    from mako.template import Template
    ImportError: No module named mako.template
  • [ 4% 2936/61716] target thumb C: libext <= out/target/product/rpi3/obj/STATIC_LIBRARIES/libext_intermediates/libxt_tcp.c
    ninja: build stopped: subcommand failed.

I got the sources from https://android.googlesource.com , could it be that the reason?

many thanks.

:~$ m -j
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=rpi3
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-45-generic-x86_64-Ubuntu-16.04.6-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PPR2.180905.006.A1
OUT_DIR=out

[1/1] out/soong/.minibootstrap/minibp out/soong/.bootstrap/build.ninja
[45/46] glob libcore/openjdk_java_files.bp
[77/77] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
out/build-rpi3-cleanspec.ninja is missing, regenerating...
out/build-rpi3.ninja is missing, regenerating...
[550/920] including system/sepolicy/Android.mk ...
system/sepolicy/Android.mk:79: warning: BOARD_SEPOLICY_VERS not specified, assuming current platform version
[920/920] including tools/tradefederation/core/Android.mk ...
build/make/core/Makefile:28: warning: overriding commands for target out/target/product/rpi3/system/etc/mkshrc' build/make/core/base_rules.mk:412: warning: ignoring old commands for target out/target/product/rpi3/system/etc/mkshrc'
build/make/core/Makefile:28: warning: overriding commands for target out/target/product/rpi3/system/etc/ld.config.28.txt' build/make/core/base_rules.mk:412: warning: ignoring old commands for target out/target/product/rpi3/system/etc/ld.config.28.txt'
build/make/core/Makefile:28: warning: overriding commands for target out/target/product/rpi3/vendor/etc/wifi/wpa_supplicant.conf' build/make/core/base_rules.mk:412: warning: ignoring old commands for target out/target/product/rpi3/vendor/etc/wifi/wpa_supplicant.conf'
[ 99% 927/928] glob tools/tradefederation/core/atest/**/*.py
[ 0% 154/61716] build out/target/product/rpi3/rpiboot.img
Target rpiboot fs image: out/target/product/rpi3/obj/PACKAGING/rpibootimage_intermediates/rpiboot.img
64+0 records in
64+0 records out
67108864 bytes (67 MB, 64 MiB) copied, 0.104174 s, 644 MB/s
mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
mkfs.fat 3.0.28 (2015-05-16)
Install rpiboot fs image: out/target/product/rpi3/rpiboot.img
[ 1% 915/61716] build out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/timestamp
WARNING: duplicate annotation of type libcore.util.NonNull
WARNING: duplicate annotation of type libcore.util.NonNull
Found class java.io.PrintWriter, but unable to insert @libcore.util.NonNull:
@libcore.util.NonNull (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, RETURN_TYPE=ReturnTypeCriterion for method: append(C)Ljava/io/Writer;, IN_METHOD=in method 'append(C)Ljava/io/Writer;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
Found class java.io.PrintWriter, but unable to insert @libcore.util.NonNull:
@libcore.util.NonNull (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, RETURN_TYPE=ReturnTypeCriterion for method: append(C)Ljava/lang/Appendable;, IN_METHOD=in method 'append(C)Ljava/lang/Appendable;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
Found class java.io.PrintWriter, but unable to insert @libcore.util.NonNull:
@libcore.util.NonNull (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, RETURN_TYPE=ReturnTypeCriterion for method: append(Ljava/lang/CharSequence;)Ljava/io/Writer;, IN_METHOD=in method 'append(Ljava/lang/CharSequence;)Ljava/io/Writer;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
Found class java.io.PrintWriter, but unable to insert @libcore.util.Nullable:
@libcore.util.Nullable (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, PARAM=ParamCriterion for method: append(Ljava/lang/CharSequence;) at position: 0, IN_METHOD=in method 'append(Ljava/lang/CharSequence;)Ljava/io/Writer;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
Found class java.io.PrintWriter, but unable to insert @libcore.util.NonNull:
@libcore.util.NonNull (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, RETURN_TYPE=ReturnTypeCriterion for method: append(Ljava/lang/CharSequence;)Ljava/lang/Appendable;, IN_METHOD=in method 'append(Ljava/lang/CharSequence;)Ljava/lang/Appendable;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
Found class java.io.PrintWriter, but unable to insert @libcore.util.Nullable:
@libcore.util.Nullable (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, PARAM=ParamCriterion for method: append(Ljava/lang/CharSequence;) at position: 0, IN_METHOD=in method 'append(Ljava/lang/CharSequence;)Ljava/lang/Appendable;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
Found class java.io.PrintWriter, but unable to insert @libcore.util.NonNull:
@libcore.util.NonNull (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, RETURN_TYPE=ReturnTypeCriterion for method: append(Ljava/lang/CharSequence;II)Ljava/io/Writer;, IN_METHOD=in method 'append(Ljava/lang/CharSequence;II)Ljava/io/Writer;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
Found class java.io.PrintWriter, but unable to insert @libcore.util.Nullable:
@libcore.util.Nullable (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, PARAM=ParamCriterion for method: append(Ljava/lang/CharSequence;II) at position: 0, IN_METHOD=in method 'append(Ljava/lang/CharSequence;II)Ljava/io/Writer;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
Found class java.io.PrintWriter, but unable to insert @libcore.util.NonNull:
@libcore.util.NonNull (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, RETURN_TYPE=ReturnTypeCriterion for method: append(Ljava/lang/CharSequence;II)Ljava/lang/Appendable;, IN_METHOD=in method 'append(Ljava/lang/CharSequence;II)Ljava/lang/Appendable;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
Found class java.io.PrintWriter, but unable to insert @libcore.util.Nullable:
@libcore.util.Nullable (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, PARAM=ParamCriterion for method: append(Ljava/lang/CharSequence;II) at position: 0, IN_METHOD=in method 'append(Ljava/lang/CharSequence;II)Ljava/lang/Appendable;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
Found class java.util.HashMap, but unable to insert @libcore.util.NonNull:
@libcore.util.NonNull (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at ( [TYPE_ARGUMENT(0)] ), RETURN_TYPE=ReturnTypeCriterion for method: entrySet()Ljava/util/Set;, IN_METHOD=in method 'entrySet()Ljava/util/Set;', IN_CLASS=In class 'java.util.HashMap' (exactly)}
Found class java.util.HashMap, but unable to insert @libcore.util.NullFromTypeParam:
@libcore.util.NullFromTypeParam (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at ( [TYPE_ARGUMENT(0), TYPE_ARGUMENT(0)] ), RETURN_TYPE=ReturnTypeCriterion for method: entrySet()Ljava/util/Set;, IN_METHOD=in method 'entrySet()Ljava/util/Set;', IN_CLASS=In class 'java.util.HashMap' (exactly)}
Found class java.util.HashMap, but unable to insert @libcore.util.NullFromTypeParam:
@libcore.util.NullFromTypeParam (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at ( [TYPE_ARGUMENT(0), TYPE_ARGUMENT(1)] ), RETURN_TYPE=ReturnTypeCriterion for method: entrySet()Ljava/util/Set;, IN_METHOD=in method 'entrySet()Ljava/util/Set;', IN_CLASS=In class 'java.util.HashMap' (exactly)}
[ 4% 2931/61716] build out/target/product/rpi3/gen/STATIC_LIBRARIES/libmesa_nir_intermediates/nir/nir_opcodes.h
FAILED: out/target/product/rpi3/gen/STATIC_LIBRARIES/libmesa_nir_intermediates/nir/nir_opcodes.h
/bin/bash -c "python device/brobwind/rpi3/hals/display/mesa3d/src/compiler/nir/nir_opcodes_h.py device/brobwind/rpi3/hals/display/mesa3d/src/compiler/nir/nir_opcodes.py > out/target/product/rpi3/gen/STATIC_LIBRARIES/libmesa_nir_intermediates/nir/nir_opcodes.h"
Traceback (most recent call last):
File "device/brobwind/rpi3/hals/display/mesa3d/src/compiler/nir/nir_opcodes_h.py", line 45, in
from mako.template import Template
ImportError: No module named mako.template
[ 4% 2936/61716] target thumb C: libext <= out/target/product/rpi3/obj/STATIC_LIBRARIES/libext_intermediates/libxt_tcp.c
ninja: build stopped: subcommand failed.
19:24:58 ninja failed with: exit status 1

Required space?

Hi,

I've tried this twice now and both times ran out of space on the partition i was planning on building it on, first time 20gb, second 50gb. Is this normal? Any idea what is required? Am I making a mistake somewhere?

Thanks.

Unable to Factory Reset

When I attempt to factory reset the RPI, it simply reboots without doing a wipe. Is there anything I am missing while creating the image?

Root

How do I root this image? I'm new to all of this, but am very computer literate.

Error on Build: "libdrm_defaults" already defined

I followed the instructions and got an error right away. Has anyone else seen this?

FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -o out/soong/build.ninja Android.bp
error: external/libdrm/Android.bp:27:1: module "libdrm_defaults" already defined
device/brobwind/rpi3/hals/display/libdrm/Android.bp:27:1 <-- previous definition here
error: external/libdrm/Android.bp:49:1: module "libdrm" already defined
device/brobwind/rpi3/hals/display/libdrm/Android.bp:49:1 <-- previous definition here
error: external/libdrm/Android.sources.bp:3:1: module "libdrm_sources" already defined
device/brobwind/rpi3/hals/display/libdrm/Android.sources.bp:3:1 <-- previous definition here
ninja: build stopped: subcommand failed.
17:31:26 soong bootstrap failed with: exit status 1

ROOTING

Hi thank you for this repo did a build and working 100% had to patch a few things like tools on my system not working correct but all good. I only have one issue how to root the device so that I can run an application with root permissions

Not support Raspberry LCD 7 Inch 800*480

Hi, I have tried make a test on Raspberry 3 B+.
The problem is I can't set the solution down to 800*400 when I tried replace in file "cmdline.txt" by line drm_kms_helper.edid_firmware=edid/1280x720.bin
it's only accept minimum 800x600, so I guest the kernel is not support this resolution.
So hope you can update this kernel to working with resolution.
Thanks & Best Regards.
Do Quang Huy

can't enable the kernel module

hi, i'm trying porting a simple kernel module but seem this feauture is disable.
How to enable it ? Please help me to resolve this issue.

老哥问个问题

我在你的博客上注册不了,没法设置密码。我想在 树莓派上 通过 uboot 启动 kindle 的系统技术上可以实现么,我看你的博客是跟我这个想法反的你是在kindle上跑别的系统

Cant able to boot

Hello RPI Team,
I've followed the steps what you have given but cant able to boot after flashed
Steps :
repo init "<>"
repo sync
and after source build/envsetup.h
lunch rpi3-eng
m -j

For flashing ( 16 GB Memory Card , RPI 3 b)
sudo OUT=${ODUT} device/brobwind/rpi3/boot/create_partition_table.sh /dev/mmcblk0

=> Destroy partition table ...
GPT data structures destroyed! You may now partition the disk using fdisk or
other utilities.
=> Install GPT partition table ...
=> Install hybrid MBR partition table ...
=> Install images ....
=> Install: misc(device/brobwind/rpi3/boot/images/misc.img) image ...
2048+0 records in
2048+0 records out
1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.82448 s, 1.3 MB/s
=> Install: oem_bootloader_a(device/brobwind/rpi3/boot/images/oem_bootloader_a.img) image ...
8192+0 records in
8192+0 records out
4194304 bytes (4.2 MB, 4.0 MiB) copied, 1.0497 s, 4.0 MB/s
=> Install: userdata(device/brobwind/rpi3/boot/images/zero_4k.bin) image ...
8+0 records in
8+0 records out
4096 bytes (4.1 kB, 4.0 KiB) copied, 0.0274771 s, 149 kB/s
=> Dump partition table ....
Disk /dev/mmcblk0: 31457280 sectors, 15.0 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 1A3759E8-34C4-46C8-973A-0458C3E53503
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 31457246
Partitions will be aligned on 8-sector boundaries
Total free space is 6 sectors (3.0 KiB)

Number Start (sector) End (sector) Size Code Name
1 40 131111 64.0 MiB FFFF rpiboot
2 131112 133159 1024.0 KiB FFFF uboot_a
3 133160 135207 1024.0 KiB FFFF uboot_b
4 135208 200743 32.0 MiB FFFF boot_a
5 200744 266279 32.0 MiB FFFF boot_b
6 266280 1597479 650.0 MiB FFFF system_a
7 1597480 2928679 650.0 MiB FFFF system_b
8 2928680 2928807 64.0 KiB FFFF vbmeta_a
9 2928808 2928935 64.0 KiB FFFF vbmeta_b
10 2928936 2930983 1024.0 KiB FFFF misc
11 2930984 3455271 256.0 MiB FFFF vendor_a
12 3455272 3979559 256.0 MiB FFFF vendor_b
13 3979560 3987751 4.0 MiB FFFF oem_bootloader_a
14 3987752 3995943 4.0 MiB FFFF oem_bootloader_b
15 3995944 4000039 2.0 MiB FFFF frp
16 4000040 4786471 384.0 MiB FFFF swap
17 4786472 31457246 12.7 GiB FFFF userdata
PART: 314F99D5-B2BF-4883-8D03-E2F2CE507D6A E6200AF6-8D7A-480D-A503-B5F9DF23A7CF rpiboot
PART: 314F99D5-B2BF-4883-8D03-E2F2CE507D6A EE549E6A-E297-4582-B818-47809B3B790A uboot_a
PART: 314F99D5-B2BF-4883-8D03-E2F2CE507D6A 70BE1004-865C-4D77-8B78-0D50ABDE904C uboot_b
PART: BB499290-B57E-49F6-BF41-190386693794 CDA49718-FFD0-4A43-918B-F0032B490F30 boot_a
PART: BB499290-B57E-49F6-BF41-190386693794 D2F6E2E3-8060-43C9-9AEA-32D0A9291A48 boot_b
PART: 0F2778C4-5CC1-4300-8670-6C88B7E57ED6 38DF6868-58A6-4D21-8B8B-3A846A37435A system_a
PART: 0F2778C4-5CC1-4300-8670-6C88B7E57ED6 DAAD888C-9A41-4EC0-82D4-1FFED2000D78 system_b
PART: B598858A-5FE3-418E-B8C4-824B41F4ADFC F646DE1F-7ACA-4EDF-A012-A0C4DF19227E vbmeta_a
PART: B598858A-5FE3-418E-B8C4-824B41F4ADFC F4C908F2-6893-425E-97B5-BC63DF55AE54 vbmeta_b
PART: 6B2378B0-0FBC-4AA9-A4F6-4D6E17281C47 87EE8F3F-F749-4D37-A7F6-DCEC2A309CFE misc
PART: 314F99D5-B2BF-4883-8D03-E2F2CE507D6A BE063939-9182-4EC9-A325-E30705719366 vendor_a
PART: 314F99D5-B2BF-4883-8D03-E2F2CE507D6A 4AC3550F-BC7F-4E14-83B9-BF461B33EAB6 vendor_b
PART: AA3434B2-DDC3-4065-8B1A-18E99EA15CB7 F30FE960-876E-4D65-82AB-7A3C36CBF58E oem_bootloader_a
PART: AA3434B2-DDC3-4065-8B1A-18E99EA15CB7 5286E610-086B-4C8E-B5C2-DC5E8322BE8F oem_bootloader_b
PART: AA3434B2-DDC3-4065-8B1A-18E99EA15CB7 46A6534D-A4E6-4BCA-AB39-968010F7AB45 frp
PART: AA3434B2-DDC3-4065-8B1A-18E99EA15CB7 59C49B62-0473-4860-810A-3359A2184282 swap
PART: 0BB7E6ED-4424-49C0-9372-7FBAB465AB4C 193E9404-0649-4A64-85FC-7C7A1437D67D userdata


After flashing ....

Disk /dev/mmcblk0: 15 GiB, 16106127360 bytes, 31457280 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 1A3759E8-34C4-46C8-973A-0458C3E53503

Device Start End Sectors Size Type
/dev/mmcblk0p1 40 131111 131072 64M unknown
/dev/mmcblk0p2 131112 133159 2048 1M unknown
/dev/mmcblk0p3 133160 135207 2048 1M unknown
/dev/mmcblk0p4 135208 200743 65536 32M unknown
/dev/mmcblk0p5 200744 266279 65536 32M unknown
/dev/mmcblk0p6 266280 1597479 1331200 650M unknown
/dev/mmcblk0p7 1597480 2928679 1331200 650M unknown
/dev/mmcblk0p8 2928680 2928807 128 64K unknown
/dev/mmcblk0p9 2928808 2928935 128 64K unknown
/dev/mmcblk0p10 2928936 2930983 2048 1M unknown
/dev/mmcblk0p11 2930984 3455271 524288 256M unknown
/dev/mmcblk0p12 3455272 3979559 524288 256M unknown
/dev/mmcblk0p13 3979560 3987751 8192 4M unknown
/dev/mmcblk0p14 3987752 3995943 8192 4M unknown
/dev/mmcblk0p15 3995944 4000039 4096 2M unknown
/dev/mmcblk0p16 4000040 4786471 786432 384M unknown
/dev/mmcblk0p17 4786472 31457246 26670775 12.7G unknown

All partitions are unknown and there is no partitions which is having boot flags

Please tell me what I am doing wrong and do i need to anything extra

Flashing Image

can you flash the bin image with etcher and boot ,Did somebody tried and did it work?
Regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.