Tizen Ports/Samsung A5

Kernel

Firmware

Additional Packages

qrtr

rmtfs

rpmsgexport

SUBSYSTEM!="rpmsg", GOTO="qcom_rpmsg_end"

# symlink rpmsg endpoints under useful names
ATTR{name}=="DATA5_CNTL", SYMLINK+="modem"

# open SMD channels when the remoteproc comes up
KERNEL!="rpmsg_ctrl[0-9]*", GOTO="qcom_rpmsg_end"
ATTRS{rpmsg_name}!="modem|hexagon", GOTO="qcom_rpmsg_end"

ACTION=="add", RUN+="/usr/sbin/rpmsgexport /dev/$name DATA5_CNTL"

LABEL="qcom_rpmsg_end"

pd-mapper

Booting

  • Need kernel + dtb
  • Use ramdisk.img gzipped as initrd
fastboot -c "earlycon cma=256M root=/dev/ram0 rw bootmode=ramdisk" \
    flash:raw boot Image.gz-dtb ramdisk.img.gz

Hardware specifics

GPIO Keys

  • map GPIO key 109 to KEY_MENU (in arch/arm64/boot/dts/qcom/msm8916-samsung-a2015-common.dtsi)

CPU Frequency Scaling

  • replace pass-hal-tm1 with pass-hal-standard

TODO

Mesa

  • disable asserts in src/gallium/drivers/freedreno/freedreno_state.c, line 318:
        // debug_assert(miny >= 0);
        // debug_assert(maxy >= 0);
  • src/freedreno/drm/freedreno_bo.c, line 284:
                if (bo->bo_reuse != NO_CACHE)
                        drmIoctl(bo->dev->fd, DRM_IOCTL_GEM_CLOSE, &req);