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

Boot args:
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+unsubscr...@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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to