Binary blobs in the PinePhone
#1
I'm trying to figure out what binary blobs exist in the PinePhone.

The Allwinner A64 has many GPL violations:

Quote:Kernel:
  • lichee/linux-3.10/modules/aw_schw/libschw
  • lichee/linux-3.10/modules/nand/sun50iw1p1/libnand_sun50iw1p1
  • lichee/linux-3.10/drivers/input/touchscreen/aw5x06/libAW5306
  • lichee/linux-3.10/drivers/video/sunxi/disp2/hdmi/libhdmi_sun50iw1
  • lichee/linux-3.10/drivers/media/platform/sunxi-vfe/lib/lib{isp,mipicsi2_v1,mipicsi2_v2}
U-Boot:
(Only u-boot-2014.07 is checked here)
  • lichee/brandy/u-boot-2014.07/arch/arm/cpu/armv8/wine/dram/libdram-homlet
  • lichee/brandy/u-boot-2014.07/arch/arm/cpu/armv8/wine/dram/libdram-pad
  • lichee/brandy/u-boot-2014.07/arch/arm/cpu/armv7/sun50iw1p1/dram/libchipid
  • lichee/brandy/u-boot-2014.07/arch/arm/cpu/armv7/sun50iw1p1/dram/libdram
  • lichee/brandy/u-boot-2014.07/drivers/video/sunxi/disp2/hdmi/libhdmi_sun50iw1
  • lichee/brandy/u-boot-2014.07/nand_sunxi/sun50iw1p1/libnand-sun50iw1p1

Allwinner is using binary blobs for the Flash memory, HDMI, DRAM, MIPI CSI interface and touchscreen. The question is whether all of these binary blobs have been removed in mainline Linux. Does anyone have links to the files so I can check?

The Realtek RTL8723CS Wi-Fi/Bluetooth chip requires proprietary firmware in the /lib/firmware directory.

Are there any other components that require binary blobs?
#2
Interesting question, thanks for asking Smile

I'm interested in this information as well!
PinePhone (BH 2GB + CE 3GB) // RockPro64 4GB (rev. 2.1) - OMV NAS // PineH64 3GB (model B) - off-prem OMV NAS // Pine64-LTS 2GB (rev. 1.2 + Playbox) - Domotics server
#3
(12-18-2019, 07:50 AM)amosbatto Wrote: ...
The question is whether all of these binary blobs have been removed in mainline Linux. Does anyone have links to the files so I can check?
...

Do you really need a link for 5.4.x kernel source? Big Grin
#4
The Manjaro Arm team has announced on their forums an Alpha image for the Phone/Tab. Another person has already requested the repo to potentially contribute. You may check there when the repo link is posted.
#5
(12-18-2019, 07:50 AM)amosbatto Wrote: I'm trying to figure out what binary blobs exist in the PinePhone.

The Allwinner A64 has many GPL violations:

Quote:Kernel:
  • lichee/linux-3.10/modules/aw_schw/libschw
  • lichee/linux-3.10/modules/nand/sun50iw1p1/libnand_sun50iw1p1
  • lichee/linux-3.10/drivers/input/touchscreen/aw5x06/libAW5306
  • lichee/linux-3.10/drivers/video/sunxi/disp2/hdmi/libhdmi_sun50iw1
  • lichee/linux-3.10/drivers/media/platform/sunxi-vfe/lib/lib{isp,mipicsi2_v1,mipicsi2_v2}
U-Boot:
(Only u-boot-2014.07 is checked here)
  • lichee/brandy/u-boot-2014.07/arch/arm/cpu/armv8/wine/dram/libdram-homlet
  • lichee/brandy/u-boot-2014.07/arch/arm/cpu/armv8/wine/dram/libdram-pad
  • lichee/brandy/u-boot-2014.07/arch/arm/cpu/armv7/sun50iw1p1/dram/libchipid
  • lichee/brandy/u-boot-2014.07/arch/arm/cpu/armv7/sun50iw1p1/dram/libdram
  • lichee/brandy/u-boot-2014.07/drivers/video/sunxi/disp2/hdmi/libhdmi_sun50iw1
  • lichee/brandy/u-boot-2014.07/nand_sunxi/sun50iw1p1/libnand-sun50iw1p1

