在英特尔处理器的PC上运行OpenHarmony
| 机型名称 | CPU | GPU | WIFI | BT |
|---|---|---|---|---|
| DELL Precision 3660 | ADL(Alder Lake S) i9-12900K | UHD Graphics 770 | - | - |
| Lenovo ThinkStation P348 | RKL(Rocket Lake) i7-11700 | UHD Graphics 750 | - | - |
repo init -u https://gitee.com/openharmony_pc/manifests -b OpenHarmony-4.1-Release
repo sync -c -d --no-tags -j4
repo forall -c 'git lfs pull'
bash build/prebuilts_download.sh
./vendor/intel/common/apply_patch.sh
sudo apt install cmake nasm
./build.sh --product-name adl --compile-config enable_mesa3d --fast-rebuild
查看可用loop(这里我可用的loop为/dev/loop3)
sudo losetup -f
生成镜像
sudo vendor/intel/common/mk_disk.sh /dev/loop3
最后可以利用启动盘制作工具将ohos_raw.img烧录至U盘或SSD固件启动
sda建议拔掉或在bios中关闭其他stat设备或顺序glmark2-es2-ohos --data-path /vendor/media/glmark2
cat /sys/kernel/debug/dri/0/i915_gpu_info
i915.enable_guc=3