Giter Club home page Giter Club logo

Comments (18)

KonstaT avatar KonstaT commented on August 18, 2024 1

KMS driver doesn't support DSI connector the official display panel uses. You would need to ask Pi Foundation what their plans are with this.

I am also interested in this. Maybe we should try and port this from the Raspbian image

Raspberry Pi OS uses FKMS (that supports DSI), not KMS that is used on Android.

There's was recently some patches merged for this on 5.9/5.10 kernel (raspberrypi/linux#3954). You can try to backport to 5.4 if you like.

from device_arpi_rpi4.

mayingbin avatar mayingbin commented on August 18, 2024

@peyo-hd , please help with this problem, waiting for your reply. thanks.

from device_arpi_rpi4.

peyo-hd avatar peyo-hd commented on August 18, 2024

v3d MMU errors has been observed. no fix yet from community. waiting it's stabilized by raspberry pi foundation.

Regarding bluetooth crash, check following point.
https://github.com/android-rpi/device_arpi_rpi4/wiki/Android-10-:-patch-framework-source#disable-low-power-mode-of-bluetooth

Maybe need analysis by yourself.

from device_arpi_rpi4.

mayingbin avatar mayingbin commented on August 18, 2024

Hi,peyo-hd:
I add android10 framework patch,
Now bluetooth no crash. But blocked the gsid operation,and try twice timeout:
type=1400 audit(1600511868.159:32): avc: denied { open } for comm="gsid" path="/dev/stune/foreground/tasks" dev="tmpfs" ino=10617 scontext=u:r:gsid:s0 tcontext=u:object_r:device:s0 tclass=file permissive=1
Do you have some idea?@peyo-hd

[ 23.574679] init: Async property child exited with status 0
[ 23.585234] selinux: SELinux: Skipping restorecon on directory(/data/vendor_ce/0)
[ 23.585234]
[ 23.597764] init: Async property child exited with status 0
[ 23.608097] selinux: SELinux: Skipping restorecon on directory(/data/misc_ce/0)
[ 23.608097]
[ 23.620709] init: Async property child exited with status 0
[ 23.974195] apexd: Can't open /product/apex for reading : No such file or directory
[ 24.035131] type=1400 audit(1600511863.469:29): avc: denied { open } for comm="[email protected]" path="/lib/firmware/brcm/BCM4345C0.hcd" dev="mmcblk0p2" ino=34 scontext=u:r:hal_bluetooth_default:s0 tcontext=u:object_r:rootfs:s0 tclass=file permissive=1
[ 24.062428] type=1400 audit(1600511867.779:30): avc: denied { watch } for comm="Thread-8" path="/data/tombstones" dev="mmcblk0p4" ino=8200 scontext=u:r:system_server:s0 tcontext=u:object_r:tombstone_data_file:s0 tclass=dir permissive=1
[ 24.324613] init: Received control message 'start' for 'gsid' from pid: 344 (system_server)
[ 24.336385] init: starting service 'gsid'...
[ 24.411610] type=1400 audit(1600511867.779:30): avc: denied { watch } for comm="Thread-8" path="/data/tombstones" dev="mmcblk0p4" ino=8200 scontext=u:r:system_server:s0 tcontext=u:object_r:tombstone_data_file:s0 tclass=dir permissive=1
[ 24.433967] type=1400 audit(1600511868.159:31): avc: denied { write } for comm="gsid" name="tasks" dev="tmpfs" ino=10617 scontext=u:r:gsid:s0 tcontext=u:object_r:device:s0 tclass=file permissive=1
[ 24.435561] init: Received control message 'stop' for 'gsid' from pid: 344 (system_server)
[ 24.452760] type=1400 audit(1600511868.159:31): avc: denied { write } for comm="gsid" name="tasks" dev="tmpfs" ino=10617 scontext=u:r:gsid:s0 tcontext=u:object_r:device:s0 tclass=file permissive=1
[ 24.460551] init: Sending signal 9 to service 'gsid' (pid 944) process group...
[ 24.478629] type=1400 audit(1600511868.159:32): avc: denied { open } for comm="gsid" path="/dev/stune/foreground/tasks" dev="tmpfs" ino=10617 scontext=u:r:gsid:s0 tcontext=u:object_r:device:s0 tclass=file permissive=1
[ 78.335983] type=1400 audit(1600511868.159:32): avc: denied { open } for comm="gsid" path="/dev/stune/foreground/tasks" dev="tmpfs" ino=10617 scontext=u:r:gsid:s0 tcontext=u:object_r:device:s0 tclass=file permissive=1

