CFI Byte order problem

Adrian Chadd adrian.chadd at gmail.com
Fri Feb 5 05:23:20 UTC 2016


I have the AR9132 datasheet. What's the CFI hooked up to? That's what
I'm confused about, the AR9132 doesn't /have/ a parallel flash
interface. :P



-a


On 4 February 2016 at 20:17, Mori Hiroki <yamori813 at yahoo.co.jp> wrote:
> I don't have AR9132 datasheet. But Some other Atheros datasheet
> tell to know Byteswap Control register. I think if Atheros open
> the AR9132 datasheet, then set correct to Byteswap Control
> register. But It's impossible, then ifdef workaround.
>
> Hiroki Mori
>
> ----- Original Message -----
>>From: Warner Losh <imp at bsdimp.com>
>>To: Mori Hiroki <yamori813 at yahoo.co.jp>
>>Cc: "freebsd-mips at freebsd.org" <freebsd-mips at freebsd.org>
>>Date: 2016/2/5, Fri 13:04
>>Subject: Re: CFI Byte order problem
>>
>>
>>
>>
>>
>>
>>On Thu, Feb 4, 2016 at 8:31 AM, Mori Hiroki <yamori813 at yahoo.co.jp> wrote:
>>
>>Hi.
>>>
>>>I build Current for AR9132. But don't recognize cfi flash memory.
>>>I make debug write and found byte endian issue. I seem AR9132
>>>is byte swap in cfi flash memory by default. Current cif code is
>>>byte swap on Big Endian machine. This is conflict.
>>>
>>>I make workaound by option for this problem.
>>>
>>>https://github.com/yamori813/freebsd/commit/2da6531d24e0d689763f25055420078a63a08baa
>>
>>
>>Why the #ifdef? Why not always swap on big endian platforms?
>>
>>
>>Warner
>>
>>
>>
>>
> _______________________________________________
> freebsd-mips at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-mips
> To unsubscribe, send any mail to "freebsd-mips-unsubscribe at freebsd.org"


More information about the freebsd-mips mailing list