::sysinit:/etc/init.d/rcS
echo "++ Configure static IP 192.168.1.10"
ifconfig eth0 down
ifconfig eth0 192.168.1.10 up
echo "++ Configure static IP 192.168.3.130"
ifconfig eth0 down
ifconfig eth0 192.168.3.130 netmask 255.255.255.0 up
/Apps/cam_disp3_linux.elf
zynq> cd /
zynq> mkdir sdcard
zynq> ls
Apps etc linuxrc opt sbin tmp
bin lib lost+found proc sdcard usr
dev licenses mnt root sys var
zynq> mount /dev/mmcblk0p1 /sdcard
zynq> ls sdcard
BOOT.bin README ramdisk8M.image.gz
BOOT_org.BINo devicetree_ramdisk.dtb zImage
zynq> cp /sdcard/ramdisk8M.image.gz /tmp/
zynq> gunzip /tmp/ramdisk8M.image.gz
zynq> mount -o loop /tmp/ramdisk8M.image /mnt/
[22221.420000] EXT4-fs (loop0): couldn't mount as ext3 due to feature incompatibilities
[22221.470000] EXT4-fs (loop0): mounting ext2 file system using the ext4 subsystem
[22221.470000] EXT4-fs (loop0): warning: mounting unchecked fs, running e2fsck is recommended
[22221.480000] EXT4-fs (loop0): mounted filesystem without journal. Opts: (null)
zynq> ls /mnt
bin lib lost+found proc sys var
dev licenses mnt root tmp
etc linuxrc opt sbin usr
zynq> cp -r Apps /mnt/
zynq> cp /etc/init.d/rcS /mnt/etc/init.d/rcS
zynq> umount -l /mnt
zynq> gzip -9 /tmp/ramdisk8M.image
zynq> mv /tmp/ramdisk8M.image.gz /sdcard/
zynq> umount -l /sdcard/
日 | 月 | 火 | 水 | 木 | 金 | 土 |
---|---|---|---|---|---|---|
- | - | - | - | - | 1 | 2 |
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 | - | - | - | - | - | - |