[ 78.355771] type=1400 audit(1600511922.079:33): avc: denied { associate } for comm="Binder:199_3" name="globalAlert" scontext=u:object_r:proc_net:s0 tcontext=u:object_r:proc:s0 tclass=filesystem permissive=1

from device_arpi_rpi4.

mayingbin avatar mayingbin commented on August 18, 2024

hi,@peyo-hd
And android11,boot process is blocked,no log after 29.931911
It is so weird,the log don't have crash or process died,
Do you have some idea?the whole log: log3.txt
waiting for your reply.

[ 18.141753] init: processing action (sys.sysctl.extra_free_kbytes=*) from (/system/etc/init/hw/init.rc:1002)
[ 20.294058] bcmgenet: Skipping UMAC reset
[ 20.300257] bcmgenet fd580000.ethernet: configuring instance for external RGMII
[ 20.308838] bcmgenet fd580000.ethernet eth0: Link is Down
[ 20.351035] type=1400 audit(1600768880.403:24): avc: denied { read } for comm="Binder:183_2" name="wakeup0" dev="sysfs" ino=13590 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=1
[ 20.371303] type=1400 audit(1600768880.403:25): avc: denied { open } for comm="Binder:183_2" path="/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/wakeup/wakeup0" dev="sysfs" ino=13590 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=1
[ 21.874913] type=1400 audit(1600768881.927:26): avc: denied { read } for comm="Binder:183_2" name="wakeup0" dev="sysfs" ino=13590 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=1
[ 21.895255] type=1400 audit(1600768881.927:27): avc: denied { open } for comm="Binder:183_2" path="/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/wakeup/wakeup0" dev="sysfs" ino=13590 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=1
[ 21.924969] type=1400 audit(1600768881.927:28): avc: denied { read } for comm="Binder:183_2" name="event_count" dev="sysfs" ino=13597 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[ 21.949656] type=1400 audit(1600768881.927:29): avc: denied { open } for comm="Binder:183_2" path="/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/wakeup/wakeup0/event_count" dev="sysfs" ino=13597 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[ 21.978898] type=1400 audit(1600768881.927:30): avc: denied { getattr } for comm="Binder:183_2" path="/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/wakeup/wakeup0/event_count" dev="sysfs" ino=13597 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[ 22.028941] type=1400 audit(1600768882.083:31): avc: denied { associate } for comm="Binder:202_4" name="globalAlert" scontext=u:object_r:proc_net:s0 tcontext=u:object_r:proc:s0 tclass=filesystem permissive=1
[ 22.214428] type=1400 audit(1600768882.267:32): avc: denied { read } for comm="Binder:183_2" name="wakeup0" dev="sysfs" ino=13590 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=1
[ 22.237961] type=1400 audit(1600768882.267:33): avc: denied { open } for comm="Binder:183_2" path="/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/wakeup/wakeup0" dev="sysfs" ino=13590 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=1
[ 23.288194] uart-pl011 fe201000.serial: no DMA platform data
[ 23.363051] perfetto: enabled ftrace
[ 23.806758] init: Service 'bootanim' (pid 333) exited with status 0 oneshot service took 15.677000 seconds in background
[ 23.819201] init: Sending signal 9 to service 'bootanim' (pid 333) process group...
[ 23.827861] libprocessgroup: Successfully killed process cgroup uid 1003 pid 333 in 0ms
[ 23.911173] init: processing action (sys.boot_completed=1) from (/system/etc/init/hw/init.rc:993)
[ 23.924505] init: starting service 'exec 14 (/bin/rm -rf /data/per_boot)'...
[ 23.943365] init: SVC_EXEC service 'exec 14 (/bin/rm -rf /data/per_boot)' pid 831 (uid 1000 gid 1000+0 context default) started; waiting...
[ 23.958911] v3d fec00000.v3d: MMU error from client ? (13) at 0x4a5b000, pte invalid
[ 24.017501] init: Service 'exec 14 (/bin/rm -rf /data/per_boot)' (pid 831) exited with status 0 waiting took 0.074000 seconds
[ 24.029413] init: Sending signal 9 to service 'exec 14 (/bin/rm -rf /data/per_boot)' (pid 831) process group...
[ 24.040376] libprocessgroup: Successfully killed process cgroup uid 1000 pid 831 in 0ms
[ 24.050723] init: processing action (sys.boot_completed=1 && sys.bootstat.first_boot_completed=0) from (/system/etc/init/bootstat.rc:77)
[ 29.931911] perfetto: disabled ftrace

