NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-evbarm/48669: evbarm/imx23_olinuxino (ARM9E) doesn't boot

The following reply was made to PR port-evbarm/48669; it has been noted by 

From: Petri Laakso <>
Subject: Re: port-evbarm/48669: evbarm/imx23_olinuxino (ARM9E) doesn't boot
Date: Thu, 20 Mar 2014 19:00:14 +0200

 On Thu, 20 Mar 2014 16:40:00 +0000 (UTC) wrote:
 > >Number:         48669
 > >Category:       port-evbarm
 > >Synopsis:       evbarm/imx23_olinuxino (ARM9E) doesn't boot
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       medium
 > >Responsible:    port-evbarm-maintainer
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Thu Mar 20 16:40:00 +0000 2014
 > >Originator:     Petri Laakso
 > >Release:        current
 > >Organization:
 > >Environment:
 > >Description:
 > I was reported problem to me that evbarm/imx23_olinuxino doesn't work.
 > All user is going to see is endless loop of:
 > bootimx23: HW revision TA5, boot reason 5V, power source 5V
 > Enabling 4P2 regulator...done
 > Enabling 4P2 regulator output to DCDC...done
 > Enabling VDDMEM...done
 > Powering VDDD from DCDC...done
 > Powering VDDA from DCDC...done
 > Powering VDDIO from DCDC...done
 > Enabling clocks...done
 > Configuring pins...done
 > Configuring EMI...done
 > Press any key to drop into boot prompt...
 > NetBSD/evbarm (OLinuXino) booting ...
 > panic: pmap_map_chunk: no L2 table for VA 0xc0400000
 > Undefined Instruction
 > r14_un
 > >How-To-Repeat:
 > Try to run evbarm/imx23_olinuxino
 > >Fix:
 For debugging purposes I'm using u-boot and kernel image compiled
 with VERBOSE_INIT_ARM, it looks like this:
 ## Booting kernel from Legacy Image at 42000000 ...
    Image Name:   whatever
    Image Type:   ARM NetBSD Kernel Image (uncompressed)
    Data Size:    4275776 Bytes = 4.1 MiB
    Load Address: 40000000
    Entry Point:  40000000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
 ## Transferring control to NetBSD stage-2 loader (at address 40000000) ...
 NetBSD/evbarm (OLinuXino) booting ...
 boot_args @ c3ffbf00: ''             
 arm32_bootmem_init: memstart=0x40000000, memsize=0x4000000, 
 arm32_bootmem_init: kernelend=0x40430000                                       
 arm32_bootmem_init: adding 15312 free pages: [0x40430000..0x43ffffff] (VA 
 arm32_kernel_vm_init: 0 L2 pages are needed to map 0x457000 kernel bytes       
 arm32_kernel_vm_init: allocating page tables for vectoradd_pages: adding pv 
0xc0414560 (pa 0x40430000, va 0xc0430000, 4 pages) at tail
 add_pages: appending pv 0xc04146a8 (0x40434000..0x40434fff) to 
  kernel vmadd_pages: appending pv 0xc04146d0 (0x40435000..0x40435fff) to 
 add_pages: appending pv 0xc04146e4 (0x40436000..0x40436fff) to 
 add_pages: appending pv 0xc04146f8 (0x40437000..0x40437fff) to 
 add_pages: appending pv 0xc041470c (0x40438000..0x40438fff) to 
 add_pages: appending pv 0xc0414720 (0x40439000..0x40439fff) to 
 add_pages: appending pv 0xc0414734 (0x4043a000..0x4043afff) to 
 add_pages: appending pv 0xc0414748 (0x4043b000..0x4043bfff) to 
 add_pages: appending pv 0xc041475c (0x4043c000..0x4043cfff) to 
 arm32_kernel_vm_init: allocating stacks                                        
 add_pages: adding pv 0xc041454c (pa 0x4043d000, va 0xc043d000, 1 pages) at tail
 add_pages: appending pv 0xc0414a00 (0x4043e000..0x4043efff) to 
     compile  IMX23_OLINUXINO/syscall.o
     compile  IMX23_OLINUXINO/undefined.o
 add_pages: appending pv 0xc04149ec (0x4043f000..0x4043ffff) to 
 add_pages: appending pv 0xc04149d8 (0x40440000..0x40440fff) to 
 add_pages: appending pv 0xc04149c4 (0x40441000..0x40442fff) to 
 add_pages: appending pv 0xc0414a28 (0x40443000..0x40444fff) to 
 add_pages: appending pv 0xc0414598 (0x40445000..0x40448fff) to 
 Creating L1 page table at 0x40430000
 arm32_kernel_vm_init: adding L2 pt (VA 0xc0434000, PA 0x40434000) for VA 
  (vectors)arm32_kernel_vm_init: adding L2 pt (VA 0xc0435000, PA 0x40435000) 
for VA 0xc8000000 (vm)
 arm32_kernel_vm_init: adding L2 pt (VA 0xc0436000, PA 0x40436000) for VA 
0xc8400000 (vm)
 arm32_kernel_vm_init: adding L2 pt (VA 0xc0437000, PA 0x40437000) for VA 
0xc8800000 (vm)
 arm32_kernel_vm_init: adding L2 pt (VA 0xc0438000, PA 0x40438000) for VA 
0xc8c00000 (vm)
 arm32_kernel_vm_init: adding L2 pt (VA 0xc0439000, PA 0x40439000) for VA 
0xc9000000 (vm)
 arm32_kernel_vm_init: adding L2 pt (VA 0xc043a000, PA 0x4043a000) for VA 
0xc9400000 (vm)
 arm32_kernel_vm_init: adding L2 pt (VA 0xc043b000, PA 0x4043b000) for VA 
0xc9800000 (vm)
 arm32_kernel_vm_init: adding L2 pt (VA 0xc043c000, PA 0x4043c000) for VA 
0xc9c00000 (vm)
 Mapping kernel
 arm32_kernel_vm_init: adding chunk for kernel text 0x40000000..0x40310fff (VA 
 add_pages: adding pv 0xc0414538 (pa 0x40000000, va 0xc0000000, 785 pages) 
before pa 0x40430000
 arm32_kernel_vm_init: adding chunk for kernel data/bss 0x40311000..0x4042ffff 
(VA 0xc0311000)
 add_pages: appending pv 0xc04145c0 (0x40311000..0x4042ffff) to 
 Listing Chunks
 arm32_kernel_vm_init: pv 0xc0414538: chunk VA 0xc0000000..0xc042ffff (PA 
0x40000000, prot 3, cache 1)
 arm32_kernel_vm_init: pv 0xc0414560: chunk VA 0xc0430000..0xc043cfff (PA 
0x40430000, prot 3, cache 2)
 arm32_kernel_vm_init: pv 0xc041454c: chunk VA 0xc043d000..0xc0448fff (PA 
0x4043d000, prot 3, cache 1)
 Mapping Chunks
 arm32_kernel_vm_init: mapping chunk VA 0xc0000000..0xc042ffff (PA 0x40000000, 
prot 3, cache 1)
 pmap_map_chunk: pa=0x40000000 va=0xc0000000 size=0x430000 resid=0x430000 
prot=0x3 cache=1
 SSSSpanic: pmap_map_chunk: no L2 table for VA 0xc0400000
 undefined instruction
 pc : [<c003a00c>]          lr : [<c01b996c>]
 sp : c0414338  ip : c0414338     fp : c0414364
 r10: c0427810  r9 : c0414384     r8 : c0426c5c
 r7 : 00000104  r6 : c02da3e0     r5 : c0427810  r4 : c042782c
 r3 : 00000001  r2 : 00000000     r1 : 80070000  r0 : 00000001
 Flags: nZCv  IRQs off  FIQs off  Mode SVC_32
 Resetting CPU ...
 resetting ...

Home | Main Index | Thread Index | Old Index