Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| docs:techref:bootloader:cfe [2022/11/13 03:49] – [CFE] improve readability ifconfig | docs:techref:bootloader:cfe [2023/10/12 16:42] (current) – [Table] systemcrash | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| * [[wp> | * [[wp> | ||
| - | * [[http:// | + | * [[http:// |
| - | * [[https:// | + | |
| + | | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| ===== Using the CFE ===== | ===== Using the CFE ===== | ||
| Line 104: | Line 109: | ||
| ===== bcm63xx CFE ===== | ===== bcm63xx CFE ===== | ||
| - | bcm63xx CFE is totally different | + | bcm63xx CFE is totally different |
| To access CFE you need to attach a [[docs: | To access CFE you need to attach a [[docs: | ||
| Line 110: | Line 115: | ||
| This is a typical output when starting up the CFE and entering the CLI: | This is a typical output when starting up the CFE and entering the CLI: | ||
| - | | < | + | < |
| CFE version 1.0.37-104.4 for BCM96368 (32bit, | CFE version 1.0.37-104.4 for BCM96368 (32bit, | ||
| Build Date: Mon Feb 21 17:59:46 CST 2011 (finerain@moonlight) | Build Date: Mon Feb 21 17:59:46 CST 2011 (finerain@moonlight) | ||
| Line 141: | Line 146: | ||
| Auto run second count down: 1 | Auto run second count down: 1 | ||
| CFE> | CFE> | ||
| - | CFE></ | + | CFE> |
| + | </ | ||
| ==== Using CFE web (http) server ==== | ==== Using CFE web (http) server ==== | ||
| It's probably the most user friendly way of installing firmware. But sometimes some manufacturers decide to disable it (very uncommon). | It's probably the most user friendly way of installing firmware. But sometimes some manufacturers decide to disable it (very uncommon). | ||
| Line 280: | Line 285: | ||
| ==== CFE HEADER ==== | ==== CFE HEADER ==== | ||
| At the begining of CFE, outside the NVRAM area there exist three interesting parameters: | At the begining of CFE, outside the NVRAM area there exist three interesting parameters: | ||
| - | ^ Offsets ^ parameter ^ possible values | + | ^ Offsets |
| - | | 0x010-0x013 | **BpGetSdramSize** | 8MB 1 CHIP\\ 16MB 1 CHIP\\ 32MB 1 CHIP\\ 64MB 2 CHIP\\ 32MB 2 CHIP\\ 16MB 2 CHIP\\ 64MB 1 CHIP | **0**\\ **1**\\ **2**\\ **3**\\ **4**\\ **5**\\ **6** | 4 bytes\\ (unsigned long) | | + | | 0x010-0x013 |
| - | | 0x014-0x017 | **BpGetCMTThread**\\ (Main Thread) | core0\\ core1 | **0**\\ **1** | 4 bytes\\ (unsigned long) | | + | | 0x014-0x017 |
| - | | 0x570 | **CFE Version** | any | | | + | | 0x570 | **CFE Version** |
| + | | 0x575 | **CFE Version Number** | ||
| + | | 0x57A | **unused** | ||
| === NVRAM === | === NVRAM === | ||
| Line 304: | Line 311: | ||
| | {{: | | {{: | ||
| - | ^ NVRAM version> | + | ^ NVRAM version> |
| - | ^ Offsets ^ parameter | + | ^ Offsets |
| - | | 0x580 | **NVRAM Version** || 4 | | + | | 0x580 |
| - | | 0x584 | **BOOT LINE** | e=192.168.1.1 (Board IP)\\ h=192.168.1.100 (Host IP)\\ g= (Gateway IP)\\ r=f/h (run from flash/ | + | | 0x584 |
| - | | 0x684 | **Board ID** || 16 | | + | | 0x684 |
| - | | 0x694 | **Main Thread** || 4 | | + | | 0x694 |
| - | | 0x698 | **Psi size** || 4 | | + | | 0x698 |
| - | | 0x69C | **Number MAC Addresses** || 4 | | + | | 0x69C |
| - | | 0x6A0 | **Base MAC Address** || 6 | | + | | 0x6A0 |
| - | | 0x6A6 | **reserved** || 2 | | + | | 0x6A6 |
| - | | 0x6A8 | **old CheckSum** || 4 | | + | | 0x6A7 | **allocate space for backup PSI flag** |
| - | | 0x6AC | **gpon Serial Number** || 13 | | + | | 0x6A8 |
| - | | 0x6B9 | **gpon Password** || 11 | | + | | 0x6AC |
| - | | 0x6C4 | **wps Device Pin** || 8 | | + | | 0x6B9 |
| - | | 0x6CC | **wlan Params** || 256 | | + | | 0x6C4 |
| - | | 0x7CC | **Syslog Size** || 4 | | + | | 0x6CC |
| - | | 0x7D0 | **Nand Part Ofs Kb** || 20 | | + | | 0x7CC |
| - | | 0x7E4 | **Nand Part Size Kb** || 20 | | + | | 0x7D0 |
| - | | 0x7F8 | **Voice Board Id** || 16 | | + | | 0x7E4 |
| - | | 0x808 | **afe Id** || 8 | | + | | 0x7F8 |
| - | | 0x810 | **Unused** || 364 | | + | | 0x808 |
| - | | 0x97C | **CheckSum** || 4 | | + | | 0x810 |
| + | | 0x812 | **OptoRxPower Offset** | ||
| + | | 0x814 | **OptoTxPower Reading** | ||
| + | | 0x816 | **unused** | ||
| + | | 0x850 | **Flash Block Size** | ||
| + | | 0x851 | **AuxFS Size Percentage** | ||
| + | | 0x852 | **unused** | ||
| + | | 0x8FB | **Reset to Default CFG Flag** | ||
| + | | 0x8FC | **Model Name** | ||
| + | | 0x91C | **DES Key** || 32 | | ||
| + | | 0x93C | **WEP Key** || 32 | | ||
| + | | 0x95C | **Serial Number** | ||
| + | | 0x97C | ||
| + | | 0x980 | --end-- | ||
| NVRAM versions >=5 always have the checksum placed at the end of the NVRAM. | NVRAM versions >=5 always have the checksum placed at the end of the NVRAM. | ||