Hi,
I tried booting Hikey970 using the source built images.
The board boots successfully when flashed with cache.img, boot.img but fails when flashed with
system.img
following is the boot log:
[ 5.888659] uart-pl011 fff32000.serial: no DMA platform data
[ 5.896546] Freeing unused kernel memory: 4096K
[ 5.908197] init: init first stage started!
[ 5.912580] init: Using Android DT directory /proc/device-tree/firmware/andr/
[ 5.920093] init: First stage mount skipped (missing/incompatible fstab in d)
[ 5.928143] init: Skipped setting INIT_AVB_VERSION (not in recovery mode)
[ 5.935056] init: Loading SELinux policy
[ 5.943601] SELinux: 4096 avtab hash slots, 15474 rules.
[ 5.956781] SELinux: 4096 avtab hash slots, 15474 rules.
[ 5.962120] (stk) : timed out waiting for ldisc to be un-installed
SELinux: 1 users, 4 roles, 1098 types, 0 bools, 1 sens, 1024 cats
[ 5.974247] SELinux: 92 classes, 15474 rules
[ 5.980276] SELinux: Class bpf not defined in policy.
[ 5.985428] SELinux: the above unknown classes and permissions will be denied
[ 5.992585] SELinux: Completing initialization.
[ 5.997208] SELinux: Setting up existing superblocks.
[ 6.037557] audit: type=1403 audit(68.399:2): policy loaded auid=4294967295 5
[ 6.046133] selinux: SELinux: Loaded policy from /sepolicy
[ 6.046133]
[ 6.056520] selinux: SELinux: Loaded file_contexts
[ 6.056520]
[ 6.065588] (stk) :ldisc_install = 1[ 6.068297] init: init second stage s!
[ 6.073028] init: Using Android DT directory /proc/device-tree/firmware/andr/
[ 6.075596] selinux: SELinux: Loaded file_contexts
[ 6.075596]
[ 6.075616] init: Running restorecon...
[ 6.079281] selinux: SELinux: Could not stat /dev/block: No such file or di.
[ 6.079281]
[ 6.079489] init: waitid failed: No child processes
[ 6.079561] init: Couldn't load property file '/system/etc/prop.default': opy
[ 6.079592] init: Couldn't load property file '/prop.default': open() failedy
[ 6.079925] init: Couldn't load property file '/odm/default.prop': open() fay
[ 6.079985] init: Couldn't load property file '/vendor/default.prop': open()y
[ 6.172390] cgroup: init (1) created nested cgroup for controller "memory" w.
[ 6.178933] ueventd: ueventd started!
[ 6.181178] selinux: SELinux: Loaded file_contexts
[ 6.181178]
[ 6.181236] ueventd: Parsing file /ueventd.rc...
[ 6.181965] ueventd: Parsing file /vendor/ueventd.rc...
[ 6.182003] ueventd: Unable to read config file '/vendor/ueventd.rc': open()y
[ 6.182025] ueventd: Parsing file /odm/ueventd.rc...
[ 6.182050] ueventd: Unable to read config file '/odm/ueventd.rc': open() fay
[ 6.182150] ueventd: Parsing file /ueventd.hikey970.rc...
[ 6.237080] cgroup: "memory" requires setting use_hierarchy to 1 on the root
[ 6.244732] audit: type=1400 audit(68.607:3): avc: denied { create } for 1
[ 6.364019] ueventd: Coldboot took 0.181 seconds
[ 6.389650] Registered swp emulation handler
[ 6.395699] audit: type=1400 audit(68.759:4): avc: denied { add_name } for1
[ 6.412344] audit: type=1400 audit(68.775:5): avc: denied { create } for 1
[ 6.439039] EXT4-fs (sdd12): mounted filesystem without journal. Opts: (null)
[ 6.439338] watchdogd: watchdogd started (interval 10, margin 20)!
[ 6.439363] watchdogd: Failed to open /dev/watchdog: No such file or directoy
[ 6.461164] EXT4-fs (sdd5): Ignoring removed nomblk_io_submit option
[ 6.473781] EXT4-fs (sdd5): recovery complete
[ 6.478377] EXT4-fs (sdd5): mounted filesystem with ordered data mode. Opts:t
[ 6.509930] EXT4-fs (sdd5): mounted filesystem with ordered data mode. Opts:1
[ 6.524194] EXT4-fs (sdd15): Ignoring removed nomblk_io_submit option
[ 6.534154] EXT4-fs (sdd15): recovery complete
[ 6.538835] EXT4-fs (sdd15): mounted filesystem with ordered data mode. Optst
[ 6.566725] EXT4-fs (sdd15): mounted filesystem with ordered data mode. Opts1
[ 6.583472] audit: type=1400 audit(68.947:6): avc: denied { setattr } for 1
[ 6.602867] audit: type=1400 audit(68.967:7): avc: denied { write } for p1
[ 6.620434] audit: type=1400 audit(68.983:8): avc: denied { add_name } for1
[ 6.637660] audit: type=1400 audit(68.999:9): avc: denied { create } for 1
[ 6.673112] audit: type=1400 audit(69.035:10): avc: denied { write } for 1
[ 6.692831] file system registered
[ 7.174535] (stk) :ldisc installation timeout[ 7.178743] (stk) :ldisc_ins0
(stk) : timed out waiting for ldisc to be un-installed[ 8.310821] (stk) :ldi1
(stk) :ldisc installation timeout[ 9.321438] (stk) :ldisc_install = 0
(stk) : timed out waiting for ldisc to be un-installed[ 10.454260] (stk) :ldi1
(stk) :ldisc installation timeout[ 11.465411] (stk) :ldisc_install = 0
(stk) : timed out waiting for ldisc to be un-installed[ 12.598250] (stk) :ldi1
(stk) :ldisc installation timeout[ 13.609410] (stk) :ldisc_install = 0
(stk) : timed out waiting for ldisc to be un-installed[ 14.742252] (stk) :ldi1
(stk) :ldisc installation timeout[ 15.753203] (stk) :ldisc_install = 0
(stk) : timed out waiting for ldisc to be un-installed[ 16.781858] Bluetooth:2
Can anyone please suggest what might have gone wrong here?
Thanks and regards,
Nishad