xclyi 发表于 2016-3-25 17:44:20

请教高手如何用TTL连接将system.img写入

本帖最后由 xclyi 于 2016-3-29 09:04 编辑

       我的电信IPTV机顶盒Z83,因为不小心误操作将所有so文件删除,现在无法启动,TTL下显示是反复重启,可以进入fastboot,这个fastboot应该就是U-BOOT,前些天网友给我传了他备份的system.img,原以为机顶盒可以通过USB线连机把system.img刷入,但做了USB线才发现不能连接,现在只能用TTL线连接到盒子,目前为止已经学习到可以读取到U盘,并且将U盘上的img文件传到内存的某个位置,但就是整不明白这个system分区的位置,看TTL引导信息      14            system    0x01AC00000   0x020000000
       到目前为止也没搞明白这个system的分区位置是不是就是0x01AC00000
       根据引导信息,我猜测系统分区是不是,0x01AC00000是起始位置,大小是0x020000000,       用MMC写入命令mmc write,是不是直接把读到内存的数据写入到这个起始位置 0x01AC00000就行?写入前要不要进行擦除?


      下面是我的TTL引导界面
Bootrom start
Boot from eMMC
Initializing DDR ... OK
Starting DDR training ... OK
Starting fastboot ...


System startup

Reg Version:v1.1.0
Reg Time:   2015-6-105:01:00
Reg Name:   hi3798mdmo1g_hi3798mv100_ddr3_1gbyte_16bitx2_4layers_emmc.reg

Relocate Boot to DDR

Jump to DDR


Compressed-boot v1.0.0
Uncompress.........................Ok


System startup

Reg Version:v1.1.0
Reg Time:   2015-6-105:01:00
Reg Name:   hi3798mdmo1g_hi3798mv100_ddr3_1gbyte_16bitx2_4layers_emmc.reg

Relocate Boot to DDR

Jump to DDR


Fastboot 3.3.0 (yeguihang@server180) (Jun 10 2015 - 15:11:27)

Fastboot:      Version 3.3.0
Build Date:    Jun 10 2015, 15:11:40
CPU:         Hi3798Mv100 (CA)
Boot Media:    eMMC
DDR Size:      1GB

Check nand flash controller v610. found
Special NAND id table Version 1.36
Nand ID: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
No NAND device found!!!

MMC/SD controller initialization.
MMC/SD Card:
    MID:         0x11
    Read Block:512 Bytes
    Write Block: 512 Bytes
    Chip Size:   3776M Bytes (High Capacity)
    Name:      "004GE"
    Chip Type:   MMC
    Version:   5.0
    Speed:       52000000Hz
    Bus Width:   8bit
    Boot Addr:   0 Bytes

*** Warning - bad CRC or eMMC, using default environment


Boot Env on eMMC
    Env Offset:          0x00100000
    Env Size:            0x00010000
    Env Range:         0x00010000
HI_OTP_LockIdWord,313: ID_WORD have already been locked


SDK Version: HiSTBAndroidV600R001C00CP0007_v2015052518

begin
begin
partition addr :
BaseAddress:0x200000, DataSize:0x100000, offset:0x0, b                                                                                                                     ytes:0xc10
cksum , ptable->checksum
data at 0x7e06 is ok
0          fastboot    0x000000000   0x000200000
1         partition    0x000200000   0x000200000
2          recovery    0x000400000   0x001000000
3      deviceinfo    0x001400000   0x000200000
4         baseparam    0x001600000   0x000800000
5         pqparam    0x001E00000   0x000800000
6            logo    0x002600000   0x000800000
7          fastplay    0x002E00000   0x002800000
8            boot    0x005600000   0x001000000
9            misc    0x006600000   0x000200000
10         userapi    0x006800000   0x000800000
11            hibdrv    0x007000000   0x000800000
12            qbflag    0x007800000   0x000800000
13            qbdata    0x008000000   0x012C00000
14            system    0x01AC00000   0x020000000
15             cache    0x03AC00000   0x015E00000
16            swdb    0x050A00000   0x003000000
17          userdata    0x053A00000   0x08EE00000
ptable info:2M(fastboot),2M(partition),16M(recovery),2M(deviceinfo),8M(baseparam                                                                                                                     ),8M(pqparam),8M(logo),40M(fastplay),16M(boot),2M(misc),8M(userapi),8M(hibdrv),8                                                                                                                     M(qbflag),300M(qbdata),512M(system),350M(cache),48M(swdb),2286M(userdata)
ok
begin
deviceinfo addr :
BaseAddress:0x1400000, DataSize:0x100000, offset:0x0,                                                                                                                      bytes:0x514
start...
ok,checksum:0xdd81
data at 0x001400000 is ok
count: name: value:
count: name: value:
count: name: value:
count: name: value:
ok

