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

rk322x: add ssv6051 driver for kernel 5.10 and 5.15 #3382

Merged
merged 1 commit into from
Jan 7, 2022

Conversation

paolosabatino
Copy link
Contributor

Description

ssv6051 driver has been taken from rockchip kernel 4.4 and adjusted to work on mainline kernel.
This chip is widespread on rk322x tv boxes, but it has been found on some amlogic boards too.

How Has This Been Tested?

  • Compiled and run a debian bullseye minimal with kernel 5.10
  • Compiled debian packages for kernel 5.15 and installed on existing debian bullseye installation

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

@paolosabatino paolosabatino merged commit f3388b9 into armbian:master Jan 7, 2022
@Travis90x
Copy link

Travis90x commented Apr 13, 2024

Compiling "renegade rk3328 2/4gb emmc usb3" and "rock64 rk3328 1/4gb gbe eMMC USB3 SPI" I got this error while include SSV6051.

Error: https://paste.armbian.com/exuriqivuy

[*] Networking support  --->
    <*>  RF switch subsystem support 
	 -*-   Wireless  ---> 
		 <*>   cfg80211 - wireless configuration API
		 <*>   Generic IEEE 802.11 Networking Stack (mac80211)h
 > Device Drivers 
    -> Network device support (NETDEVICES [=y])  
       -> Wireless LAN (WLAN [=y]) 
         <*> South Silicon Valley (ssv) 6051 family WLAN support (SSV6051 [=y])

SSV6051 depends by mac80211, cfg80211, RFKILL.

I was compiling edge kernel, bookworn, CLI standard.
My Tvbox has RK3328 (V88 Piano), after flashing the compiled "rock64" image with Multittol, it won't boot anymore, Multitool doesn't boot too.

The "renegade" flashed before, it worked without LAN/WIFi at 1.3Ghz.
The RK3318 image worked without Wifi but only with rk3318-config as rk3318 at 1.08Ghz (not 1.3Ghz as 3318 and not 1.3Ghz as 3328).

Now I try to connect with USB male-male and press the switch but the PC doesn't recognize it.

@paolosabatino
Copy link
Contributor Author

paolosabatino commented Apr 13, 2024

I see no compilation error from your logs. Instead I see this:

--> (768) ERROR: error! [ Unable to find free loop device  ]
--> (768) ERROR: Cleaning up [ please wait for cleanups to finish ]

which perhaps is an issue about the container/docker hosting the armbian build system (see #6417)

ssv6051 drive compiles fine on edge branch in my case.

For the other issues about the tvbox, please refer to the forums as they are community managed targets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants