diff options
Diffstat (limited to 'meta-openbmc-mods/meta-wolfpass/recipes-phosphor/fru')
-rw-r--r-- | meta-openbmc-mods/meta-wolfpass/recipes-phosphor/fru/default-fru/S2600TNP.fru.bin | bin | 0 -> 512 bytes | |||
-rwxr-xr-x | meta-openbmc-mods/meta-wolfpass/recipes-phosphor/fru/default-fru/checkFru.sh | 11 |
2 files changed, 7 insertions, 4 deletions
diff --git a/meta-openbmc-mods/meta-wolfpass/recipes-phosphor/fru/default-fru/S2600TNP.fru.bin b/meta-openbmc-mods/meta-wolfpass/recipes-phosphor/fru/default-fru/S2600TNP.fru.bin Binary files differnew file mode 100644 index 000000000..afd58e6b9 --- /dev/null +++ b/meta-openbmc-mods/meta-wolfpass/recipes-phosphor/fru/default-fru/S2600TNP.fru.bin diff --git a/meta-openbmc-mods/meta-wolfpass/recipes-phosphor/fru/default-fru/checkFru.sh b/meta-openbmc-mods/meta-wolfpass/recipes-phosphor/fru/default-fru/checkFru.sh index b619dac8b..1eb79b299 100755 --- a/meta-openbmc-mods/meta-wolfpass/recipes-phosphor/fru/default-fru/checkFru.sh +++ b/meta-openbmc-mods/meta-wolfpass/recipes-phosphor/fru/default-fru/checkFru.sh @@ -2,7 +2,7 @@ # this script checks the gpio id and loads the correct baseboard fru fruFile="/etc/fru/baseboard.fru.bin" -idGpio=( 8 9 10 11 12) +idGpio=( 8 9 10 11 12 53) result=0 idx=0 @@ -21,14 +21,17 @@ do done # wp -if (($result == 30)); then +if (($result == 62)); then cat S2600WP.fru.bin > $fruFile # wc -elif (($result == 13)); then +elif (($result == 45)); then cat S2600WC.fru.bin > $fruFile # cyp -elif (($result == 28)); then +elif (($result == 60)); then cat S2600CYP.fru.bin > $fruFile +# tnp +elif (($result == 12)); then + cat S2600TNP.fru.bin > $fruFile # default to wft else cat S2600WFT.fru.bin > $fruFile |