[Bug 1965260] Re: SRU: Detect RAM size automatically

Ɓukasz Zemczak 1965260 at bugs.launchpad.net
Wed Jun 8 14:34:33 UTC 2022


Hello Heinrich, or anyone else affected,

Accepted nezha-boot0 into jammy-proposed. The package will build now and
be available at https://launchpad.net/ubuntu/+source/nezha-
boot0/20220228+g0ad88bf-0ubuntu1~22.04.1 in a few hours, and then in the
-proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
jammy to verification-done-jammy. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-jammy. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Description changed:

  https://github.com/smaeul/sun20i_d1_spl/commits/d1-2022-01-22, commit
  525883d3721f4c4d78b498e780b44e85d0676abf contains patches to detect the
  RAM size automatically.
  
  [Impact]
  
  If the memory is not discovered automatically, the Nezha can't boot
  without an additional memory node in the device tree: the issue is that
  the Nezha boards comes now with 2 different amounts of memory, 1GB or
  2GB. So the additional device tree node can't cover both boards.
  
  It is essential to backport this fix to Jammy as we intend to provide
  first support for the Nezha board in 22.04.1.
  
  [Test Plan]
  
  To test the fix is correct, one can simply use this nezha-boot0 and
  check that the next stage bootloader (u-boot-nezha) advertises the right
  amount of memory for the board, which is displayed at boot right after
  the banner:
  
  U-Boot 2022.04 (Apr 21 2022 - 09:19:39 +0000)
  
  DRAM:  1 GiB
  sunxi_set_gate: (CLK#24) unhandled
  
+ Additionally to that, do general dogfooding to see if the new version
+ still works as expected.
+ 
  [Where problems could occur]
  
  The update will not introduce regressions as this package is *not* used
  since we did not deliver images for the Nezha board yet, support for
  this board is an additional feature scheduled for 22.04.1.
  
  [Other Info]
  
  Note that this only fixes the memory detection from boot0 to u-boot,
  another similar patch is needed for u-boot-nezha to patch the kernel
  device tree.
+ 
+ Note #2: the SRU backports more than just the fix, see comment #10.

** Changed in: nezha-boot0 (Ubuntu Jammy)
       Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-jammy

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1965260

Title:
  SRU: Detect RAM size automatically

Status in nezha-boot0 package in Ubuntu:
  Fix Released
Status in nezha-boot0 source package in Jammy:
  Fix Committed

Bug description:
  https://github.com/smaeul/sun20i_d1_spl/commits/d1-2022-01-22, commit
  525883d3721f4c4d78b498e780b44e85d0676abf contains patches to detect
  the RAM size automatically.

  [Impact]

  If the memory is not discovered automatically, the Nezha can't boot
  without an additional memory node in the device tree: the issue is
  that the Nezha boards comes now with 2 different amounts of memory,
  1GB or 2GB. So the additional device tree node can't cover both
  boards.

  It is essential to backport this fix to Jammy as we intend to provide
  first support for the Nezha board in 22.04.1.

  [Test Plan]

  To test the fix is correct, one can simply use this nezha-boot0 and
  check that the next stage bootloader (u-boot-nezha) advertises the
  right amount of memory for the board, which is displayed at boot right
  after the banner:

  U-Boot 2022.04 (Apr 21 2022 - 09:19:39 +0000)

  DRAM:  1 GiB
  sunxi_set_gate: (CLK#24) unhandled

  Additionally to that, do general dogfooding to see if the new version
  still works as expected.

  [Where problems could occur]

  The update will not introduce regressions as this package is *not*
  used since we did not deliver images for the Nezha board yet, support
  for this board is an additional feature scheduled for 22.04.1.

  [Other Info]

  Note that this only fixes the memory detection from boot0 to u-boot,
  another similar patch is needed for u-boot-nezha to patch the kernel
  device tree.

  Note #2: the SRU backports more than just the fix, see comment #10.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nezha-boot0/+bug/1965260/+subscriptions




More information about the Ubuntu-sponsors mailing list