config cvbs mode
sw_ir_detect_recovery begin500 count
sw_ir_detect_recovery ok
BaseAddress:0x6600000, DataSize:0x100000, offset:0x0,                                                                                                                      bytes:0x10000
boot normal!!!
BaseAddress:0x5600000, DataSize:0x100000, offset:0x0,                                                                                                                      bytes:0x2000
use boot cmdline,enable serial, cmdline:
get standard swstandard:NULL g_auto_adp:0
bootargs:
sw_ir_detect_recovery begin500 count
sw_ir_detect_recovery ok
BaseAddress:0x6600000, DataSize:0x100000, offset:0x0,                                                                                                                      bytes:0x10000
boot normal!!!
bootimg now: mmc read 0 0x1FFFFC0 2b000 8000;bootimg 0x1FFFFC0

MMC read: dev # 0, block # 1, count 1 ... 1 blocks read: OK
RSA Module:
0x87, 0x37, 0x97, 0xB4, 0x24, 0xED, 0xB4, 0x04, 0x27, 0x7E, 0xA6, 0xF8, 0xBF, 0x                                                                                                                     2F, 0x82, 0x92,
0xEB, 0x59, 0x7D, 0xFC, 0xCA, 0x78, 0x9D, 0xA7, 0x4C, 0x0E, 0xB3, 0x60, 0xC6, 0x                                                                                                                     03, 0x7B, 0xE3,
0x8D, 0x52, 0x1B, 0x52, 0x26, 0x2C, 0x4B, 0xB9, 0x34, 0x19, 0xFA, 0x52, 0xB5, 0x                                                                                                                     9F, 0x6B, 0x32,
0xAD, 0x78, 0x28, 0x0A, 0x23, 0x3C, 0xA2, 0x9C, 0xD0, 0x7F, 0x30, 0xE4, 0x17, 0x                                                                                                                     5B, 0xDE, 0x0D,
0xA2, 0x5D, 0x90, 0x9C, 0xAE, 0xE2, 0xFD, 0xCB, 0x10, 0x91, 0xB8, 0x9A, 0x0F, 0x                                                                                                                     E0, 0xAA, 0x26,
0xDA, 0x27, 0x66, 0xF3, 0xDA, 0x00, 0xE2, 0x51, 0xE1, 0x57, 0x72, 0xF5, 0x31, 0x                                                                                                                     E9, 0xF8, 0xA6,
0x16, 0xFA, 0xED, 0x75, 0xE8, 0xA1, 0x87, 0x19, 0xFC, 0x80, 0x21, 0x67, 0x07, 0x                                                                                                                     74, 0x92, 0x7C,
0xB1, 0x35, 0x85, 0x78, 0x2A, 0x74, 0x66, 0x57, 0x14, 0xC5, 0xE3, 0x88, 0x5D, 0x                                                                                                                     C8, 0x4A, 0x64,
0xAF, 0xBC, 0x09, 0x10, 0x6E, 0x50, 0x3F, 0x5D, 0x88, 0x48, 0x93, 0xFF, 0x27, 0x                                                                                                                     EA, 0x05, 0x02,
0xD8, 0x0F, 0x9B, 0x49, 0x81, 0x47, 0xE7, 0xF0, 0x20, 0xCC, 0x65, 0x0E, 0x85, 0x                                                                                                                     AB, 0x5F, 0x26,
0x0D, 0xAE, 0xCF, 0xF8, 0x59, 0x51, 0x75, 0xC5, 0xD1, 0x40, 0x81, 0x4D, 0x18, 0x                                                                                                                     C3, 0x2D, 0x8B,
0xF8, 0xD1, 0xB8, 0xC0, 0x42, 0x49, 0x47, 0x3D, 0xCB, 0x9F, 0x49, 0x5E, 0x1C, 0x                                                                                                                     5B, 0x04, 0x2E,
0x9B, 0x84, 0xE5, 0xBC, 0x55, 0x23, 0xB2, 0x21, 0x1A, 0x0E, 0xD6, 0xD4, 0x16, 0x                                                                                                                     E7, 0xE2, 0x10,
0x6F, 0x30, 0x87, 0xEA, 0xBB, 0xA1, 0x22, 0x3F, 0x85, 0x23, 0x51, 0x96, 0x1C, 0x                                                                                                                     90, 0x60, 0x94,
0x6D, 0xE9, 0x93, 0xD0, 0x9A, 0xEA, 0x2F, 0x67, 0x2F, 0xDD, 0x4B, 0xAF, 0x54, 0x                                                                                                                     EB, 0x5D, 0x9F,
0xDC, 0x81, 0xF2, 0xE6, 0xED, 0x6B, 0x73, 0x37, 0xE5, 0xC4, 0x42, 0x44, 0x53, 0x                                                                                                                     90, 0xF6, 0xB7,
RSA Exponent:
0x01, 0x00, 0x01, 0x00,

