#20387: regression in uboot-sunxi causing boot failure.
-----------------------+------------------------
  Reporter:  yousong   |      Owner:  developers
      Type:  defect    |     Status:  new
  Priority:  high      |  Milestone:
 Component:  packages  |    Version:  Trunk
Resolution:            |   Keywords:
-----------------------+------------------------

Comment (by yousong):

 That `-110` error code from kernel is `ETIMEOUT` (`include/uapi/asm-
 generic/errno.h`), comparable to that `-19` (`TIMEOUT`) error from U-Boot.

 But the root cause was not some timeout.  It is caused by
 `SUNXI_MMC_RINT_RESP_CRC_ERROR` when waiting for
 `SUNXI_MMC_RINT_COMMAND_DONE` within `sunxi_mmc_send_cmd()` when trying to
 switch the card mode to `SD_HIGHSPEED`.  If I ignore that failure, U-Boot
 continued fine but the kernel cannot mount rootfs from `/dev/mmcblk0p2`
 because it cannot initialise the SD card.

 The situation should be almost the same with the kernel code.  Anyway,
 that clock divider change from the controller-internal one to mod0-clk is
 erroneous.

--
Ticket URL: <https://dev.openwrt.org/ticket/20387#comment:2>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to