关闭

android 关键词

913人阅读 评论(0) 收藏 举报
分类:



http://releases.ubuntu.com/12.04/

sudo rm /var/lib/dpkg/lock
sudo rm /var/cache/apt/archive/lock


 第一步 拷贝wubi.exe 和 ubuntu-12.10-wubi-amd64.tar.xz 到任意盘符下面,我拷贝到D盘的ubuntu文件夹下


第二部运行命令 
D:\ubuntu>wubi.exe --dimagepath=d:\ubuntu\ubuntu-12.10-wubi-amd64.tar.xz


----------------------------------------------------------------------------------

</pre><pre code_snippet_id="99475" snippet_file_name="blog_20131211_2_9038401" name="code" class="plain">
/host/ubuntu/disks/swap.disk none swap sw 0 0
/ext/swap/swapfile swap swap defaults 0 0
/dev/sda6 /ext ntfs auto,async,rw,exec 0 0
/dev/sdb5 /quck ntfs auto,async,rw,exec 0 0
mount -a
---------------------------------------
/host/ubuntu/disks/swap.disk none swap sw 0 0
/ext/swap/swapfile swap swap defaults 0 0
/dev/sda6 /ext ntfs auto,async,rw,exec 0 0
/dev/sdb5 /quck ntfs auto,async,rw,exec 0 0

-----------------------------------------

Building uboot Images 
$ cd ~/ android-imx6-r13.3/bootable/bootloader/uboot-imx 
$ export ARCH=arm 
$ export CROSS_COMPILE=~/android-imx6-r13.3/prebuilt/linux-x86/toolchain/arm-eabi-
4.4.3/bin/arm-eabi-  
 Command to build for i.MX6Q Sabrelite board is: 
$ make distclean 
$ make mx6q_sabrelite_android_config 
$ make



cd ~/android-imx6-r13.3/kernel_imx
make imx6_android_defconfig 

 source build/envsetup.sh 
 lunch sabrelite_6q-user
 make





--------------------------------build --------------------------------------------------
/ext/myandroid_sabrelite/android-imx6-r13.3/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
export ARCH=arm
export CROSS_COMPILE=/quck/uboot/android-imx6-r13.3/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- 
make imx6_android_defconfig


export ARCH=arm
export CROSS_COMPILE=/quck/uboot/myandroid_boundary_new/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-


export ARCH=arm
export CROSS_COMPILE=/quck/myandroid_boundary_new_2/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-
make nitrogen6x_mipi_defconfig ARCH=arm CROSS_COMPILE=/quck/myandroid_boundary_new/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-
make menuconfig ARCH=arm CROSS_COMPILE=/quck/myandroid_boundary_new/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-


make ARCH=arm 
CROSS_COMPILE=/quck/myandroid_boundary_new/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi- 


~/$ mkdir myandroid
~/$ cd myandroid
~/myandroid$ repo init -u git://github.com/boundarydevices/imx-android-r13.4-ga.git -b jb-1.1.0
~/myandroid$ repo sync
~/myandroid$ . build/envsetup.sh
~/myandroid$ lunchmake.com
         ---select Nitrogen6x eng or user---
~/myandroid$ m 2>&1 | tee build.out
m DEFCONF=nitrogen6x_mipi_defconfig 2>&1 | tee build.20130926_2.log
CONFIG_MXC_CAMERA_OV5640_MIPI =y


export  ARCH=arm
export PATH=$PATH:/quck/uboot/mini2440/4.3.2/bin 
export PATH=$PATH:/quck/uboot/mini2440/uboot/4.3.2/bin
---------------------mk sdcard-------------------------------------
 sudo device/boundary/mksdcard.sh /dev/sdc nitrogen6x
sudo dd if=u-boot-6q.bin of=/dev/sdc bs=1k skip=1 seek=1 
---------------------how to get uboot--------------------------------------------------
~$ git clone git://github.com/boundarydevices/u-boot-imx6.git
...
Resolving deltas: 100% (156593/156593), done.
~$ cd u-boot-imx6
~/u-boot-imx6$ git checkout origin/production -b production
~/u-boot-imx6$ export ARCH=arm
~/u-boot-imx6$ export CROSS_COMPILE=arm-none-linux-gnueabi-
~/u-boot-imx6$ make nitrogen6q_config 
Configuring for nitrogen6q - Board: nitrogen6x, Options: IMX_CONFIG=board/boundary/nitrogen6x/nitrogen6q.cfg,MX6Q,DDR_MB=1024
~/u-boot-imx6$ make all
Generating include/autoconf.mk
...
~/u-boot-imx6$ ls -l u-boot.imx 
-rw-rw-r-- 1 user group 312572 Nov 26 11:48 u-boot.imx


repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b dora


----------------------------------------------

  1. sudo add-apt-repository ppa:eugenesan/java  
  2. sudo apt-get purge openjdk*  
  3. sudo apt-get update  
  4. echo 'y' | sudo apt-get install sun-java6-jdk   
  5. echo 'y' | sudo apt-get dist-upgrade  
  6. sudo apt-get purge openjdk*  
  7. echo 'y' | sudo apt-get install mountmanager synaptic   
  8. echo 'y' | sudo apt-get install vim nfs-kernel-server samba samba-common system-config-samba cifs-utils   
  9. echo "________________1_____________________________"  
  10. echo 'y' | sudo apt-get install gcc-4.4 gcc-4.4-multilib  
  11. echo 'y' | sudo apt-get install g++-4.4 g++-4.4-multilib  
  12. ls -l /usr/bin/gcc*  
  13. cd /usr/bin  
  14. pwd  
  15. sudo mv gcc gcc.bak  
  16. sudo ln -s gcc-4.4 gcc  
  17. ls -l /usr/bin/gcc*  
  18. ls -l /usr/bin/g++*  
  19. sudo mv g++ g++.bak  
  20. sudo ln -s g++-4.4 g++  
  21. ls -l /usr/bin/g++*  
  22. echo "gcc g++ 4.4 install finish"  
  23. echo "_________________2____________________________"  
  24. echo 'y' | sudo apt-get install uuid-dev liblzo2-dev uboot-mkimage  
  25. echo 'y' | sudo apt-get install git gnupg flex bison gperf build-essential   
  26. echo 'y' | sudo apt-get install  zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev   
  27. echo 'y' | sudo apt-get install  libx11-dev:i386 libreadline6-dev:i386    
  28. echo 'y' | sudo apt-get install  libgl1-mesa-dev g++-multilib mingw32 tofrodos   
  29. echo 'y' | sudo apt-get install  python-markdown libxml2-utils xsltproc zlib1g-dev:i386   
  30. sudo ls  
  31. echo "__________________3___________________________"  
  32. ls -l /usr/bin/gcc*  
  33. cd /usr/bin  
  34. pwd  
  35. sudo mv gcc gcc.bak  
  36. sudo ln -s gcc-4.4 gcc  
  37. ls -l /usr/bin/gcc*  
  38. ls -l /usr/bin/g++*  
  39. sudo mv g++ g++.bak  
  40. sudo ln -s g++-4.4 g++  
  41. ls -l /usr/bin/g++*  
  42. echo "_________________4____________________________"  
  43. echo 'y' | sudo apt-get remove uuid-dev liblzo2-dev  
  44. echo 'y' | sudo apt-get install  uuid-dev:i386 liblzo2-dev:i386  

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:126890次
    • 积分:2514
    • 等级:
    • 排名:第15203名
    • 原创:124篇
    • 转载:19篇
    • 译文:0篇
    • 评论:13条
    最新评论