Nickzhang
PandaBoard(双核ARM Cortex-A9)
PandaBoard是当前全球唯一的双核ARM Cortex A9开发平台,其采用OMAP4430作为核心处理器。
PandaBoard详细硬件指标如下:
主处理器:OMAP4430,其内含5核:
2 颗主频1G的ARM® Cortex™-A9 处理器
1颗主频1G的TMS320C64+处理器
2 颗主频1G的ARM® Cortex™-M3 处理器
多媒体:
全面的 1080p30 多标准高清录制与播放;
OpenGL ES v2.0 图形引擎
存储器 : 1GB LPDDR2 (DRAM)
无线连接:
WiLink 6.0(802.11b/g/n、蓝牙 v2.1 +EDR)
显示:针对高清显示屏的 HDMI v1.3
连接器:
DVI-D 连接器支持同步双显示 2个USB Host端子,
1个USB OTG,1个100M以太网口
主处理器:OMAP4430,其内含5核:
2 颗主频1G的ARM® Cortex™-A9 处理器
1颗主频1G的TMS320C64+处理器
2 颗主频1G的ARM® Cortex™-M3 处理器
多媒体:
全面的 1080p30 多标准高清录制与播放;
OpenGL ES v2.0 图形引擎
存储器 : 1GB LPDDR2 (DRAM)
无线连接:
WiLink 6.0(802.11b/g/n、蓝牙 v2.1 +EDR)
显示:针对高清显示屏的 HDMI v1.3
连接器:
DVI-D 连接器支持同步双显示 2个USB Host端子,
1个USB OTG,1个100M以太网口
烧录前预备:串口115200 8N1
Board setup:
Power supply
Mini-USB to the PC
USB keyboard and mouse
Ethernet, on a network that supports DHCP
HDMI-to-DVI-D on the P1 DVI-D connector
# Initial setup, part 1: build fastboot
source build/envsetup.sh
lunch full_panda-eng
make fastboot
/*nick add */
2124 ls
2125 lsusb
如果没有
Bus 001 Device 056: ID 0451:d022 Texas Instruments, Inc.
2126 sudo vim /etc/udev/rules.d/99-android.rules
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0451", ATTRS{idProduct}=="d00f", MODE="0666", OWNER="keyd"
2127 ls
2128 sudo vim /etc/udev/rules.d/99-android.rules
2129 sudo /etc/init.d/udev restart
如果还是没有,插入USB线,和电源,按S1的按钮
进入/home/nick/work/googleandroid
# Initial setup, part 2:
# With no SD card inserted, plug USB first, then the power cord,
# and load fastboot over USB:
device/ti/panda/usbboot device/ti/panda/bootloader.bin
# Initial setup, part 3:
# Once in fastboot, insert and initialize an SD card (4GB or greater):
sudo ./out/host/linux-x86/bin/fastboot oem format
通过串口查看分区表是否建立
sudo ./out/host/linux-x86/bin/fastboot flash xloader device/ti/panda/xloader.bin
sudo ./out/host/linux-x86/bin/fastboot flash bootloader device/ti/panda/bootloader.bin
nick@nick-smart:~/work/Pandroid$ cat build_env.sh
export YOUR_PATH=`pwd`
export PATH=$PATH:${YOUR_PATH}/build_tools/arm-2010q1/bin
export MYDROID=${YOUR_PATH}/27.IS.1/mydroid
export CROSS_COMPILE=arm-none-linux-gnueabi-
export PATH=${YOUR_PATH}/u-boot/tools:${PATH}
Android4.0编译
# Build and flash, part 1: Do a build
下载 http://code.google.com/android/nexus/drivers.html#panda
解压到根目录,运行./extract-imgtec-panda.sh
source build/envsetup.sh
lunch full_panda-eng
make
# Build and flash, part 2: Flash
# Reboot into the SD card's fastboot (hold GPIO_121 and press PWRON_RESET)
# and flash the system:
烧录;建议与boot一起烧录,有时候找不到分区表,导致需要重新格式化,烧录整个flash(bootloader分区与 Android分区)
cd out/target/product/panda
sudo ./../../../host/linux-x86/bin/fastboot flash boot boot.img
sudo ./../../../host/linux-x86/bin/fastboot flash system system.img
sudo ./../../../host/linux-x86/bin/fastboot flash cache cache.img /* 没有 */
sudo ./../../../host/linux-x86/bin/fastboot flash userdata userdata.img
=====================下面的命令可以用usb或这串口=====================
# Post-boot setup, part 1: Set the date on the board:
adb shell date $(date +%s)
# Post-boot setup, part 2: Configure Ethernet
./out/host/linux-x86/bin/adb shell dhcpcd eth0