GithubHelp home page GithubHelp logo

riscv-aosp's Introduction

XuanTie Android

This repository is maintained by Damo Academy Xuantie Team for the support of the Android Open Source Project (AOSP) on XuanTie CPU based development boards. It mainly includes BSP configuration, peripheral HAL layer, kernel, u-boot, and pre-compiled component support for the development boards. Other components can be directly pulled from the upstream AOSP repository. Currently, the repository maintains the relevant support for BeagleV Ahead and Lichee Pi 4A development boards based on the TH1520 SoC prototype.

Chinese page:

https://gitee.com/thead-android/thead-android/blob/master/README.md

The historical versions (RVB-ICE support) of this repository have been backed up to the branch:

https://github.com/XUANTIE-RV/riscv-aosp/tree/back_up

Development boards

BeagleV Ahead

BeagleV Ahead is a development board product launched by Beagle board, which supports multiple operating systems such as Android, Debian, Ubuntu, etc. The development board integrates TH1520 SoC, which includes a quad-core Xuan Tie C910 processor running at 1.85G and an NPU with 4TOPS computing power. It has a built-in GPU that supports OpenGL ES, OpenCL, and Vulkan, and features various device interfaces such as USB, Wi-Fi/BT, Ethernet, HDMI, MIPI CSI/DSI, etc. It can be used in AI edge computing applications such as video conferencing all-in-one machines, face recognition attendance access control, medical imaging, etc. beaglev

Figure 1. BeagleV Ahead

For more information, please visit the Beagleboard documentation page:

https://beaglev-ahead.beagleboard.io/docs/latest/boards/beaglev/ahead/index.html

Lichee Pi 4A EVB

Lichee Pi 4A is a development board product launched by Sipeed, which supports multiple operating systems such as Android, Debian, OpenWrt, etc. The development board integrates TH1520 SoC, which includes a quad-core Xuan Tie C910 processor running at 1.85G and an NPU with 4TOPS computing power. It has a built-in GPU that supports OpenGL ES, OpenCL, and Vulkan, and features various device interfaces such as USB, Wi-Fi/BT, Ethernet, HDMI, MIPI CSI/DSI, etc. It can be used in AI edge computing applications such as video conferencing all-in-one machines, face recognition attendance access control, medical imaging, etc. licheepi4a

Figure 2. Lichee Pi 4A EVB

For more information, please visit the Sipeed Wiki page: https://wiki.sipeed.com/licheepi4a

Quick start

Before downloading the Android Open Source Project source code, please check your working environment. It is recommended to use a Linux system with at least 250G disk space and 16GB+ memory (Ubuntu 20.04 or above is recommended). The compilation time is related to the number of processor cores on the host, so it is recommended to use a host with more cores.

Download the Android Open Source Project (mainline version) and the development board support source code to your working directory.

mkdir riscv-android-src && cd riscv-android-src
repo init -u https://android.googlesource.com/platform/manifest -b master
git clone https://gitee.com/XUANTIE-RV/local_manifests.git .repo/local_manifests -b thead-android_dev
repo sync

BeagleV Ahead

After downloading, you can build the system using the following commands:

source build/envsetup.sh
lunch beaglev_ahead-userdebug
m -j

The compiled files are shown below, and the required files can be copied for use with Fastboot:

