lkml.org 
[lkml]   [2019]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [EXT] [BUG BISECT] Net boot fails on VF50 after "dmaengine: fsl-edma: support little endian for edma driver"
Date
Hi Krzysztof,

Got it. Thanks for your help

Best Regards,
Peng
>-----Original Message-----
>From: Krzysztof Kozlowski <krzk@kernel.org>
>Sent: 2019年7月4日 20:57
>To: Peng Ma <peng.ma@nxp.com>
>Cc: Vinod Koul <vkoul@kernel.org>; dmaengine@vger.kernel.org;
>linux-kernel@vger.kernel.org; Fabio Estevam <fabio.estevam@nxp.com>; Leo
>Li <leoyang.li@nxp.com>; Andy Tang <andy.tang@nxp.com>
>Subject: Re: [EXT] [BUG BISECT] Net boot fails on VF50 after "dmaengine:
>fsl-edma: support little endian for edma driver"
>
>Caution: EXT Email
>
>On Thu, 4 Jul 2019 at 04:10, Peng Ma <peng.ma@nxp.com> wrote:
>>
>> Hi Krzysztof,
>>
>> I am sorry, It is my mistake to forget about VF50 used EDMA IP with little
>endian.
>> The Register(CHCFG0 - CHCFG15) of our platform designed as follows:
>> *---------------------------------------------------------------------
>> ----------*
>> | Offset | Big endian Register| Little endian Register|
>> |---------------------|--------------------------|-----------------------------|
>> | 0x0 | CHCFG0 | CHCFG3 |
>> |---------------------|--------------------------|-----------------------------|
>> | 0x1 | CHCFG1 | CHCFG2 |
>> |---------------------|--------------------------|-----------------------------|
>> | 0x2 | CHCFG2 | CHCFG1 |
>> |---------------------|--------------------------|-----------------------------|
>> | 0x3 | CHCFG3 | CHCFG0 |
>> |---------------------|--------------------------|-----------------------------|
>> | ... | ...... | ...... |
>> |---------------------|--------------------------|-----------------------------|
>> | 0xC | CHCFG12 | CHCFG15 |
>> |---------------------|--------------------------|-----------------------------|
>> | 0xD | CHCFG13 | CHCFG14 |
>> |---------------------|--------------------------|-----------------------------|
>> | 0xE | CHCFG14 | CHCFG13 |
>> |---------------------|--------------------------|-----------------------------|
>> | 0xF | CHCFG15 | CHCFG12 |
>> *---------------------------------------------------------------------
>> ----------*
>>
>> So we need this patch, I make some changes,Please help me to test
>> attatchment on VF50 board, Thanks.
>
>With the patch VF50 boots fine.
>
>BTW, Colibri VF50 nicely boots from network almost out of the box so it is easy
>to add it to automated tests for simple boot tests. This way you do not have to
>manually test it on such platform...
>
>Best regards,
>Krzysztof
\
 
 \ /
  Last update: 2019-07-05 04:05    [W:0.335 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site