Zynq Android源码的下载、编译、安装参考
https://blog.csdn.net/hongmao6/article/details/119822374
下面粘贴制作SD卡启动出现下面打印就说明制作成功。
cd /home/WORKING_DIRCTOTY
sudo device/xilinx/common/scripts/mksdcard.sh /dev/sde zcu102
========= build SD card for product zcu102 Found available removable disk: /dev/sde reasonable disk /dev/sde, partitions /dev/sde1... umount: /dev/sde: not mounted ========= creating partition table ========= creating BOOT partition ========= creating ROOT partition ========= creating SYSTEM partition ========= creating CACHE partition ========= creating DATA partition ========= formating BOOT partition mkfs.fat 3.0.26 (2014-03-07) ========= formating ROOT partition mke2fs 1.42.9 (4-Feb-2014) Filesystem label=ROOT OS type: Linux Block size=1024 (log=0) Fragment size=1024 (log=0) Stride=0 blocks, Stripe width=0 blocks 32768 inodes, 131072 blocks 6553 blocks (5.00%) reserved for the super user First data block=1 Maximum filesystem blocks=67371008 16 block groups 8192 blocks per group, 8192 fragments per group 2048 inodes per group Superblock backups stored on blocks:? ?? ?8193, 24577, 40961, 57345, 73729
Allocating group tables: done ? ? ? ? ? ? ? ? ? ? ? ? ? ? Writing inode tables: done ? ? ? ? ? ? ? ? ? ? ? ? ? ? Creating journal (4096 blocks): done Writing superblocks and filesystem accounting information: done?
========= formating SYSTEM partition mke2fs 1.42.9 (4-Feb-2014) Filesystem label=SYSTEM OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 131072 inodes, 524288 blocks 26214 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=536870912 16 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group Superblock backups stored on blocks:? ?? ?32768, 98304, 163840, 229376, 294912
Allocating group tables: done ? ? ? ? ? ? ? ? ? ? ? ? ? ? Writing inode tables: done ? ? ? ? ? ? ? ? ? ? ? ? ? ? Creating journal (16384 blocks): done Writing superblocks and filesystem accounting information: done?
========= formating CACHE partition mke2fs 1.42.9 (4-Feb-2014) Filesystem label=CACHE OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 32768 inodes, 131072 blocks 6553 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=134217728 4 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group Superblock backups stored on blocks:? ?? ?32768, 98304
Allocating group tables: done ? ? ? ? ? ? ? ? ? ? ? ? ? ? Writing inode tables: done ? ? ? ? ? ? ? ? ? ? ? ? ? ? Creating journal (4096 blocks): done Writing superblocks and filesystem accounting information: done
========= formating DATA partition mke2fs 1.42.9 (4-Feb-2014) Filesystem label=DATA OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 1684256 inodes, 6726656 blocks 336332 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=4294967296 206 block groups 32768 blocks per group, 32768 fragments per group 8176 inodes per group Superblock backups stored on blocks:? ?? ?32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,? ?? ?4096000
Allocating group tables: done ? ? ? ? ? ? ? ? ? ? ? ? ? ? Writing inode tables: done ? ? ? ? ? ? ? ? ? ? ? ? ? ? Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done ??
========= populating BOOT partition ‘out/target/product/zcu102/BOOT.BIN’ -> ‘/tmp/3383/boot_part/BOOT.BIN’ ‘out/target/product/zcu102/kernel’ -> ‘/tmp/3383/boot_part/Image’ ‘out/target/product/zcu102/zynqmp-zcu102.dtb’ -> ‘/tmp/3383/boot_part/zynqmp-zcu102.dtb’ ‘out/target/product/zcu102/zynqmp-zcu102-revB.dtb’ -> ‘/tmp/3383/boot_part/zynqmp-zcu102-revB.dtb’ ‘out/target/product/zcu102/bitstream.bit’ -> ‘/tmp/3383/boot_part/bitstream.bit’ ‘out/target/product/zcu102/uEnv.txt’ -> ‘/tmp/3383/boot_part/uEnv.txt’ ========= populating ROOT partition ‘out/target/product/zcu102/root/charger’ -> ‘/tmp/3383/root_part/charger’ ‘out/target/product/zcu102/root/data’ -> ‘/tmp/3383/root_part/data’ ‘out/target/product/zcu102/root/default.prop’ -> ‘/tmp/3383/root_part/default.prop’ ‘out/target/product/zcu102/root/dev’ -> ‘/tmp/3383/root_part/dev’ ‘out/target/product/zcu102/root/file_contexts’ -> ‘/tmp/3383/root_part/file_contexts’ ‘out/target/product/zcu102/root/fstab.zcu102’ -> ‘/tmp/3383/root_part/fstab.zcu102’ ‘out/target/product/zcu102/root/init’ -> ‘/tmp/3383/root_part/init’ ‘out/target/product/zcu102/root/init.environ.rc’ -> ‘/tmp/3383/root_part/init.environ.rc’ ‘out/target/product/zcu102/root/init.rc’ -> ‘/tmp/3383/root_part/init.rc’ ‘out/target/product/zcu102/root/init.trace.rc’ -> ‘/tmp/3383/root_part/init.trace.rc’ ‘out/target/product/zcu102/root/init.usb.configfs.rc’ -> ‘/tmp/3383/root_part/init.usb.configfs.rc’ ‘out/target/product/zcu102/root/init.usb.rc’ -> ‘/tmp/3383/root_part/init.usb.rc’ ‘out/target/product/zcu102/root/init.zcu102.rc’ -> ‘/tmp/3383/root_part/init.zcu102.rc’ ‘out/target/product/zcu102/root/init.zcu102.usb.rc’ -> ‘/tmp/3383/root_part/init.zcu102.usb.rc’ ‘out/target/product/zcu102/root/init.zygote32.rc’ -> ‘/tmp/3383/root_part/init.zygote32.rc’ ‘out/target/product/zcu102/root/init.zygote64_32.rc’ -> ‘/tmp/3383/root_part/init.zygote64_32.rc’ ‘out/target/product/zcu102/root/oem’ -> ‘/tmp/3383/root_part/oem’ ‘out/target/product/zcu102/root/proc’ -> ‘/tmp/3383/root_part/proc’ ‘out/target/product/zcu102/root/property_contexts’ -> ‘/tmp/3383/root_part/property_contexts’ ‘out/target/product/zcu102/root/sbin’ -> ‘/tmp/3383/root_part/sbin’ ‘out/target/product/zcu102/root/sbin/watchdogd’ -> ‘/tmp/3383/root_part/sbin/watchdogd’ ‘out/target/product/zcu102/root/sbin/adbd’ -> ‘/tmp/3383/root_part/sbin/adbd’ ‘out/target/product/zcu102/root/sbin/healthd’ -> ‘/tmp/3383/root_part/sbin/healthd’ ‘out/target/product/zcu102/root/sbin/ueventd’ -> ‘/tmp/3383/root_part/sbin/ueventd’ ‘out/target/product/zcu102/root/seapp_contexts’ -> ‘/tmp/3383/root_part/seapp_contexts’ ‘out/target/product/zcu102/root/selinux_version’ -> ‘/tmp/3383/root_part/selinux_version’ ‘out/target/product/zcu102/root/sepolicy’ -> ‘/tmp/3383/root_part/sepolicy’ ‘out/target/product/zcu102/root/service_contexts’ -> ‘/tmp/3383/root_part/service_contexts’ ‘out/target/product/zcu102/root/sys’ -> ‘/tmp/3383/root_part/sys’ ‘out/target/product/zcu102/root/system’ -> ‘/tmp/3383/root_part/system’ ‘out/target/product/zcu102/root/ueventd.rc’ -> ‘/tmp/3383/root_part/ueventd.rc’ ‘out/target/product/zcu102/root/ueventd.zcu102.rc’ -> ‘/tmp/3383/root_part/ueventd.zcu102.rc’ ========= populating SYSTEM partition
2097152+0 records in 2097152+0 records out 1073741824 bytes (1.1 GB) copied, 956.094 s, 1.1 MB/s e2fsck 1.42.9 (4-Feb-2014) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information SYSTEM: 1882/65536 files (0.0% non-contiguous), 192487/262144 blocks resize2fs 1.42.9 (4-Feb-2014) Resizing the filesystem on /dev/sde5 to 524288 (4k) blocks. The filesystem on /dev/sde5 is now 524288 blocks long.
|