Allwinner is using binary blobs for the Flash memory, HDMI, DRAM, MIPI CSI interface and touchscreen. The question is whether all of these binary blobs have been removed in mainline Linux. Does anyone have links to the files so I can check?

The Realtek RTL8723CS Wi-Fi/Bluetooth chip requires proprietary firmware in the /lib/firmware directory.

Are there any other components that require binary blobs?

The PinePhone developers work on mainlinux and don't use Allwinner BSP SDK which you have posted. I believed the mainline code is GPL compliance and there is no binary blobs. For more info, please explore on Linux-Sunix (https://linux-sunxi.org/Main_Page). I sincerely appreciates, solutes, and thanks on Linux Sunxi developers contribution, the PinePhone can happens due to their effort.
#6
(12-18-2019, 10:42 AM)tophneal Wrote: The Manjaro Arm team has announced on their forums an Alpha image for the Phone/Tab. Another person has already requested the repo to potentially contribute. You may check there when the repo link is posted.

According to Manjaro, they are using the Linux kernel found at:
https://gitlab.com/pine64-org

Unfortunately, I'm not sure what are the binary blob files are, so I'm not sure what to search for.
#7
I'm sure they'd be willing to answer your question on the Manjaro arm forum. They're quite responsive.
#8
The kernel repo doesn't contain any blobs, like it should be.

The only thing that's a bit on the edge is that the rtl8723cs contains the firmware patch that's sent to the wifi chip in the C source as an array.

We're not using the allwinner code, we're using the reverse-engineered sunxi code.
#9
That's as I expected, but good to hear confirmation, thanks. This blog post has a section on blobs saying much the same about the kernel. It also says the uboot uses a sunxi alternative to the blob for dram init. There's some history of the mainline uboot support on the sunxi A64 page.
#10
(12-18-2019, 07:50 AM)amosbatto Wrote: I'm trying to figure out what binary blobs exist in the PinePhone.


I asked on postmarketos irc if there is any non free software in
their software? They said no. Except for the wifi card firmware, which
is non free software. You can deselect the wifi card firmware when
you compile postmarketos. Then all devices, not the wifi card, will work on the
pinephone. Some graphic features might not work at their best because
that would require pieces of non free software, which postmarketos has refrained
from.

The modem and gps require non free software. The non free software in question
is located on the usb modem chip.

If replicant decides to port replicant to the pinephone, they will utilize
usbguard.
https://usbguard.github.io/
In order to improve privacy and security. You can ask postmarketos, if
they also want to utilize usbguard.


Possibly Related Threads…
Thread Author Replies Views Last Post
  eSIM on PinePhone just_a_q 8 4,675 11-05-2024, 11:10 AM
Last Post: zetabeta
  Want to buy second hand PinePhone 3G version rudi.timmermans 0 172 11-01-2024, 09:58 AM
Last Post: rudi.timmermans
  Can use PlayStation on Pinephone? willharper 6 5,676 10-30-2024, 08:07 AM
Last Post: biketool
  Ordered PinePhone till today have no info or confirmation about order hennadiyt 1 359 10-05-2024, 02:20 PM
Last Post: KC9UDX
  US Mobile, via T-Mobile, won't support Pinephone Pro - SOLVED, SIMPLY jovval 11 5,761 07-28-2024, 03:42 PM
Last Post: dchang0
  How can I record video on a Pinephone? kk22 18 7,206 07-22-2024, 05:18 PM
Last Post: baptx
  Pinephone not booting, always vibrating alexander12 8 6,881 07-19-2024, 07:50 PM
Last Post: Blackheart
  PinePhone Pro P. Siera 2 825 07-17-2024, 12:41 AM
Last Post: P. Siera
  PinePhone Boots but only Shows Black Screen with Backlight danyeaw 1 688 06-30-2024, 10:18 AM
Last Post: danyeaw
  Pinephone won't boot. spha 13 5,898 05-15-2024, 10:31 PM
Last Post: Richy_T

Forum Jump:


Users browsing this thread: 3 Guest(s)