$ ls out/target/product/beaglev_ahead/*img
out/target/product/beaglev_ahead/boot.img           out/target/product/beaglev_ahead/super_empty.img        out/target/product/beaglev_ahead/vendor_boot-debug.img
out/target/product/beaglev_ahead/cache.img          out/target/product/beaglev_ahead/system.img             out/target/product/beaglev_ahead/vendor_boot-test-harness.img
out/target/product/beaglev_ahead/dtb.img            out/target/product/beaglev_ahead/system_ext.img         out/target/product/beaglev_ahead/vendor_boot.img
out/target/product/beaglev_ahead/dtbo-unsigned.img  out/target/product/beaglev_ahead/userdata.img           out/target/product/beaglev_ahead/vendor_ramdisk-debug.img
out/target/product/beaglev_ahead/dtbo.img           out/target/product/beaglev_ahead/vbmeta.img             out/target/product/beaglev_ahead/vendor_ramdisk-test-harness.img
out/target/product/beaglev_ahead/product.img        out/target/product/beaglev_ahead/vbmeta_system.img      out/target/product/beaglev_ahead/vendor_ramdisk.img
out/target/product/beaglev_ahead/ramdisk.img        out/target/product/beaglev_ahead/vendor-bootconfig.img
out/target/product/beaglev_ahead/super.img          out/target/product/beaglev_ahead/vendor.img

$ mkdir fastboot
$ cd out/target/product/beaglev_ahead/
$ cp u-boot-with-spl.bin bootpart.ext4 boot.img super.img userdata.img vbmeta.img vbmeta_system.img vendor_boot.img ../../../../../fastboot/

beaglev_connect

Figure 3. BeagleV Ahead Connection.

The main connections required to use the development board include power, serial port, USB, and display:

  • The serial port is mainly used for command interaction in U-boot and the kernel, and can be connected through the Debug RX and TX on the bottom of the board, with a baud rate of 115200.
  • The USB Device interface is mainly used for the connection of fastboot and adb tools.
  • The MIPI DSI/HDMI interface can be used to connect the screen to display the UI interface.

To perform a full system write, press the USB button on the development board and simultaneously press the reset button to enter the boot write mode.

Then use fastboot to write the system image. ADB and fastboot tools can be downloaded from the Android developer website: https://developer.android.com/tools/releases/platform-tools

#Program U-boot and initialize boot environment variables
fastboot flash ram u-boot-with-spl.bin
fastboot reboot
fastboot flash uboot u-boot-with-spl.bin

#Program various partitions
#In non-boot write mode, you can enter the command fastboot usb 0 on the uboot command line to write individual partitions separately.
fastboot flash bootpart bootpart.ext4
fastboot flash boot boot.img
fastboot flash vendor_boot vendor_boot.img
fastboot flash super super.img 
fastboot flash userdata userdata.img
fastboot flash vbmeta vbmeta.img
fastboot flash vbmeta_system vbmeta_system.img

#Initialize metadata and misc partitions
fastboot erase metadata 
fastboot erase misc

After writing, reset and power on the board to enter the system boot mode. You can access the system command line through the serial port/ADB and interact with the system image interface through the touch screen or external HDMI display.

beaglev_aosp

Figure 4. Running AOSP main branch on BeagleV Ahead.

Lichee Pi 4A EVB

After downloading, you can build the system using the following commands:

source build/envsetup.sh
lunch lichee_pi_4a-userdebug
m -j

The compiled files are shown below, and the required files can be copied for use with Fastboot:

$ ls out/target/product/lichee_pi_4a/*img
out/target/product/lichee_pi_4a/boot.img           out/target/product/lichee_pi_4a/super_empty.img        out/target/product/lichee_pi_4a/vendor_boot-debug.img
out/target/product/lichee_pi_4a/cache.img          out/target/product/lichee_pi_4a/system.img             out/target/product/lichee_pi_4a/vendor_boot-test-harness.img
out/target/product/lichee_pi_4a/dtb.img            out/target/product/lichee_pi_4a/system_ext.img         out/target/product/lichee_pi_4a/vendor_boot.img
out/target/product/lichee_pi_4a/dtbo-unsigned.img  out/target/product/lichee_pi_4a/userdata.img           out/target/product/lichee_pi_4a/vendor_ramdisk-debug.img
out/target/product/lichee_pi_4a/dtbo.img           out/target/product/lichee_pi_4a/vbmeta.img             out/target/product/lichee_pi_4a/vendor_ramdisk-test-harness.img
out/target/product/lichee_pi_4a/product.img        out/target/product/lichee_pi_4a/vbmeta_system.img      out/target/product/lichee_pi_4a/vendor_ramdisk.img
out/target/product/lichee_pi_4a/ramdisk.img        out/target/product/lichee_pi_4a/vendor-bootconfig.img
out/target/product/lichee_pi_4a/super.img          out/target/product/lichee_pi_4a/vendor.img

$ mkdir fastboot
$ cd out/target/product/lichee_pi_4a/
$ mkdir fastboot
$ cp bootpart.ext4 boot.img super.img userdata.img vbmeta.img vbmeta_system.img vendor_boot.img ../../../../../fastboot/

licheepi4a_connect

Figure 5. Lichee Pi 4A EVB connect

The main connections required to use the development board include power, serial port, USB, and display:

  • The serial port is mainly used for command interaction in U-boot and the kernel, and can be connected through the U0-RX and U0-TX GPIO on the bottom of the board, with a baud rate of 115200.
  • The USB Device interface is mainly used for the connection of fastboot and adb tools.
  • The MIPI DSI/HDMI interface can be used to connect the screen to display the UI interface.

To perform a full system write, press the boot button on the development board and simultaneously press the reset button to enter the boot write mode.

Then use fastboot to write the system image. ADB and fastboot tools can be downloaded from the Android developer website: https://developer.android.com/tools/releases/platform-tools

#Program U-boot and initialize boot environment variables
fastboot flash ram u-boot-with-spl.bin
fastboot reboot
fastboot flash uboot u-boot-with-spl.bin

#Program various partitions
#In non-boot write mode, you can enter the command fastboot usb 0 on the uboot command line to write individual partitions separately.
fastboot flash bootpart bootpart.ext4
fastboot flash boot boot.img
fastboot flash vendor_boot vendor_boot.img
fastboot flash super super.img
fastboot flash userdata userdata.img
fastboot flash vbmeta vbmeta.img
fastboot flash vbmeta_system vbmeta_system.img

#Initialize metadata and misc partitions
fastboot erase metadata
fastboot erase misc

After writing, reset and power on the board to enter the system boot mode. You can access the system command line through the serial port/ADB and interact with the system image interface through the touch screen or external HDMI display.

licheepi4a_aosp

Figure 6. Running AOSP Mainline on Lichee Pi 4A

(If you need more optimized and stable system support, please contact us to obtain Android 12 version support. This version has a more complete system components and peripheral HAL support, adapted for GPU, VPU, Camera, Audio, NPU and other peripheral hardware, and has undergone more comprehensive XTS testing and stress testing. You can obtain relevant support through the "work order system" in the "About Us" section.)

Change list

2023/07/06

  • Release BeagleV Ahead development board Alpha support
  • Release Lichee Pi 4A EVB Alpha support

Contribute

This project accepts external contributions through Pull Requests. The following process can be referred to:

  1. Fork the modified repository into a personal account.
  2. Create a development branch named suitably for your work.
  3. Replace the project remote and revision with your own repository:
- <project path="device/thead/common" name="device-thead-common" revision="alpha_0_2_0" remote="thead" />
+ <project path="device/thead/common" name="device-thead-common" revision="alpha_0_2_0_xxx_support" remote="your_personal_remote" />
  1. All new work should be based on the corresponding development branch.
  2. When creating a submission, ensure that the changes are as independent and complete as possible, and provide appropriate submission messages.
  3. It is recommended to include relevant unit test results when making changes.
  4. Push the development branch to your personal repository fork on Github.
  5. Create a Github Pull Request for the corresponding development branch. If the submission is for a bug fix, link it to the issue in the issue tracker.

Releated link

The issue tracker for this project (for Android related issues on the Development Board, please submit to this tracker):

https://gitee.com/thead-android/thead-android/issues

Other open source software projects by Flathead Brother can be accessed through the following links:

XuanTie Yocto Linux: https://gitee.com/thead-yocto

YoC Open: https://gitee.com/yocop

If you want to learn more about TH1520 and Wujian 600 platform, please visit:

https://www.xrvm.cn/product/wujian/600

If you want to learn more about the dynamic support of RISC-V architecture on Android, you can subscribe to the RISC-V Android SIG mailing list and participate in community discussions:

https://lists.riscv.org/g/sig-android

If you have any questions about Android support for RISC-V architecture, you can submit them to the generic issue tracker for Android-riscv64:

https://github.com/google/android-riscv64/issues

License

We do not require any formal copyright assignment or contributor license agreement. Any contributions intentionally sent upstream are presumed to be offered under terms of the OSI-approved Apache License 2.0. See LICENSE file for details.

About Us

This repository is maintained by Alibaba Damo Academy Xuantie Team.

If you need technical support, you can submit a work order through OCC: https://www.xrvm.cn/people/workorder-submit

You can also contact us through the following ways: E-mail: [email protected]

riscv-aosp's People

Contributors

maohan001 avatar maohan002 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

riscv-aosp's Issues

build instructions, configs and source for uboot and kernel

Hi,

While I am finding a way to workaround the partition size for #16 ,
I tried to find out the source for U-boot - - which, according to the log, writes the GPT table to flash.

Could you provide me the source, configs and build instructions for the shipped binaries, namely :

kernel and U-boot ?

Thanks in advance.

seems that there is some issue when building the whole image

./reproduce.sh

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
TARGET_PRODUCT=aosp_riscv64
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=riscv64
TARGET_ARCH_VARIANT=riscv64
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-118-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=QP1A.191105.004
OUT_DIR=out

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
TARGET_PRODUCT=aosp_riscv64
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=riscv64
TARGET_ARCH_VARIANT=riscv64
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-118-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=QP1A.191105.004
OUT_DIR=out

[100% 46/46] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
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 -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja Android.bp
error: test/suite_harness/common/host-side/util/Android.bp:15:1: "compatibility-host-util" depends on undefined module "cts_error_prone_rules"
18:45:07 soong bootstrap failed with: exit status 1

android10-release sources from https://mirrors.tuna.tsinghua.edu.cn/git/AOSP/platform/manifest URL failing to download.

I was facing an issue while downloading android10 sources from https://mirrors.tuna.tsinghua.edu.cn/git/AOSP/platform/manifest URL as follow's,

$ cd ${AOSP_RISCV_BUILD_TOP}
$ repo init -u https://mirrors.tuna.tsinghua.edu.cn/git/AOSP/platform/manifest -b android10-release

error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

platform/prebuilts/misc:
remote: Counting objects: 1582, done.
remote: Compressing objects: 100% (1118/1118), done.
error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

remote: Counting objects: 1582, done. MiB | 44.00 KiB/s
remote: Compressing objects: 100% (1118/1118), done.
remote: Total 12081 (delta 6032), reused 10083 (delta 5385)
Receiving objects: 100% (12081/12081), 108.40 MiB | 55.00 KiB/s, done.
Resolving deltas: 100% (6032/6032), done.
remote: Counting objects: 25, done. 7 MiB | 74.00 KiB/s objects: 96% (9959/10289), 821.60 MiB | 86.00 KiB/s
remote: Compressing objects: 100% (20/20), done.
error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

platform/prebuilts/misc:
remote: Counting objects: 1582, done.
remote: Compressing objects: 100% (1118/1118), done.
error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

Can any one help me out to reslove this issue.

Thanks in advance
Ghalib khan.

Build failed!

hi, I tried to build and failed, error log attached, anybody else see the similar issue?
error.log

machine info, FYI:

LSB Version: core-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic

Emulator failing once it Lunched.

Hello,

I have cloned and build aosp-riscv, Currently there was 2 issues like,

  1. when i lunch emulator it's failing and throwing an Error as follows,

$ emulator -selinux permissive -qemu -smp 2 -m 3800M -bios /home/performance-server/ghalib-khan/android/aosp-riscv/aosp-riscv/aosp/prebuilts/qemu-kernel/riscv64/ranchu/fw_jump.bin
emulator: WARNING: encryption is off
emulator: ERROR: VkCommonOperations.cpp:537: Failed to create Vulkan instance.
ProbeKVM: This user doesn't have permissions to use KVM (/dev/kvm).
The KVM line in /etc/group is: [LINE_NOT_FOUND]

If the current user has KVM permissions,
the KVM line in /etc/group should end with ":" followed by your username.

If we see LINE_NOT_FOUND, the kvm group may need to be created along with permissions:
sudo groupadd -r kvm
# Then ensure /lib/udev/rules.d/50-udev-default.rules contains something like:
# KERNEL=="kvm", GROUP="kvm", MODE="0660"
# and then run:
sudo gpasswd -a $USER kvm

If we see kvm:... but no username at the end, running the following command may allow KVM access:
sudo gpasswd -a $USER kvm

You may need to log out and back in for changes to take effect.

kernel@80200000, initrd@88200000
qemu-system-riscv64: plic: invalid register write: 000001fc
qemu-system-riscv64: plic: invalid register read: 00002090
qemu-system-riscv64: plic: invalid register write: 00002090
qemu-system-riscv64: plic: invalid register read: 00002190
qemu-system-riscv64: plic: invalid register write: 00002190
Segmentation fault (core dumped)

  1. In Emulator Graphical thinks are not visible.

Can any help me out resolve this issue.

Thanks in advance,
Ghalib khan c.

fastboot: error: boot partition is smaller than boot image

Hi,

I just build the AOSP with main_2023_7_7 tagged manifest.
Following the instructions, I can flash most of the partitions with their corresponding images without problems.

Yet while flashing boot partition, it gives out the error :

fastboot: error: boot partition is smaller than boot image

And on the console, I can witness the flashing process slipped :

Flashing Raw Image
........ wrote 8388608 bytes to 'bootpart_a'
request 00000000fbb4e180 was not queued to ep1in-bulk
request 00000000fbb4e180 was not queued to ep1in-bulk
request 00000000fbb4e180 was not queued to ep1in-bulk
request 00000000fbb4e180 was not queued to ep1in-bulk
request 00000000fbb4e180 was not queued to ep1in-bulk
request 00000000fbb4e180 was not queued to ep1in-bulk
request 00000000fbb4e180 was not queued to ep1in-bulk
request 00000000fbb4e180 was not queued to ep1in-bulk
request 00000000fbb4e180 was not queued to ep1in-bulk
request 00000000fbb4e180 was not queued to ep1in-bulk
Starting download of 33554432 bytes
request 00000000fbb4e180 was not queued to ep1in-bulk
..........................................................................
..........................................................................
..........................................................................
..................................
downloading of 33554432 bytes finished
request 00000000fbb4e180 was not queued to ep1in-bulk
cmd_parameter: vendor_boot_a, imagesize: 33554432
Flashing Raw Image
........ wrote 33554432 bytes to 'vendor_boot_a'
request 00000000fbb4e180 was not queued to ep1in-bulk
request 00000000fbb4e180 was not queued to ep1in-bulk
request 00000000fbb4e180 was not queued to ep1in-bulk
request 00000000fbb4e180 was not queued to ep1in-bulk
Starting download of 117436592 bytes
request 00000000fbb4e180 was not queued to ep1in-bulk
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
.......
downloading of 117436592 bytes finished
request 00000000fbb4e180 was not queued to ep1in-bulk
cmd_parameter: super, imagesize: 117436592
Flashing sparse image at offset 462848
Flashing Sparse Image
........ wrote 117456896 bytes to 'super'

Besides, during the first round of U-boot flash-and-reboot, I saw GPT table was written :

U-Boot 2020.01-g7794d97f84-dirty (Aug 05 2023 - 04:03:55 +0800)

CPU:   rv64imafdcvsu
Model: T-HEAD c910 light
DRAM:  4 GiB
C910 CPU FREQ: 750MHz
AHB2_CPUSYS_HCLK FREQ: 250MHz
AHB3_CPUSYS_PCLK FREQ: 125MHz
PERISYS_AHB_HCLK FREQ: 250MHz
PERISYS_APB_PCLK FREQ: 62MHz
GMAC PLL POSTDIV FREQ: 1000MHZ
DPU0 PLL POSTDIV FREQ: 1188MHZ
DPU1 PLL POSTDIV FREQ: 1188MHZ
MMC:   sdhci@ffe7080000: 0, sd@ffe7090000: 1
Loading Environment from MMC... OK
Error reading output register
Warning: cannot get lcd-en GPIO
LCD panel cannot be found : -121
splash screen startup cost 13 ms
In:    serial
Out:   serial
Err:   serial
## Resetting to default environment
ethaddr=76:1b:b2:01:f2:0b
eth1addr=76:1b:b2:01:f2:0c
Saving Environment to MMC... Writing to MMC(0)... OK
Writing GPT: success!
dwc3_gadget_start maximum_speed:5 revision:0x5533330b
dwc3_gadget_start DWC3_DCFG:0x80804
dwc3_gadget_conndone_interrupt speed:4 dwc3_dsts:0x2021c
dwc3_gadget_conndone_interrupt speed:4 dwc3_dsts:0x2593c
Writing GPT: success!
request 00000000fbb4e180 was not queued to ep1in-bulk
request 00000000fbb4e180 was not queued to ep1in-bulk
request 00000000fbb4e180 was not queued to ep1in-bulk
request 00000000fbb4e180 was not queued to ep1in-bulk
Starting download of 1032184 bytes
request 00000000fbb4e180 was not queued to ep1in-bulk
.......

Thus I am wondering shall I tweak the GPT table / size on the U-boot side ?
The boot.img I generated from the AOSP is around 32/33 megabytes :

[ruinland-x1c beaglev_ahead]# ls -la ./boot.img 
-rwxrwxrwx 1 ruinland ruinland 33554432 Mar 11 11:32 ./boot.img

Wifi and Bluetooth

Anyone have the WiFI and Bluetooth drivers working on T-HEAD c910 ice hardware with Android ?

reproduce.sh script is failing to clone sources.

Hello,

Am trying to reproduce build of aosp-riscv on x86 Machine, i have cloned https://github.com/T-head-Semi/aosp-riscv.git and run the reproduce script there it was failing to clone prebuilt sources as follows.

Can any one know why this was happen and help me to resolve this issue.

$ ./reproduce.sh
--2021-02-01 17:41:19-- https://rosp-riscv.oss-cn-hangzhou.aliyuncs.com/prebuilts/android-emulator/linux-x86_64.zip
Resolving rosp-riscv.oss-cn-hangzhou.aliyuncs.com (rosp-riscv.oss-cn-hangzhou.aliyuncs.com)... failed: Name or service not known.
wget: unable to resolve host address ‘rosp-riscv.oss-cn-hangzhou.aliyuncs.com’
--2021-02-01 17:41:20-- https://rosp-riscv.oss-cn-hangzhou.aliyuncs.com/prebuilts/clang-tools/linux-x86.zip
Resolving rosp-riscv.oss-cn-hangzhou.aliyuncs.com (rosp-riscv.oss-cn-hangzhou.aliyuncs.com)... failed: Name or service not known.
wget: unable to resolve host address ‘rosp-riscv.oss-cn-hangzhou.aliyuncs.com’
--2021-02-01 17:41:20-- https://rosp-riscv.oss-cn-hangzhou.aliyuncs.com/prebuilts/clang/host/linux-x86/clang-dev.zip
Resolving rosp-riscv.oss-cn-hangzhou.aliyuncs.com (rosp-riscv.oss-cn-hangzhou.aliyuncs.com)... failed: Name or service not known.
wget: unable to resolve host address ‘rosp-riscv.oss-cn-hangzhou.aliyuncs.com’
--2021-02-01 17:41:20-- https://rosp-riscv.oss-cn-hangzhou.aliyuncs.com/prebuilts/gcc/linux-x86/riscv64/riscv64.zip
Resolving rosp-riscv.oss-cn-hangzhou.aliyuncs.com (rosp-riscv.oss-cn-hangzhou.aliyuncs.com)... failed: Name or service not known.
wget: unable to resolve host address ‘rosp-riscv.oss-cn-hangzhou.aliyuncs.com’
--2021-02-01 17:41:20-- https://rosp-riscv.oss-cn-hangzhou.aliyuncs.com/prebuilts/misc/riscv64.zip
Resolving rosp-riscv.oss-cn-hangzhou.aliyuncs.com (rosp-riscv.oss-cn-hangzhou.aliyuncs.com)... failed: Name or service not known.
wget: unable to resolve host address ‘rosp-riscv.oss-cn-hangzhou.aliyuncs.com’
--2021-02-01 17:41:20-- https://rosp-riscv.oss-cn-hangzhou.aliyuncs.com/prebuilts/ndk/r20.zip
Resolving rosp-riscv.oss-cn-hangzhou.aliyuncs.com (rosp-riscv.oss-cn-hangzhou.aliyuncs.com)... failed: Name or service not known.
wget: unable to resolve host address ‘rosp-riscv.oss-cn-hangzhou.aliyuncs.com’
--2021-02-01 17:41:20-- https://rosp-riscv.oss-cn-hangzhou.aliyuncs.com/prebuilts/qemu-kernel/riscv64.zip
Resolving rosp-riscv.oss-cn-hangzhou.aliyuncs.com (rosp-riscv.oss-cn-hangzhou.aliyuncs.com)... failed: Name or service not known.
wget: unable to resolve host address ‘rosp-riscv.oss-cn-hangzhou.aliyuncs.com’
--2021-02-01 17:41:20-- https://rosp-riscv.oss-cn-hangzhou.aliyuncs.com/prebuilts/vndk/v28/riscv64.zip
Resolving rosp-riscv.oss-cn-hangzhou.aliyuncs.com (rosp-riscv.oss-cn-hangzhou.aliyuncs.com)... failed: Name or service not known.
wget: unable to resolve host address ‘rosp-riscv.oss-cn-hangzhou.aliyuncs.com’

Thanks in advance.
Ghalib khan.

ICE EVB available?

Where can we buy the ICE EVB shown in the demo video? I was unable to find on AliExpress or TaoBao.

Building image for real Hardware.

Hello folks,

I want to build android OS to real RISC-V target Machine, can anyone help me out, How can build android OS.

Thanks in advance,
Ghalib khan c.

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.