from device_arpi_rpi4.

mayingbin avatar mayingbin commented on August 18, 2024

I use pi 4B(8G Ram) and official 7” display (800*480) touch screen.

from device_arpi_rpi4.

mayingbin avatar mayingbin commented on August 18, 2024

Hi, android-rpi teams:
Is the follow log related to the display?[drm] Cannot find any crtc or sizes
when boot, the 7 touch screen, display rainbow and then always black.

from device_arpi_rpi4.

mayingbin avatar mayingbin commented on August 18, 2024

Hi, android-rpi teams:
Finally,android boot successfully with hdmi,but doesn‘t support the offical 7” display (800*480) touch screen with dsi.
([drm] Cannot find any crtc or sizes)
Do you encounter this problem,have some idea to support dsi display?

from device_arpi_rpi4.

saurabhin25 avatar saurabhin25 commented on August 18, 2024

from device_arpi_rpi4.

mayingbin avatar mayingbin commented on August 18, 2024

@saurabhin25 which build.prop,could you give the dir?

from device_arpi_rpi4.

saurabhin25 avatar saurabhin25 commented on August 18, 2024

from device_arpi_rpi4.

mayingbin avatar mayingbin commented on August 18, 2024

Hi,saurabhin25,
vendor dir just have RpLauncher APP src.
After android boot,settingprovider just don’t have the smallest width options.

the setting:
rBAoL19q6paAG0LEADp6w2p1DAU625

from device_arpi_rpi4.

mayingbin avatar mayingbin commented on August 18, 2024

For 7” display (800*480) touch screen, I change device/arpi/rpi4/rpi4.mk debug.drm.mode.force 1280x720 by default to 800x480,
when android boot,still [drm] Cannot find any crtc or sizes
whether I should config something other?

from device_arpi_rpi4.

saurabhin25 avatar saurabhin25 commented on August 18, 2024

from device_arpi_rpi4.

KonstaT avatar KonstaT commented on August 18, 2024

KMS driver doesn't support DSI connector the official display panel uses. You would need to ask Pi Foundation what their plans are with this.

from device_arpi_rpi4.

mayingbin avatar mayingbin commented on August 18, 2024

enn,thanks for your reply.

from device_arpi_rpi4.

sebastianene07 avatar sebastianene07 commented on August 18, 2024

KMS driver doesn't support DSI connector the official display panel uses. You would need to ask Pi Foundation what their plans are with this.

I am also interested in this. Maybe we should try and port this from the Raspbian image

from device_arpi_rpi4.

sebastianene07 avatar sebastianene07 commented on August 18, 2024

KMS driver doesn't support DSI connector the official display panel uses. You would need to ask Pi Foundation what their plans are with this.

I am also interested in this. Maybe we should try and port this from the Raspbian image

Raspberry Pi OS uses FKMS (that supports DSI), not KMS that is used on Android.

There's was recently some patches merged for this on 5.9/5.10 kernel (raspberrypi/linux#3954). You can try to backport to 5.4 if you like.

Magic, thank you !

from device_arpi_rpi4.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.