PMB8878

From The iPhone Wiki
Revision as of 03:31, 16 July 2011 by 5urd (talk | contribs) (Known Firmware Versions)
Jump to: navigation, search

This is the baseband processor used in the iPhone 3G, iPhone 3GS and iPad (3G version). It is upgraded with BBUpdaterExtreme. It is also known as the PMB8878 and is also used on the LG KM900 ARENA. There is a team working on how to port Android on LG ARENA.

Datasheet

Anyone got one? Infineon provides this, which isn't really useful.

View Pinouts from Apple iPhone 3G Schematic - http://img218.imageshack.us/img218/149/baseband.jpg

The firmware is a version of Nucleos OS, a realtime OS for embedded platforms. The parser for the AT commands is generated from GNU bison.

Secpack 2.0

This is the security region in the files sent to the X-Gold 608. This is the first 0xCF8 is new fls and eep files.

Layout

0x634--Memory Map
0x714--Descriptor
0xCD4--Post secpack pointer to name
0xCEC--Data length

Endpack

The fls and eep files also have a footer tacked onto the end containing the loader and signature.

Memory Map

 FLASH      0x20000000 0x1000000
 CODE       0x20000000   0x40000 0b0010(bootstrapper)
 CODE       0x20040000  0xDC0000 0b0100(main firmware)
 FFS        0x20A00000  0x100000 0b1100(empty)
 DYNFFS     0x20A00000  0x100000 0b1100(empty)
 FFS        0x20B00000   0x40000 0b1011(empty)
 DYN_EEP    0x20E40000   0x80000 0b0110
 SECPACK    0x20EC0000   0x40000
 SECZONE    0x20F80000   0x40000
 STATIC_EEP 0x20FC0000   0x40000 0b0111
 RAM        0x40000000  0x800000

MMU relocation table

Bootloader

Bltbl.png

Firmware

Bbmmu.png

Known Firmware Versions

iPad

6.15.00    3.2 (Build 7B367)
           3.2.1 (Build 7B405)
           3.2.2 (Build 7B500)
7.08.00    4.2 beta 1 (Build 8C5091e)
7.09.00    4.2 beta 2 (Build 8C5101)
7.10.00    4.2 beta 3 (Build 8C5115c)
           4.2 (Builds 8C134 and 8C134b)
       and 4.2.1 (Build 8C148)
7.11.00    4.3b1 (Build 8F5148b)
           4.3b2 (Build 8F5153d)
           4.3b3 (Build 8F5166b)
       and 4.3 (Build 8F190)
7.11.01    4.3.1 (Build 8G4)
           4.3.2 (Build 8H7)
           4.3.3 (Build 8J3)
           4.3.4 (Build 8K2)
           5.0b1 (Build 9A5220p)
           5.0b2 (Build 9A5248d)
           5.0b3 (Build 9A5258f)

iPhone 3G/iPhone 3GS

1.43.00    2.0 (Build 5A331 - Internal Beta)
1.43.02    2.0 (Unknown Internal Beta)
1.45.00    2.0 (Build 5A347 - Gold Master)
1.48.02    2.0.1 (Build 5B108)
2.04.03    2.1 (Build 5F90)
2.08.01    2.0.2 (Build 5C1)
2.11.07    2.1 (Build 5F136)
2.28.00    2.2 (Build 5G77)
2.30.03    2.2.1 (Build 5H11)
4.20.01    3.0b1 (Build 7A238j)
4.22.01    3.0b2 (Build 7A259g)
4.24.02    3.0b3 (Build 7A280f)
4.26.08    3.0 (Build 7A341)
           3.0.1 (Build 7A400)
5.08.01    3.1b1 (Build 7C97d)
5.10.01    3.1b2 (Build 7C106c)
5.11.04    3.1b3 (Build 7C116a)
5.11.07    3.1 (Build 7C144)
           3.1.2 (Build 7D11)
5.12.01    3.1.3 (Build 7E18)
5.13.03    4.0b1 (Build 8A230m)
           4.0b2 (Build 8A248c)
5.13.04    4.0 (Build 8A293)
           4.0.1 (Build 8A306)
           4.0.2 (Build 8A400)
           4.1b1 (Build 8B5080c)
5.14.01    4.1b2 (Build 8B5091b)
5.14.02    4.1 (Build 8B117)
5.15.04    4.2b3 (Build 8C5115c)
           4.2GM (Build 8C134)
           4.2.1GM (Build 8C148)
           4.2.1 (Builds 8C148 and 8C148a)
5.16.00    4.3b1 (Build 8F5148b)
           4.3b2 (Build 8F5153d)
           4.3b3 (Build 8F5166b)
           4.3 (Build 8F190)
           4.3.1 (Build 8G4)
5.16.02    4.3.2 (Build 8H7)
           4.3.3 (Build 8J2)
           4.3.4 (Build 8K2)
           5.0b1 (Build 9A5220p)
           5.0b2 (Build 9A5248d)
           5.0b3 (Build 9A5258f)

Accessing Interactive Mode

Interactive mode isn't accessed by sending characters to the baseband. Instead a GPIO pin is raised with a kernel call to preupdate reset.

result = IOConnectCallScalarMethod(conn, 0, 0, 0, 0, 0);	//reset(kAppleBasebandConnectMethodResetModem)
result = IOConnectCallScalarMethod(conn, 1, 0, 0, 0, 0);	//power set(kAppleBasebandConnectMethodRadioOn)
result = IOConnectCallScalarMethod(conn, 2, ?, 0, 0, 0);	//configuring mux
result = IOConnectCallScalarMethod(conn, 7, 0, 0, 0, 0);	//powercycle
result = IOConnectCallScalarMethod(conn, 8, 0, 0, 0, 0);	//preupdate reset
result = IOConnectCallScalarMethod(conn, 9, 0, 0, 0, 0);	//kAppleBasebandConnectMethodNotifyBasebandPoweringDown