1 I uesd the ramdisk.img
2 /bin/sh: can’t access tty; job control turned off
(initramfs) [ 54.094422] random: crng init done
ls /dev
char console fd null pts stderr stdin stdout
(initramfs) ls /
bin dev init proc run scripts tmp var
conf etc lib root sbin sys usr
there are no /dev/sdX
I want show you the whore boot message,but word limit:
Press ESCAPE for boot options …EFI stub: Booting Linux Kernel…
EFI stub: Using DTB from configuration table
Failed to handle fs_proto
EFI stub: ERROR: Failed initrd from command line!
EFI stub: Exiting boot services and installing virtual address map…
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.0 (why@why-HP-Pavilion-14-Notebook-PC) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11) ) #3 SMP PREEMPT Wed Jan 17 22:01:36 CST 2018
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] earlycon: pl11 at MMIO 0x00000000fff32000 (options ‘115200’)
[ 0.000000] bootconsole [pl11] enabled
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: EFI v2.60 by EDK II
[ 0.000000] efi: MEMATTR=0xbd5aba98
[ 0.000000] Ion: base 0xbb700000, size is 0x1e00000, node name graphic, heap-name carveout_gralloc namesize 17,[99][97][114][118]
[ 0.000000] Ion: insert heap-name carveout_gralloc
[ 0.000000] OF: reserved mem: initialized node graphic, compatible id hisi_ion
[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000016c00000, size 64 MiB
[ 0.000000] OF: reserved mem: initialized node fastboot-cma-mem, compatible id shared-dma-pool
[ 0.000000] cma: Reserved 64 MiB at 0x00000000b6400000
[ 0.000000] On node 0 totalpages: 776759
[ 0.000000] DMA zone: 12288 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 776759 pages, LIFO batch:31
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.0 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] percpu: Embedded 20 pages/cpu @ffffffc0bff0f000 s53016 r0 d28904 u81920
[ 0.000000] pcpu-alloc: s53016 r0 d28904 u81920 alloc=20*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: enabling workaround for ARM erratum 845719
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 764471
[ 0.000000] Kernel command line: loglevel=15 androidboot.hardware=hikey960 androidboot.selinux=permissive firmware_class.path=/system/etc/firmware root=/dev/sdd10 rootwait rw video=vfb initrd=0xBE865800,0x37EF81 earlycon=pl011,0xfff32000,115200 console=ttyAMA6 androidboot.serialno=707AC21802584293
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 0.000000] Memory: 2862100K/3107036K available (12796K kernel code, 1400K rwdata, 3744K rodata, 1152K init, 1042K bss, 113864K reserved, 131072K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB)
[ 0.000000] vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000 ( 250 GB)
[ 0.000000] .text : 0xffffff8008080000 - 0xffffff8008d00000 ( 12800 KB)
[ 0.000000] .rodata : 0xffffff8008d00000 - 0xffffff80090b0000 ( 3776 KB)
[ 0.000000] .init : 0xffffff80090b0000 - 0xffffff80091d0000 ( 1152 KB)
[ 0.000000] .data : 0xffffff80091d0000 - 0xffffff800932e200 ( 1401 KB)
[ 0.000000] .bss : 0xffffff800932e200 - 0xffffff8009432d5c ( 1043 KB)
[ 0.000000] fixed : 0xffffffbefe7fd000 - 0xffffffbefec00000 ( 4108 KB)
[ 0.000000] PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000 ( 16 MB)
[ 0.000000] vmemmap : 0xffffffbf00000000 - 0xffffffc000000000 ( 4 GB maximum)
[ 0.000000] 0xffffffbf00000000 - 0xffffffbf03000000 ( 48 MB actual)
[ 0.000000] memory : 0xffffffc000000000 - 0xffffffc0c0000000 ( 3072 MB)
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 64.
[ 0.000000] RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=8.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=8
[ 0.000000] NR_IRQS:64 nr_irqs:64 0
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 1.92MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1c570327e, max_idle_ns: 1763180809505 ns
[ 0.000006] sched_clock: 56 bits at 1920kHz, resolution 520ns, wraps every 4398046510977ns
[ 0.008490] clocksource: arm,sp804: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58334160866034 ns
[ 0.019048] Console: colour dummy device 80x25
[ 0.023594] Calibrating delay loop (skipped), value calculated using timer frequency… 3.84 BogoMIPS (lpj=7680)
[ 0.033853] pid_max: default: 32768 minimum: 301
[ 0.038713] Security Framework initialized
[ 0.042882] SELinux: Initializing.
[ 0.046485] SELinux: Starting in permissive mode
[ 0.051359] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.058168] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.066194] ftrace: allocating 43031 entries in 169 pages
[ 0.145235] ASID allocator initialised with 65536 entries
[ 0.183492] Remapping and enabling EFI services.
[ 0.188237] EFI remap 0x00000000ba480000 => 0000000020000000
[ 0.194172] EFI remap 0x00000000ba4f0000 => 0000000020070000
[ 0.200099] EFI remap 0x00000000ba640000 => 00000000201c0000
[ 0.206031] EFI remap 0x00000000ba690000 => 0000000020210000
[ 0.211961] EFI remap 0x00000000bf6b0000 => 0000000020260000
[ 0.217890] EFI remap 0x00000000bf700000 => 00000000202a0000
[ 0.223819] EFI remap 0x00000000fff05000 => 00000000202f5000
[ 0.278346] Detected VIPT I-cache on CPU1
[ 0.278437] CPU1: Booted secondary processor [410fd034]
[ 0.310269] Detected VIPT I-cache on CPU2
[ 0.310299] CPU2: Booted secondary processor [410fd034]
[ 0.342284] Detected VIPT I-cache on CPU3
[ 0.342306] CPU3: Booted secondary processor [410fd034]
[ 0.375865] Detected VIPT I-cache on CPU4
[ 0.375874] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR0_EL1. Boot CPU: 0x00000000001122, CPU4: 0x00000000101122
[ 0.375882] CPU features: Unsupported CPU feature variation detected.
[ 0.375905] CPU4: Booted secondary processor [410fd091]
[ 0.406319] Detected VIPT I-cache on CPU5
[ 0.406324] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR0_EL1. Boot CPU: 0x00000000001122, CPU5: 0x00000000101122
[ 0.406339] CPU5: Booted secondary processor [410fd091]
[ 0.438356] Detected VIPT I-cache on CPU6
[ 0.438361] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR0_EL1. Boot CPU: 0x00000000001122, CPU6: 0x00000000101122
[ 0.438376] CPU6: Booted secondary processor [410fd091]
[ 0.470398] Detected VIPT I-cache on CPU7
[ 0.470404] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR0_EL1. Boot CPU: 0x00000000001122, CPU7: 0x00000000101122
[ 0.470418] CPU7: Booted secondary processor [410fd091]
[ 0.470471] Brought up 8 CPUs
[ 0.594787] SMP: Total of 8 processors activated.
[ 0.599544] CPU features: detected feature: 32-bit EL0 Support
[ 0.605501] CPU: All CPU(s) started at EL2
[ 0.609673] alternatives: patching kernel code
[ 0.623003] DMI not present or invalid.
[ 0.627116] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.639744] xor: measuring software checksum speed
[ 0.684654] 8regs : 3519.000 MB/sec
[ 0.728909] 8regs_prefetch: 3136.000 MB/sec
[ 0.773516] 32regs : 4316.000 MB/sec
[ 0.817769] 32regs_prefetch: 3640.000 MB/sec
[ 0.822435] xor: using function: 32regs (4316.000 MB/sec)
[ 0.827899] pinctrl core: initialized pinctrl subsystem
[ 0.834498] NET: Registered protocol family 16
[ 0.858346] cpuidle: using governor ladder
[ 0.874501] cpuidle: using governor menu
[ 0.878619] vdso: 2 pages (1 code @ ffffff8008d07000, 1 data @ ffffff80091d4000)
[ 0.886103] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.893857] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.900073] Serial: AMBA PL011 UART driver
[ 0.904472] pstore: using zlib compression
[ 0.908996] console [pstore-1] enabled
[ 0.912798] pstore: Registered ramoops as persistent store backend
[ 0.919046] ramoops: attached 0x100000@0x32000000, ecc: 0/0
[ 0.940375] hi3660-mbox e896b000.mailbox: Mailbox enabled
[ 0.955620] uart-pl011 ffd74000.serial: could not find pctldev for node /soc/pinmux@e896c000/uart3_pmx_func, deferring probe
[ 0.967172] uart-pl011 fdf01000.serial: could not find pctldev for node /soc/pinmux@e896c000/uart4_pmx_func, deferring probe
[ 0.978717] uart-pl011 fff32000.serial: could not find pctldev for node /soc/pinmux@e896c000/uart6_pmx_func, deferring probe
[ 1.035477] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 1.107349] raid6: int64x1 gen() 1386 MB/s
[ 1.179383] raid6: int64x1 xor() 728 MB/s
[ 1.251452] raid6: int64x2 gen() 1709 MB/s
[ 1.323498] raid6: int64x2 xor() 937 MB/s
[ 1.395544] raid6: int64x4 gen() 1895 MB/s
[ 1.467579] raid6: int64x4 xor() 1076 MB/s
[ 1.539638] raid6: int64x8 gen() 1625 MB/s
[ 1.611669] raid6: int64x8 xor() 1027 MB/s
[ 1.683721] raid6: neonx1 gen() 2098 MB/s
[ 1.755775] raid6: neonx1 xor() 1160 MB/s
[ 1.827814] raid6: neonx2 gen() 3124 MB/s
[ 1.899860] raid6: neonx2 xor() 1914 MB/s
[ 1.971911] raid6: neonx4 gen() 4555 MB/s
[ 2.043951] raid6: neonx4 xor() 2618 MB/s
[ 2.116000] raid6: neonx8 gen() 3973 MB/s
[ 2.188053] raid6: neonx8 xor() 2530 MB/s
[ 2.192367] raid6: using algorithm neonx4 gen() 4555 MB/s
[ 2.197821] raid6: … xor() 2618 MB/s, rmw enabled
[ 2.202838] raid6: using intx1 recovery algorithm
[ 2.207807] ACPI: Interpreter disabled.
[ 2.212254] hisi_smmu_probe_lpae, smmu_phy_pgtable_addr is = b56d87a0
[ 2.218857] vgaarb: loaded
[ 2.221742] SCSI subsystem initialized
[ 2.225638] libata version 3.00 loaded.
[ 2.229597] ssp-pl022 ffd68000.spi: could not find pctldev for node /soc/pinmux@fff11000/spi2_pmx_func, deferring probe
[ 2.240520] ssp-pl022 ff3b3000.spi: could not find pctldev for node /soc/pinmux@ff3b6000/spi3_pmx_func, deferring probe
[ 2.251559] usbcore: registered new interface driver usbfs
[ 2.257130] usbcore: registered new interface driver hub
[ 2.262553] usbcore: registered new device driver usb
[ 2.267672] tcpc_class_init_1.1.1_G
[ 2.271203] TCPC class init OK
[ 2.274296] Init Richtek RegMap
[ 2.277568] i2c_designware ffd71000.i2c: could not find pctldev for node /soc/pinmux@fff11000/i2c0_pmx_func, deferring probe
[ 2.288929] i2c_designware ffd72000.i2c: could not find pctldev for node /soc/pinmux@fff11000/i2c1_pmx_func, deferring probe
[ 2.300290] i2c_designware fdf0b000.i2c: could not find pctldev for node /soc/pinmux@fff11000/i2c7_pmx_func, deferring probe
[ 2.311685] Linux video capture interface: v2.00
[ 2.316448] dmi: Firmware registration failed.
[ 2.320947] Registered efivars operations
[ 2.325433] Ion: invalid heap-name in node iommu_info, please check the name
[ 2.332651] Ion: invalid heap-name in node linear, please check the name
[ 2.339543] Ion: node name [heap_sys_user], heap-name [sys_heap]
[ 2.345619] Ion: heap index 0 : name sys_heap base 0x0 size 0x0 id 0 type 0
[ 2.352659] Ion: heap sys_heap base =0, try to find dynamic area
[ 2.358817] Ion: name = sys_heap, table name carveout_gralloc
[ 2.364714] Ion: name = sys_heap, table name
[ 2.369204] Ion: name = sys_heap, table name
[ 2.373695] Ion: name = sys_heap, table name
[ 2.378184] Ion: name = sys_heap, table name
[ 2.382685] Ion: node name [heap_sys_contig], heap-name [sys_contig]
[ 2.389111] Ion: heap index 1 : name sys_contig base 0x0 size 0x0 id 1 type 1
[ 2.396323] Ion: heap sys_contig base =0, try to find dynamic area
[ 2.402657] Ion: name = sys_contig, table name carveout_gralloc
[ 2.408726] Ion: name = sys_contig, table name
[ 2.413390] Ion: name = sys_contig, table name
[ 2.418053] Ion: name = sys_contig, table name
[ 2.422717] Ion: name = sys_contig, table name
[ 2.427393] Ion: node name [heap_carveout_gralloc], heap-name [carveout_gralloc]
[ 2.434870] Ion: heap index 2 : name carveout_gralloc base 0x0 size 0x0 id 2 type 2
[ 2.442609] Ion: heap carveout_gralloc base =0, try to find dynamic area
[ 2.449468] Ion: name = carveout_gralloc, table name carveout_gralloc
[ 2.456065] Ion: have found heap name carveout_gralloc base = 0xbb700000, size 31457280
[ 2.464163] Ion: node name [heap_camera], heap-name [camera_heap]
[ 2.470322] Ion: type name error ion_dma_pool!
[ 2.474823] in hisi_ion_enable_iommu start
[ 2.478967] get_domain_data_lpae:start_addr 0x40000, size 0xbffc0000 align 0x8000
[ 2.486534] Ion: id 0 name sys_heap base 0 size 0
[ 2.491442] Ion: adding heap sys_heap of type 0 with 0@0
[ 2.496812] Ion: id 1 name sys_contig base 0 size 0
[ 2.501835] Ion: adding heap sys_contig of type 1 with 0@0
[ 2.507379] Ion: id 2 name carveout_gralloc base 3144679424 size 31457280
[ 2.518990] Ion: adding heap carveout_gralloc of type 2 with bb700000@1e00000
[ 2.526356] Advanced Linux Sound Architecture Driver Initialized.
[ 2.532818] Bluetooth: Core ver 2.22
[ 2.536449] NET: Registered protocol family 31
[ 2.540945] Bluetooth: HCI device and connection manager initialized
[ 2.547376] Bluetooth: HCI socket layer initialized
[ 2.552312] Bluetooth: L2CAP socket layer initialized
[ 2.557440] Bluetooth: SCO socket layer initialized
[ 2.562610] NetLabel: Initializing
[ 2.566052] NetLabel: domain hash size = 128
[ 2.570454] NetLabel: protocols = UNLABELED CIPSOv4
[ 2.575505] NetLabel: unlabeled traffic allowed by default
[ 2.581394] clocksource: Switched to clocksource arch_sys_counter
[ 2.650864] VFS: Disk quotas dquot_6.6.0
[ 2.654903] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 2.662160] pnp: PnP ACPI: disabled
[ 2.668903] NET: Registered protocol family 2
[ 2.673707] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[ 2.681136] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[ 2.688020] TCP: Hash tables configured (established 32768 bind 32768)
[ 2.694654] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[ 2.700751] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[ 2.707414] NET: Registered protocol family 1
[ 2.712106] RPC: Registered named UNIX socket transport module.
[ 2.718127] RPC: Registered udp transport module.
[ 2.722883] RPC: Registered tcp transport module.
[ 2.727636] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 2.734150] PCI: CLS 0 bytes, default 128
[ 2.738361] Trying to unpack rootfs image as initramfs…
[ 2.839944] Freeing initrd memory: 3576K (ffffffc0be866000 - ffffffc0bebe4000)
[ 2.847844] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[ 2.855976] kvm [1]: 8-bit VMID
[ 2.859155] kvm [1]: IDMAP page: cef000
[ 2.863039] kvm [1]: HYP VA range: 4000000000:7fffffffff
[ 2.868931] kvm [1]: Hyp mode initialized successfully
[ 2.874170] kvm [1]: vgic-v2@e82b4000
[ 2.878039] kvm [1]: vgic interrupt IRQ1
[ 2.882015] kvm [1]: virtual timer IRQ4
[ 2.888125] futex hash table entries: 2048 (order: 6, 262144 bytes)
[ 2.894526] audit: initializing netlink subsys (disabled)
[ 2.900024] audit: type=2000 audit(2.719:1): initialized
[ 2.905815] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[ 2.912883] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 2.918958] NFS: Registering the id_resolver key type
[ 2.924089] Key type id_resolver registered
[ 2.928317] Key type id_legacy registered
[ 2.932442] fuse init (API version 7.26)
[ 2.936534] 9p: Installing v9fs 9p2000 file system support
[ 2.942239] SELinux: Registering netfilter hooks
[ 2.949216] io scheduler noop registered
[ 2.953197] io scheduler cfq registered (default)
…