20160907全志R18的编译选项.txt

来源:互联网 发布:js websocket 销毁 编辑:程序博客网 时间:2024/04/27 13:53
R18的编译选项.txt
2016/9/7 9:20




开发板:城茗国际有限公司的R18开发板
目标:R18的编译选项
BSP:r58_20160823.tar.gz(2016/8/22从全志的git服务器拿下来的系统)
显示:HDMI输出1080p分辨率的LCD显示器。


wenyuanbo@ubuntu:~/wyb/r18$ 
wenyuanbo@ubuntu:~/wyb/r18$ 
wenyuanbo@ubuntu:~/wyb/r18$ tar zxvf r18_20160819.tar.gz 




wenyuanbo@ubuntu:~/wyb/r18/r18_20160818$ cd ..
wenyuanbo@ubuntu:~/wyb/r18$ 
wenyuanbo@ubuntu:~/wyb/r18$ 
wenyuanbo@ubuntu:~/wyb/r18$ 
wenyuanbo@ubuntu:~/wyb/r18$ ll
ls: 初始化月份字符串出错
总用量 20740708
drwx------ 4 wenyuanbo wenyuanbo        4096  8? 22 11:20 ./
drwxrwxr-x 3 wenyuanbo wenyuanbo        4096  8? 22 11:15 ../
drwxrwxr-x 4 wenyuanbo wenyuanbo        4096  8? 18 17:37 r18/
drwx------ 2 wenyuanbo wenyuanbo        4096  8? 22 11:07 r18_20160818/
-rw------- 1 wenyuanbo wenyuanbo 21238462702  8? 18 17:59 r18_20160819.tar.gz
wenyuanbo@ubuntu:~/wyb/r18$ cd r18
wenyuanbo@ubuntu:~/wyb/r18/r18$ ll
ls: 初始化月份字符串出错
总用量 16
drwxrwxr-x  4 wenyuanbo wenyuanbo 4096  8? 18 17:37 ./
drwx------  4 wenyuanbo wenyuanbo 4096  8? 22 11:20 ../
drwxrwxr-x 28 wenyuanbo wenyuanbo 4096  8? 18 14:51 android/
drwxrwxr-x  8 wenyuanbo wenyuanbo 4096  8? 18 17:04 lichee/
wenyuanbo@ubuntu:~/wyb/r18/r18$ 
wenyuanbo@ubuntu:~/wyb/r18/r18$ 
wenyuanbo@ubuntu:~/wyb/r18/r18$ cd lichee/
wenyuanbo@ubuntu:~/wyb/r18/r18/lichee$ ll
ls: 初始化月份字符串出错
总用量 40
drwxrwxr-x  8 wenyuanbo wenyuanbo 4096  8? 18 17:04 ./
drwxrwxr-x  4 wenyuanbo wenyuanbo 4096  8? 18 17:37 ../
drwxrwxr-x 12 wenyuanbo wenyuanbo 4096  8? 18 17:04 brandy/
drwxrwxr-x 15 wenyuanbo wenyuanbo 4096  8? 18 17:04 buildroot/
-r-xr-xr-x  1 wenyuanbo wenyuanbo   55  8? 18 17:04 build.sh*
drwxrwxr-x 27 wenyuanbo wenyuanbo 4096  8? 18 17:04 linux-3.10/
drwxrwxr-x 26 wenyuanbo wenyuanbo 4096  8? 18 17:04 linux-3.4/
-r--r--r--  1 wenyuanbo wenyuanbo  232  8? 18 17:04 README
drwxrwxr-x  6 wenyuanbo wenyuanbo 4096  8? 18 17:03 .repo/
drwxrwxr-x  9 wenyuanbo wenyuanbo 4096  8? 18 17:04 tools/
wenyuanbo@ubuntu:~/wyb/r18/r18/lichee$ 
wenyuanbo@ubuntu:~/wyb/r18/r18/lichee$ ./build.sh config


