Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/
gianluca
gianlucarenzi at eurekelettronica.it
Thu Jun 29 03:07:55 PDT 2017
On 06/29/2017 10:37 AM, Lucas Stach wrote:
> Am Mittwoch, den 28.06.2017, 18:55 +0200 schrieb gianluca:
>> On 06/26/2017 03:28 PM, gianluca wrote:
>>>>
>>>> Your kernel is too old. Full support for the QuadPlus is a really
>>>> recent addition. Either update your kernel to 4.12-rc, or add
>>>> "clk_ignore_unused" to get at least basic functionality working.
>>>>
>>>
>>>
>>> Now I am compiling the 4.12-rc7. Hope this helps.
>>>
>>> I will keep you informed about that...
>>>
>>
>>
>> Now I am using the kernel 4.12-rc7 as the time of this writing.
>
> And now your devicetree is too old, it's missing the PRE/PRG nodes on
> imx6qp.
>
Now, it works. After adding in the /soc node and in the ipu node the
pre[x] and prg[x] stuff, it works.
Are those parameters defined in the device-tree present in the latest
Barebox 2017.06.[whatever]?? If so, next step is use the latest Barebox...
Now the only issue is how to fix the volume/dac/pcm value in alsa...
> # amixer
> Simple mixer control 'Headphone',0
> Capabilities: pvolume pswitch pswitch-joined
> Playback channels: Front Left - Front Right
> Limits: Playback 0 - 127
> Mono:
> Front Left: Playback 127 [2147483647%] [12.00dB] [on]
> Front Right: Playback 63 [2147483647%] [-20.00dB] [on]
> Simple mixer control 'Headphone Mux',0
> Capabilities: enum
> Items: 'DAC' 'LINE_IN'
> Item0: 'DAC'
> Simple mixer control 'Headphone Playback ZC',0
> Capabilities: pswitch pswitch-joined
> Playback channels: Mono
> Mono: Playback [on]
> Simple mixer control 'PCM',0
> Capabilities: pvolume
> Playback channels: Front Left - Front Right
> Limits: Playback 0 - 192
> Mono:
> Front Left: Playback 1 [2147483647%]
> Front Right: Playback 0 [2147483647%]
> Simple mixer control 'Lineout',0
> Capabilities: pvolume pswitch pswitch-joined
> Playback channels: Front Left - Front Right
> Limits: Playback 0 - 31
> Mono:
> Front Left: Playback 18 [2147483647%] [-6.50dB] [on]
> Front Right: Playback 18 [2147483647%] [-6.50dB] [on]
> Simple mixer control 'Mic',0
> Capabilities: volume volume-joined
> Playback channels: Mono
> Capture channels: Mono
> Limits: 0 - 3
> Mono: 0 [2147483647%] [0.00dB]
> Simple mixer control 'Capture',0
> Capabilities: cvolume
> Capture channels: Front Left - Front Right
> Limits: Capture 0 - 15
> Front Left: Capture 0 [2147483647%]
> Front Right: Capture 0 [2147483647%]
> Simple mixer control 'Capture Attenuate Switch (-6dB)',0
> Capabilities: pswitch pswitch-joined
> Playback channels: Mono
> Mono: Playback [off]
> Simple mixer control 'Capture Mux',0
> Capabilities: enum
> Items: 'MIC_IN' 'LINE_IN'
> Item0: 'MIC_IN'
> Simple mixer control 'Capture ZC',0
> Capabilities: pswitch pswitch-joined
> Playback channels: Mono
> Mono: Playback [on]
2147483647% looks like an max-int value 0x7FFFFFFF...
Regards,
--
Eurek s.r.l. |
Electronic Engineering | http://www.eurek.it
via Celletta 8/B, 40026 Imola, Italy | Phone: +39-(0)542-609120
p.iva 00690621206 - c.f. 04020030377 | Fax: +39-(0)542-609212
More information about the barebox
mailing list