Wind River Support Network

HomeDefectsLIN1018-3371
Fixed

LIN1018-3371 : Integrate upstream fix for pll clocks rate calculation

Created: Jan 13, 2019    Updated: May 28, 2019
Resolved Date: Jan 31, 2019
Found In Version: unknown
Fix Version: 10.18.44.4
Severity: Standard
Applicable for: Wind River Linux LTS 18
Component/s: BSP

Description

The following fix for pll clocks rate calculation is available upstream on altera-opensource and it is essential for Stratix 10 HPS to work correctly:
https://github.com/altera-opensource/linux-socfpga/commit/23d4f7b2c6000e095399a6266ef35c213f93649e
"The main PLL calculation has a mistake. We should be using the multiplying the VCO frequency, not the parent clock frequency."

We should add it into the product as well.

BSP: ./wrlinux-x/setup.sh --machines intel-socfpga-64b  

Steps to Reproduce

To build the project:
./wrlinux-x/setup.sh --machines intel-socfpga-64b
set environment
copy attached local.conf in <prj-dir>/build/conf.local.conf
bitbake wrlinux-image-glibc-core 
(for the image)
I have only checked that the source code has the vco_freq defined against parent_rate, not vco_freq
Live chat
Online