@Veti
I had M564 H0 in there, because i was used to be able to move the printhead without homed axes with the original printer hardware. When I remove completely, I cannot even home any of my axes, always getting: G0/G1: insufficient axes homed. This is also the case when I have M546 H1 S1.
homeX:
; Lift Z relative to current position
G91
G1 Z5 F6000
G90
; Move quickly to X axis endstop and stop there (first pass)
G1 X-210 F1200 S1
; Go back a few mm
G91
G1 X5 F6000
G90
; Move slowly to X axis endstop once more (second pass)
G1 X-210 F360 S1
; Lower Z again
G91
G1 Z-5 F6000
G90
homeY:
; Lift Z relative to current position
G91
G1 Z5 F6000
G90
; Move quickly to Y axis endstop and stop there (first pass)
G1 Y-210 F1800 S1
; Go back a few mm
G91
G1 Y5 F6000
G90
; Move slowly to X axis endstop once more (second pass)
G1 Y-210 F360 S1
; Lower Z again
G91
G1 Z-5 F6000
G90
homeZ:
; Lift Z relatively to current position
G91
G1 Z5 F6000 S2
; Back to absolute positioning
G90
; Go to first bed probe point and home the Z axis
G1 X100 Y100 F6000
G30
; Uncomment the following lines to lift Z after probing
;G91
;G1 Z5 F100
;G90
homeall:
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool on Wed Apr 19 2017 22:18:05 GMT+0200 (W. Europe Daylight Time)
; Relative positioning
G91
; Lift Z
G1 Z5 F6000
; Course home X and Y
G1 X-210 Y-210 F1800 S1
; Move away from the endstops
G1 X5 Y5 F6000
; Fine home X and Y
G1 X-210 Y-210 F360 S1
; Absolute positioning
G90
; Go to first bed probe point and home Z
G1 X100 Y100 F1800
G30