** Description changed:

  Impact:
  
- The bionic/snapdragon kernel should work on qcom410 and qcom820
- chipsets, but due to some bugs, it never booted on any qcom820 board
- (e.g. Qualcomm DB820C APQ8096).
+ Altough the Bionic/snapdragon kernel contains the BSP from the Qualcomm 
landing
+ tree kernel[1], it didn't work on Snapdragon 820 based board (e.g.  Qualcomm
+ DB820C APQ8096).
  
  Fix:
  
- Import all the necessary patches (see the pull request below).
+ Import the necessary patches to make it boot on such board (and clones).
  
  How to test:
  
- 1) put the board in fastboot mode (see [1])
+ 1) put the board in fastboot mode (see [2])
  2) generate a compatible boot.img:
  
  $ cat linux/arch/arm64/boot/Image.gz 
linux/arch/arm64/boot/dts/qcom/apq8096-db820c.dtb > Image.gz+dtb
  $ touch ramdisk
  $ python android/system/core/mkbootimg/mkbootimg.py --kernel Image.gz+dtb 
--ramdisk ramdisk --pagesize 4096 --base 0x80000000 --kernel_offset 0x8000 
--ramdisk_offset 0x1000000 --tags_offset 0x100 --cmdline 
'console=ttyMSM0,115200n8 root=/dev/sda1 net.ifnames=0 
init=/lib/systemd/systemd ro rootwait rng_core.default_quality=700 panic=-1 
fixrtc earlyprintk earlycon=msm_serial_dm,0x75b0000' --output 
bionic-snapdragon-db820c-boot.img
  
- 3) fastboot the board using the freshly generated boot.img:
+ 3) boot the board using the generated boot.img:
  
  $ fastboot boot bionic-snapdragon-db820c-boot.img
  
  Regression potential:
  
- With new code there's always a degree of regression potential, but all
- patches (but one) were cherry-picked from Linus's upstream tree, and the
- only external one, came direclty from the qcom-lt 4.14 tree.
+ With new code there's always a degree of regression potential, but all patches
+ (but one) came from Linus's upstream tree, and the only external one, came
+ direclty from the qcom-lt 4.14 tree.
  
- 1:
- 
https://www.96boards.org/documentation/consumer/dragonboard/dragonboard820c/installation
- /board-recovery.md.html
+ 1: 
https://git.linaro.org/landing-teams/working/qualcomm/kernel.git/log/?h=release/qcomlt-4.14
+ 2: 
https://www.96boards.org/documentation/consumer/dragonboard/dragonboard820c/installation/board-recovery.md.html

** Description changed:

  Impact:
  
- Altough the Bionic/snapdragon kernel contains the BSP from the Qualcomm 
landing
- tree kernel[1], it didn't work on Snapdragon 820 based board (e.g.  Qualcomm
- DB820C APQ8096).
+ Altough the Bionic/snapdragon kernel contains the BSP from the Qualcomm
+ landing tree kernel[1], it didn't work on Snapdragon 820 based board
+ (e.g.  Qualcomm DB820C APQ8096).
  
  Fix:
  
  Import the necessary patches to make it boot on such board (and clones).
  
  How to test:
  
  1) put the board in fastboot mode (see [2])
  2) generate a compatible boot.img:
  
  $ cat linux/arch/arm64/boot/Image.gz 
linux/arch/arm64/boot/dts/qcom/apq8096-db820c.dtb > Image.gz+dtb
  $ touch ramdisk
  $ python android/system/core/mkbootimg/mkbootimg.py --kernel Image.gz+dtb 
--ramdisk ramdisk --pagesize 4096 --base 0x80000000 --kernel_offset 0x8000 
--ramdisk_offset 0x1000000 --tags_offset 0x100 --cmdline 
'console=ttyMSM0,115200n8 root=/dev/sda1 net.ifnames=0 
init=/lib/systemd/systemd ro rootwait rng_core.default_quality=700 panic=-1 
fixrtc earlyprintk earlycon=msm_serial_dm,0x75b0000' --output 
bionic-snapdragon-db820c-boot.img
  
  3) boot the board using the generated boot.img:
  
  $ fastboot boot bionic-snapdragon-db820c-boot.img
  
  Regression potential:
  
- With new code there's always a degree of regression potential, but all patches
- (but one) came from Linus's upstream tree, and the only external one, came
- direclty from the qcom-lt 4.14 tree.
+ With new code there's always a degree of regression potential, but all
+ patches (but one) came from Linus's upstream tree, and the only external
+ one, came direclty from the qcom-lt 4.14 tree.
  
  1: 
https://git.linaro.org/landing-teams/working/qualcomm/kernel.git/log/?h=release/qcomlt-4.14
  2: 
https://www.96boards.org/documentation/consumer/dragonboard/dragonboard820c/installation/board-recovery.md.html

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

Title:
  Initial support for Qualcomm Snapdragon 820 chipset

Status in linux-snapdragon package in Ubuntu:
  New

Bug description:
  Impact:

  Although the Bionic/snapdragon kernel contains the BSP from the
  Qualcomm landing tree kernel[1], it didn't work on Snapdragon 820
  based board (e.g.  Qualcomm DB820C APQ8096).

  Fix:

  Import the necessary patches to make it boot on such a board (and
  clones).

  How to test:

  1) put the board in fastboot mode (see [2])
  2) generate a compatible boot.img:

  $ cat linux/arch/arm64/boot/Image.gz 
linux/arch/arm64/boot/dts/qcom/apq8096-db820c.dtb > Image.gz+dtb
  $ touch ramdisk
  $ python android/system/core/mkbootimg/mkbootimg.py --kernel Image.gz+dtb 
--ramdisk ramdisk --pagesize 4096 --base 0x80000000 --kernel_offset 0x8000 
--ramdisk_offset 0x1000000 --tags_offset 0x100 --cmdline 
'console=ttyMSM0,115200n8 root=/dev/sda1 net.ifnames=0 
init=/lib/systemd/systemd ro rootwait rng_core.default_quality=700 panic=-1 
fixrtc earlyprintk earlycon=msm_serial_dm,0x75b0000' --output 
bionic-snapdragon-db820c-boot.img

  3) boot the board using the generated boot.img:

  $ fastboot boot bionic-snapdragon-db820c-boot.img

  Regression potential:

  With new code there's always a degree of regression potential, but all
  patches (but one) came from Linus's upstream tree, and the only
  external one, came direclty from the qcom-lt 4.14 tree.

  1: 
https://git.linaro.org/landing-teams/working/qualcomm/kernel.git/log/?h=release/qcomlt-4.14
  2: 
https://www.96boards.org/documentation/consumer/dragonboard/dragonboard820c/installation/board-recovery.md.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-snapdragon/+bug/1832012/+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