Welcome to mkscript setup progress
All available chips:
   0. sun50iw1p1
   1. sun8iw10p1
   2. sun8iw1p1
   3. sun8iw3p1
   4. sun8iw5p1
   5. sun8iw6p1
   6. sun8iw7p1
   7. sun8iw8p1
   8. sun8iw9p1
   9. sun9iw1p1
Choice: 0
All available platforms:
   0. android
   1. dragonboard
   2. linux
   3. camdroid
   4. secureandroid
Choice: 0
All available kernel:
   0. linux-3.10
   1. linux-3.4
Choice: 0
All available boards:
   0. fpga
   1. p1
Choice: 1
wenyuanbo@ubuntu:~/wyb/r18/r18/lichee$ 
wenyuanbo@ubuntu:~/wyb/r18/r18/lichee$ 
wenyuanbo@ubuntu:~/wyb/r18/r18/lichee$ 
wenyuanbo@ubuntu:~/wyb/r18/r18/lichee$ ./build.sh 








wenyuanbo@ubuntu:~/wyb/r18/r18/lichee$ 
wenyuanbo@ubuntu:~/wyb/r18/r18/lichee$ ll
ls: 初始化月份字符串出错
总用量 48
drwxrwxr-x  9 wenyuanbo wenyuanbo 4096  8? 22 11:31 ./
drwxrwxr-x  4 wenyuanbo wenyuanbo 4096  8? 18 17:37 ../
drwxrwxr-x 12 wenyuanbo wenyuanbo 4096  8? 18 17:04 brandy/
-rw-rw-r--  1 wenyuanbo wenyuanbo  140  8? 22 11:31 .buildconfig
drwxrwxr-x 15 wenyuanbo wenyuanbo 4096  8? 18 17:04 buildroot/
-r-xr-xr-x  1 wenyuanbo wenyuanbo   55  8? 18 17:04 build.sh*
drwxrwxr-x 29 wenyuanbo wenyuanbo 4096  8? 22 11:36 linux-3.10/
drwxrwxr-x 26 wenyuanbo wenyuanbo 4096  8? 18 17:04 linux-3.4/
drwxrwxr-x  3 wenyuanbo wenyuanbo 4096  8? 22 11:31 out/
-r--r--r--  1 wenyuanbo wenyuanbo  232  8? 18 17:04 README
drwxrwxr-x  6 wenyuanbo wenyuanbo 4096  8? 18 17:03 .repo/
drwxrwxr-x  9 wenyuanbo wenyuanbo 4096  8? 18 17:04 tools/
wenyuanbo@ubuntu:~/wyb/r18/r18/lichee$ cd ../android/
wenyuanbo@ubuntu:~/wyb/r18/r18/android$ 
wenyuanbo@ubuntu:~/wyb/r18/r18/android$ ll
ls: 初始化月份字符串出错
总用量 120
drwxrwxr-x  28 wenyuanbo wenyuanbo 4096  8? 18 14:51 ./
drwxrwxr-x   4 wenyuanbo wenyuanbo 4096  8? 18 17:37 ../
drwxrwxr-x   3 wenyuanbo wenyuanbo 4096  8? 18 14:47 abi/
drwxrwxr-x  16 wenyuanbo wenyuanbo 4096  8? 18 14:47 art/
drwxrwxr-x  12 wenyuanbo wenyuanbo 4096  8? 18 14:47 bionic/
drwxrwxr-x   3 wenyuanbo wenyuanbo 4096  8? 18 14:47 bootable/
drwxrwxr-x   7 wenyuanbo wenyuanbo 4096  8? 18 14:47 build/
drwxrwxr-x  12 wenyuanbo wenyuanbo 4096  8? 18 14:47 cts/
drwxrwxr-x  11 wenyuanbo wenyuanbo 4096  8? 18 14:47 dalvik/
drwxrwxr-x   6 wenyuanbo wenyuanbo 4096  8? 18 14:47 developers/
drwxrwxr-x  20 wenyuanbo wenyuanbo 4096  8? 18 14:48 development/
drwxrwxr-x  11 wenyuanbo wenyuanbo 4096  8? 18 14:48 device/
drwxrwxr-x   3 wenyuanbo wenyuanbo 4096  8? 18 14:48 docs/
drwxrwxr-x 206 wenyuanbo wenyuanbo 4096  8? 18 14:49 external/
drwxrwxr-x  18 wenyuanbo wenyuanbo 4096  8? 18 14:49 frameworks/
drwxrwxr-x  17 wenyuanbo wenyuanbo 4096  8? 18 14:49 hardware/
drwxrwxr-x  17 wenyuanbo wenyuanbo 4096  8? 18 14:49 libcore/
drwxrwxr-x   5 wenyuanbo wenyuanbo 4096  8? 18 14:49 libnativehelper/
-r--r--r--   1 wenyuanbo wenyuanbo   87  8? 18 14:47 Makefile
drwxrwxr-x   8 wenyuanbo wenyuanbo 4096  8? 18 14:49 ndk/
drwxrwxr-x   9 wenyuanbo wenyuanbo 4096  8? 18 14:50 packages/
drwxrwxr-x   6 wenyuanbo wenyuanbo 4096  8? 18 14:50 pdk/
drwxrwxr-x   6 wenyuanbo wenyuanbo 4096  8? 18 14:50 platform_testing/
drwxrwxr-x  15 wenyuanbo wenyuanbo 4096  8? 18 14:51 prebuilts/
drwxrwxr-x   6 wenyuanbo wenyuanbo 4096  8? 18 14:47 .repo/
drwxrwxr-x  25 wenyuanbo wenyuanbo 4096  8? 18 14:51 sdk/
-r-xr-xr-x   1 wenyuanbo wenyuanbo 1237  8? 18 14:48 sdk_switch.sh*
drwxrwxr-x  11 wenyuanbo wenyuanbo 4096  8? 18 14:51 system/
drwxrwxr-x   3 wenyuanbo wenyuanbo 4096  8? 18 14:51 tools/
drwxrwxr-x   3 wenyuanbo wenyuanbo 4096  8? 18 14:51 vendor/
wenyuanbo@ubuntu:~/wyb/r18/r18/android$ source build/envsetup.sh 
including device/asus/deb/vendorsetup.sh
including device/asus/flo/vendorsetup.sh
including device/asus/fugu/vendorsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-mips/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including device/htc/flounder/vendorsetup.sh
including device/lge/hammerhead/vendorsetup.sh
including device/moto/shamu/vendorsetup.sh
including device/softwinner/common/vendorsetup.sh
including device/softwinner/octopus-f1/vendorsetup.sh
including device/softwinner/octopus-perf/vendorsetup.sh
including device/softwinner/tulip-p1/vendorsetup.sh
including sdk/bash_completion/adb.bash
wenyuanbo@ubuntu:~/wyb/r18/r18/android$ 
wenyuanbo@ubuntu:~/wyb/r18/r18/android$ lunch


