3 # Set default cross compiler
4 CROSS_COMPILER=/opt/toolchains/arm-2008q3/bin/arm-none-linux-gnueabi-
6 # Check this system has ccache
10 if [ "$?" -eq "0" ]; then
18 if [ "$USER" = "kmpark" ]; then
19 #CROSS_COMPILER=/pub/toolchains/gcc-4.4.1/bin/arm-none-linux-gnueabi-
20 CROSS_COMPILER=/scratchbox/compilers/arm-linux-gnueabi-gcc4.4.1-glibc2.10.1-2009q3-93/bin/arm-none-linux-gnueabi-
21 touch onenand_ipl/board/samsung/universal_c210/start.S
24 if [ "$USER" = "dofmind" ]; then
25 CROSS_COMPILER=arm-none-linux-gnueabi-
28 if [ "$USER" = "prom" ]; then
29 CROSS_COMPILER=/opt/toolchains/arm-2009q3/bin/arm-none-linux-gnueabi-
32 if [ "$USER" = "jaehoon" ]; then
33 CROSS_COMPILER=/usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-
36 if [ "$USER" = "leedonghwa" ]; then
37 CROSS_COMPILER=/opt/toolchains/scratchbox/compilers/arm-linux-gnueabi-gcc4.4.1-glibc2.10.1-2009q3-93/bin/arm-none-linux-gnueabi-
40 if [ "$USER" = "riverful" ]; then
41 CROSS_COMPILER=/opt/arm-2009q3/bin/arm-none-linux-gnueabi-
44 if [ "$USER" = "cwchoi00" ]; then
45 CROSS_COMPILER=/opt/arm-2009q3/bin/arm-none-linux-gnueabi-
48 if [ "$USER" = "donggeun" ]; then
49 CROSS_COMPILER=/scratchbox/compilers/arm-linux-gnueabi-gcc4.4.1-glibc2.10.1-2009q3-93/bin/arm-none-linux-gnueabi-
56 if [ "$1" = "mmc" ]; then
65 if [ "$1" != "mmc" ]; then
68 make ARCH=arm CROSS_COMPILE="$CCACHE $CROSS_COMPILER" $JOBS $OPT
74 SOC=`grep BOARD include/config.mk | awk -F'_' '{print $2}'`
75 IPL_PREFIX=${IPL}_ipl/${IPL}-ipl
77 if [ "$SOC" = "c210" ]; then
78 echo "Use the s-boot instead"
79 elif [ "$SOC" = "c110" ]; then
81 cat ${IPL_PREFIX}-16k-evt0.bin u-boot.bin > u-boot-"$IPL"-evt0.bin
82 cat ${IPL_PREFIX}-16k-fused.bin u-boot.bin > u-boot-"$IPL"-evt1-fused.bin
83 if [ "$IPL" = "mmc" ]; then
84 cat ${IPL_PREFIX}-8k-fused.bin u-boot.bin > u-boot-"$IPL"-evt1-fused.bin
86 # To distinguish previous u-boot-onenand.bin, it uses the evt1 suffix
87 cp u-boot-"$IPL".bin u-boot-"$IPL"-evt1.bin
99 if [ "$IPL" != "mmc" -a -e "$PWD/u-boot-onenand.bin" ]; then
100 size=`ls -al u-boot-onenand.bin | awk -F' ' '{printf $5}'`
101 if [ "$size" -ge "262144" ]; then
102 echo "u-boot-onenand.bin execced the 256KiB 262144 -> $size"
107 if [ "$USER" = "kmpark" ]; then
109 cp -f u-boot.bin u-boot-onenand.bin /tftpboot
114 elif [ "$USER" = "dofmind" ]; then
115 tar cvf system_uboot_evt0.tar u-boot-onenand-evt0.bin
116 tar cvf system_uboot_evt1.tar u-boot-onenand-evt1.bin
117 tar cvf system_uboot_evt1-fused.tar u-boot-onenand-evt1-fused.bin
118 tar cvf system_uboot.tar u-boot-onenand.bin
119 mv -f system_uboot*.tar /home/release
120 elif [ "$USER" = "prom" ]; then
121 tar cvf system_uboot.tar u-boot.bin
122 tar cvf system_uboot_evt0.tar u-boot-onenand-evt0.bin
123 tar cvf system_uboot_evt1.tar u-boot-onenand-evt1.bin
124 tar cvf system_uboot_evt1-fused.tar u-boot-onenand-evt1-fused.bin
125 mv -f system_uboot* /home/share/Work/bin
126 elif [ "$USER" = "jaehoon" ]; then
127 tar cvf system_uboot_evt0.tar u-boot-onenand-evt0.bin
128 tar cvf system_uboot_evt1.tar u-boot-onenand-evt1.bin
129 tar cvf system_uboot_evt1-fused.tar u-boot-onenand-evt1-fused.bin
130 mv -f system_uboot* /home/jaehoon/shared/new/
131 elif [ "$USER" = "leedonghwa" ]; then
132 tar cvf system_uboot_evt0.tar u-boot-onenand-evt0.bin
133 tar cvf system_uboot_evt1.tar u-boot-onenand-evt1.bin
134 tar cvf system_uboot_evt1-fused.tar u-boot-onenand-evt1-fused.bin
135 mv -f system_uboot* /home/leedonghwa/Build-Binaries/
136 elif [ "$USER" = "cwchoi00" ]; then
137 tar cvf system_uboot_evt0.tar u-boot-onenand-evt0.bin
138 tar cvf system_uboot_evt1.tar u-boot-onenand-evt1.bin
139 tar cvf system_uboot_evt1-fused.tar u-boot-onenand-evt1-fused.bin
140 elif [ "$USER" = "donggeun" ]; then
141 tar cvf system_uboot_evt0.tar u-boot-onenand-evt0.bin
142 tar cvf system_uboot_evt1.tar u-boot-onenand-evt1.bin
143 tar cvf system_uboot_evt1-fused.tar u-boot-onenand-evt1-fused.bin
144 mv -f system_uboot*.tar /home/donggeun/workspace/images