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
  PinePhone - boot from microSD laserpyramid 5 299 03-06-2024, 06:37 PM
Last Post: aular
  Are you using the Pinephone as your daily driver? jro 157 105,110 02-18-2024, 11:33 PM
Last Post: aular
  2020 PinePhone Manjaro CE EU for sale, name your price astrojuanlu 7 1,524 02-14-2024, 04:51 PM
Last Post: astrojuanlu
  pinephone is not bootble for the box. ijij 1 461 01-19-2024, 01:29 PM
Last Post: fxc
  Multiple issues with the Pinephone MTXP 12 1,938 12-28-2023, 07:55 AM
Last Post: MTXP
  pinephone repair shop shengchieh 0 383 12-26-2023, 02:42 PM
Last Post: shengchieh
  sudo nano file saving pinephone beta edition CharlesGnarley 4 1,479 12-22-2023, 03:44 PM
Last Post: Kevin Kofler
  Can't get Mobian on PinePhone to recognise USB-C docking bar duncan_bayne 9 6,602 12-04-2023, 02:14 AM
Last Post: Peter Gamma
  Pinephone not booting, always vibrating alexander12 7 4,668 11-22-2023, 06:46 PM
Last Post: Scary Guy
  Pinephone on Verizon chachi 3 992 10-09-2023, 11:26 AM
Last Post: alaraajavamma

Forum Jump:


Users browsing this thread: 1 Guest(s)