zedboard评测+试跑android的demo(1)
0赞说明:本次操作的在SD使用纠结的是无意中想到了,做这次的试跑的算作是一次尝试吧,虽然最终的结果是以失败告终,但是还有很有收获的
按照的xilinx提供资料,zynq目前支持的linux系统,android系统。板子上的SD卡附带的是linux的系统,那么android在哪里了?
在wiki.xilinx.com上的提到过开源操作系统android,还提供了编译好的android的文件以及编译方法(下载地址为http://git.iveia.com/support/需要注册后才能下载)。起编译好的文件列表如下:

我们所要做的就是给SD卡分区,具体的操作如下:
所有需要的环境为Ubuntu 的操作系统,下载地址为http://www.ubuntu.org.cn/download。我所使用的12.04.
1.查询下你sd所在的盘符编号:
$ sudo fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xf8f0a477
/dev/sda1 * 63 124182449 62091193+ c W95 FAT32 (LBA)
/dev/sda2 124182450 976768064 426292807+ 5 Extended
/dev/sda5 124182518 229054769 52436126 7 HPFS/NTFS/exFAT
/dev/sda6 229054833 326858489 48901828+ 7 HPFS/NTFS/exFAT
/dev/sda7 326858554 675838484 174489965+ 7 HPFS/NTFS/exFAT
/dev/sda8 675838548 976768064 150464758+ 7 HPFS/NTFS/exFAT
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x624aa2e0
/dev/sdb1 * 63 40965749 20482843+ 7 HPFS/NTFS/exFAT
/dev/sdb2 40965750 305652689 132343470 f W95 Ext'd (LBA)
/dev/sdb3 305652690 312576704 3462007+ 1c Hidden W95 FAT32 (LBA)
/dev/sdb5 40965813 102414374 30724281 7 HPFS/NTFS/exFAT
/dev/sdb6 102414438 163862999 30724281 7 HPFS/NTFS/exFAT
/dev/sdb7 163863063 225311624 30724281 7 HPFS/NTFS/exFAT
/dev/sdb8 225311688 305652689 40170501 7 HPFS/NTFS/exFAT
3 heads, 2 sectors/track, 1291605 cylinders, total 7749632 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
/dev/sdc1 8192 7749631 3870720 b W95 FAT32
3 heads, 2 sectors/track, 1291605 cylinders, total 7749632 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
/dev/sdc1 8192 7749631 3870720 b W95 FAT32
Selected partition 1
3 heads, 2 sectors/track, 1291605 cylinders, total 7749632 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-7749631, default 2048): 2048
Last sector, +sectors or +size{K,M,G} (2048-7749631, default 7749631): 3000
Selected partition 1
Hex code (type L to list codes): b
Changed system type of partition 1 to b (W95 FAT32)
3 heads, 2 sectors/track, 1291605 cylinders, total 7749632 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
/dev/sdc1 2048 3000 476+ b W95 FAT32
Partition type:
p primary (1 primary, 0 extended, 3 free)
e extended
Select (default p): p
Partition number (1-4, default 2): 2
First sector (3001-7749631, default 3001): 3001
Last sector, +sectors or +size{K,M,G} (3001-7749631, default 7749631): 80000
Partition number (1-4): 2
Hex code (type L to list codes): b
Changed system type of partition 2 to b (W95 FAT32)
3 heads, 2 sectors/track, 1291605 cylinders, total 7749632 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
/dev/sdc1 2048 3000 476+ b W95 FAT32
/dev/sdc2 3001 80000 38500 b W95 FAT32
The partition table has been altered!
partitions, please see the fdisk manual page for additional
information.
Syncing disks.