get extern rsa key success!
ok
Security Begin Read RSA Key!
Secure boot is enabled

hpm_code_average = 0xf0

Reserve Memory
    Start Addr:          0xFFFE000
    Bound Addr:          0x8E78000
    FreeAddr:          0xEB9D000
    Alloc Block:Addr      Size
                  0xFBFD000       4194304
                  0xF8FC000       3145728
                  0xF8F9000       8192
                  0xF8C4000       212992
                  0xF7C3000       1048576
                  0xF7BF000       12288
                  0xF43A000       3686400
                  0xF2A4000       1658880
                  0xEF1F000       3686400
                  0xEC21000       3133440
                  0xEC1E000       8192
                  0xEB9D000       524288

Hibernate!! drvphyaddr 0xFC00000
Hibernate!! user api phyaddr 0xF900000
Hibernate!! userapistart 0x6800000, size 0x800000
Hibernate!! drvstart 0x7000000, size 0x800000
Hibernate!! flag start 0x7800000, size 0x800000
Hibernate!! data start 0x8000000, size 0x12C00000
Press Ctrl+C to stop autoboot

MMC read: dev # 0, block # 176128, count 32768 ... 32768 blocks read: OK

kernel@ 3e08000 (7700192 bytes)
ramdisk @ 4e00000 (327779 bytes)
page size @ 2048 bytes
initrd rd_start = 4e00000,rd_end = 4e50063
## Booting kernel from Legacy Image at 020007c0 ...
   Image Name:   Linux-3.10.0_s40
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    7700128 Bytes = 7.3 MiB
   Load Address: 02000000
   Entry Point:02000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.10.0_s40 (jenkins@Jenkins-CI03) (gcc version 4.4.                                                                                                                     1 (Hisilicon_v200(gcc4.4-290+glibc-2.11+eabi+nptl)) ) #1 SMP Fri Dec 25 21:13:00                                                                                                                      CST 2015
