Skip to content

Instantly share code, notes, and snippets.

@matteyeux
Created July 12, 2018 06:53
Show Gist options
  • Save matteyeux/4eed37257d27592949a5eff2a5a6ee85 to your computer and use it in GitHub Desktop.
Save matteyeux/4eed37257d27592949a5eff2a5a6ee85 to your computer and use it in GitHub Desktop.
iic_init()
iic_set_clock(0) = 4
iic_set_clock(1) = 4
iic_set_clock(2) = 4
pmu0: read 40 from reg b0
pmu0: read 0 from reg a1
cdma_init()
arch_task_trampoline: task 0xbff7fa80 (uart reader) routine 0xbff186a1, arg 0x6
arch_task_trampoline: task 0xbff7fec0 (shmcon reader) routine 0xbff0e969, arg 0x0
arch_task_trampoline: task 0xbff80300 (main) routine 0xbff011b9, arg 0x0
Adding 0x13000000 bytes at 0x8c000000 to heap.
doing platform hardware init
[nand_boot:INF@ 173] nand_boot_init() starting
[NAND] h2fmiInit:251 [FIL] PPN Device Detected
[NAND] Found Chip ID 50 50 4E 01 05 05 on FMI0:CE0
[NAND] Found Chip ID 50 50 4E 01 05 05 on FMI1:CE8
[NAND] h2fmiInit:341 [FIL] Using DDR mode.
[NAND] h2fmi_ppn15_enable_optional_signals:2461 Enabling VREF on CE 0
[NAND] h2fmi_ppn15_enable_optional_signals:2461 Enabling VREF on CE 8
[NAND] h2fmiPpnGetControllerInfo:775 PPN Manufacturer ID: AD 82 52 23 21 02
[NAND] h2fmiPpnGetControllerInfo:785 PPN Controller Version: 040492P_HYNIX_B_
[NAND] _initPPN:838 ddr_rs 0 rpre 8 rpst 5 wpre 3 wpst 1 cs 5 ch 3 adl 76 whr 30
[NAND] _initPPN:851 rs 3 rh 1 dc 3 ws 3 wh 1
[NAND] h2fmiInit:408 FMC_DQS_TIMING_CTRL = 0xc0000000
[NAND] h2fmiInit:409 FMC_TOGGLE_CTRL_1 = 0x8050301
[NAND] h2fmiInit:410 FMC_TOGGLE_CTRL_2 = 0x5034c1e
[NAND] h2fmiInit:411 FMC_IF_CTRL = 0x33131
[NAND] h2fmiInit:412 FMC_IF_CTRL [DDR] = 0x31
[NAND] h2fmiInit:408 FMC_DQS_TIMING_CTRL = 0xc0000000
[NAND] h2fmiInit:409 FMC_TOGGLE_CTRL_1 = 0x8050301
[NAND] h2fmiInit:410 FMC_TOGGLE_CTRL_2 = 0x5034c1e
[NAND] h2fmiInit:411 FMC_IF_CTRL = 0x33131
[NAND] h2fmiInit:412 FMC_IF_CTRL [DDR] = 0x31
[nand_part_core:INF@2178] read valid partition table
[nand_part_core:INF@ 145] created partition 0 as 'Boot Block'
[nand_part_core:INF@ 145] created partition 1 as 'Effaceable'
[nand_part_core:INF@ 145] created partition 2 as 'NVRAM'
[nand_part_core:INF@ 145] created partition 3 as 'Firmware'
[nand_part_core:INF@ 145] created partition 4 as 'Filesystem'
[nand_part_core:INF@ 157] published partition 4
[nand_part_core:INF@ 145] created partition 5 as 'System Config'
[nand_part_core:INF@ 145] created partition 6 as 'Diagnostic Data'
[nand_part_core:INF@ 145] created partition 7 as 'Bad Block Table'
[nand_part_core:INF@ 157] published partition 7
register_blockdev: dev 0xbff899c0 'nand_llb'
[nand_part_core:INF@ 157] published partition 0
[effaceable:INIT] found current generation, 876, in group 3
[effaceable:INIT] started
[nand_part_core:INF@ 157] published partition 1
initializing nand nvram...
nand nvram initialized
register_blockdev: dev 0xbff5332c 'nvram'
[nand_part_core:INF@ 157] published partition 2
register_blockdev: dev 0xbff8e500 'nand_firmware'
[nand_part_core:INF@ 157] published partition 3
[nand_part_core:INF@ 157] published partition 5
[nand_part_core:INF@ 157] published partition 6
nand_syscfg_init()
[NAND] WMR_Start:151 Apple PPN NAND Driver, Read-Only
[NAND] h2fmiPrintConfig:544 Chip ID 50 50 4E 01 05 05 on FMI0:CE0
[NAND] h2fmiPrintConfig:544 Chip ID 50 50 4E 01 05 05 on FMI1:CE8
[NAND] h2fmiPrintConfig:554 PPN Manufacturer ID: AD 82 52 23 21 02
[NAND] h2fmiPrintConfig:556 PPN Controller Version: 040492P_HYNIX_B_
[NAND] WMR_Start:174 FIL_Init [OK]
CDMA: setting up channel 5
CDMA: setting up channel 6
CDMA: setting up channel 7
CDMA: setting up channel 8
register_blockdev: dev 0xbff92640 'nand_syscfg'
syscfg: version 0x00020002 with 49 entries using 1004 of 8192 bytes
BDEV: protecting 0x2000-0x8000
[nand_boot:INF@ 214] nand_boot_init() succeeded
loading nvram
found partition 'common' at offset 32, len 2032
found partition 'APL,OSXPanic' at offset 2080, len 2048
nvram_load: found 1 banks of nvram
'backlight-level' = '1546'
'debug-uarts' = '1'
'com.apple.System.fp-state' = '▒v▒'
'IONVRAM-SYNCNOW-PROPERTY' = 'IONVRAM-SYNCNOW-PROPERTY'
'boot-breadcrumbs' = ') 0003000d 0003000f(6b726e6c) 0003000c(6b726e6c) 0003000d 00030010 <DONE> <COMMIT> <BOOT> 40060003(ffffffff) 0003000f(64747265) 40060004 00030011 00030007 0003000c(64747265) 0003000d 0003000f(6b726e6c) 0003000c(6b726e6c) 0003000d 00030010 <DONE> <COMMIT> '
'auto-boot' = 'true'
'boot-args' = ''
looking for boot images
WARNING: page read (3:0:0:57) failed
WARNING: page read (3:1:0:57) failed
WARNING: unable to read firmware page 0x39
error reading image header @ 0xe4000
11 images
image 0xbff8d780: bdev 0xbff8e500 type SCAB offset 0x4000
image 0xbff8d800: bdev 0xbff8e500 type ibot offset 0x8000 len 0x4a0b8
image 0xbff8d880: bdev 0xbff8e500 type chg1 offset 0x54000 len 0x87f8
image 0xbff8d900: bdev 0xbff8e500 type recm offset 0x60000 len 0x35db8
image 0xbff8d980: bdev 0xbff8e500 type logo offset 0x98000 len 0x19f8
image 0xbff8da00: bdev 0xbff8e500 type batF offset 0x9c000 len 0x147b8
image 0xbff8da80: bdev 0xbff8e500 type bat0 offset 0xb4000 len 0xa9b8
image 0xbff8db00: bdev 0xbff8e500 type dtre offset 0xc0000 len 0x15cb8
image 0xbff8db80: bdev 0xbff8e500 type chg0 offset 0xd8000 len 0x2538
image 0xbff8dc00: bdev 0xbff8e500 type bat1 offset 0xdc000 len 0x738
image 0xbff8dc80: bdev 0xbff8e500 type glyP offset 0xe0000 len 0xeb8
loading image with private magic 696d6733
loading image 0xbff8d798 with buffer 0xbffbfd80/b10
reading image from bdev
PKI: break certificate chain into certs
PKI: anchor chain to Apple CA
PKI: parse cert 1 of 3
found subject key id extension (0xbff51fb1, 20)
found auth key id extension (0xbff51fd2, 20)
PKI: parse cert 2 of 3
found subject key id extension (0xbffc0ee7, 20)
found auth key id extension (0xbffc0f08, 20)
PKI: parse cert 3 of 3
found subject key id extension (0xbffc124c, 20)
found auth key id extension (0xbffc126d, 20)
found apple spec (ticket) extension (0xbffc1294, 32)
PKI: verify cert 1 was issued by 0
PKI: verify cert 2 was issued by 1
PKI: check intermediate cert for common name ')Apple Secure Boot Certification Authority'
PKI: check payload hash with signature
PKI: parse apple spec id extension (ticket) in leaf: (0xbffc1294, 32)
pmu0: read f5 from reg 21
pmu0: wrote f5 to reg 21
initializing display
Display PMU found, 0x0000f375, Unknown-a0
dark boot: Received backlight level request 0
lm3534: probing backlight controller 0 at i2c0 address 0xc6
lm3534: successfully probed backlight controller 0 with value 0x2
lm3534: setting backlight controller 0 to level 0
display_init()
DClr: Device enclosure R/G/B = 245/244/247 (0x00F5F4F7)
DClr: Device cover glass R/G/B = 59/59/60 (0x003B3B3C)
DClr: Color mapping policy is to keep colors
pinot_init()
mipi_dsim_init()
pinot_init(): pinot_panel_id: 0xa1d114ce
pinot_init(): pinot_default_color: 0x00000000
pinot_init(): pinot_backlight_cal: 0x0000004c
pmu0: wrote e to reg 80
pmu0: wrote 14 to reg 82
paint_install_gamma_table: Found WpCl version = 0x00000000, red = 0x00010000, green = 0x00010000, blue = 0x00010000
dark boot: Received backlight level request 1546
lm3534: setting backlight controller 0 to level 1546
dark boot: Received backlight level request 1546
lm3534: setting backlight controller 0 to level 1546
[NAND] h2fmiPrintConfig:544 Chip ID 50 50 4E 01 05 05 on FMI0:CE0
[NAND] h2fmiPrintConfig:544 Chip ID 50 50 4E 01 05 05 on FMI1:CE8
[NAND] h2fmiPrintConfig:554 PPN Manufacturer ID: AD 82 52 23 21 02
[NAND] h2fmiPrintConfig:556 PPN Controller Version: 040492P_HYNIX_B_
=======================================
::
:: iBEC for n49, Copyright 2007-2016, Apple Inc.
::
:: BUILD_TAG: localbuild...matteyeux....2018/07/11-17:53:45
::
:: BUILD_STYLE: DEVELOPMENT
::
:: USB_SERIAL_NUMBER: CPID:8950 CPRV:20 CPFM:03 SCEP:10 BDID:0E ECID:00000294E20AC389 IBFL:1A SRNM:[C7JL9VB9FFT5]
::
=======================================
breadcrumb store initialized at 0xbffc1440
initializing mass storage
flash_nand_init()
swiss_ppn_init()
[NAND] WMR_Start:151 Apple PPN NAND Driver, Read-Only
[NAND] h2fmiPrintConfig:544 Chip ID 50 50 4E 01 05 05 on FMI0:CE0
[NAND] h2fmiPrintConfig:544 Chip ID 50 50 4E 01 05 05 on FMI1:CE8
[NAND] h2fmiPrintConfig:554 PPN Manufacturer ID: AD 82 52 23 21 02
[NAND] h2fmiPrintConfig:556 PPN Controller Version: 040492P_HYNIX_B_
[NAND] WMR_Start:174 FIL_Init [OK]
[NAND] WMR_Open:371 VFL_Open [OK]
[NAND] s_cxt_boot:88 sftl: error, unclean shutdown; adopted 11093 spans
[NAND] WMR_Open:420 FTL_Open [OK]
register_blockdev: dev 0xbfff0600 'nand0'
register_blockdev: dev 0xbfff1740 'nand0a'
register_blockdev: dev 0xbfff2000 'nand0c'
register_blockdev: dev 0xbfff28c0 'nand0d'
saving nvram contents at bdev 'nvram', offset 0x0, len 0x2000, gen 1730
pmu0: read 1 from reg a3
Boot Failure Count: 1 Panic Fail Count: 0
Delaying boot for 0 seconds. Hit enter to break into the command prompt...
boot-command 'fsboot' not supported
DClr: Color remapping disabled
dark boot: Lighting up display... (remembered backlight_level: 1546)
lm3534: setting backlight controller 0 to level 1546
usb_controller_register, 0xbff50ba4
USB inited
Entering recovery mode, starting command prompt
arch_task_trampoline: task 0xbff80300 (main) exits with -1
arch_task_trampoline: task 0xbfff0ac0 (usb req) routine 0xbff23a69, arg 0x0
arch_task_trampoline: task 0xbfff0cc0 (usb-high-curren) routine 0xbff23ad5, arg 0x0
arch_task_trampoline: task 0xbfff1500 (usb-no-current) routine 0xbff23af5, arg 0x0
arch_task_trampoline: task 0xbfff5200 (usb) routine 0xbff192c5, arg 0x0
arch_task_trampoline: task 0xbfff68c0 (poweroff) routine 0xbff01565, arg 0x0
arch_task_trampoline: task 0xbfff6d00 (command) routine 0xbff1eee5, arg 0x0
] arch_task_trampoline: task 0x8c1d45c0 (idleoff) routine 0xbff015ed, arg 0x0
power_set_charging(critical=0, configured=1, suspended=0, pause=0)
dialog_set_charging(input_current_limit=100, charge_current_ma=900)
dialog_set_charging(paus=0, ichg_bat_max=0x1e)
pmu0: wrote 1e to reg 43
pmu0: wrote 0 to reg 1b
power_set_charging(critical=0, configured=1, suspended=0, pause=0)
dialog_set_charging(input_current_limit=100, charge_current_ma=900)
dialog_set_charging(paus=0, ichg_bat_max=0x1e)
pmu0: wrote 1e to reg 43
pmu0: wrote 0 to reg 1b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment