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.
U-Boot SPL 2015.07 (Sep 02 2015 - 20:52:15)
DRAM: 1024 MiB
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2

The following ticket seems to have a patch for it.
https://dev.openwrt.org/ticket/20387

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.
I have not tested this patch.

--- ./a/drivers/mmc/mmc.c    2015-09-02 20:48:01.877739304 -0400
+++ ./b/drivers/mmc/mmc.c    2015-09-02 20:51:33.131214983 -0400
@@ -920,8 +920,10 @@
         err = sd_switch(mmc, SD_SWITCH_CHECK, 0, 1,
                 (u8 *)switch_status);

-        if (err)
-            return err;
+        if (err) {
+            printf("unable to switch SD_HIGHSPEED: %d\n", err);
+            return 0;
+        }

         /* The high-speed function is busy.  Try again */
         if (!(__be32_to_cpu(switch_status[7]) & SD_HIGHSPEED_BUSY))

Cheers
   Derek
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to