[    0.000000] CPU: ARMv7 Processor revision 5 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio                                                                                                                     n cache
[    0.000000] Machine: bigfish
[    0.000000] cma: CMA: reserved 380 MiB at 28400000
[    0.000000] phy:fc00000 pfn:fc00
[    0.000000] phy:f900000 pfn:f900
[    0.000000] cma: CMA: reserved 4 MiB at 28000000
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] CPU: Hi3798Mv100
[    0.000000] PERCPU: Embedded 8 pages/cpu @81a25000 s12224 r8192 d12352 u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.Total pag                                                                                                                     es: 260096
[    0.000000] Kernel command line: mem=1G console=ttyAMA0,115200 blkdevparts=mm                                                                                                                     cblk0:2M(fastboot),2M(partition),16M(recovery),2M(deviceinfo),8M(baseparam),8M(p                                                                                                                     qparam),8M(logo),40M(fastplay),16M(boot),2M(misc),8M(userapi),8M(hibdrv),8M(qbfl                                                                                                                     ag),300M(qbdata),512M(system),350M(cache),48M(swdb),2286M(userdata) androidboot.                                                                                                                     force_open_console=none androidboot.mac=00:07:63:f8:bd:6f androidboot.standard=N                                                                                                                     ULL androidboot.serialno=001091150301650003E7000763F8BD6F mmz=ddr,0,0,380M
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1024MB = 1024MB total
[    0.000000] Memory: 615680k/615680k available, 432896k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]   vector: 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]   fixmap: 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]   vmalloc : 0xc0800000 - 0xff000000   (1000 MB)
[    0.000000]   lowmem: 0x80000000 - 0xc0000000   (1024 MB)
[    0.000000]   pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
[    0.000000]   modules : 0x7f000000 - 0x7fe00000   (14 MB)
[    0.000000]       .text : 0x80008000 - 0x80e9c624   (14930 kB)
[    0.000000]       .init : 0x80e9d000 - 0x80f0bfc0   ( 444 kB)
[    0.000000]       .data : 0x80f0c000 - 0x8103d3b8   (1221 kB)
[    0.000000]      .bss : 0x8103d3b8 - 0x8121e71c   (1925 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:192
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 17895                                                                                                                     6ms
[    0.000000] Console: colour dummy device 80x30
[    0.000202] Calibrating delay loop... 1949.69 BogoMIPS (lpj=974848)
[    0.007044] pid_max: default: 32768 minimum: 301
[    0.007197] Mount-cache hash table entries: 512
[    0.007867] CPU: Testing write buffer coherency: ok
[    0.007919] ftrace: allocating 32265 entries in 95 pages
[    0.055213] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.055285] Setting up static identity map for 0x80aef808 - 0x80aef860
[    0.064250] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.072249] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.080249] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.080333] Brought up 4 CPUs
[    0.080350] SMP: Total of 4 processors activated (7829.50 BogoMIPS).
[    0.080357] CPU: All CPU(s) started in SVC mode.
[    0.278929] undefinedRV_PQ_GetFlashPqBin:check PQbin size err                                                                                                                     or, Param Size = 0,sizeof(PQ_PARAM_S) = 70888
[    0.278948] :HI_DRV_PQ_Initundefinedoad PQBin failed!
[    0.292655] undefinedispAddIntfundefinedISP 1 acquire(0) failed
[    0.296359] :MCE_Init:ERR: get PDM Param
[    0.296570] NET: Registered protocol family 16
[    0.297938] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.299492] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint                                                                                                                      registers.
[    0.299503] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.299635] Serial: AMBA PL011 UART driver
[    0.299712] uart:0: ttyAMA0 at MMIO 0xf8b00000 (irq = 81) is a PL011 rev2
[    0.670106] console enabled
[    0.674013] uart:1: ttyAMA1 at MMIO 0xf8006000 (irq = 82) is a PL011 rev2
[    0.681024] uart:2: ttyAMA2 at MMIO 0xf8b02000 (irq = 83) is a PL011 rev2
[    0.736652] bio: create slab <bio-0> at 0
[    0.741788] SCSI subsystem initialized
[    0.746131] usbcore: registered new interface driver usbfs
[    0.751778] usbcore: registered new interface driver hub
[    0.757241] usbcore: registered new device driver usb
[    0.762717] Linux video capture interface: v2.00
[    0.768039] Advanced Linux Sound Architecture Driver Initialized.
[    0.774941] Bluetooth: Core ver 2.16
[    0.778642] NET: Registered protocol family 31
[    0.783102] Bluetooth: HCI device and connection manager initialized
[    0.789464] Bluetooth: HCI socket layer initialized
[    0.794354] Bluetooth: L2CAP socket layer initialized
[    0.799432] Bluetooth: SCO socket layer initialized
[    0.804920] Switching to clocksource timer3
[    0.833842] NET: Registered protocol family 2
[    0.838766] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.845964] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.852529] TCP: Hash tables configured (established 8192 bind 8192)
[    0.858950] TCP: reno registered
[    0.862193] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.868165] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.874748] NET: Registered protocol family 1
[    0.879360] RPC: Registered named UNIX socket transport module.
[    0.885292] RPC: Registered udp transport module.
[    0.890000] RPC: Registered tcp transport module.
[    0.894706] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.901340] Trying to unpack rootfs image as initramfs...
[    0.928588] Freeing initrd memory: 320K (84e00000 - 84e50000)
[    0.934717] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.941324] CPU PMU: probing PMU on CPU 0
[    0.945357] hw perfevents: enabled with ARMv7 Cortex-A7 PMU driver, 5 counter                                                                                                                     s available
[    0.953916] Hibernate drv partition: offset 0x7800000, size 0x800000
[    0.960301] Hibernate snapshot partition: offset 0x8000000, size 0x12C00000
[    0.967272] Hisilicon Pm!! module loaded
[    0.983048] VFS: Disk quotas dquot_6.5.2
[    0.987332] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.996893] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.004913] jffs2: version 2.2. (NAND) ? 2001-2006 Red Hat, Inc.
[    1.011610] fuse init (API version 7.22)
[    1.016447] msgmni has been set to 1971
[    1.021916] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2                                                                                                                     53)
[    1.029337] io scheduler noop registered
[    1.033273] io scheduler deadline registered (default)
[    1.038438] io scheduler cfq registered
[    1.051262] brd: module loaded
[    1.058575] loop: module loaded
[    1.062615] input: Hi keyboard as /devices/virtual/input/input0
[    1.068828] input: Hi mouse as /devices/virtual/input/input1
[    1.074776] input: qwerty as /devices/virtual/input/input2
[    1.080275] Hi Android vinput driver init successful!
[    1.086516] Found Nand Flash Controller V610.
[    1.091252] Nand ID: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[    1.096932] No NAND device found
[    1.100208] tun: Universal TUN/TAP device driver, 1.6
[    1.105263] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    1.318348] libphy: himii: probed
[    1.703845] Up port phy at 0x01 is connect
[    1.720194] libphy: PHY himii:1f not found
[    1.725582] PPP generic driver version 2.4.2
[    1.730170] PPP BSD Compression module registered
[    1.734890] PPP Deflate Compression module registered
[    1.739960] PPP MPPE Compression module registered
[    1.744765] NET: Registered protocol family 24
[    1.749409] usbotg: usb otg driver registered[    1.753621] usbcore: register                                                                                                                     ed new interface driver cdc_wdm
[    1.759463] usbcore: registered new interface driver usb-storage
[    1.765771] usbcore: registered new interface driver usbserial
[    1.771742] usbcore: registered new interface driver option
[    1.777453] usbserial: USB Serial support registered for GSM modem (1-port)
[    1.784513] dwc_otg: version 3.00a 10-AUG-2012
[    1.827257] Core Release: 3.10a
[    1.830415] Setting default values for core params
[    2.037173] Using Buffer DMA mode
[    2.040527] Dedicated Tx FIFOs mode
[    2.044678] g_ffs: file system registered
[    2.048719] >>>usb_usbir_init-867
[    2.052216] usbcore: registered new interface driver usbir
[    2.058461] mousedev: PS/2 mouse device common for all mice
[    2.065285] usbcore: registered new interface driver uvcvideo
[    2.071043] USB Video Class driver (1.1.1)
[    2.075609] device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-d                                                                                                                     evel@redhat.com
[    2.374749] mmc0: BKOPS_EN bit is not set
[    2.380553] mmc0: new high speed DDR MMC card at address 0001
[    2.386813] mmcblk0: mmc0:0001 004GE0 3.68 GiB
[    2.391467] mmcblk0boot0: mmc0:0001 004GE0 partition 1 2.00 MiB
[    2.397513] mmcblk0boot1: mmc0:0001 004GE0 partition 2 2.00 MiB
[    2.403957]mmcblk0: p1(fastboot) p2(partition) p3(recovery) p4(deviceinfo)                                                                                                                      p5(baseparam) p6(pqparam) p7(logo) p8(fastplay) p9(boot) p10(misc) p11(userapi)                                                                                                                      p12(hibdrv) p13(qbflag) p14(qbdata) p15(system) p16(cache) p17(swdb) p18(userdat                                                                                                                     a)
[    2.430417]mmcblk0boot1: unknown partition table
[    2.436593]mmcblk0boot0: unknown partition table
[    2.537178] hi_mci0: eMMC/MMC/SD Device NOT detected!
[    2.564643] hidraw: raw HID events driver (C) Jiri Kosina
[    2.579447] usbcore: registered new interface driver usbhid
[    2.585032] usbhid: USB HID core driver
[    2.589510] zram: Created 1 device(s) ...
[    2.594639] ashmem: initialized
[    2.598015] logger: created 256K log 'log_main'
[    2.602781] logger: created 256K log 'log_events'
[    2.607707] logger: created 256K log 'log_radio'
[    2.612538] logger: created 256K log 'log_system'
[    2.623027] usbcore: registered new interface driver snd-usb-audio
[    2.630292] oprofile: using timer interrupt.
[    2.634676] Netfilter messages via NETLINK v0.30.
[    2.639461] nf_conntrack version 0.5.0 (15769 buckets, 63076 max)
[    2.646363] ctnetlink v0.93: registering with nfnetlink.
[    2.651784] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
[    2.658752] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
[    2.665192] xt_time: kernel timezone is -0000
[    2.669564] IPVS: Registered protocols ()
[    2.673611] IPVS: Connection hash table configured (size=4096, memory=32Kbyte                                                                                                                     s)
[    2.681057] IPVS: Creating netns size=776 id=0
[    2.685554] IPVS: ipvs loaded.
[    2.688892] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.694354] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[    2.700769] arp_tables: (C) 2002 David S. Miller
[    2.705441] TCP: cubic registered
[    2.709689] NET: Registered protocol family 10
[    2.714889] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    2.720485] NET: Registered protocol family 17
[    2.725017] Bridge firewalling registered
[    2.729189] Bluetooth: RFCOMM TTY layer initialized
[    2.734111] Bluetooth: RFCOMM socket layer initialized
[    2.739256] Bluetooth: RFCOMM ver 1.11
[    2.743021] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.748350] Bluetooth: BNEP filters: protocol multicast
[    2.753589] Bluetooth: BNEP socket layer initialized
[    2.758558] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    2.764496] Bluetooth: HIDP socket layer initialized
[    2.769467] 8021q: 802.1Q VLAN Support v1.8
[    2.773674] lib80211: common routines for IEEE802.11 drivers

