Discussion:
[android-porting] Re: Facing Issues while Android Porting to Custom Hardware
Kamal
2018-06-07 04:40:06 UTC
Permalink
Hi All,

I am facing below issues after kernal is booted

[ 95.442631] init: Failed to bind socket 'pdx/system/vr/display/client':
No such file or directory
[ 95.443119] init: Failed to bind socket 'pdx/system/vr/display/manager':
No such file or directory
[ 95.443416] init: Failed to bind socket 'pdx/system/vr/display/vsync':
No such file or directory
[ 95.479481] init: Service 'evs_manager' (pid 3769) killed by signal 1


Anyone help on this issue?
Hi All,
I am facing issues with Android porting to new ARM hardware.
Steps followed
1. Followed steps to create new device and build the images
2. I have following images
boot.img bootloader.img dtb.img ramdisk.img ramdisk-recovery.img
system.img userdata.img vbmeta.img vendor.img
3. Hardware come up with u-boot . After u-boot came up loaded the kernal
images with following u-boot load commands
setenv bootargs 'rw root=/dev/mmcblk0p7 rootfstype=ext3 rootwait
console=ttySC0,115200 androidboot.console=ttySC0
androidboot.hardware=salvator init=/init androidboot.selinux=permissive'
In mmc part7 loaded the rootfs in ext3 format.
41.078089] => fatload usb 0:1 0x4C080000 Image
[ 42.277940] reading Image
[ 42.699026] 15339528 bytes read in 422 ms (34.7 MiB/s)
[ 42.704294] => fatload usb 0:1 0x4C000000 r8a7795.dtb
[ 47.452468] reading r8a7795.dtb
[ 47.536477] 90033 bytes read in 84 ms (1 MiB/s)
[ 47.541108] => booti 0x4C080000 - 0x4C000000
4. Kernal started the boot and crashed in middle with below errors
[ 55.086005] init: waitid failed: No child processes
[ 55.091001] init: Couldn't load property file: Unable to open
'/system/etc/prop.default': No such file or directory: No such file or
directory
[ 55.108972] init: Couldn't load property file: Unable to open
'/odm/default.prop': No such file or directory: No such file or directory
[ 55.125289] init: Couldn't load property file: Unable to open
'/vendor/default.prop': No such file or directory: No such file or directory
[ 55.149339] audit: type=1400 audit(2.390:4): avc: denied { read }
for pid=1101 comm="ueventd" name="system" dev="mmcblk0p7" ino=55
scontext=u:r:ueventd:s0 tcontext=u:object_r:unlabeled:s0 tclass=lnk_file
permissive=1
[ 55.170119] ueventd: ueventd started!
[ 55.174013] audit: type=1400 audit(2.415:5): avc: denied { getattr }
for pid=1101 comm="ueventd" path="/ueventd.rc" dev="mmcblk0p7" ino=58
scontext=u:r:ueventd:s0 tcontext=u:object_r:unlabeled:s0 tclass=file
permissive=1
[ 55.193909] ueventd: Parsing file /ueventd.rc...
[ 55.198590] audit: type=1400 audit(2.439:6): avc: denied { read }
for pid=1101 comm="ueventd" name="ueventd.rc" dev="mmcblk0p7" ino=58
scontext=u:r:ueventd:s0 tcontext=u:object_r:unlabeled:s0 tclass=file
permissive=1
[ 55.218132] audit: type=1400 audit(2.459:7): avc: denied { open }
for pid=1101 comm="ueventd" path="/ueventd.rc" dev="mmcblk0p7" ino=58
scontext=u:r:ueventd:s0 tcontext=u:object_r:unlabeled:s0 tclass=file
permissive=1
[ 55.242990] ueventd: Parsing file /vendor/ueventd.rc...
[ 55.248275] ueventd: Unable to open '/vendor/ueventd.rc': No such file
or directory
[ 55.255987] ueventd: Parsing file /odm/ueventd.rc...
[ 55.260994] ueventd: Unable to open '/odm/ueventd.rc': No such file or
directory
[ 55.268632] ueventd: Parsing file /ueventd.salvator.rc...
[ 55.280739] selinux: SELinux: Loaded file_contexts
Please someone help on this issue?
--
--
unsubscribe: android-porting+***@googlegroups.com
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Zoltan Kuscsik
2018-06-07 08:22:47 UTC
Permalink
Your system/ vendor/ filesystem failed to mount. Probably there is a
message about that earlier in the Kernel logs.