You're building on Linux


Lunch menu... pick a combo:
     1. aosp_arm-eng
     2. aosp_arm64-eng
     3. aosp_mips-eng
     4. aosp_mips64-eng
     5. aosp_x86-eng
     6. aosp_x86_64-eng
     7. aosp_deb-userdebug
     8. aosp_flo-userdebug
     9. full_fugu-userdebug
     10. aosp_fugu-userdebug
     11. mini_emulator_arm64-userdebug
     12. m_e_arm-userdebug
     13. mini_emulator_mips-userdebug
     14. mini_emulator_x86_64-userdebug
     15. mini_emulator_x86-userdebug
     16. aosp_flounder-userdebug
     17. aosp_hammerhead-userdebug
     18. aosp_hammerhead_fp-userdebug
     19. aosp_shamu-userdebug
     20. octopus_f1-eng
     21. octopus_f1-user
     22. octopus_perf-eng
     23. octopus_perf-user
     24. tulip_p1-eng
     25. tulip_p1-user


Which would you like? [aosp_arm-eng] 24


============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=6.0.1
TARGET_PRODUCT=tulip_p1
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a15
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-24-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=MMB29M
OUT_DIR=out
============================================


wenyuanbo@ubuntu:~/wyb/r18/r18/android$ 
wenyuanbo@ubuntu:~/wyb/r18/r18/android$ 
wenyuanbo@ubuntu:~/wyb/r18/r18/android$ extract-bsp 
/home/wenyuanbo/wyb/r18/r18/android/device/softwinner/tulip-p1/bImage copied!
/home/wenyuanbo/wyb/r18/r18/android/device/softwinner/tulip-p1/modules copied!
wenyuanbo@ubuntu:~/wyb/r18/r18/android$ 
wenyuanbo@ubuntu:~/wyb/r18/r18/android$ 
wenyuanbo@ubuntu:~/wyb/r18/r18/android$ make -j8








