Skip to content

Commit

Permalink
Re-order sbex calls in presimsetup to get paths updated correctly
Browse files Browse the repository at this point in the history
We added another sbex call for the track 1045730 which changes the
simicsInfo file. This sbex getting called after we had done some
additions to that file, which basically wiped out our additions.
These additons we made were making simics look at the correct
path when determining which pnor to use. Without this simics was
using the nimbus.pnor image from the backing build, which does
not have tests built in

Change-Id: I73a95ec375aa8d46a63af8e900ccefde06b073a8
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54790
Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
  • Loading branch information
crgeddes committed Feb 27, 2018
1 parent 2958d02 commit 10aa31b
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/build/citest/etc/workarounds.presimsetup
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,12 @@

echo "+++ Need to alter where we look for pnor images so they will be picked up properly"
mkdir -p $sb/simu/data
echo "+++ Need to pick up simics fix first"
sbex -t 1043138

echo "+++ Get some simics info changes"
sbex -t 1045730

chmod +w $sb/simu/data/simicsInfo
egrep -v "nimbus.pnor|cumulus.pnor" $sb/simu/data/simicsInfo > $sb/simu/data/simicsInfo.new
mv $sb/simu/data/simicsInfo.new $sb/simu/data/simicsInfo
echo "IMGS:NIMBUS_PNOR_IMG | FLASH:nimbus.pnor | LOC:SB_CHAIN/images/ppc/lab/flash" >> $sb/simu/data/simicsInfo
echo "IMGS:BOSTON_PNOR_IMG | FLASH:nimbus.pnor | LOC:SB_CHAIN/images/ppc/lab/flash" >> $sb/simu/data/simicsInfo
echo "IMGS:CUMULUS_PNOR_IMG | FLASH:cumulus.pnor | LOC:SB_CHAIN/images/ppc/lab/flash" >> $sb/simu/data/simicsInfo


echo "+++ Grab HCODE"
sbex -t 1045730
echo "IMGS:CUMULUS_PNOR_IMG | FLASH:cumulus.pnor | LOC:SB_CHAIN/images/ppc/lab/flash" >> $sb/simu/data/simicsInfo

0 comments on commit 10aa31b

Please sign in to comment.