[    2.779718] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7                                                                                                                      rev 5
[    2.793387] Load hi_tde.ko success.          (SDK_VERSION: Build Time:)
[    2.813194] Load hi_fb.ko success.         (SDK_VERSION: Build Time:)
[    2.824783] Load hi_jpegdec.ko success.      (SDK_VERSION: Build Time:)
[    2.841493] DieID is locked!
[    2.851393] hisi-sndcard hisi-sndcard:aiao-hifi <-> hisi-i2s mapping ok
[    2.863845] Load hi_png.ko success.          (SDK_VERSION: Build Time:)
[    2.876081] Load hi_jpegenc.ko success.      (SDK_VERSION: Build Time:)
[    2.917798] enter temperature_control_thread
[    2.922569] ALSA device list:
[    2.925551]   #0: HISI-AIAO
[    2.928799] Freeing unused kernel memory: 440K (80e9d000 - 80f0b000)
[    3.922701] init: /init.rc: 711: invalid option 'ifconfig'
[    3.928800] init: /init.bigfish.rc: 116: ignored duplicate definition of serv                                                                                                                     ice 'release_eth0'
[    3.937538] init: /init.bigfish.rc: 121: ignored duplicate definition of serv                                                                                                                     ice 'release_eth1'
[    3.946867] init:not 512M version
[    3.950437] init (1): /proc/1/oom_adj is deprecated, please use /proc/1/oom_s                                                                                                                     core_adj instead.
[    4.060989] init: /dev/hw_random not found
[    4.065480] init: cannot open '/initlogo.rle'
[    4.077980] EXT4-fs (mmcblk0p15): mounted filesystem with ordered data mode. Opts: (null)
[    4.086305] init: e2fsck /dev/block/platform/hi_mci.1/by-name/userdata
[    4.102363] EXT4-fs (mmcblk0p18): mounted filesystem with ordered data mode. Opts: (null)
[    4.110658] init: e2fsck /dev/block/platform/hi_mci.1/by-name/swdb
[    4.122291] EXT4-fs (mmcblk0p17): mounted filesystem with ordered data mode. Opts: (null)
[    4.130569] init: e2fsck /dev/block/platform/hi_mci.1/by-name/cache
[    4.142057] EXT4-fs (mmcblk0p16): mounted filesystem with ordered data mode. Opts: (null)
[    4.170081] init: /dev/hw_random not found
[    4.186712] healthd: No charger supplies found
[    4.189732] init: cannot find '/system/bin/rild', disabling 'ril-daemon'
[    4.191586] init: cannot find '/system/bin/dbus-daemon', disabling 'dbus'
[    4.204731] healthd: BatteryStatusPath not found
[    4.205274] init: cannot find '/system/bin/dtvserver', disabling 'dtvserver'
[    4.205330] init: cannot find '/system/bin/gpio-led', disabling 'gpio-led'
[    4.205848] init: cannot find '/system/bin/usb-driver', disabling 'usb-driver'
[    4.207858] init: property 'sys.powerctl' doesn't exist while expanding '${sys.powerctl}'
[    4.207873] init: powerctl: cannot expand '${sys.powerctl}'
[    4.207894] init: property 'sys.sysctl.extra_free_kbytes' doesn't exist while expanding '${sys.sysctl.extra_free_kbytes}'
[    4.207907] init: cannot expand '${sys.sysctl.extra_free_kbytes}' while writing to '/proc/sys/vm/extra_free_kbytes'
CANNOT LINK EXECUTABLE: could not load library "libc.so" needed by "/system/bin/sh"; caused by library "libc.so" not found
CANNOT LINK EXEC[    9.285977] healthd: No charger supplies found
UTABLE: could no[    9.291490] healthd: BatteryStatusPath not found
t load library "libc.so" needed by "/system/bin/sh"; caused by library "libc.so" not found
[   14.313744] healthd: No charger supplies found
CANNOT LINK EXEC[   14.318308] healthd: BatteryStatusPath not found
UTABLE: could not load library "libc.so" needed by "/system/bin/sh"; caused by library "libc.so" not found
CANNOT LINK EXEC[   19.342025] healthd: No charger supplies found
UTABLE: could not load library "libc.so"[   19.349739] healthd: BatteryStatusPath not found
needed by "/system/bin/sh"; caused by library "libc.so" not found
CANNOT LINK EXEC[   24.369873] healthd: No charger supplies found
UTABLE: could no[   24.375500] healthd: BatteryStatusPath not found
t load library "[   24.377726] init: critical process 'servicemanager' exited 4 times in 4 minutes; rebooting into recovery mode
libc.so" needed [   24.379844] SysRq : Emergency Remount R/O
by "/system/bin/[   24.383016] EXT4-fs (mmcblk0p18): re-mounted. Opts: (null)
sh"; caused by l[   24.404999] healthd: BatteryHealthPath not found
ibrary "libc.so"[   24.406854] EXT4-fs (mmcblk0p17): re-mounted. Opts: (null)
not found
[   24.417829] healthd: BatteryPresentPath not found
[   24.420190] EXT4-fs (mmcblk0p16): re-mounted. Opts: (null)
[   24.429025] healthd: BatteryCapacityPath not found
[   24.429184] Emergency Remount complete
[   24.437572] healthd: BatteryVoltagePath not found
[   24.442290] healthd: BatteryTemperaturePath not found
[   24.447351] healthd: BatteryTechnologyPath not found
[   24.452357] binder: 1498:1498 transaction failed 29189, size 0-0
[   24.481915] Restarting system with command 'recovery'.
[   24.487094] CPU will restart.?
到这里后又会重新上面的步骤,重新开始引导



woaiguiying 发表于 2018-4-18 12:41:50

lrm1314521 发表于 2020-3-3 14:08:28

dd if=/storage/external_storage/sda1/system.img of=/dev/block/system
用这个命令刷机啊reboot
页: [1]
查看完整版本: 请教高手如何用TTL连接将system.img写入