I am currently trying to boot the mainline kernel (4.15) on a custom board. I started from tinyconfig and I am adding all needed features. Until now, I am making quite some progress and when the rootfs init is executed, I get an error:
[ 7.071161] random: crng init done
[ 7.082314] Bad block table written to 0x00001ffe0000, version 0x01
[ 7.089719] Bad block table written to 0x00001ffc0000, version 0x01
[ 7.120877] gpmi-nand 1806000.gpmi-nand: driver registered.
[ 7.137830] NET: Registered protocol family 10
[ 7.152721] Segment Routing with IPv6
[ 7.156440] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 7.172363] NET: Registered protocol family 17
[ 7.192059] Loading compiled-in X.509 certificates
[ 7.567751] Freeing unused kernel memory: 1024K
[ 7.583212] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
[ 7.592389] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
What could be the cause of this error?