Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft: Banana Pi R2 (CSC) current and edge #4873

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

martinl
Copy link

@martinl martinl commented Feb 26, 2023

Description

  • Fix legacy u-boot patch, update to use v2022.07
  • Remove unreliable onboard bt/wifi driver
  • Add current target (5.10) - works and tested on SD with minimal image
  • Add edge target (6.1) - hangs at boot

TODO

  • test eMMC install
  • test HDMI output
  • resolve 6.1 hang/oops
  • remove legacy target

Jira reference number [AR-9999]

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

  • Install legacy image on SD, boot OK
  • Install current image on SD, boot OK
  • network: configure DSA switch as router (wan, br0: lan0..3)
  • network: mPCI wifi (ath10k) + USB wifi (rt2800usb)

Checklist:

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

@martinl martinl marked this pull request as draft February 26, 2023 18:50
@martinl
Copy link
Author

martinl commented Feb 26, 2023

Also reviewing if openwrt has any useful patches https://github.com/openwrt/openwrt/pull/3101/files

@adeepn
Copy link
Member

adeepn commented Feb 26, 2023

You can use frank-w kernel from https://github.com/frank-w/BPI-Router-Linux/ branch 5.15-main or 6.1-main

@martinl
Copy link
Author

martinl commented Feb 26, 2023

Thanks, I'll take a look at 6.1-main

Also, adding second gmac without multicpu DSA for wan interface looks interesting for router usecase:
https://github.com/openwrt/openwrt/pull/10238/files

@adeepn
Copy link
Member

adeepn commented Feb 27, 2023

Also, adding second gmac without multicpu DSA for wan interface looks interesting for router usecase: https://github.com/openwrt/openwrt/pull/10238/files

You can prepare patches for PR

I can help with testing in the second part of March

@martinl
Copy link
Author

martinl commented Feb 27, 2023

Looks like frank-w has already figured out adding the second gmac frank-w/BPI-Router-Linux@ddcb74f

@martinl
Copy link
Author

martinl commented May 2, 2023

I'm currently working on building bpi-r2 edge u-boot v2023.01 and 6.2 kernel config based on openSUSE tumbleweed jeos (that also supports many other arm sbc-s along with bpi-r2 and is currently using 6.2.1 mainline with some arm relevant patches)

opensuse dmesg:
bpi-r2-opensuse-tumbleweed-dmesg.txt

@igorpecovnik
Copy link
Member

Can this be pushed forward?

@igorpecovnik igorpecovnik added the Backlog Stalled work that needs to be completed label Nov 15, 2023
@adeepn
Copy link
Member

adeepn commented Nov 15, 2023

I'll try to pick this up after I move to my new apartment and free up my r2. Seems not before 2024Q1

@igorpecovnik igorpecovnik added the 02 Milestone: First quarter release label Nov 15, 2023
@adeepn adeepn added 05 Milestone: Second quarter release and removed 02 Milestone: First quarter release labels Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
05 Milestone: Second quarter release Backlog Stalled work that needs to be completed
Development

Successfully merging this pull request may close these issues.

None yet

3 participants