I bricked my HiPad Pro

I was messing around with some GSI Roms and flashed by accident a wrong boot.img.
Now my HiPad Pro is stucked in a bootloop.
I tried to restore the original boot.img from a stock firmware I’ve downloaded online, but the fastboot console gives me a “writing ‘boot’ failed (remote: ‘value too large for defined data type’)”.

Can somebody please help me restoring my device?

If it’s MTK version, you should be able to flash boot.img using SP Flash Tool. You can download it from HiPad Pro LTE (MTK) Stock Firmware - #8 by Blueforcer but use your own boot.img instead of the one provided.