Connecting Raspi and Pixhawk

It all looks ok.
My config is posted here: RaspberryPi3 and APM2.6 via MAVProxy

I do see some differences, so please check that.

What it looks like to me, on your end, is that ttyS0 is not there. which means there must be something on the raspberry not correct.