m4: update ramdisk offset to correct value

Change-Id: I1784bedde950d54dc014832a650310ac7db1ed08
m4: update and re-arrange m4 init

Change-Id: I595c346a497a0ce3aed86d81a599015d88c5b1c6
m4: correct missing permissions

Change-Id: I0bdbaee58f60df91d8a9753dc64066256af57951