#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):

 Well, I just finished bisecting u-boot commit history.

 The problem encountered by that 256MB card (`error reading clusters`) is
 caused by timeout when reading uImage file (the file is too big for the
 fixed timeout of 2 seconds).  I will post a patch for that.

 The problem encountered by that 1GB card (`spl: mmc init failed with
 error: -19`) was caused by commit
 `fc3a832576ce7bb597b1823935bfb7dcca235c3c` ![1]  Well, I can provide `git
 bisect log` for this if anyone is interested in fixing this.

 It turned that 4.1.6 kernel from OpenWrt also could not work property with
 the 1GB card.  A wild guess is that the same issue as u-boot also exists
 there in the kernel `sunxi-mmc` code.  Below is the relevant error message
 from kernel log (logged with `screen` when the board was booted with a
 working u-boot).

 {{{
 [    1.112060] mmc0: host does not support reading read-only switch,
 assuming write-enable^M
 [    1.120203] ehci-platform 1c1c000.usb: irq 31, io mem 0x01c1c000^M
 [    1.126527] sunxi-mmc 1c0f000.mmc: smc 0 err, cmd 6, RD RCE !!^M
 [    1.132388] sunxi-mmc 1c0f000.mmc: data error, sending stop command^M
 [    1.139451] sunxi-mmc 1c0f000.mmc: send stop command failed^M
 [    1.145056] mmc0: error -110 whilst initialising SD card^M
 [    1.150424] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00^M
 [    1.156533] sunxi-mmc 1c0f000.mmc: smc 0 err, cmd 1, RTO !!^M
 }}}

 ![1]
 
http://git.denx.de/?p=u-boot.git;a=commit;h=fc3a832576ce7bb597b1823935bfb7dcca235c3c

--
Ticket URL: <https://dev.openwrt.org/ticket/20387#comment:1>
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