[Bug 1941622] Re: [SRU] Bump unmatched CPU clock rate to 1.2 GHz

Heinrich Schuchardt 1941622 at bugs.launchpad.net
Tue Nov 23 17:58:10 UTC 2021


>> 1) I assume this is a runtime change that happens after updating the u-boot
>> packages on an installed SiFive drive, right? Does the change happen instantly
>> after upgrade of the package? Or on next reboot?

The change is only visible after rebooting.

>> 2) The test case is not too clear about how one checks if the patch is in
>> effect or not. How can one confirm that the effective CPU clock speed is
>> now different? Is it just a matter of `cat /proc/cpuinfo`?

You can check that in U-Boot that the control device tree has the new
setting:

fdt addr $fdtcontroladdr
fdt print

For measuring the actual speed I used package glpk-utils.

I measured the execution time of the command

glpsol -m /usr/share/doc/glpk-utils/examples/tsp.mod

I suggest to check both before and after upgrade.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to u-boot in Ubuntu.
https://bugs.launchpad.net/bugs/1941622

Title:
  [SRU] Bump unmatched CPU clock rate to 1.2 GHz

Status in u-boot package in Ubuntu:
  Fix Released
Status in u-boot source package in Focal:
  Incomplete

Bug description:
  [Impact]

  Bump SiFive Unmatched CPU clock rate from 1.0 GHz to 1.2 GHz as used
  by upstream U-Boot.

  This is the maximum frequency that according to SiFive is stable on
  all boards.

  [Test Plan]

   * System with these patches boots, operates normally without
  overheating. CPU clock speed is increased form 1.0 GHz to 1.2 GHz.

  [Where problems could occur]

   * Overheating, instability, panics. (Should not occur according to
  the board vendor)

  [Other Info]
   
   * wgrant & multiple SiFive forum users report even 1.5 GHz to be stable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/u-boot/+bug/1941622/+subscriptions




More information about the foundations-bugs mailing list