gpio48 on a Bacon Cape Rev A on a Beaglebone Black Rev B

I just purchased a Bacon Cape to play with and I am having trouble with initial diagnostics. The bash test script https://github.com/SoCM/Embedded/blob/master/common/scripts-for-BBB/BBB/Bacon-test.sh complains that gpio48 is undefined. As a result the character display tests are failing - quick hint – hopefully something very simple?

bash constant definitions:

cape=“BB-BONE-BACONE”
clk=/sys/class/gpio/gpio2
serial=/sys/class/gpio/gpio4
latch=/sys/class/gpio/gpio5
clr=/sys/class/gpio/gpio48
button=/sys/class/gpio/gpio22
red=/sys/class/pwm/pwm0
green=/sys/class/pwm/pwm1
blue=/sys/class/pwm/pwm2
pot=/sys/devices/ocp*/bacon_adc_helper*/AIN5
pot_min=0
pot_max=1800000

output:

Red PWM
Green PWM
Blue PWM
7 segment display all off
7 segment display all on
7 segment display digit check
7 segment display digit check (with a dot)
Press button to continue
button pressed
Slider test (press button to exit)
total 0

pseudo device listing:

–w------- 1 root root 4096 Dec 31 1999 export
lrwxrwxrwx 1 root root 0 Mar 21 11:06 gpio2 → …/…/devices/virtual/gpio/gpio2
lrwxrwxrwx 1 root root 0 Mar 21 11:06 gpio22 → …/…/devices/virtual/gpio/gpio22
lrwxrwxrwx 1 root root 0 Mar 21 11:06 gpio4 → …/…/devices/virtual/gpio/gpio4
lrwxrwxrwx 1 root root 0 Mar 21 11:06 gpio5 → …/…/devices/virtual/gpio/gpio5
… no gpio48 port here? …
lrwxrwxrwx 1 root root 0 Dec 31 1999 gpiochip0 → …/…/devices/virtual/gpio/gpiochip0
lrwxrwxrwx 1 root root 0 Dec 31 1999 gpiochip32 → …/…/devices/virtual/gpio/gpiochip32
lrwxrwxrwx 1 root root 0 Dec 31 1999 gpiochip64 → …/…/devices/virtual/gpio/gpiochip64
lrwxrwxrwx 1 root root 0 Dec 31 1999 gpiochip96 → …/…/devices/virtual/gpio/gpiochip96
–w------- 1 root root 4096 Dec 31 1999 unexport

TIA
Paul Wolfson
Dallas

Oops, missed an update to the script. Thanks!

7c7
< clr=/sys/class/gpio/gpio48