[U-Boot] rk3288: Falcon mode broken

Jagan Teki jagannadh.teki at gmail.com
Wed Nov 1 17:03:19 UTC 2017


On Mon, Oct 30, 2017 at 11:29 PM, York Sun <york.sun at nxp.com> wrote:
> On 10/30/2017 10:55 AM, Jagan Teki wrote:
>> On Mon, Oct 30, 2017 at 11:19 PM, York Sun <york.sun at nxp.com> wrote:
>>> On 10/30/2017 10:17 AM, Jagan Teki wrote:
>>>> Hi,
>>>>
>>>> Did anyone have tested falcon recently? it was working for me during
>>>> rc1 and now it's broken cant see kernel booting, I knew I need to
>>>> bisect but just checking in case if any new changes.
>>>>
>>>> Log:
>>>> ------
>>>>
>>>> => reset
>>>> spl_early_init()
>>>>>> spl:board_init_r()
>>>>
>>>> U-Boot TPL 2017.11-rc2-00077-g1ea3e90-dirty (Oct 30 2017 - 22:40:51)
>>>> Trying to boot from BOOTROM
>>>> spl_early_init()
>>>>>> spl:board_init_r()
>>>>
>>>> U-Boot SPL 2017.11-rc2-00077-g1ea3e90-dirty (Oct 30 2017 - 22:40:51)
>>>> Trying to boot from MMC1
>>>> spl: payload image: *s load addr: 0x4 size: 1048544

Look like the issue with MMC - CMD18 making host->ioaddr as 0x0 by
means of busy state or something..due to which CMD12 is unable to
process.

Here is the full log[1], while reading the sectors mmc issue CMD16, 18
and 12 in sequence out-of-which 16 and 18 has processed with proper
ioaddr.

Does CMD18 resp MMC_RSP_R1,5,6,7 0x00000000 is proper?

Breaking log:
------------------
mmc_load_legacy sectors = 15906
blk_dread: Call read dev = 0xff716208, blkcnt = 0x0, start = 0x1000
CMD_SEND:16
                ARG                      0x00000000
Sending CMD16 0xff0c0000
                MMC_RSP_R1,5,6,7         0x00000000
CMD_SEND:18
                ARG                      0x00000000
Sending CMD18 0xff0c0000
                MMC_RSP_R1,5,6,7         0x00000000
CMD_SEND:12
                ARG                      0x00000000
Sending CMD12 0x0

Any help?

[1] https://paste.ubuntu.com/25866472/

thanks!
-- 
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.


More information about the U-Boot mailing list