Unable to mount root fs on unknown-block

I’ve been working on my own firmware the latest mainstream OpenWRT then gave up. Everything works fine when I flash my custom firmware. I haven’t made any changes that I know of but I can’t seem to get it to boot after flashing the latest stable medkit: https://api.turris.cz/openwrt-repo/omnia-stable/medkit/

Unable to mount root fs on unknown-block

[    5.286212] b308            4096 mmcblk0boot0  (driver?)
[    5.291548] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
[    5.300005] CPU1: stopping
[    5.302720] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.4.178-7bc33afbb1b35f5830b2b1b42c9cd8a0-0 #1
[    5.311785] Hardware name: Marvell Armada 380/385 (Device Tree)
[    5.317716] Backtrace:
[    5.320181] [<c001c504>] (dump_backtrace) from [<c001c744>] (show_stack+0x18/0x1c)
[    5.327766]  r6:00000000 r5:60000193 r4:c0770d28 r3:00000000
[    5.333484] [<c001c72c>] (show_stack) from [<c02ffd7c>] (dump_stack+0x98/0xac)
[    5.340724] [<c02ffce4>] (dump_stack) from [<c001ee2c>] (handle_IPI+0x188/0x1b0)
[    5.348135]  r6:00000000 r5:c0758ff0 r4:00000001 r3:c0769454
[    5.353847] [<c001eca4>] (handle_IPI) from [<c0009590>] (gic_handle_irq+0x90/0x94)
[    5.361431]  r7:f080210c r6:c0761038 r5:c077117c r4:f0802100
[    5.367144] [<c0009500>] (gic_handle_irq) from [<c000a694>] (__irq_svc+0x54/0x70)
[    5.374643] Exception stack(0xef07bf40 to 0xef07bf88)
[    5.379707] bf40: 00000001 00000000 ef07bfa0 c000b520 ef07a000 c0760498 c0760450 00000000
[    5.387904] bf60: 00000000 c075b118 ef07bfb0 ef07bf9c ef07bfa0 ef07bf90 c00192f4 c00192f8
[    5.396099] bf80: 60000013 ffffffff
[    5.399592]  r9:c075b118 r8:00000000 r7:ef07bf74 r6:ffffffff r5:60000013 r4:c00192f8
[    5.407410] [<c00192b8>] (arch_cpu_idle) from [<c00605e8>] (default_idle_call+0x28/0x34)
[    5.415521] [<c00605c0>] (default_idle_call) from [<c006074c>] (cpu_startup_entry+0x158/0x238)
[    5.424154] [<c00605f4>] (cpu_startup_entry) from [<c001ea74>] (secondary_start_kernel+0x138/0x140)
[    5.433218]  r7:c078ee60
[    5.435766] [<c001e93c>] (secondary_start_kernel) from [<0000962c>] (0x962c)
[    5.442828]  r5:00000051 r4:2f06406a
[    5.446431] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)

Sometimes I get this:

DDR3 Training Sequence - Ver TIP-1.29.0
Memory config in EEPROM: 0x01
ddr3_tip_pbs_rx failure CS #0
Title: I/F# , Tj, Calibration_n0, Calibration_p0, Calibration_n1, Calibration_p1                                                                                 , Calibration_n2, Calibration_p2,CS0 ,
VWTx, VWRx, WL_tot, WL_ADLL, WL_PH, RL_Tot, RL_ADLL, RL_PH, RL_Smp, Cen_tx, Cen_                                                                                 rx, Vref, DQVref,               PBSTx-Pad0,PBSTx-Pad1,PBSTx-Pad2,PBSTx-Pad3,PBST                                                                                 x-Pad4,PBSTx-Pad5,PBSTx-Pad6,PBSTx-Pad7,PBSTx-Pad8,PBSTx-Pad9,PBSTx-Pad10,     P                                                                                 BSRx-Pad0,PBSRx-Pad1,PBSRx-Pad2,PBSRx-Pad3,PBSRx-Pad4,PBSRx-Pad5,PBSRx-Pad6,PBSR                                                                                 x-Pad7,PBSRx-Pad8,PBSRx-Pad9,PBSRx-Pad10,
Data: 0,74,19,15,20,17,20,20,CS0 ,
0,0,10,10,0,423,7,1,6,23,10,4,0,                63,63,63,63,31,31,63,63,63,63,63                                                                                 ,               0,0,0,0,0,0,0,0,0,0,0,          0,0,0,0,0,0,0,0,0,0,0,
0,0,6,6,0,421,5,1,6,19,10,4,0,          63,63,63,63,31,31,63,63,63,63,63,      0                                                                                 ,0,0,0,0,0,0,0,0,0,0,           0,5,2,5,0,0,3,5,8,10,0,
0,0,6,6,0,420,4,1,6,19,10,4,0,          63,63,63,63,31,31,63,63,63,63,63,      0                                                                                 ,0,0,0,0,0,0,0,0,0,0,           2,0,0,7,0,0,0,2,5,5,0,
0,0,10,10,0,423,7,1,6,23,10,4,0,                63,63,63,63,31,31,63,63,63,63,63                                                                                 ,               0,0,0,0,0,0,0,0,0,0,0,          3,1,0,2,0,0,4,0,1,1,0,

Run_alg: tuning failed 0
DDR3 run algorithm - FAILED 0x1
DDR3 Training Sequence - FAILED

Please help! I want to go back to the default firmware.

Nevermind I guess I did make a change however I tried this but the resource I looked at didn’t mention it needed to be saved. D’oh.

env default -a
saveenv

Problem resolved.