//Z
Post by Kamal
Hi All,
I am facing issues with Android porting to new ARM hardware.
Steps followed
1. Followed steps to create new device and build the images
2. I have following images
boot.img bootloader.img dtb.img ramdisk.img ramdisk-recovery.img
system.img userdata.img vbmeta.img vendor.img
3. Hardware come up with u-boot . After u-boot came up loaded the kernal
images with following u-boot load commands
setenv bootargs 'rw root=/dev/mmcblk0p7 rootfstype=ext3 rootwait
console=ttySC0,115200 androidboot.console=ttySC0
androidboot.hardware=salvator init=/init androidboot.selinux=permissive'
In mmc part7 loaded the rootfs in ext3 format.
41.078089] => fatload usb 0:1 0x4C080000 Image
[ 42.277940] reading Image
[ 42.699026] 15339528 bytes read in 422 ms (34.7 MiB/s)
[ 42.704294] => fatload usb 0:1 0x4C000000 r8a7795.dtb
[ 47.452468] reading r8a7795.dtb
[ 47.536477] 90033 bytes read in 84 ms (1 MiB/s)
[ 47.541108] => booti 0x4C080000 - 0x4C000000
4. Kernal started the boot and crashed in middle with below errors
[ 55.086005] init: waitid failed: No child processes
[ 55.091001] init: Couldn't load property file: Unable to open
'/system/etc/prop.default': No such file or directory: No such file or
directory
[ 55.108972] init: Couldn't load property file: Unable to open
'/odm/default.prop': No such file or directory: No such file or directory
[ 55.125289] init: Couldn't load property file: Unable to open
'/vendor/default.prop': No such file or directory: No such file or directory
[ 55.149339] audit: type=1400 audit(2.390:4): avc: denied { read }
for pid=1101 comm="ueventd" name="system" dev="mmcblk0p7" ino=55
scontext=u:r:ueventd:s0 tcontext=u:object_r:unlabeled:s0 tclass=lnk_file
permissive=1
[ 55.170119] ueventd: ueventd started!
[ 55.174013] audit: type=1400 audit(2.415:5): avc: denied { getattr }
for pid=1101 comm="ueventd" path="/ueventd.rc" dev="mmcblk0p7" ino=58
scontext=u:r:ueventd:s0 tcontext=u:object_r:unlabeled:s0 tclass=file
permissive=1
[ 55.193909] ueventd: Parsing file /ueventd.rc...
[ 55.198590] audit: type=1400 audit(2.439:6): avc: denied { read }
for pid=1101 comm="ueventd" name="ueventd.rc" dev="mmcblk0p7" ino=58
scontext=u:r:ueventd:s0 tcontext=u:object_r:unlabeled:s0 tclass=file
permissive=1
[ 55.218132] audit: type=1400 audit(2.459:7): avc: denied { open }
for pid=1101 comm="ueventd" path="/ueventd.rc" dev="mmcblk0p7" ino=58
scontext=u:r:ueventd:s0 tcontext=u:object_r:unlabeled:s0 tclass=file
permissive=1
[ 55.242990] ueventd: Parsing file /vendor/ueventd.rc...
[ 55.248275] ueventd: Unable to open '/vendor/ueventd.rc': No such file
or directory
[ 55.255987] ueventd: Parsing file /odm/ueventd.rc...
[ 55.260994] ueventd: Unable to open '/odm/ueventd.rc': No such file or
directory
[ 55.268632] ueventd: Parsing file /ueventd.salvator.rc...
[ 55.280739] selinux: SELinux: Loaded file_contexts
Please someone help on this issue?
--
--
website: http://groups.google.com/group/android-porting
---
You received this message because you are subscribed to the Google Groups
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
--
unsubscribe: android-porting+***@googlegroups.com
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...