UNICODE全志a31s四核A...

UNICODE全志a31s四核A...

2023年6月24日发(作者:)

UNICODE全志a31s四核A...UNICODE全志a31s四核A4开发板(ak78s)配置Android4.2.2的开发环境apt-get update模式(ubuntu11.04)1、找海克莱特买了两⽚ak78s,签署NDA之后获得SDK:android4.2.2:android_el:lichee_31s_android开发环境使⽤⼿册31s_android开发环境使⽤⼿册V1.120130123_ux下烧录程序:LiveSuitV305_For_dows下烧录程序(不好⽤):2、开启ubuntu系统的root⽤户的⽅法:sudo passwd root[sudo]password for rootroot:Enter new UNIX password:Retype new UNIX password:passwd:password updated successfully(重启之后即可⽤root登陆)3、更新源列表刷新源apt-get update(直接从ubuntu官⽹更新,⾮常快。公司10Mbps的⽹速。)4、安装常⽤软件:/doc/

/source/itializing a Build EnvironmentInstalling required packages(Ubuntu10.04--11.10)You will need a64-bit version of 10.04is ng using a newer version of Ubuntu is currentlyonly experimentally supported and is not guaranteed to work on branches other than apt-get install git-core gnupg flex bison gperf build-essentialzip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libsx11proto-core-dev libx11-dev lib32readline5-dev lib32z-devlibgl1-mesa-dev g++-multilib mingw32tofrodos python-markdownlibxml2-utils xsltproc安装samba:sudo smbpasswd-a root(输⼊密码2次:root)New SMB password:Retype new SMB password: Added user /etc/samba/(在最后⾯添加以下内容:)[root]comment=Root Derectories path=/public=yesbrowseable=yeswritable=yesvalid users=root [root]comment=Root Derectories path=/public=yesbrowseable=yeswritable=yesvalid users=root [rootroot]comment=Root Derectories path=/public=yesbrowseable=yeswritable=yesvalid users=rootroot重启samba:/etc/init.d/smbd restart获取当前电脑配置的IP地址:ifconfigfreescale的6Q编译android4.2.2还需要安装:sudo apt-get install uuid-devsudo apt-get install uuidsudo apt-get install uuidcdefsudo apt-get install liblzo2-devsudo apt-get install liblzo2-dev:i386sudo apt-get install uuid-dev:i386sudo apt-get install git-coresudo apt-get install gnupgsudo apt-get install flexsudo apt-get install bisonsudo apt-get install gperfsudo apt-get install build-essentialsudo apt-get install zipsudo apt-get install curlsudo apt-get install zlib1g-devsudo apt-get install libc6-devsudo apt-get install lib32ncurses5-devsudo apt-get install ia32-libssudo apt-get install x11proto-core-devsudo apt-get install libx11-devsudo apt-get install lib32readline5-devrootroot@rootroot-Aspire-4738G:~$sudo apt-get install lib32readline5-dev Reading DoneBuilding dependency treeReading DonePackage lib32readline5-dev is not available,but is referred to by another package. This may mean that the package ismissing,has been obsoleted,oris only available from another sourceHowever the following packages replace it:lib32readline-gplv2-devE:Package'lib32readline5-dev'has no installation candidaterootroot@rootroot-Aspire-4738G:~$sudo apt-get install lib32readline-gplv2-devsudo apt-get install lib32z-devsudo apt-get install libgl1-mesa-devsudo apt-get install g++-multilibsudo apt-get install mingw32sudo apt-get install tofrodossudo apt-get install python-markdownsudo apt-get install libxml2-utilssudo apt-get install uboot-mkimage5、Ubuntu下⼿动安装jdk6:p:///doc/

