Jump to content

[Pull Request] - WIP Support for OrangePi4 LTS board


RSS Bot
 Share

Recommended Posts

Description

This PR adds support for kernel 5.15 and 5.17 for Orange Pi 4 LTS board. Work is mostly based upon existing Orange Pi 4 device tree and code. The LTS board differs from the ancestor because uses Spreadtrum/Unisoc uwe5622 wifi/bluetooth chip and es8316c sound codec.

uwe5622 wifi patches have been brought in from allwinner family patches and enabled via kernel config modifications. Some other minor fixes have been brought in to avoid kernel warnings or trivial errors. Wifi part is working, bluetooth part is not yet ready because the kernel driver crashes and thus has been disabled. The Unisoc driver is suboptimal since it is not very compliant against kernel guidelines. Also requires a "glue" part that is forcefully built in kernel. Wifi and bluetooth drivers are instead compiled as modules.

Kernel device tree has been modified accordingly to match the differences from base Orange Pi 4 board, instead u-boot device tree and config is shared with the base board since there are no changes at mass storage level.

note: legacy kernel has been disabled, since I didn't find any Orange Pi 4 reference for legacy, I guessed that support for such flavour is phasing out in favour of mainline.

Jira reference number AR-1182

How Has This Been Tested?

The hardware has been briefly tested and requires some more tests to ensure that basic devices functionality are all there, but it is stable and dmesg is clean.

  • [x] Build and test Debian Bullseye minimal image
  • [ ] Build and test Ubuntu Jammy desktop image
  • [x] Test analog audio
  • [ ] Test WiFi connection, throughput and stability
  • [ ] Test HDMI audio
  • [ ] Test USB3 compatibility and functionality
  • [ ] Test eMMC installation and boot

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [x] I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [x] Any dependent changes have been merged and published in downstream modules

View the full article

Link to comment
Share on other sites

Donate and support the project!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...