Skip to content
Snippets Groups Projects

angler: support Wi-Fi and graphics

Merged Imported Administrator requested to merge zhuowei:huawei-angler into master

Created by: zhuowei

With these patches, the Nexus 6P supports Wi-Fi and almost actually supports Weston.

Issues/questions:

  • Graphics still don't work properly: I had to run while [ ! ]; do cat /sys/class/graphics/fb0/modes > /sys/class/graphics/fb0/mode; done. Not sure how the Nexus 5 fixed this; I guess I can add a patch in Weston to automatically run this (or the equivalent ioctl) every frame. (With that command running, graphics work well.) msm-fb-refresher fixes this
  • (Note that the Android recovery does send this ioctl every frame for double buffering)
  • KGSL is disabled in the kernel, so freedreno won't work, and everything's software rendered. KGSL is not disabled in the kernel anymore, although I haven't enabled the KGSL_DRM compat layer in the kernel yet, nor have I packaged the a440 blobs, so freedreno still won't run. That's for later.
  • Should a kernel have NFS enabled? I had it enabled for testing. - based on review, yes.
  • Wi-Fi uses the blobs from linux-firmware, which are old; I can package the AOSP blobs (used on this device's stock firmware) that are more up to date if you want. (see the discussion on #513 (closed)) newer blobs packaged.
  • The Wi-Fi calibration file is different for various revisions of this hardware; I've added the one that was for my device, but it may not work for earlier/later revisions. Android chooses the correct calibration file at boot in the init.angler.rc.

Tested over an NFS mounted root, but it should work on regular devices.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading