[meta-freescale] [meta-fsl-arm][PATCH 03/12] imx-test: Stop installing clocks.sh in MX6

Otavio Salvador otavio at ossystems.com.br
Sat Jan 18 11:44:16 PST 2014


Hello Fabio,

On Sat, Jan 18, 2014 at 2:10 PM, Fabio Estevam <festevam at gmail.com> wrote:
> On Sat, Jan 18, 2014 at 1:48 PM, Otavio Salvador
> <otavio at ossystems.com.br> wrote:
>> Hello Fabio,
>>
>> On Sat, Jan 18, 2014 at 1:05 PM, Fabio Estevam <festevam at gmail.com> wrote:
>>> On Sat, Jan 18, 2014 at 12:41 AM, Otavio Salvador
>>> <otavio at ossystems.com.br> wrote:
>>>> Change-Id: Ief01c62025faa2927a226f9cd670e52dabb304be
>>>> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
>>>
>>> Would be nice to explain the motivation for removing it.
>>
>> This has been split from the release layer changes and it has no
>> detailed information about why it does not work. When I asked I've
>> been told that the script does not work for MX6 but without further
>> details.
>
> clocks.sh is a script used to dump the entire clock tree on old FSL
> kernels, such as 2.6.35.
>
> Kernel 3.10 uses the common clock framework, so the clock tree
> information can be retrieved from the standard
> /sys/kernel/debug location,  which means we don't really need a custom
> clocks.sh script for the 3.10 kernel.
>
> So the subject "imx-test: Stop installing clocks.sh in MX6" is not
> correct, because the reason you don't install clocks.sh is not related
> to the SoC itself. You just don't need to install it if you use a
> recent kernel that deploys the common clock tree framework (like it is
> the case for mx6 running 3.10).

I reworked this commit.

commit 043ac6f87075cce5dbde2e1520e2b8ae2f34ac1c
Author: Otavio Salvador <otavio at ossystems.com.br>
Date:   Fri Jan 17 16:04:59 2014 -0200

    imx-test: Don't install clocks.sh in MX6 as it uses 3.10 kernel

    Kernel 3.10 uses the common clock framework, so the clock tree
    information can be retrieved from the standard /sys/kernel/debug
    location, which means we don't really need a custom clocks.sh script
    for the 3.10 kernel.

    You just don't need to install it if you use a recent kernel that
    deploys the common clock tree framework (like it is the case for MX6
    running 3.10).

    Change-Id: Ief01c62025faa2927a226f9cd670e52dabb304be
    Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>

and I will put it /after/ we move to 3.10.

Do you agree?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list