Re: [U-Boot] Please fix ls1046ardb

2018-02-14 Thread York Sun
On 02/14/2018 04:30 PM, Jonathan Gray wrote:
> On Wed, Feb 14, 2018 at 07:25:53PM +, York Sun wrote:
>> Mingkai,
>>
>> LS1046ARDB is broken for both QSPI and SD. For QSPI, I cannot use
>> environmental variables. For SD boot, it fails when trying to init SD
>> card. Partial log is
>>
>> Initializing DDRusing SPD
>> WARNING: Calling __hwconfig without a buffer and before environment is ready
>> WARNING: Calling __hwconfig without a buffer and before environment is ready
>> WARNING: Calling __hwconfig without a buffer and before environment is ready
>> WARNING: Calling __hwconfig without a buffer and before environment is ready
>> Trying to boot from MMC1
>> unable to select a mode
>> mmc_init: -524, time 51
>> spl: mmc init failed with error: -524
>> SPL: failed to boot from all boot devices
>> ### ERROR ### Please RESET the board ###
>>
>> Please investigate.
>>
>> York
> 
> This reminds me of the problem I ran into with qemu vexpress-a15.

Thanks for the quick note. I tried the patch in your second link (i.e.
patch 871324), but it didn't fix my problem.

York
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] Please fix ls1046ardb

2018-02-14 Thread Jonathan Gray
On Wed, Feb 14, 2018 at 07:25:53PM +, York Sun wrote:
> Mingkai,
> 
> LS1046ARDB is broken for both QSPI and SD. For QSPI, I cannot use
> environmental variables. For SD boot, it fails when trying to init SD
> card. Partial log is
> 
> Initializing DDRusing SPD
> WARNING: Calling __hwconfig without a buffer and before environment is ready
> WARNING: Calling __hwconfig without a buffer and before environment is ready
> WARNING: Calling __hwconfig without a buffer and before environment is ready
> WARNING: Calling __hwconfig without a buffer and before environment is ready
> Trying to boot from MMC1
> unable to select a mode
> mmc_init: -524, time 51
> spl: mmc init failed with error: -524
> SPL: failed to boot from all boot devices
> ### ERROR ### Please RESET the board ###
> 
> Please investigate.
> 
> York

This reminds me of the problem I ran into with qemu vexpress-a15.
https://lists.denx.de/pipermail/u-boot/2018-February/319965.html
https://patchwork.ozlabs.org/patch/871324/
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] Please fix ls1046ardb

2018-02-14 Thread York Sun
Mingkai,

LS1046ARDB is broken for both QSPI and SD. For QSPI, I cannot use
environmental variables. For SD boot, it fails when trying to init SD
card. Partial log is

Initializing DDRusing SPD
WARNING: Calling __hwconfig without a buffer and before environment is ready
WARNING: Calling __hwconfig without a buffer and before environment is ready
WARNING: Calling __hwconfig without a buffer and before environment is ready
WARNING: Calling __hwconfig without a buffer and before environment is ready
Trying to boot from MMC1
unable to select a mode
mmc_init: -524, time 51
spl: mmc init failed with error: -524
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

Please investigate.

York
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot