== Artful with patched kernel - upgrade FW ==

== update fw from OS ==
ubuntu@awrep7:~/fw$ uname -a 
Linux awrep7 4.13.0-32-generic #35~lp1746019+test.1 SMP Mon Jan 29 21:45:44 UTC 
2018 aarch64 aarch64 aarch64 GNU/Linux
ubuntu@awrep7:~/fw$ sudo modprobe capsule-loader 
ubuntu@awrep7:~/fw$ sudo su
root@awrep7:/home/ubuntu/fw# cat 0ACJA520.CAP > /dev/efi_capsule_loader 
root@awrep7:/home/ubuntu/fw#

== kernlog message ==
Jan 30 17:07:00 awrep7 kernel: [  541.347822] efi: Successfully upload capsule 
file with reboot type 'RESET_COLD'

== perform cold reset ==
$ ipmitool -I lanplus -H 10.228.66.120 -U admin -P admin chassis power  off
$ ipmitool -I lanplus -H 10.228.66.120 -U admin -P admin chassis power  on

== FW upgrade in process ==
DEBUG Mode : Off
Progress: [5F]
FW Family  : Qualcomm Centriq(TM) 2400
FW Version : XBL.DF.2.0.R1-00705 QDF2400_REL CRM
Build Info : 64b Dec 16 2017 00:23:59
Boot Mode  : Flash update
Checkpoint 78

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1746019

Title:
  [Artful/Bionic] Fix capsule update regression since kernel v4.13.

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  [IMPACT]
  Commit 82c3768b8d68 ("efi/capsule-loader: Use a cached copy of the
  capsule header") refactored the capsule loading code that maps the
  capsule header, to avoid having to map it several times. However,
  as it turns out, the vmap() call we ended up removing did not just
  map the header, but the entire capsule image, and dropping this
  virtual mapping breaks capsules that are processed by the firmware
  immediately (i.e., without a reboot).

  [FIX]
  The following patch fixes the issue
  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/firmware/efi/capsule-loader.c?id=f24c4d478013d82bd1b943df566fff3561d52864

  [TEST]

  [REGRESSION POTENTIAL]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1746019/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to