/earl86/archive/2008/10/26/untu⼿动安装jdk6cd/./-s/opt配置classpath,修改所有⽤户的环境变量cp/etc/profile/etc/$sudo gedit/etc/profile在⽂件最后添加#set java environmentJAV A_HOME=/opt/jdk1.6.0_37export JRE_HOME=/opt/jdk1.6.0_37/jreexport CLASSPATH=.:$JAV A_HOME/lib:$JRE_HOME/lib:$CLASSPATHexport PATH=$JAV A_HOME/bin:$JRE_HOME/bin:$PATH测试(重启系统之后):java-versionAndroid系统的编译:4.编译代码4.1.4.1.编译内核4.2.4.2.编译Android在lichee⽬录下⾯执⾏以下语句(海克莱特推荐⽤)./-p sun6i_fiber_a31s当屏幕上出现################################compile success################################表明编译成功完成,假如编译停⽌时未看见这个编译成功的提⽰表明编译失败。注意:编译帮助指令,在不知道⾃⼰该输⼊什么指令编译固件时,可以在lichee⽬录下键⼊./-h来获取帮助。4.2.4.2.编译Androidnti在lichee⽬录下⾯执⾏以下语句(海克莱特推荐⽤)./-p sun6i_fiber_a31s当屏幕上出现################################compile success################################表明编译成功完成,假如编译停⽌时未看见这个编译成功的提⽰表明编译失败。注意:编译帮助指令,在不知道⾃⼰该输⼊什么指令编译固件时,可以在lichee⽬录下键⼊./-h来获取帮助。在android⽬录下执⾏以下语句选择android产品source build/h屏幕上会出现以下输出:root@rootroot-desktop:/home/a31s_android4.2_v3.2/android#source build/ includingdevice/asus/grouper/uding device/asus/tilapia/uding device/generic/armv7-a-neon/uding device/generic/armv7-a/uding device/generic/mips/uding device/generic/x86/uding device/lge/mako/uding device/samsung/maguro/uding device/samsung/manta/uding device/samsung/toroplus/uding device/samsung/toro/uding device/softwinner/fiber-3g/uding device/softwinner/fiber-a31st512m/uding device/softwinner/fiber-a31st/uding device/softwinner/fiber-common/uding device/softwinner/fiber-evb/uding device/softwinner/fiber-w01/uding device/softwinner/fiber-w02/uding device/ti/panda/uding sdk/bash_completion/ot@rootroot-desktop:/home/a31s_android4.2_v3.2/android#lunchYou're building on pick a combo:______armv7a________________panda-userdebugWhich would you like?[full-eng]18============================================PLATFORM_VERSION_CODENAME=RELPLATFORM_VERSION=4.2.2TARGET_PRODUCT=fiber_a31stTARGET_BUILD_VARIANT=engTARGET_BUILD_TYPE=releaseTARGET_BUILD_APPS=TARGET_ARCH=armTARGET_ARCH_VARIANT=armv7-a-neonHOST_ARCH=x86HOST_OS=linuxHOST_OS_EXTRA=Linux-2.6.38-8-generic-x86_64-with-Ubuntu-11.04-natty HOST_BUILD_TYPE=releaseBUILD_ID=JDQ39OUT_DIR=out============================================选择跟⾃⼰开发板对应的产品:_a31st-eng拷贝内核和模块到android中device/softwinner/fiber-xxx/rootroot@rootroot-Barebone-name:~/a31s_android4.2_v3.2/android$extract-bsp/home/rootroot/a31s_android4.2_v3.2/android/device/*/fiber-a31st/bImage copied!/home/rootroot/a31s_android4.2_v3.2/android/device/*/fiber-a31st/modules copied!编译androidmake-j88为开8个线程,请根据您的电脑的实际配置选⽤。(普通的电脑设置为make-j2即可)在out/target/product/fiber-xxx/⽬录下⾯会⽣成,,3个包。5.固件打包升级5.1.打包直接在android⽬录下输⼊命令pack即可。pack打包成功屏幕上会出现以下打印root@rootroot-desktop:/home/a31s_android4.2_v3.2/android#pack--------release version,donnot have uart printf-------------Packing for crane`chips/sun6i/configs/android/default/'->`out/'`chips/sun6i/configs/android/default/'->`out/'`chips/sun6i/configs/android/default/'->`out/'`chips/sun6i/configs/android/default/sys_partition_'->`out/sys_partition_'`chips/sun6i/configs/android/fiber-a31st/sys_'->`out/sys_'`chips/sun6i/configs/android/fiber-a31st/sys_'->`out/sys_'`chips/sun6i/configs/android/fiber-a31st/'->`out/bootfs/os_show/'`/home/a31s_android4.2_v3.2/lichee/out/android/'->`bootfs/linux/'argc=2input name sys_ipt1source file Path=/home/a31s_android4.2_v3.2/lichee/tools/pack/out/sys_ Script1bin filePath=/home/a31s_android4.2_v3.2/lichee/tools/pack/out/sys_ser1file okargc=2input name sys_ipt1source file Path=/home/a31s_android4.2_v3.2/lichee/tools/pack/out/sys_ Script1bin filePath=/home/a31s_android4.2_v3.2/lichee/tools/pack/out/sys_ parser1file okboot0file Path=/home/a31s_android4.2_v3.2/lichee/tools/pack/out/boot0_ipt file Path=/home/a31s_android4.2_v3.2/lichee/tools/pack/out/sys_ipt update boot0okboot0file Path=/home/a31s_android4.2_v3.2/lichee/tools/pack/out/boot0_ipt file Path=/home/a31s_android4.2_v3.2/lichee/tools/pack/out/sys_ipt update boot0okuboot file Path=/home/a31s_android4.2_v3.2/lichee/tools/pack/out/boot1_ipt file Path=/home/a31s_android4.2_v3.2/lichee/tools/pack/out/sys_t1length=68000total length=74000checksum=e0aa4e6auboot file Path=/home/a31s_android4.2_v3.2/lichee/tools/pack/out/boot1_ script filePath=/home/a31s_android4.2_v3.2/lichee/tools/pack/out/sys_t1length=40000total length=4c000checksum=ac5ba37embr count=4partitation file Path=/home/a31s_android4.2_v3.2/lichee/tools/pack/out/sys_ mbr_name filePath=/home/a31s_android4.2_v3.2/lichee/tools/pack/out/sunxi_ download_name filePath=/home/a31s_android4.2_v3.2/lichee/tools/pack/out/ mbr size=16384mbr magic softw411disk name=bootloaderdisk name=envdisk name=bootdisk name=systemdisk name=datadisk name=miscdisk name=recoverydisk name=cachedisk name=databkdisk name=UDISKthis is not a partition keyupdate_for_part_info0crc0=4d5d4517crc1=d8e0144acrc2=bd56e1eccrc3=28ebb0b1update mbr file okdisk:cCopyRootToFS(/home/a31s_android4.2_v3.2/lichee/tools/pack/out/bootfs)c:linuxc:os_showc:d magic!!RealLen=0x5CDC00CPlugin Free libCPlugin Free libFileLength=5cdc00FileSizeHigh=0FileLength=20000FileSizeHigh=0FileLength=8a6000FileSizeHigh=0FileLength=1dc85534FileSizeHigh=0FileLength=b41800FileSizeHigh=0/home/a31s_android4.2_v3.2/lichee/tools/pack/pctools/linux/eDragonEx//home/a31s_android4.2_v3.2/lichee/tools/pack/outBegin Parse sys_ partion BOOTLOADER_FEX00Add partion very BOOTLOADER_FEX00FilePath:eLength=5cdc00FileSizeHigh=0Add partion ENV_FEX000000000Add partion very ENV_FEX000000000FilePath:eLength=20000FileSizeHigh=0Add partion BOOT_FEX00000000Add partion very BOOT_FEX00000000FilePath:eLength=8a6000FileSizeHigh=0Add partion SYSTEM_FEX000000Add partion very SYSTEM_FEX000000FilePath:eLength=1dc85534FileSizeHigh=0Add partion RECOVERY_FEX0000Add partion very RECOVERY_FEX0000FilePath:eLength=b41800FileSizeHigh=0Add partion DISKFS_FEX000000BuildImg0Dragon execute SUCCESS!---------image is at-------------/home/a31s_android4.2_v3.2/lichee/tools/pack/sun6i_android_备⽤知识:(貌似不好使)1、给浏览器Firefox安装插件Tab Mix Plus0.4.0.4:/doc/

