AnsweredAssumed Answered

Building rel_imx_3.0.35_4.1.0 kernel fails to boot

Question asked by Dan Merillat on Sep 20, 2013
Latest reply on Feb 21, 2014 by Mark Featherston

I'm attempting to rebuild the image-as-shipped (L3.0.35_4.1.0_images/uImage) using the kernel config (from the config.gz inside the released image), but my build crashes during the boot process:

 

 

i2c-core: driver [max17135] using legacy suspend method                              
i2c-core: driver [max17135] using legacy resume method                               
Switching to clocksource mxc_timer1                                                  
Unable to handle kernel paging request at virtual address ffffffff                   
pgd = 80004000                                                                       
[ffffffff] *pgd=4fffe821, *pte=00000000, *ppte=00000000                              
Internal error: Oops: 17 [#1] PREEMPT SMP                                            
Modules linked in:                                                                   
CPU: 0    Not tainted  (3.0.35-03022-gbdde708 #2)                                    
PC is at kmem_cache_alloc+0xa8/0x100                                                 
LR is at con_insert_unipair+0xb8/0x104                                               
pc : []    lr : []    psr: 60000093                              
sp : bff8bef0  ip : 8003e5a0  fp : 00000000                                          
r10: 000024f4  r9 : 00000001  r8 : 000000d0                                          
r7 : 0bfcd000  r6 : bfff9300  r5 : 80aa5cc0  r4 : ffffffff                           
r3 : bff8a000  r2 : 80281f5c  r1 : 80aa5cc0  r0 : a0000013                           
Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel                 
Control: 10c53c7d  Table: 1000404a  DAC: 00000015                                    
Process swapper (pid: 1, stack limit = 0xbff8a2f0)                                   
Stack: (0xbff8bef0 to 0xbff8c000)                                                    
bee0:                                     80b01a88 000023bd bfe3a9c0 0000005f        
bf00: bfe571b8 0000005f 00000003 80ace704 00000000 80281f5c 80ace868 00000002        
bf20: 80ace708 bfe3a9c0 0000005f 80282824 00000014 80ace868 80b0f28c bfff0000        
bf40: 00000000 00000001 00000000 80b0f4b0 00000000 80af3e60 80021fcc 00000000        
bf60: 00000000 80021474 00000000 00000001 00000002 800219b0 809fd628 801417a8        
bf80: bfe49f90 80b0ee88 00000000 bff8a000 00000013 80020dc0 809cd344 00000013        
bfa0: 8002f7a8 8002f7a8 8002fbd0 8003d5ac 00000000 37349de8 00000039 00000000        
bfc0: 00000270 80abeb90 8002f7a8 8002fbd0 80043c40 00000000 00000000 00000000        
bfe0: 00000000 80008980 00000000 00000000 800088c4 80043c40 80821c52 b1011033        

 

The exact git version is: bdde708ebfde (ENGR00275459 mx6sl: csi/v4l: fix kernel dump when do repeated streamon/streamoff), tagged as "rel_imx_3.0.35_4.1.0".

 

Compiler is the 2012.09 release as recommended in the freescale documentation.

 

Working official version:

Linux version 3.0.35-2666-gbdde708 (r65388@shlinux3) (gcc version 4.6.2 20110630 (prerelease) (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20) ) #1 SMP PREEMPT Fri Aug 16 10:43:44 CST 2013

 

My build:

Linux version 3.0.35-03022-gbdde708 (dan@dan) (gcc version 4.7.2 (Sourcery CodeBench Lite 2012.09-63) ) #2 SMP PREEMPT Fri Sep 20 23:24:49 EDT

2013       

 

Note the git rev is identical, and the configuration I used is directly out of the working version.

 

Are there known issues with this compiler release?  If so, what's the correct compiler release for building the kernel from the freescale sources?

Outcomes