Ẩn / Hiện Quảng Cáo

Quá trình khởi động của một máy điện thoại Samsung chạy hệ điều hành Android

Thảo luận trong 'SỬA CHỮA PHẦN CỨNG.' bắt đầu bởi Star, 27/2/15.

  1. 27/2/15 lúc 20:14

    Star

    Super Moderator

    Star
    Tham gia:
    26/1/07
    Bài viết:
    673
    Được thích:
    548
    Đã bao giờ anh em tự hỏi một máy điện thoại chạy Android OS khởi động như thế nào chưa ???

    Đây là Log quá trình khởi động của một máy Samsung từ lúc bấm Power cho đến lúc quá trình máy khởi động hoàn tất và sử dụng bình thường

    Một cái nhìn trực quan

    Mã:
    
    
    Format: Log Type - Time(microsec) - Message
    Log type: B - since boot(excluding boot rom).  D - delta
    B -    151188 - SBL1, Start
    B -    156434 - scatterload_region && ram_init, Start
    D -        30 - scatterload_region && ram_init, Delta
    B -    173331 - pm_device_init, Start
    D -     12932 - pm_device_init, Delta
    B -    186385 - boot_flash_init, Start
    D -        30 - boot_flash_init, Delta
    B -    190350 - boot_config_data_table_init, Start
    D -         0 - boot_config_data_table_init, Delta
    B -    199531 - sbl1_ddr_set_params, Start
    D -       152 - sbl1_ddr_set_params, Delta
    B -    292739 - pm_driver_init, Start
    D -     12688 - pm_driver_init, Delta
    B -    305457 - cpr_init, Start
    D -     66581 - cpr_init, Delta
    B -    372069 - Pre_DDR_clock_init, Start
    D -        61 - Pre_DDR_clock_init, Delta
    B -    378291 - do_ddr_training, Start
    D -      1098 - do_ddr_training, Delta
    B -    385184 - pm_driver_init, warm_reset
    B -    387441 - clock_init, Start
    D -       183 - clock_init, Delta
    B -    392992 - Image Load, Start
    D -    156526 - TZ Image Loaded, Delta
    B -    549549 - Tz Execution, Start
    D -    162565 - Tz Execution, Delta
    B -    712785 - RPM loading is successful.
    B -    712998 - Image Load, Start
    D -     61214 - RPM Image Loaded, Delta
    B -    775401 - Signal PBL to Jump to RPM FW
    B -    776804 - Image Load, Start
    D -     21228 - WDT Image Loaded, Delta
    B -    798063 - WDT Execution, Start
    D -       274 - WDT Execution, Delta
    B -    801845 - Image Load, Start
    D -    262300 - APPSBL Image Loaded, Delta
    B -   1064175 - sbl1_efs_handle_cookies, Start
    D -       152 - sbl1_efs_handle_cookies, Delta
    B -   1069970 - RPM sync cookie updated
    B -   1080005 - SBL1, End
    D -    928847 - SBL1, Delta
    Android Bootloader - UART_DM Initialized!!!
    [0] welcome to lk
    
    [10] platform_init()
    [10] target_init()
    [10] HW REV02 : (0, 0, 1, 0)
    [10] cancel power key check in case of reboot with 0x77665501
    [20] Power on status : 0x20080 (Keypad Power on)
    [30] HW_REV_READ 02
    [30] [MUIC] MUIC initialized ! 
    [30] muic_driver_init
    [30] [MUIC] microusb_get_attached_device: STATUS1:0x3c, 2:0x00
    [40] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1c
    [40] [MUIC] init_microusb_ic: CONTROL1:0x1b
    [50] [MUIC] init_microusb_ic: CONTROL1:0x1b
    [50] [MUIC] init_microusb_ic: CONTROL2:0x36
    [50] [MUIC] init_microusb_ic: CONTROL2:0x36
    [60] muic_get_device
    [60] [MUIC] microusb_get_attached_device: STATUS1:0x3c, 2:0x00
    [70] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1c
    [70] get_charger: hw_rev(0x2)
    [70] [MUIC] microusb_get_attached_device: STATUS1:0x3c, 2:0x00
    [80] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1c
    [80] aboot_dev_charging_init : cable_status(0), cable_type(2048)
    [90] get_battery_detect : battery(0)
    [100] aboot_dev_charging_init, [battery] batt_id_value (0)
    [100] set_charger_state: buck(1), chg(0), reg(0x04)
    [110] get_charger: hw_rev(0x2)
    [110] [battery] external charger init
    [110] [MUIC] microusb_get_attached_device: STATUS1:0x3c, 2:0x00
    [120] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1c
    [120] init_ific: pmic_id(4)
    [130] set_fast_charging_current_data : fast charging current 0mA(0x00)
    [130] set_charging_current_limit_data : input current limit: reg = c0, 460mA(0x12)
    [fuelgauge] init_fuel_gauge: battery type = 1
    [140] muic_get_charger_status
    [150] [MUIC] microusb_get_attached_device: STATUS1:0x3c, 2:0x00
    [150] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1c
    [160] [fuelgauge] apply 4.35V battery
    [160] fuelguage : OriginalRCOMP = 0x5c, OriginalAlert = 0x1e
    [170] fuelguage : OCV_DATA = 0xd74e
    [180] fuelguage : re-write RCOMPseg data
    [380] fuelguage : SOC_DATA1 = 0xf3, SOC_DATA2 = 0xa
    [390] fuelguage : model was loaded successful
    [390] fuelguage : RCOMP(0x5d) is applied
    [390] fuelguage : OCV_DATA = 0xd74e
    [600] muic_get_charger_status
    [600] [MUIC] microusb_get_attached_device: STATUS1:0x3c, 2:0x00
    [610] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1c
    [610] muic_get_charger_status
    [620] [MUIC] microusb_get_attached_device: STATUS1:0x3c, 2:0x00
    [620] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1c
    [630] [fuelgauge] Discharging table soc
    [630] 9523 = ( 422100 - 309340 ) *100 / 1184
    [630] soc(94), table_soc(95), vcell(422100)
    [fuelgauge] init_fuel_gauge: fg_reset_soc = 0
    [fuelgauge] init_fuel_gauge: vcell=4221, soc=94, ocv=4305
    [650] get_charger: hw_rev(0x2)
    [650] [MUIC] microusb_get_attached_device: STATUS1:0x3c, 2:0x00
    [660] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1c
    [660] muic_get_jig_status
    [660] [MUIC] microusb_get_attached_device: STATUS1:0x3c, 2:0x00
    [670] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1c
    [670] check_low_power : rb=1, jig=1, ct=0, vcell=4281
    [680] skip check low power
    [720] MMC Product Name: H16GE2
    [720] MMC_FIRMWARE_VERSION: 0x15
    [740] Done initialization of the card
    
    MODEL_NAME:{{SM-xxxx}}
    eMMC_SERIAL_NUMBER:{{1101004831364745320898ead3e65100}}
    
    [760] aboot_init()
    [760] REBOOT MODE : 0x77665501 
    [760] vibrator started
    [770] set_vibe_tonz
    [770] [tspdrv]nForce===7
    [770] vibe_set_pwm_freq
    [770] VIBRATOR is ENABLED :::
    [770] Haptic ENABLED :::
    [880] vibrator stopped
    [880] set_vibe_tonz
    [880] VIBRATOR is DISABLED :::
    [880] ENABLE LVS1 for sensorhub
    [890] oem_panel_select panel_id = 7
    [890] target_ldo_ctrl ++, enable = 1
    [890] Setting 12
    [890] Setting 2
    [900] Setting 22
    [900]  Setting LDO26 1
    [920] target_ldo_ctrl --
    [920] Panel power on done
    [920] target_panel_clock
    [920] first_qcom_dload_magic=0x0,second_qcom_dload_magic=0x0
    [930] mdp_gdsc_ctrl = 1
    [940] ERROR: splash Partition invalid
    [940] Config MIPI_CMD_PANEL.
    [940] pinfo->mipi.dual_dsi = 0 
    [950]  Panel Reset-- 
    [950] target_panel_reset ++ enable=1
    [960] target_panel_reset ...0 
    [980] target_panel_reset --
    [980]  Panel Reset Done---
    [980]  mipi_dsi_cmds_tx---
    [1030] Panel CMD: command mode dma test failed
    [1040]  mipi_dsi_cmds_tx---
    [1090] Panel CMD: command mode dma test failed
    [1090]  mipi_dsi_cmds_tx---
    [1150] Panel CMD: command mode dma test failed
    [1150] mipi_read_manufacture_id : id1 : 0x0 id2 : 0x0 id3 : 0x0
    [1150]  mipi_dsi_cmds_tx---
    [1210] Panel CMD: command mode dma test failed
    [1260] Panel CMD: command mode dma test failed
    [1340] Panel CMD: command mode dma test failed
    [1390] Panel CMD: command mode dma test failed
    [1440] Panel CMD: command mode dma test failed
    [1500] Panel CMD: command mode dma test failed
    [1550] Panel CMD: command mode dma test failed
    [1610] Panel CMD: command mode dma test failed
    [1660] Panel CMD: command mode dma test failed
    [1710] Panel CMD: command mode dma test failed
    [1770] Panel CMD: command mode dma test failed
    [1820] Panel CMD: command mode dma test failed
    [1880] Panel CMD: command mode dma test failed
    [1930] Panel CMD: command mode dma test failed
    [1980] Panel CMD: command mode dma test failed
    [2040] Panel CMD: command mode dma test failed
    [2210] Panel CMD: command mode dma test failed
    [2220] dsi panel init error
    [2220] Turn off MIPI_CMD_PANEL.
    [2220] Continuous splash enabled, keeping panel alive.
    BOOTLOADER VERSION : xxxxxxxxxxx
    [2230] before  aboot_check_mode() , boot_mode=0x0
    Get DATA success.
    
    [2240] react_lock flag(id:2)
    Get DATA success.
    
    [2240] react_lock flag(id:10)
    [2250] init react lock flag 0x0
    [2250] init cc mode flag 0x0
    [2260] check_boot_mode = key Down[0], Up[0] 
    [2260] cable_type =0x800, reboot_mode=0x77665501
    [2260] check_ramdump_mode :: k_param.debuglevel[0x44494d44]::k_param.cp_debuglevel[0x5500] 
    [2270] Do checksum V2
    [2270] Not Need Movinand Checksum
    [2280] before check_lpm_mode 
    [2280] [MUIC] microusb_get_attached_device: STATUS1:0x3c, 2:0x00
    [2290] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1c
    [2290] is_reboot_case =1
    [2290] cable_status = 0
    [2290] enter normal booting mode
    AST_POWERON
    [2300] display_boot_image ++
    [2500] after aboot_check_mode() 
    [2500] [MUIC] microusb_get_attached_device: STATUS1:0x3c, 2:0x00
    [2510] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1c
    [2520] muic_get_jig_status
    [2520] [MUIC] microusb_get_attached_device: STATUS1:0x3c, 2:0x00
    [2520] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1c
    [2530] check_low_battery : rb=1, jig=1, vcell=4280, soc=94
    [2530] skip check low battery
    [2540] reboot_mode = 0x77665501, boot_mode = 0, por = 0x20080
    [2540] LK Area: 0xF800000 - 0xFA00000
    [2550] Kernel Addr: 0x8000
    [2550] Ramdisk Addr: 0x2200000
    [2550] Second Addr: 0xF00000
    [2550] Tags Adddr: 0x2000000
    [2560] use_signed_kernel=0, is_unlocked=0, is_tampered=0.
    [2560] Loading boot image (9854976): start
    [2610] Loading boot image (9854976): done
    [2660] board[model_info:03010008, sec_rev:2], dtb[dt_model_info:b208ff01, dt_board_rev 0]
    [2660] board[model_info:03010008, sec_rev:2], dtb[dt_model_info:b208ff01, dt_board_rev 1]
    [2670] ERROR: Unable to find suitable device tree for device model_info:0x03010008
    [2680] board[model_info:b208ff01, sec_rev:2], dtb[dt_model_info:b208ff01, dt_board_rev 0]
    [2690] board[model_info:b208ff01, sec_rev:2], dtb[dt_model_info:b208ff01, dt_board_rev 1]
    [2700] boot image size(10330368)
    [2810] [TIMA trusted boot]: Boot-time measurement successful
    [2810] [IDCHIP] Authentication Success!(1)
    [2820] cmdline = 'console=null androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 dwc3_msm.cpu_to_affin=1'
    [2830] PCD Detect GPIO Status = 0 
    [2830] PCD Detected!! 
    [2830] init_ddi_data: usable ddi data.
    [2840] WV: API Status 0x0
    [2840] muic_get_jig_status
    [2840] [MUIC] microusb_get_attached_device: STATUS1:0x3c, 2:0x00
    [2850] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1c
    [2850] RUSTPROOF : k_param.uartsel = 0x3
    [2860] RUSTPROOF : Disable uart.
    [2860] 
    Booting Linux
    [2860] TZ informed of recovery status: 0
    [2870] pm8x41_get_is_cold_boot: Warm boot
    [2870] cmdline: console=null androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 dwc3_msm.cpu_to_affin=1 cont_splash=1 androidboot.sec_atd.tty=/dev/ttyHSL0 sec_log=0x100000@0x10000008 sec_dbg=0x80000@0x10100008 sec_debug.reset_reason=0x1a2b3c00 lcd_id=0x[2890] enable subcmdline
    [2900] Updating device tree: start
    [2920] Updating device tree: done
    [2920] booting linux @ 0x8000, ramdisk @ 0x2200000 (721625), tags/device tree @ 0x2000000
    [2930] [eMMC] Starting sector of system partition was not aligned! [5b818 to 5c000, length:9bc00000] 
    [2930] [eMMC] Power on Write Protect set for addr : 5c000, size : 9bc00000
    [2930] Booting Linux
    
    
    BOOTING COMPLETED
    
    
     
  2. 27/2/15 lúc 22:04

    ToànMobiCM

    Major Poster

    ToànMobiCM
    Tham gia:
    19/3/13
    Bài viết:
    198
    Được thích:
    10
    mê mấy cái vụ này nhất mà,cũng dễ điên vơi snos nhất thank thớt