[PATCH] ARM: imx_v6_v7_defconfig: Enable GPU support
Jon Nettleton
jon.nettleton at gmail.com
Tue Dec 22 09:34:25 PST 2015
On Tue, Dec 22, 2015 at 5:38 PM, Fabio Estevam <festevam at gmail.com> wrote:
> On Tue, Dec 22, 2015 at 2:16 PM, Russell King - ARM Linux
> <linux at arm.linux.org.uk> wrote:
>> Jon is busy at the moment, and I expect will reply in a few hours or
>> so.
>>
>> On Tue, Dec 22, 2015 at 01:31:53PM -0200, Fabio Estevam wrote:
>>> It seems the information you got from Jon is not correct.
>>
>> I suspect Jon is in a better position to comment about what works and
>> what doesn't, as he's doing the customer facing support for SolidRun,
>> and has to deal with people trying to run stock u-boot on SolidRun's
>> hardware.
>>
>> _Especially_ when he gets regular reports from users trying to run
>> Fedora 23 on SolidRun platforms, which ships with mainline u-boot,
>> and it fails to work because mainline u-boot gets stuff wrong. The
>> telling thing for Jon is that when he gets users to switch to SR's
>> u-boot, the problems magically vanish.
This is correct. This first started showing up when Yocto switched to
mainline u-boot and I was getting mysterious reports of boot hangs and
reboot crashes.
>
> That's a good feedback. I will review the DDR3 settings in mainline
> U-boot against SolidRun's tree.
>
>> Jon is aware of what's in mainline u-boot, and the memory timings there
>> are wrong. For a start, the highest DDR clock rate is 1066MHz, not
>> 1600MHz that you have in mainline u-boot. So you're overclocking the
>> SDRAM.
>
> No, we don't:
>
> /* Limit mem_speed for MX6D/MX6Q */
> if (is_cpu_type(MXC_CPU_MX6Q) || is_cpu_type(MXC_CPU_MX6D)) {
> if (mem_speed > 1066)
> mem_speed = 1066; /* 1066 MT/s */
Then why is this setup?
static struct mx6_ddr3_cfg mem_ddr_2g = {
.mem_speed = 1600,
I don't understand why you force platform vendors to dig through
layers to find some random generic override outside their board file?
Especially when comments like,
/*
* This section requires the differentiation between Solidrun mx6 boards, but
* for now, it will configure only for the mx6dual hummingboard version.
*/
are left in. This inconsistency just makes delving into what is
actually going on in the boot-loader an un-necessary drain of my time
because I have to verify every single bit of abstraction is doing the
correct thing.
>
>> I know that Jon has put a _lot_ of effort into getting the SDRAM setup
>> stable on SolidRun hardware to eliminate hangs and other problems, and
>> it seems the attitude is "we don't care about that, we're mainline, we
>> know better."
>
> Would be wonderful to have these changes upstreamed.
It would be great but I just don't have the time. I had the time when
upstream was refusing to deal with SPL for the iMX6. Trying to
migrate to upstream now means I have to rework, and review our entire
patchset of bug fixes. Not to mention there are 2 more sets of boards
and another microsom that need to be supported and there is still no
fastboot option for the iMX6 available, and I don't consider falcon
boot an alternative because it is too limited.
I understand a lot of work has been put in to make the iMX6 support
better in u-boot but that was done at the expense of not having
properly QA'd vendor platform support. So now to get upstream ready
to be used by our customers we need to spend time and money validating
that upstream u-boot works as well as the version we are shipping. I
am not saying this to complain but to point out that if u-boot wants
to not constantly deal with vendor forks they need to be way more
accepting of vendor input.
Fabio this is no way directed at you. I appreciate all the work that
you have done. I just wish it didn't have to be you doing the work.
I would have much rather had this all go upstream back when we were
doing the initial bringup.
-Jon
More information about the linux-arm-kernel
mailing list