Commit 3331432f501a4ed930697737f521b850d7c7acbe
1 parent
7a6add3a0f
Exists in
master
and in
2 other branches
= fusing script
Fdisk 관련 수정 (EOF 사용시 공백이 없어야 다른 시스템에서도 호환된다)
Showing
4 changed files
with
74 additions
and
74 deletions
Show diff stats
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/root/.falinux/mk-emmc-fusing.sh
@@ -40,29 +40,29 @@ function create_partition() | @@ -40,29 +40,29 @@ function create_partition() | ||
40 | echo "" | 40 | echo "" |
41 | echo -e "${C_LRED}### Fdisk Create Partition - create_partition() ###${C_NC}" | 41 | echo -e "${C_LRED}### Fdisk Create Partition - create_partition() ###${C_NC}" |
42 | echo "" | 42 | echo "" |
43 | - fdisk ${EMMC_DEV_PATH} << EOF | ||
44 | - o | ||
45 | - n | ||
46 | - p | ||
47 | - 1 | ||
48 | - 4096 | ||
49 | - 8191 | ||
50 | - n | ||
51 | - p | ||
52 | - 2 | ||
53 | - 8192 | ||
54 | - 16383 | ||
55 | - n | ||
56 | - p | ||
57 | - 3 | ||
58 | - 16384 | ||
59 | - 32767 | ||
60 | - n | ||
61 | - p | ||
62 | - 32768 | ||
63 | - | ||
64 | - p | ||
65 | - w | 43 | +fdisk ${EMMC_DEV_PATH} << EOF |
44 | +o | ||
45 | +n | ||
46 | +p | ||
47 | +1 | ||
48 | +4096 | ||
49 | +8191 | ||
50 | +n | ||
51 | +p | ||
52 | +2 | ||
53 | +8192 | ||
54 | +16383 | ||
55 | +n | ||
56 | +p | ||
57 | +3 | ||
58 | +16384 | ||
59 | +32767 | ||
60 | +n | ||
61 | +p | ||
62 | +32768 | ||
63 | + | ||
64 | +p | ||
65 | +w | ||
66 | EOF | 66 | EOF |
67 | } | 67 | } |
68 | 68 |
release/mk-fusingsd.sh
@@ -23,20 +23,20 @@ function create_partition() | @@ -23,20 +23,20 @@ function create_partition() | ||
23 | echo "" | 23 | echo "" |
24 | echo -e "${C_LRED}### Fdisk Create Partition - create_partition() ###${C_NC}" | 24 | echo -e "${C_LRED}### Fdisk Create Partition - create_partition() ###${C_NC}" |
25 | echo "" | 25 | echo "" |
26 | - fdisk $DEV_PATH << EOF | ||
27 | - o | ||
28 | - n | ||
29 | - p | ||
30 | - 1 | ||
31 | - 262144 | ||
32 | - 1310719 | ||
33 | - n | ||
34 | - p | ||
35 | - 2 | ||
36 | - 1310720 | ||
37 | - | ||
38 | - p | ||
39 | - w | 26 | +fdisk $DEV_PATH << EOF |
27 | +o | ||
28 | +n | ||
29 | +p | ||
30 | +1 | ||
31 | +262144 | ||
32 | +1310719 | ||
33 | +n | ||
34 | +p | ||
35 | +2 | ||
36 | +1310720 | ||
37 | + | ||
38 | +p | ||
39 | +w | ||
40 | EOF | 40 | EOF |
41 | } | 41 | } |
42 | 42 |
scripts/mk-emmc-fusing.sh
@@ -40,29 +40,29 @@ function create_partition() | @@ -40,29 +40,29 @@ function create_partition() | ||
40 | echo "" | 40 | echo "" |
41 | echo -e "${C_LRED}### Fdisk Create Partition - create_partition() ###${C_NC}" | 41 | echo -e "${C_LRED}### Fdisk Create Partition - create_partition() ###${C_NC}" |
42 | echo "" | 42 | echo "" |
43 | - fdisk ${EMMC_DEV_PATH} << EOF | ||
44 | - o | ||
45 | - n | ||
46 | - p | ||
47 | - 1 | ||
48 | - 4096 | ||
49 | - 8191 | ||
50 | - n | ||
51 | - p | ||
52 | - 2 | ||
53 | - 8192 | ||
54 | - 16383 | ||
55 | - n | ||
56 | - p | ||
57 | - 3 | ||
58 | - 16384 | ||
59 | - 32767 | ||
60 | - n | ||
61 | - p | ||
62 | - 32768 | ||
63 | - | ||
64 | - p | ||
65 | - w | 43 | +fdisk ${EMMC_DEV_PATH} << EOF |
44 | +o | ||
45 | +n | ||
46 | +p | ||
47 | +1 | ||
48 | +4096 | ||
49 | +8191 | ||
50 | +n | ||
51 | +p | ||
52 | +2 | ||
53 | +8192 | ||
54 | +16383 | ||
55 | +n | ||
56 | +p | ||
57 | +3 | ||
58 | +16384 | ||
59 | +32767 | ||
60 | +n | ||
61 | +p | ||
62 | +32768 | ||
63 | + | ||
64 | +p | ||
65 | +w | ||
66 | EOF | 66 | EOF |
67 | } | 67 | } |
68 | 68 |
scripts/mk-fusingsd.sh
@@ -23,20 +23,20 @@ function create_partition() | @@ -23,20 +23,20 @@ function create_partition() | ||
23 | echo "" | 23 | echo "" |
24 | echo -e "${C_LRED}### Fdisk Create Partition - create_partition() ###${C_NC}" | 24 | echo -e "${C_LRED}### Fdisk Create Partition - create_partition() ###${C_NC}" |
25 | echo "" | 25 | echo "" |
26 | - fdisk $DEV_PATH << EOF | ||
27 | - o | ||
28 | - n | ||
29 | - p | ||
30 | - 1 | ||
31 | - 262144 | ||
32 | - 1310719 | ||
33 | - n | ||
34 | - p | ||
35 | - 2 | ||
36 | - 1310720 | ||
37 | - | ||
38 | - p | ||
39 | - w | 26 | +fdisk $DEV_PATH << EOF |
27 | +o | ||
28 | +n | ||
29 | +p | ||
30 | +1 | ||
31 | +262144 | ||
32 | +1310719 | ||
33 | +n | ||
34 | +p | ||
35 | +2 | ||
36 | +1310720 | ||
37 | + | ||
38 | +p | ||
39 | +w | ||
40 | EOF | 40 | EOF |
41 | } | 41 | } |
42 | 42 |