-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1.replace mesa3d with specific code 2.add mesa3d library link note Signed-off-by: guibing <[email protected]>
- Loading branch information
1 parent
f808d24
commit af04e17
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,9 +42,14 @@ if google repo sync cannot success,you can try tuna repo, please refer to https: | |
$git clone [email protected]:Nuclei-Software/aosp_device_nuclei_fpga.git | ||
$mkdir -p aosp_prj/device/nuclei/fpga | ||
$cp -rf aosp_device_nuclei_fpga/* aosp_prj/device/nuclei/fpga/ | ||
|
||
$git clone [email protected]:Nuclei-Software/aosp_hardware_nuclei.git | ||
$mkdir -p aosp_prj/hardware/nuclei | ||
$cp -rf aosp_hardware_nuclei/* aosp_prj/hardware/nuclei/ | ||
|
||
$git clone [email protected]:Nuclei-Software/aosp_external_mesa3d.git | ||
$rm aosp_prj/external/mesa3d/* -rf | ||
$cp -rf aosp_external_mesa3d/* aosp_prj/external/mesa3d/ | ||
``` | ||
|
||
### 2.3. build android image | ||
|
@@ -121,6 +126,17 @@ fdisk p command show partition result: | |
/dev/loop13p4 2623488 16777215 14153728 6.8G 83 Linux | ||
``` | ||
|
||
**Note** : due to Android source code updates, some files were not generated in vendor.img, but exist in vendor directory. | ||
```shell | ||
android20240417/out/target/product/fpga/vendor/lib64/dri$ tree | ||
. | ||
├── kms_swrast_dri.so -> libgallium_dri.so | ||
├── libgallium_dri.so | ||
├── libgallium_dri.so.0 -> libgallium_dri.so | ||
└── swrast_dri.so -> libgallium_dri.so | ||
``` | ||
if swrast_dri.so and kms_swrast_dri.so are exist in vendor.img, please create them by yourself. | ||
|
||
## 4.run android image on qemu | ||
|
||
- 1.install nuclei qemu for linux | ||
|