User:Wens

From linux-sunxi.org
Jump to navigation Jump to search

Mali 400/450 Binary Driver

Mali binary driver r7p0 for Mali-450 targeting X11 on aarch64

  1. Build the kernel driver found at here
  2. Fetch r7p0 userspace binary from here
  3. Configure permissions for /dev/mali in /etc/udev/rules.d/mali.rules
KERNEL=="mali", MODE="0660", GROUP="video"
  1. Set module parameter for drm_kms_helper
 drm_kms_helper.drm_fbdev_overalloc=200
  1. Build and install xf86-video-armsoc from here
  2. For /etc/X11/xorg.conf
Section "Device"
        Identifier "ARMSOC"
        Driver "armsoc"
        Option "DRI2" "true"
EndSection


SD/MMC

This table is based on Allwinner datasheets and usage patterns. For example, mmc0 is always used for SD cards. mmc1 is always used for SDIO. mmc2 and mmc3 are used for embedded SD or eMMC chips.

SoC Controller SD ver. MMC ver. SDIO UHS-1 DDR Max clk. 1.8V (separate power rail) 8-bit
SDR DDR
A10 3.0 4.3 Yes Yes Yes 52 MHz Yes No
A10s 3.0 4.3 Yes Yes No No seperate pingroup supply
A13 3.0 4.3 Yes Yes No No seperate pingroup supply
A20 3.0 4.3 Yes Yes Yes 52 MHz Yes No
A23 3.0 4.41 Yes ? No 52 MHz No seperate pingroup supply SDC2 only
A31 MMC0 3.0 4.5 No Yes Yes 100 MHz Yes No
MMC1 2.0 N/A Yes No Yes 100 MHz Yes No
MMC2 3.0 4.5 No Yes Yes 100 MHz Yes Yes (but no DDR)
MMC3 3.0 4.5 No Yes Yes 100 MHz Yes Yes
A31s 3.0 4.5 Yes Yes Yes 100 MHz Yes SDC3 only
A33 2.0 4.41 Yes No No 50 MHz No SDC2 only
A80 3.0 4.5 Yes Yes 200 MHz Yes SDC2 only
A83 2.0 4.41 Yes No Yes 50 MHz No SDC2 only
H3 MMC0 2.0 N/A No Yes No 50 MHz No No
MMC1 3.0 N/A Yes Yes ??? 50 MHz Yes No
MMC2 N/A 4.41 No Yes Yes 50 MHz 50 MHz No Yes
A64 MMC0 3.0 N/A No Maybe Yes 200 MHz 50 MHz Yes No
MMC1 3.0 N/A Yes Maybe Yes 200 MHz 50 MHz Yes No
MMC2 3.0 5.0 No Maybe Yes 200 MHz 150 MHz Yes Yes
H5 MMC0 2.0 N/A No No No 50 MHz N/A No No
MMC1 3.0 N/A Yes Maybe Yes 150 MHz 50 MHz Yes No
MMC2 3.0 5.1 No Maybe Yes 150 MHz 100 MHz Yes Yes

Hardware I have

  • Including LCD touchpanel and VGA converter module
  • Including dual camera module and LCD touchpanel

Accessories

  • Camera sensors
  • OV5640 for Banana Pi M2+/M64/R40
  • OV5640/OV8865 dual camera module for Banana Pi M3
  • GC2035 camera sensor module for Orange Pi's