[U-Boot] [PATCH 11/11] RFC mx6qsabrelite: imximage.cfg: enable plugin mode

Troy Kisky troy.kisky at boundarydevices.com
Wed Sep 19 03:52:32 CEST 2012


On 9/18/2012 5:03 PM, Troy Kisky wrote:
> Don't apply this patch yet, because although u-boot
> will boot, Linux won't!!!!
>
> The other CPU's won't come online, and L2 cache
> initialization crashes
>
> Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)
> pid_max: default: 32768 minimum: 301
> Mount-cache hash table entries: 512
> Initializing cgroup subsys cpuacct
> CPU: Testing write buffer coherency: ok
> hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
> CPU1: failed to come online
> CPU2: failed to come online
> CPU3: failed to come online
> Brought up 1 CPUs
> SMP: Total of 1 processors activated (1581.05 BogoMIPS).
> print_constraints: dummy:
> NET: Registered protocol family 16
> print_constraints: vddpu: 725 <--> 1300 mV at 1100 mV fast normal
> print_constraints: vddcore: 725 <--> 1300 mV at 1100 mV fast normal
> print_constraints: vddsoc: 725 <--> 1300 mV at 1200 mV fast normal
> print_constraints: vdd2p5: 2000 <--> 2775 mV at 2400 mV fast normal
> print_constraints: vdd1p1: 800 <--> 1400 mV at 1100 mV fast normal
> print_constraints: vdd3p0: 2800 <--> 3150 mV at 3000 mV fast normal
> ------------ Board type Nitrogen6X/W
> hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
> hw-breakpoint: 1 breakpoint(s) reserved for watchpoint single-step.
> hw-breakpoint: maximum watchpoint size is 4 bytes.
> Unhandled fault: imprecise external abort (0x1c06) at 0x1d4c07b4
> Internal error: : 1c06 [#1] PREEMPT SMP
> Modules linked in:
> CPU: 0    Not tainted  (3.0.35-1968-gd3f7f36-03060-ga3844c7 #1)
> PC is at mxc_init_l2x0+0x50/0x120
>
> Anyone have a clue?
>
> The same thing under freescale's imx-android-r13.3
> works fine. Only mainline doesn't work
>
> Signed-off-by: Troy Kisky <troy.kisky at boundarydevices.com>
> ---
>   board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg b/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg
> index eea8d3a..2af4265 100644
> --- a/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg
> +++ b/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg
> @@ -26,7 +26,7 @@
>    * The syntax is taken as close as possible with the kwbimage
>    */
>   #define FOR_MX6Q
> -
> +#define USE_PLUGIN
>   #include <asm/arch/imx-mkimage.h>
>   
>   /* image version */
Never mind. I found the issue. I need to disable the L2 cache before 
returning from plugin.


Thanks
Troy



More information about the U-Boot mailing list