User Tools

Site Tools


doc:hardware:soc:soc.broadcom.bcm63xx:smp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
doc:hardware:soc:soc.broadcom.bcm63xx:smp [2014/07/30 21:21]
danitool
doc:hardware:soc:soc.broadcom.bcm63xx:smp [2015/02/05 21:14] (current)
danitool
Line 1: Line 1:
 ====== SMP/CMT Broadcom 63xx ====== ====== SMP/CMT Broadcom 63xx ======
 An example of SMP initialization on BCM6358 SoC: http://​pastebin.com/​wV3njK7c taken from  An example of SMP initialization on BCM6358 SoC: http://​pastebin.com/​wV3njK7c taken from 
-[[http://​www.livebox-floss.com/​Products//​LiveBox/​LiveBox1/​Thomson/​vunknown/​linux-2.6.12.tar.bz2|linux-2.6.12.tar.bz2]]+<del>[[http://​www.livebox-floss.com/​Products//​LiveBox/​LiveBox1/​Thomson/​vunknown/​linux-2.6.12.tar.bz2|linux-2.6.12.tar.bz2]]</​del>,​ mirror ->​[[https://​drive.google.com/​uc?​export=download&​id=0B-EMoBe-_OdBRnppenZMOExOUEU|linux-2.6.12-inv.zip]]
  
 OpenWrt SMP on BMIPS cores: [[http://​lxr.free-electrons.com/​source/​arch/​mips/​kernel/​smp-bmips.c|smp-bmips.c]] OpenWrt SMP on BMIPS cores: [[http://​lxr.free-electrons.com/​source/​arch/​mips/​kernel/​smp-bmips.c|smp-bmips.c]]
Line 8: Line 8:
 The main thread is configured by the bootloader (CFE) when the SoC is initialized. It can be checked in the log returned by CFE via serial. Example: The main thread is configured by the bootloader (CFE) when the SoC is initialized. It can be checked in the log returned by CFE via serial. Example:
 <​HTML>​ <​HTML>​
-<p style="​padding:​ 10px;​border:​1px solid grey;​height:​550px;​font:​9px/12px Georgia, Garamond, Serif;​overflow:​Auto">​+<p style="​padding:​ 10px;​border:​1px solid grey;​height:​550px;​font:​10px/12px Georgia, Garamond, Serif;​overflow:​Auto">​
 <​code>​CFE version cfe.d081.5003 for BCM96358 (32bit,​SP,​BE) <​code>​CFE version cfe.d081.5003 for BCM96358 (32bit,​SP,​BE)
 Build Date: Wed Nov 11 10:36:35 CST 2009 (Lihua_68693) Build Date: Wed Nov 11 10:36:35 CST 2009 (Lihua_68693)
Line 67: Line 67:
 This parameter is located between **offsets 0x014-0x017** in [[doc:​techref:​bootloader:​cfe#​bcm63xx.cfe|CFE]]. We can change it HEX editing the CFE. Setting the value to 0, makes the core0 the main thread. This brings 32kB instead 16kB icache to the operating system and therefore increases the performance. This parameter is located between **offsets 0x014-0x017** in [[doc:​techref:​bootloader:​cfe#​bcm63xx.cfe|CFE]]. We can change it HEX editing the CFE. Setting the value to 0, makes the core0 the main thread. This brings 32kB instead 16kB icache to the operating system and therefore increases the performance.
  
-Some CFEs allow to change the Main thread using the command line interface.+Some CFEs allow to change the Main thread using the command line interface. This option is probably only present in most recent SoCs such as BCM6368.
  
 BCM6368 SoC cores are identical: BCM6368 SoC cores are identical:
Line 263: Line 263:
   * No support in BCM6358, mainly caused by the shared TLB.   * No support in BCM6358, mainly caused by the shared TLB.
   * BCM6362 and BCM6368 are supported. Available through the SMP subtarget in trunk versions:\\ https://​dev.openwrt.org/​changeset/​36526\\ https://​dev.openwrt.org/​changeset/​36527   * BCM6362 and BCM6368 are supported. Available through the SMP subtarget in trunk versions:\\ https://​dev.openwrt.org/​changeset/​36526\\ https://​dev.openwrt.org/​changeset/​36527
 +  * Fatal bug causing jffs2 data corruption -> temporal workaround https://​dev.openwrt.org/​changeset/​40396
  
 {{tag>​wip bcm63xx}} {{tag>​wip bcm63xx}}
doc/hardware/soc/soc.broadcom.bcm63xx/smp.1406748071.txt.bz2 · Last modified: 2014/07/30 21:21 (external edit)