/zh-CN/firefox/addon/doc/

/zh-CN/firefox/addon/tab-mix-plus/?src=searchTab Mix Plus0.4.0.4作者:onemen,Gary ReyesTab Mix Plus加强Firefox的标签页浏览功能。它包括的功能有复制标签、集中控制标签、标签点击选项卡、撤销关闭的标签和窗⼝等等。它还包括⼀个功能全⾯的会话管理器。2、在ubuntu下安装Flash,以阅读BAIDU⽂库:/doc/

/jhting/item/2047ff0a3381dcdd73e676c1CentOS6.2安装Flash Player插件(64)把复制到/usr/lib64/mozilla/plugins/@rootroot-desktop:/usr#find.-name ./lib/mozilla/plugins/./lib64/mozilla/plugins/./lib64/kde4/@rootroot-desktop:/usr#3、Ubuntu12.04中⽂输⼊法的安装(没有琢磨明⽩)/doc/

/os/201207/输⼊密码后,系统会安装简体中⽂语⾔包。第⼆步,安装IBus框架,在终端输⼊以下命令:sudo apt-get install ibus ibus-clutter ibus-gtk ibus-gtk3ibus-qt4rootroot@rootroot-Aspire-4738G:~$im-switch-s ibusThe program'im-switch'is currently not can install it by typing:sudo apt-get install im-switchrootroot@rootroot-Aspire-4738G:~$sudo apt-get install im-switch启动IBus框架,在终端输⼊:im-switch-s ibus安装完IBus框架后注销系统,保证更改⽴即⽣效。第三步:安装拼⾳引擎有下⾯⼏种常⽤选择:sudo apt-get install ibus-pinyin ibus-table-wubi ibus-googlepinyin ibus-sunpinyinIBus拼⾳:sudo apt-get install ibus-pinyinIBUS五笔:sudo apt-get install ibus-table-wubi⾕歌拼⾳输⼊法:sudo apt-get install ibus-googlepinyinSun拼⾳输⼊法:sudo apt-get install ibus-sunpinyin第四步:设置IBus框架/doc/

