[U-Boot] Testing u-boot-dm/next

Bin Meng bmeng.cn at gmail.com
Sat Apr 11 15:22:02 CEST 2015


Hi Simon,

On Sat, Apr 11, 2015 at 1:42 AM, Simon Glass <sjg at chromium.org> wrote:
> Hi Bin,
>
> On 9 April 2015 at 06:52, Bin Meng <bmeng.cn at gmail.com> wrote:
>> Hi Simon,
>>
>> On Thu, Apr 9, 2015 at 11:11 AM, Simon Glass <sjg at chromium.org> wrote:
>>> (Correcting address for Masahiro, sorry)
>>>
>>>
>>> On 8 April 2015 at 21:07, Simon Glass <sjg at chromium.org> wrote:
>>>
>>>> Hi,
>>>>
>>>> I have quite a few patches queued up in the next branch of u-boot-dm,
>>>> ready for when the merge window options.
>>>>
>>>> If anyone has time and can give it a spin on their board, it would be much
>>>> appreciated!
>>>>
>>>> Regards,
>>>> Simon
>>>>
>>
>> I've tested it on CrownBay board and found one issue:
>>
>> During the boot up, or typing 'sf probe' in the U-Boot shell, it reports:
>>
>> Invalid bus 0 (err=-19)
>>
>> I have not investigated but suspect this is due to the CrownBay board
>> has not been converted to use DM SPI, like Chromebook?
>
> All of x86 should use that - it is in arch/x86/Kconfig.

Ah, I see.

> More likely the SPI compatible string is wrong:
>
> compatible = "intel,ich7";
>
> It should be "intel,ich-spi "I think. You can check with 'dm tree' to
> see what devices have been found.

But changing crownbay.dts to use "intel,ich-spi" does not help.

=> dm tree
 Class       Probed   Name
----------------------------------------
 root        [ + ]    root_driver
 serial      [ + ]    |-- serial
 gpio        [   ]    |-- gpioa
 gpio        [   ]    |-- gpiob
 spi         [   ]    `-- spi
 spi_flash   [   ]        `-- spi-flash at 0
=> sf probe
Invalid bus 0 (err=-19)
Failed to initialize SPI flash at 0:0 (error -19)

Regards,
Bin


More information about the U-Boot mailing list