Skip to content

Commit

Permalink
conf/doc: update guide
Browse files Browse the repository at this point in the history
1.replace mesa3d with specific code
2.add mesa3d library link note

Signed-off-by: guibing <[email protected]>
  • Loading branch information
matthewgui committed Apr 26, 2024
1 parent f808d24 commit af04e17
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions conf/evalsoc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit af04e17

Please sign in to comment.