ibus-setup此时,IBus Preference设置被打开。我们在Input Method选项卡中,选择⾃⼰喜欢的输⼊⽅式,并配置⾃⼰喜欢的快捷键即可。如下图所⽰:rwxrwxr-x7rootroot rootroot40966⽉2522:45./drwxr-xr-x5rootroot rootroot40968⽉1415:23../drwxrwxr-x9rootroot rootroot40966⽉2522:43boot/drwxrwxr-x15rootroot rootroot40966⽉2522:43buildroot/-r-xr-xr-x1rootroot rootroot556⽉2522:*drwxrwxr-x26rootroot rootroot40966⽉2522:28linux-3.3/-r--r--r--1rootroot rootroot2326⽉2522:28READMEdrwxrwxr-x8rootroot rootroot40966⽉2522:28tools/drwxrwxr-x22rootroot rootroot40966⽉2522:28u-boot/rootroot@rootroot-Aspire-4738G:~/a31s_android4.2_v3.2/lichee$rootroot@rootroot-Aspire-4738G:~/a31s_android4.2_v3.2/lichee$rootroot@rootroot-Aspire-4738G:~/a31s_android4.2_v3.2/lichee$rootroot@rootroot-Aspire-4738G:~/a31s_android4.2_v3.2/lichee$./-p sun6i_fiber_a31s########################################skip make buildroot for fiber_a31s########################################/home/rootroot/a31s_android4.2_v3.2/lichee/buildrootUsing !build standbymake:Entering directory `/home/rootroot/a31s_android4.2_v3.2/lichee/linux-3.3/arch/arm/mach-sun6i/pm/standby'arm-linux-gnueabi-gcc-I.-I/home/rootroot/a31s_android4.2_v3.2/lichee/linux-3.3/include -I/home/rootroot/a31s_android4.2_v3.2/lichee/linux-3.3/arch/arm/mach-sun6i/include-g-c-nostdlib -march=armv7-a-marm-D__STANDBY_MODULE__-fno-unwind-tables -fno-asynchronous-unwind-tables-mlittle-endian-O2--min_array_alignment=4 --no_unaligned_access common.c-o -linux-gnueabi-gcc-I.-I/home/rootroot/a31s_android4.2_v3.2/lichee/linux-3.3/include -I/home/rootroot/a31s_android4.2_v3.2/lichee/linux-3.3/arch/arm/mach-sun6i/include-g-c-nostdlib -march=armv7-a-marm-D__STANDBY_MODULE__-fno-unwind-tables -fno-asynchronous-unwind-tables-mlittle-endian-O2--min_array_alignment=4 --no_unaligned_access standby.c-o -linux-gnueabi-gcc-I.-I/home/rootroot/a31s_android4.2_v3.2/lichee/linux-3.3/include -I/home/rootroot/a31s_android4.2_v3.2/lichee/linux-3.3/arch/arm/mach-sun6i/include-g-c-nostdlifs2/libyaffs2.o lib/libfdt/libfdt.o lib/libgeneric.o lib/lzma/liblzma.o lib/lzo/liblzo.o lib/zlib/libz.o nand_sunxi/libnand net//libpost.o board/allwinner/sun6i/libsun6i.o--end-group /home/rootroot/a31s_android4.2_v3.2/lichee/u-boot/arch/arm/lib/eabi_compat.o-L /home/rootroot/a31s_android4.2_v3.2/lichee/buildroot/output/external-toolchain/bin/../lib/gcc/arm-lin ux-gnueabi/4.6.3-lgcc-Map -o u-bootarm-linux-gnueabi-objcopy-O srec u-boot m-linux-gnueabi-objcopy--gap-fill=0xff-O binary u-boot e[1]:Leaving directory`/home/rootroot/a31s_android4.2_v3.2/lichee/u-boot'mkdir:created directory‘/home/rootroot/a31s_android4.2_v3.2/lichee/out’‘/home/rootroot/a31s_android4.2_v3.2/lichee/u-boot/’->‘/home/rootroot/a31s_android4.2_v3.2/lichee/out/android/’################################compile success################################rootroot@rootroot-Aspire-4738G:~/a31s_android4.2_v3.2/lichee$rootroot@rootroot-Aspire-4738G:~/a31s_android4.2_v3.2/lichee$rootroot@rootroot-Aspire-4738G:~/a31s_android4.2_v3.2/lichee$rootroot@rootroot-Aspire-4738G:~/a31s_android4.2_v3.2/android$extract-bsp/home/rootroot/a31s_android4.2_v3.2/android/device/*/fiber-a31st/bImage copied!/home/rootroot/a31s_android4.2_v3.2/android/device/*/fiber-a31st/modules copied!rootroot@rootroot-Aspire-4738G:~/a31s_android4.2_v3.2/android$rootroot@rootroot-Aspire-4738G:~/a31s_android4.2_v3.2/android$rootroot@rootroot-Aspire-4738G:~/a31s_android4.2_v3.2/android$make-j8============================================PLATFORM_VERSION_CODENAME=RELPLATFORM_VERSION=4.2.2TARGET_PRODUCT=fiber_a31stTARGET_BUILD_VARIANT=engTARGET_BUILD_TYPE=releaseTARGET_BUILD_APPS=TARGET_ARCH=armTARGET_ARCH_VARIANT=armv7-a-neonHOST_ARCH=x86HOST_OS=linuxHOST_OS_EXTRA=Linux-3.8.0-19-generic-x86_64-with-Ubuntu-13.04-raringHOST_BUILD_TYPE=releaseBUILD_ID=JDQ39OUT_DIR=out============================================Checking build rnal/bluetooth/bluedroid/:8:NO BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR,using onlygeneric configuration CEDARX_PRODUCTOR:GENERICfind:`../../vendor/unbundled_google/libs/gcm/gcm-client/src':No such file or directoryfind:`../../vendor/unbundled_google/libs/gcm/gcm-server/src':No such file or directoryfind:`../../vendor/unbundled_google/libs/gcm/gcm-client/src':No such file or directoryfind:`../../vendor/unbundled_google/libs/gcm/gcm-server/src':No such file or directoryfind:`src':No such file or directoryPRODUCT_COPY_FILESframeworks/base/data/sounds/effects/ogg/Effect_:system/media/audio/ui/Effect_ T_COPY_FILESframeworks/base/data/sounds/effects/ogg/:system/media/audio/ui/KeypressStan T_COPY_FILESframeworks/base/data/sounds/effects/ogg/:system/media/audio/ui/KeypressSpa T_COPY_FILESframeworks/base/data/sounds/effects/ogg/:system/media/audio/ui/KeypressDelete. ogg T_COPY_FILESframeworks/base/data/sounds/effects/ogg/:system/media/audio/ui/KeypressReturn. ogg T_COPY_FILESframeworks/base/data/sounds/effects/ogg/:system/media/audio/ui/ ignored.127|shell@android:/#busybox find.-name"0-0021"./sys/devices/platform/sun6i-i2c.0/i2c-0/0-0021./sys/bus/i2c/devices/0-0021./sys/bus/i2c/drivers/gc0308/0-0021

发布者:admin,转转请注明出处:http://www.yc00.com/web/1687607246a24184.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信