Hi,
I have created a partial build of boot.img and using the method mentioned in the link “https://github.com/96boards-hikey/tools-images-hikey960/blob/master/build-from-source/README-build-from-source.md”
I have a complete built images including ramdisk.img for the build.
The kernel build is successful and the kernel commit id is
commit 0ac6bd98d0602f3d9ce291700a5c47d6d2c9d1b1
Merge: 649c5d1 a427932
Author: John Stultz john.stultz@linaro.org
Date: Thu Oct 18 12:27:13 2018 -0700
Merge remote-tracking branch 'mirror-android-4.9' into android-hikey-linaro-4.9
Change-Id: Iadcf5af86f6e8528ddba88718b5194b234d54f24
Signed-off-by: John Stultz <john.stultz@linaro.org>
and i was able to create boot.img using,
./mkbootimg --kernel Image.gz-dtb --ramdisk ramdisk.img --cmdline “loglevel=15 androidboot.hardware=hikey960 androidboot.selinux=permissive firmware_class.path=/system/etc/firmware” --base 0x0 --tags-addr 0x07A00000 --kernel_offset 0x00080000 --ramdisk_offset 0x07c00000 --os_version 7.0 --os_patch_level 2016-08-05 --output boot.img
my board is set to uefi booting as I had tried booting debian along side.
The problem is when i boot the kernel it is not able to find fstab as below logs:
[ 7.751707] wl18xx_driver wl18xx.2.auto: Direct firmware load for ti-connectivity/wl18xx-conf.bin failed with error -2
[ 7.751709] wl18xx_driver wl18xx.2.auto: Falling back to user helper
[ 7.779635] rtc-efi rtc-efi: setting system clock to 1970-01-01 00:09:43 UTC (583)
[ 7.787701] ALSA device list:
[ 7.790696] #0: hikey-sndcard
[ 7.794793] Freeing unused kernel memory: 3264K
[ 7.801854] init: init first stage started!
[ 7.806158] init: Using Android DT directory /proc/device-tree/firmware/android/
[ 7.813838] init: [libfs_mgr]dt_fstab: Skip disabled entry for partition vendor
[ 7.821258] init: [libfs_mgr]dt_fstab: Skip disabled entry for partition system
[ 7.828658] init: [libfs_mgr]fs_mgr_read_fstab_dt(): failed to read fstab from dt
[ 7.834476] [E/hisi_pd] pd_dpm_handle_pe_event:!!!,event=6,+++
[ 7.834482] [I/hisi_pd] pd_dpm_handle_pe_event unkonw event
[ 7.834758] [E/hisi_pd] pd_dpm_handle_pe_event:!!!,event=5,+++
[ 7.834764] Pending event is same → ignore this event 2
[ 7.834893] [E/hisi_pd] pd_dpm_handle_pe_event:!!!,event=3,+++
[ 7.865291] init: Failed to read fstab from device tree
[ 7.870702] init: [libfs_mgr]fs_mgr_read_fstab_default(): failed to find device default fstab
[ 7.879391] init: [libfs_mgr]dt_fstab: Skip disabled entry for partition vendor
[ 7.886799] init: [libfs_mgr]dt_fstab: Skip disabled entry for partition system
[ 7.894194] init: [libfs_mgr]fs_mgr_read_fstab_dt(): failed to read fstab from dt
[ 7.901886] kvm: exiting hardware virtualization
[ 7.901947] wlcore: ERROR could not get configuration binary ti-connectivity/wl18xx-conf.bin: -11
[ 7.901948] wlcore: WARNING falling back to default config
[ 8.020148] usb usb2-port1: attempt power cycle
[ 8.145728] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
[ 8.156635] leds wifi_active: led_trigger_set: Error sending uevent
[ 8.164781] wlcore: loaded
[ 8.341342] xhci-hcd xhci-hcd.0.auto: USB bus 2 deregistered
[ 8.347247] xhci-hcd xhci-hcd.0.auto: remove, state 4
[ 8.352516] usb usb1: USB disconnect, device number 1
[ 8.358702] xhci-hcd xhci-hcd.0.auto: USB bus 1 deregistered
[ 8.364721] [dwc3_otg_stop_host]-
[ 8.368174] [dwc3_suspend_device] +
[ 8.371886] [dwc3_suspend_device] -
[ 8.373795] sd 0:0:0:3: [sdd] Synchronizing SCSI cache
[ 8.377461] sd 0:0:0:2: [sdc] Synchronizing SCSI cache
[ 8.382761] sd 0:0:0:1: [sdb] Synchronizing SCSI cache
[ 8.386467] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 8.396701] [dwc3_otg_work]-
[ 8.399623] [USB3][hisi_dwc3_wake_unlock]usb otg wake unlock
[ 8.405397] [USB3][handle_event]hiusb_status: HOST → OFF
[ 8.410893] [USB3][handle_event][handle_event] type: 0
[ 8.447477] reboot: Restarting system with command ‘bootloader’
and it enters into fastboot mode.
but the original build is able to successfully boot.
need help to get this setup working.