AGL on Synopsys ARC HSDK board

2019-03-04 Thread Evgeniy Didin
Hi AGL community,

We would like to add Synopsys ARC HS Development Kit (HSDK) board [1] as one
of supported boards to upstream AGL. HSDK board is a SOC with 4 ARC HS38 cores
and Vivante GPU. Currently flounder_6.0.4 release with additional patches is
working well on HSDK board. Most of changes I have made were related 
with updating packages in poky and meta-openembedded for compatibility 
with glibc2.28 and GCC 8*. Also I was forced to upgrade Weston to 4.0.0 
for proper support of separate video output devices 
(We use external USB-HDMI adapter).
The rest remained unchanged or was slightly changed.

I'm wondering which branch/tag should be used for preparing patches that
will add support of our board in upstream AGL?

[1] https://www.synopsys.com/dw/ipdir.php?ds=arc-hs-development-kit

Thanks in advance and best regards,
Evgeniy Didin




___
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc


Re: [PATCH] ARCv2: Add explcit unaligned access support (and ability to disable too)

2019-03-04 Thread Vineet Gupta
On 2/28/19 11:24 AM, Vineet Gupta wrote:
> On 2/28/19 10:59 AM, Guenter Roeck wrote:
>>> Once the patch hits mainline you could use that. In the mean time I'll back 
>>> out
>>> the "detector" as it might trip other people too.
>>>
>> Can you possibly use $(cc-option,-mno-unaligned-access), or would that
>> defeat the purpose ?
>>
> Indeed I was looking into Kconfig documentation and found something similar.
> However there's an anti-dependency. It is enabled by default and can only be
> disabled with $(cc-option,-mno-unaligned-access)
> So guess we will have to change  ARC_USE_UNALIGNED_MEM_ACCESS to
> ARC_*LACKS*_UNALIGNED_MEM_ACCESS
>
> I'll tinker a bit and post an update soon.

I got around to testing a patch with inverted option, unaligned access is 
default
and ARC_UNALIGNED_ACCESS_NONE disables it. This option can depend on
$(cc-option,-mno-unaligned-access). The issue however is "broken" gcc silently
ignoring -mno-unaligned-access. So this option can't be auto disable with 
affected
gcc. So this approach won't work. The only way out is remove the stringent check
and just wait for upstream gcc to be fixed.


___
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc