Commit c02be3f8821528cb9ae816a5bc63370f1d1d43b5

Authored by larche
1 parent 73273ca54f
Exists in master and in 2 other branches fhd, fhd-demo

= FS NAME 수정

Showing 1 changed file with 8 additions and 5 deletions   Show diff stats
release/mk-fusingsd.sh
... ... @@ -12,8 +12,9 @@ FNAME_UBOOT="u-boot.imx"
12 12 FNAME_LOGO="init.bmp"
13 13 FNAME_DTB="imx6s-prime-oven.dtb"
14 14 FNAME_KERNEL="uImage"
15   -FNAME_FS128="ramdisk-prime_oven-128M.gz"
16   -FNAME_FS64="ramdisk-prime_oven-64M.gz"
  15 +FNAME_FSCPIO="ramdisk-prime_oven.uboot"
  16 +#FNAME_FS128="ramdisk-prime_oven-128M.gz"
  17 +#FNAME_FS64="ramdisk-prime_oven-64M.gz"
17 18 FNAME_RFS="rootfs.tar"
18 19  
19 20 MOUNT_PATH_P1="/tmp/mmcblk0p1"
... ... @@ -83,8 +84,9 @@ function run_copy_image()
83 84 cp -v ./$FNAME_LOGO ${MOUNT_PATH_P1}/boot/
84 85 cp -v ./$FNAME_DTB ${MOUNT_PATH_P1}/boot/
85 86 cp -v ./$FNAME_KERNEL ${MOUNT_PATH_P1}/boot/
86   - cp -v ./$FNAME_FS128 ${MOUNT_PATH_P1}/boot/
87   - cp -v ./$FNAME_FS64 ${MOUNT_PATH_P1}/boot/
  87 + cp -v ./$FNAME_FSCPIO ${MOUNT_PATH_P1}/boot/
  88 +# cp -v ./$FNAME_FS128 ${MOUNT_PATH_P1}/boot/
  89 +# cp -v ./$FNAME_FS64 ${MOUNT_PATH_P1}/boot/
88 90 cp -v ./$FNAME_RFS ${MOUNT_PATH_P1}/boot/
89 91 sleep 1
90 92 sync
... ... @@ -99,7 +101,8 @@ function run_raw_write()
99 101 dd if=./$FNAME_LOGO of=$DEV_PATH bs=512 seek=2048
100 102 dd if=./$FNAME_DTB of=$DEV_PATH bs=512 seek=11264
101 103 dd if=./$FNAME_KERNEL of=$DEV_PATH bs=512 seek=12288
102   - dd if=./$FNAME_FS128 of=$DEV_PATH bs=512 seek=28672
  104 + dd if=./$FNAME_FSCPIO of=$DEV_PATH bs=512 seek=28672
  105 +# dd if=./$FNAME_FS128 of=$DEV_PATH bs=512 seek=28672
103 106 # dd if=./$FNAME_FS64 of=$DEV_PATH bs=512 seek=28672
104 107 sleep 1
105 108 sync
... ...