<div dir="ltr"><div><div><div><div><div>Over the past week since the kernel version moved to the 4.x series, new built images are not bootable.  With the serial console connected it seems that its not completing Uboot properly.  This is the only output.<br>U-Boot SPL 2015.07 (Sep 02 2015 - 20:52:15)<br>DRAM: 1024 MiB<br>CPU: 912000000Hz, AXI/AHB/APB: 3/2/2<br><br></div>The following ticket seems to have a patch for it.<br><a href="https://dev.openwrt.org/ticket/20387">https://dev.openwrt.org/ticket/20387</a><br><br></div>I've created a diff patch from this patch to patch the mmc.c in the uboot code, but I don't know where in the patch tree the uboot patches go, so I can't test the patch.  Following is the patch.<br></div>I have not tested this patch.<br><br>--- ./a/drivers/mmc/mmc.c    2015-09-02 20:48:01.877739304 -0400<br>+++ ./b/drivers/mmc/mmc.c    2015-09-02 20:51:33.131214983 -0400<br>@@ -920,8 +920,10 @@<br>         err = sd_switch(mmc, SD_SWITCH_CHECK, 0, 1,<br>                 (u8 *)switch_status);<br> <br>-        if (err)<br>-            return err;<br>+        if (err) {<br>+            printf("unable to switch SD_HIGHSPEED: %d\n", err);<br>+            return 0;<br>+        }<br> <br>         /* The high-speed function is busy.  Try again */<br>         if (!(__be32_to_cpu(switch_status[7]) & SD_HIGHSPEED_BUSY))<br><br></div>Cheers<br></div>   Derek<br></div>