Rick Porcello has some advice for J.D. Martinez — and he speaks from experience.

The Red Sox pitcher joined Rob Bradford’s most recent “Bradfo Sho” podcast to discuss, among other topics, Boston’s reported agreement with Martinez, who was Porcello’s Detroit Tigers teammate in 2014.

Porcello had glowing things to say about Martinez, noting how the outfielder overcame being released by the Houston Astros early in his career to transform himself into “arguably one of the best right-handed power hitters in the game.”

“There’s something in there that shows the resilience and mental toughness and … the fortitude to overcome that stuff,” Porcello said of Martinez, via WEEI.com.

But what about the challenges of playing in Boston? After all, fellow Red Sox pitcher David Price noted Martinez should expect to get booed if he doesn’t meet expectations.

Porcello, it seems, has a different take on playing at Fenway Park.