Public bug reported:

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).

Fix:

Import all the necessary patches (see the pull request below).

How to test:

1) put the board in fastboot mode (see [1])
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:

$ 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.

1:
https://www.96boards.org/documentation/consumer/dragonboard/dragonboard820c/installation
/board-recovery.md.html

** Affects: linux-snapdragon (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Enable the Qualcomm DB820C board

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to