wenyuanbo@ubuntu:~/wyb/r18/r18/android$ 
wenyuanbo@ubuntu:~/wyb/r18/r18/android$ pack -d
No kernel param, parse it from .buildconfig
copying tools file
copying configs file
./out/aultls32.fex
./out/aultools.fex
./out/boot_package.cfg
./out/boot_package.fex
./out/cardscript.fex
./out/cardscript_secure.fex
./out/cardtool.fex
./out/diskfs.fex
./out/env_burn.cfg
./out/env.cfg
./out/image.cfg
./out/image_linux.cfg
./out/split_xxxx.fex
./out/sunxi.fex
./out/sys_config.fex
./out/sys_partition_dragonboard.fex
./out/sys_partition_dump.fex
./out/sys_partition.fex
./out/sys_partition_linux.fex
./out/sys_partition_private.fex
./out/test_config.fex
./out/toc0.fex
./out/toc1.fex
./out/usbtool.fex
./out/usbtool_test.fex
copying boot resource
copying boot file
uart -> card0
Script_to_dts: Can not find [sun50iw1p1-p1.dts]. Will use common dts file instead.
p=soc c=product state=0
p=soc c=platform state=0
p=soc c=target state=0
p=soc c=power_sply state=0
p=soc c=card_boot state=0
p=soc c=pm_para state=0
p=soc c=card0_boot_para state=0
p=soc c=card2_boot_para state=0
p=soc c=twi_para state=0
p=soc c=uart_para state=0
p=soc c=jtag_para state=0
p=soc c=clock state=0
p=soc c=dram state=0
p=soc c=gmac_para state=0
p=soc c=twi0 state=0
p=soc c=twi1 state=0
p=soc c=twi2 state=0
p=soc c=uart0 state=0
p=soc c=uart1 state=0
p=soc c=uart2 state=0
p=soc c=uart3 state=0
p=soc c=uart4 state=0
p=soc c=spi0 state=0
p=soc c=spi1 state=0
p=soc c=rtp_para state=0
p=soc c=ctp state=0
p=soc c=ctp_list state=0
p=soc c=tkey_para state=0
p=soc c=motor_para state=0
p=soc c=nand0 state=0
p=soc c=disp state=0
p=soc c=lcd0 state=0
p=soc c=hdmi state=0
p=soc c=pwm0 state=0
p=soc c=pwm0 state=1
p=soc c=pwm16 state=0
p=soc c=pwm16 state=1
p=soc c=boot_disp state=0
p=soc c=csi0 state=0
p=csi0 c=csi0_dev0 state=0
p=csi0 c=csi0_dev1 state=0
p=soc c=tvout_para state=0
p=soc c=tvin_para state=0
p=soc c=di state=0
p=soc c=sdc0 state=0
p=soc c=sdc1 state=0
p=soc c=sdc2 state=0
p=soc c=smc state=0
p=soc c=usbc0 state=0
p=soc c=usbc1 state=0
p=soc c=serial_feature state=0
p=soc c=gsensor state=0
p=soc c=gsensor_list state=0
p=soc c=wlan state=0
p=soc c=bt state=0
p=soc c=btlpm state=0
p=soc c=3g_para state=0
p=soc c=gyroscopesensor state=0
p=soc c=gy_list state=0
p=soc c=lightsensor state=0
p=soc c=ls_list state=0
p=soc c=compasssensor state=0
p=soc c=compass_list state=0
p=soc c=spdif state=0
p=soc c=sndspdif state=0
p=soc c=daudio2 state=0
p=soc c=sndhdmi state=0
p=soc c=snddaudio0 state=0
p=soc c=daudio0 state=0
p=soc c=snddaudio1 state=0
p=soc c=daudio1 state=0
p=soc c=sndcodec state=0
p=soc c=i2s state=0
p=soc c=codec state=0
p=soc c=s_cir0 state=0
p=soc c=pmu0 state=0
p=soc c=pmu0_regu state=0
p=soc c=recovery_key state=0
p=soc c=fastboot_key state=0
p=soc c=dvfs_table state=0
p=soc c=s_uart0 state=0
p=soc c=s_rsb0 state=0
p=soc c=s_jtag0 state=0
p=soc c=Vdevice state=0
p=soc c=gpu_mali400_0 state=0
p=soc c=secure state=0
Conver script to dts ok.
pack boot package
GetPrivateProfileSection read to end
content_count=3
packing for android
normal
/home/wenyuanbo/wyb/r18/r18/lichee/tools/pack/pctools/linux/eDragonEx/
/home/wenyuanbo/wyb/r18/r18/lichee/tools/pack/out
Begin Parse sys_partion.fex
Add partion boot-resource.fex BOOT-RESOURCE_FEX
Add partion very boot-resource.fex BOOT-RESOURCE_FEX
FilePath: boot-resource.fex
FileLength=b29c00Add partion env.fex ENV_FEX000000000
Add partion very env.fex ENV_FEX000000000
FilePath: env.fex
FileLength=20000Add partion boot.fex BOOT_FEX00000000
Add partion very boot.fex BOOT_FEX00000000
FilePath: boot.fex
FileLength=f9b800Add partion system.fex SYSTEM_FEX000000
Add partion very system.fex SYSTEM_FEX000000
FilePath: system.fex
FileLength=700f051cAdd partion recovery.fex RECOVERY_FEX0000
Add partion very recovery.fex RECOVERY_FEX0000
FilePath: recovery.fex
FileLength=1110000Add partion diskfs.fex DISKFS_FEX000000
Add partion very diskfs.fex DISKFS_FEX000000
FilePath: diskfs.fex
FileLength=200sys_config.fex Len: 0xed0f
config.fex Len: 0xa6e8
split_xxxx.fex Len: 0x200
sys_partition.fex Len: 0x129f
sunxi.fex Len: 0x116b5
boot0_nand.fex Len: 0x8000
boot0_sdcard.fex Len: 0x8000
u-boot.fex Len: 0xe8000
toc1.fex Len: 0x8
toc0.fex Len: 0x8
fes1.fex Len: 0x3b20
boot_package.fex Len: 0x110000
usbtool.fex Len: 0x23000
aultools.fex Len: 0x27c29
aultls32.fex Len: 0x2455d
cardtool.fex Len: 0x11a00
cardscript.fex Len: 0x6de
sunxi_mbr.fex Len: 0x10000
dlinfo.fex Len: 0x4000
arisc.fex Len: 0x6
boot-resource.fex Len: 0xb29c00
Vboot-resource.fex Len: 0x4
env.fex Len: 0x20000
Venv.fex Len: 0x4
boot.fex Len: 0xf9b800
Vboot.fex Len: 0x4
system.fex Len: 0x700f051c
Vsystem.fex Len: 0x4
recovery.fex Len: 0x1110000
Vrecovery.fex Len: 0x4
diskfs.fex Len: 0x200
Vdiskfs.fex Len: 0x4
BuildImg 0
Dragon execute image.cfg SUCCESS !
----------image is at----------


/home/wenyuanbo/wyb/r18/r18/lichee/tools/pack/sun50iw1p1_android_p1_card0.img


pack finish
wenyuanbo@ubuntu:~/wyb/r18/r18/android$ 
wenyuanbo@ubuntu:~/wyb/r18/r18/android$ 





0 0
原创粉丝点击