ubuntu_fastboot

1. #lsusb
Bus 002 Device 004: ID 18d1:9018 Google Inc. 
2.vi /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="9018",MODE="0600"
# chmod 777 /etc/udev/rules.d/51-android.rules 
3.restart
# /etc/init.d/udev restart
4.#android/out/host/linux-x86/bin# ./adb kill-server
android/out/host/linux-x86/bin# ./adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached 
20100720 device
5.# vi /etc/bash.bashrc 
export PATH=$PATH:/home/wolf/android/out/host/linux-x86/bin
6.minicom
OMAP3 # fastboot  
INFO: [do_fastboot]: fastboot initialized   
7. shell
fastboot erase xloader
fastboot flash xloader MLO


fastboot erase bootloader
fastboot flash bootloader u-boot.bin


fastboot erase boot 
fastboot flash boot uImage


fastboot erase system
fastboot flash system ubi.img


8.setenv
#setenv nandboot 'echo Booting from nand ...; nand read ${loadaddr} ${boot_nand_offset} ${boot_nand_size}; \
bootm ${loadaddr}'
# setenv bootcmd 'run nandboot'
# setenv bootargs 'console=ttyO2,115200n8 androidboot.console=ttyO2 mem=512M ubi.mtd=4,2048 rootfstype=ubifs \
    root=ubi0:rootfs rootdelay=1 init=/init ip=off omap_vout.vid1_static_vrfb_alloc=y  \
    omapdss.def_disp=lcd omapfb.mode=lcd:800x480MR-16 vram=8M omapfb.vram=0:8M mpurate=1000'
#saveenv
#boot

你可能感兴趣的:(list,Google,ubuntu,Flash,System,Path)