Browse files

Multiple minor fixes

Fixed elpida vtest build not copying u-boot to the right file name
Fixed verification test cards were not getting testvars created
Added verification that the -n is used with -v
  • Loading branch information...
1 parent 4ace599 commit 90eecbeeb4ea0f5234b52c971df09eae7c834402 mgrundy committed Oct 19, 2010
Showing with 9 additions and 1 deletion.
  1. +9 −1 sdbuild
View
10 sdbuild
@@ -48,7 +48,7 @@ flash-build () {
}
vtest-build() {
- cp ./u-boot/u-boot.gold-bin $1
+ cp ./u-boot/u-boot.gold-bin $1/u-boot.bin
cp ./uImage/uImage $1
cp ./vtest/ramdisk.gz $1
}
@@ -192,6 +192,11 @@ while [ 1 ]; do
if [ "$buildtype" == "vtest" ]; then
+ if [ "$fixid" == "" ]; then
+ echo You have to specify -n with -v
+ help
+ exit
+ fi
volid=TESTRIG${fixid}
elif [ "$buildtype" == "mtest" ]; then
volid=MEMTEST
@@ -214,6 +219,9 @@ while [ 1 ]; do
${memtype}-loader ${mountpoint}
echo Writing files to disk
${buildtype}-build ${mountpoint}
+ if [ "$buildtype" == "vtest" ]; then
+ vtest-vars ${fixid} ${mountpoint}
+ fi
pumount ${devname}1
clear

0 comments on commit 90eecbe

Please sign in to comment.