Bebop 2 stuck in bootloop

As mentioned in the title, a little while after I flashed my Bebop with arducopter it worked for a few hours, then I shut it down, next time I tried booting it didn’t load anything visible externally. Having a look in UART is showing the drone booting fine until it gets to boxinit and claims that “root” is an invalid user ID when loading the init scripts. It gets past, and starts some services, but then the services all exit without any extra feedback. I wonder if this is the onboard flash failing, or some other problem? Any help is appreciated.

Boot log:

Booting in mode NAND
jumping to 0x00100000 len 46000
nand_flash: Toshiba 2048 bytes per page, 1 Gbits rrotboot for target MILOS, git version ecos-bootloader-p7-start-343-gb32f66c, built on Dec 14 2015

P7R4
P7MU Revision 2
Crystal Frequency: 26000000 Hz
RAM config name: Milos - Dual NT5CC128M16CP-DI - CL11, CWL8 @750MHz 750 Mhz
Milos rev: 2

but 0
Scaning start 8M (size 16M), page shift 11 eb size 131072
vid_hdr_offset 2048, data_offset 4096 leb_size 126976
image_seq is 666b8540
new volume 4
new volume 0
new volume 1
parsed 8192 pages
vol0 : main_boot 29/67 ebs
vol1 : alt_boot 36/55 ebs
volume 0 : "main_boot" ok (3682304)
Attempt booting on UBI volume with ID 0...
plf: loading E_TEXT section to addr 0x82000000 size 3661248... done.
plf: loading U_BOOTLOADER section to addr 0x80700000 size 208... done.
Booting Linux...' boxinit.serialno=P742P44U1100004091E0  calib=0x001C0034 mtdparts=nand0:8M(Pbootloader),16M(Pmain_boot),8M(Pfactory),50M(Psystem),46M(Pupdate) console=ttyPA0,115200 loglevel=8 ubi.mtd=Pfactory ubi.mtd=Psystem ubi.mtd=Pupdate root=ubi1:system rootfstype=ubifs quiet androidboot.bootloader=ecos-bootloader-p7-start-343-gb32f66c '
boxinit: /etc/boxinit.rc: 48: invalid user id 'root'
boxinit: /etc/boxinit.d/10-rcs-init.rc: 4: invalid user id 'root'
boxinit: /etc/boxinit.d/11-dragon-services.rc: 3: invalid user id 'root'
boxinit: /etc/boxinit.d/20-dnsmasq.rc: 9: invalid user id 'root'
boxinit: /etc/boxinit.d/20-udhcpd.rc: 7: invalid user id 'root'
boxinit: /etc/boxinit.d/30-crashdump.rc: 6: invalid user id 'root'
boxinit: /etc/boxinit.d/30-publisher.rc: 3: invalid user id 'root'
boxinit: /etc/boxinit.d/30-udev.rc: 23: invalid user id 'root'
boxinit: /etc/boxinit.d/40-jubamountd.rc: 3: invalid user id 'root'
boxinit: /etc/boxinit.d/50-arducopter.rc: 3: invalid user id 'root'
boxinit: /etc/boxinit.d/50-ptpd.rc: 3: invalid user id 'root'
boxinit: /etc/boxinit.d/50-telemetryd.rc: 3: invalid user id 'root'
boxinit: /etc/boxinit.d/60-inetd.rc: 3: invalid user id 'root'
boxinit: /etc/boxinit.d/60-inetd.rc: 4: invalid group id 'root'
boxinit: /etc/boxinit.d/90-avahi-daemon.rc: 4: invalid user id 'root'
boxinit: /etc/boxinit.d/90-kmsgd.rc: 11: invalid user id 'root'
boxinit: /etc/boxinit.d/90-lttngd.rc: 3: invalid user id 'root'
boxinit: /etc/boxinit.d/90-lttngd.rc: 8: invalid user id 'root'
boxinit: /etc/boxinit.d/90-macgyver.rc: 3: invalid user id 'root'
boxinit: /etc/boxinit.d/90-macgyver.rc: 4: invalid group id 'root'
boxinit: /etc/boxinit.d/90-netmon-bcmlog.rc: 3: invalid user id 'root'
boxinit: /etc/boxinit.d/90-netmon-bcmlog.rc: 4: invalid group id 'root'
boxinit: /etc/boxinit.d/90-ulogcatd.rc: 4: invalid user id 'root'
boxinit: /etc/boxinit.d/98-drone-reboot.rc: 2: invalid user id 'root'
boxinit: /etc/boxinit.d/99-netdata.rc: 8: invalid user id 'root'
boxinit: /etc/boxinit.d/99-netdata.rc: 9: invalid group id 'root'
boxinit: /etc/boxinit.standalone.milosboard.rc: 6: invalid user id 'root'
boxinit: /etc/boxinit.standalone.milosboard.rc: 13: invalid user id 'root'
boxinit: starting 'rcs-init'
boxinit: starting 'shpoison'
boxinit: starting 'udevd'
boxinit: starting 'jubamountd'
boxinit: process 'rcs-init', pid 54 exited
boxinit: process 'shpoison', pid 55 exited
boxinit: process 'shpoison' killing any children in process group
boxinit: process 'udevd', pid 56 exited
boxinit: process 'udevd' killing any children in process group
boxinit: process 'jubamountd', pid 57 exited
boxinit: process 'jubamountd' killing any children in process group
boxinit: starting 'flash_bldc'
boxinit: property 'persist.debuggable' doesn't exist while expanding '${persist.debuggable}'
boxinit: cannot expand '${persist.debuggable}'
boxinit: skipping command 'setprop'
boxinit: starting 'shpoison'
boxinit: starting 'crashdumpd'
boxinit: starting 'udevd'
boxinit: starting 'jubamountd'
boxinit: starting 'kmsgd'
boxinit: process 'shpoison', pid 139 exited
boxinit: process 'shpoison' killing any children in process group
boxinit: process 'jubamountd', pid 142 exited
boxinit: process 'jubamountd' killing any children in process group
boxinit: process 'udevd', pid 141 exited
boxinit: process 'udevd' killing any children in process group
boxinit: process 'kmsgd', pid 143 exited
boxinit: process 'kmsgd' killing any children in process group
boxinit: process 'crashdumpd', pid 140 exited
boxinit: process 'crashdumpd' killing any children in process group


Do note the bit about boxinit starting then exiting processes just repeats forever. Terminal is unresponsive to my input.