Toybrick
标题:
SDK编译问题
[打印本页]
作者:
incast
时间:
2022-3-7 10:49
标题:
SDK编译问题
[attach]2277[/attach]
解压后按wiki编译,提示缺少build.sh
请问要怎样解决?
incast@RK3399-Incast:~/rk3568_Rockchip$ ll
total 156
drwxr-xr-x 35 incast incast 4096 Mar 7 10:28 ./
drwxr-xr-x 19 incast incast 4096 Mar 7 10:23 ../
lrwxrwxrwx 1 incast incast 19 Jul 22 2021 Android.bp -> build/soong/root.bp
drwxr-xr-x 35 incast incast 4096 Jul 22 2021 art/
drwxr-xr-x 15 incast incast 4096 Jul 22 2021 bionic/
drwxr-xr-x 3 incast incast 4096 Jul 22 2021 bootable/
lrwxrwxrwx 1 incast incast 26 Jul 22 2021 bootstrap.bash -> build/soong/bootstrap.bash*
drwxr-xr-x 5 incast incast 4096 Jul 22 2021 build/
drwxr-xr-x 3 incast incast 4096 Jul 22 2021 compatibility/
drwxr-xr-x 14 incast incast 4096 Jul 22 2021 cts/
drwxr-xr-x 8 incast incast 4096 Jul 22 2021 dalvik/
drwxr-xr-x 5 incast incast 4096 Jul 22 2021 developers/
drwxr-xr-x 21 incast incast 4096 Jul 22 2021 development/
drwxr-xr-x 7 incast incast 4096 Jul 22 2021 device/
drwxr-xr-x 321 incast incast 12288 Jul 22 2021 external/
drwxr-xr-x 16 incast incast 4096 Jul 22 2021 frameworks/
drwxr-xr-x 13 incast incast 4096 Jul 22 2021 hardware/
drwxr-xr-x 29 incast incast 4096 Jul 22 2021 kernel/
drwxr-xr-x 20 incast incast 4096 Jul 22 2021 libcore/
drwxr-xr-x 8 incast incast 4096 Jul 22 2021 libnativehelper/
-r--r--r-- 1 incast incast 92 Jul 22 2021 Makefile
drwxr-xr-x 9 incast incast 4096 Jul 22 2021 mkcombinedroot/
drwxrwxr-x 6 incast incast 4096 Mar 7 10:36 out/
drwxr-xr-x 9 incast incast 4096 Jul 22 2021 packages/
drwxr-xr-x 6 incast incast 4096 Jul 22 2021 pdk/
drwxr-xr-x 10 incast incast 4096 Jul 22 2021 platform_testing/
drwxr-xr-x 33 incast incast 4096 Jul 22 2021 prebuilts/
-r-xr-xr-x 1 incast incast 519 Jul 22 2021 restore_patches.sh*
drwxr-xr-x 9 incast incast 4096 Jul 22 2021 rkbin/
drwxr-xr-x 4 incast incast 4096 Jul 22 2021 RKDocs/
drwxr-xr-x 5 incast incast 4096 Jul 22 2021 rkst/
drwxr-xr-x 5 incast incast 4096 Jul 22 2021 RKTools/
drwxr-xr-x 24 incast incast 4096 Jul 22 2021 sdk/
drwxr-xr-x 40 incast incast 4096 Jul 22 2021 system/
drwxr-xr-x 10 incast incast 4096 Jul 22 2021 test/
drwxr-xr-x 4 incast incast 4096 Jul 22 2021 toolchain/
drwxr-xr-x 23 incast incast 4096 Jul 22 2021 tools/
drwxr-xr-x 25 incast incast 4096 Jul 22 2021 u-boot/
drwxr-xr-x 6 incast incast 4096 Jul 22 2021 vendor/
incast@RK3399-Incast:~/rk3568_Rockchip$ source build/envsetup.sh
incast@RK3399-Incast:~/rk3568_Rockchip$ lunch rk3566_r-userdebug
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=11
TARGET_PRODUCT=rk3566_r
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a55
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-2a
TARGET_2ND_CPU_VARIANT=cortex-a55
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-148-generic-x86_64-Ubuntu-14.04.6-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=RQ2A.210505.003
OUT_DIR=out
============================================
incast@RK3399-Incast:~/rk3568_Rockchip$ ./build.sh -AUCKu -d rk3568-toybrick-core-android-x0
-bash: ./build.sh: No such file or directory
作者:
jefferyzhang
时间:
2022-3-7 11:16
在device/rockchip目录下找一下,拷贝出来
作者:
incast
时间:
2022-3-7 12:39
[attach]2278[/attach]
这个应该选哪一项?
作者:
395876134
时间:
2022-3-8 14:32
请参照:
https://t.rock-chips.com/wiki.ph ... %80%E5%8F%91/Kernel
作者:
incast
时间:
2022-3-8 17:43
编译到最后又提示缺少 mkimage.sh
请提供一个适配你们开发板的 mkimage.sh
#### build completed successfully (01:39:08 (hh:mm:ss)) ####
Build android ok!
make and copy android images
./build.sh: line 195: ./mkimage.sh: No such file or directory
Make image failed!
作者:
jefferyzhang
时间:
2022-3-8 20:54
incast 发表于 2022-3-8 17:43
编译到最后又提示缺少 mkimage.sh
请提供一个适配你们开发板的 mkimage.sh
find 一下,都在源码里。
你代码哪里来的,为什么东西都没拷贝出来,正常repo sync下就全出来了
作者:
incast
时间:
2022-3-9 13:00
你们网站下载的,按wiki repo sync 不了,之前有一段时间可以的,后来问过客服说不要sync,直接用压缩包。
我也很无耐呀
[attach]2292[/attach]
[attach]2293[/attach][attach]2294[/attach]
作者:
incast
时间:
2022-3-10 23:48
之前我还问过关于 sync 的事,结果几个月没人回复
https://t.rock-chips.com/forum.php?mod=viewthread&tid=3590
作者:
incast
时间:
2022-3-11 10:51
刚刚试了,又可以sync了
欢迎光临 Toybrick (https://t.rock-chips.com/)
Powered by Discuz! X3.3