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

Re: [microblaze-uclinux] Boot issues on XUPV5-LX110T




Dana Goyette wrote:
> I've been having all sorts of issues trying to bring up a kernel from
> Michael Simek's linux-2.6-microblaze branch, using simpleImage format,
> on the XUPV5-LX110T board; for now, I am attempting the noMMU version,
> because I'd imagine that's simpler. Now that I've built the system with
> uartlite for early printk, I get the following in my console on boot:
> 
> early_printk_console is enabled at 0x84000000
> 
> Ramdisk addr 0x00000fff, Compiled-in FDT at 0x10ae1300
> 
> <board hangs here.>
> 
> If I then read the _log_buf contents with the debugger and decode with
> http://home2.paulschou.net/tools/xlate/ , I get the following:
> 
> <5>[    0.000000] Linux version 2.6.30-00025-g7368484 (dana@EliteBook)
> (gcc version 4.1.2) #4 Mon Aug 24 14:01:34 PDT 2009
> <6>[    0.000000] setup_cpuinfo: initialising
> <6>[    0.000000] setup_cpuinfo: Using full CPU PVR support
> <6>[    0.000000] setup_memory: Main mem: 0x10000000-0x20000000, size
> 0x10000000
> <6>[    0.000000] setup_memory: kernel addr=0x10800000-0x10bea000
> size=0x003ea000
> <6>[    0.000000] setup_memory: max_mapnr: 0x10000
> <6>[    0.000000] setup_memory: min_low_pfn: 0x10000
> <6>[    0.000000] setup_memory: max_low_pfn: 0x20000
> <7>[    0.000000] On node 0 totalpages: 65536
> <7>[    0.000000] free_area_init_node: node 0, pgdat 10bb64cc,
> node_mem_map 10000000
> <7>[    0.000000]   Normal zone: 512 pages used for memmap
> <7>[    0.000000]   Normal zone: 0 pages reserved
> <7>[    0.000000]   Normal zone: 65024 pages, LIFO batch:0
> <4>[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
>   Total pages: 65024
> <5>[    0.000000] Kernel command line: console=ttyUL0
> <6>[    0.000000] NR_IRQS:32
> <6>[    0.000000]  ERROR: Mismatch in kind-of-intr param

As I wrote in one previous my email - you have this error!
Your DTS file is wrong. Please copy & paste to your email.

Michal



> <6>[    0.000000] xlnx,xps-intc-1.00.a #0 at 0x81800000, num_irq=9,
> edge=0xb0001080
> <4>[    0.000000] PID hash table entries: 1024 (order: 10, 4096 bytes)
> <6>[    0.000000] xlnx,xps-timer-1.00.a #0 at 0x83c00000, irq=0
> <5>[    0.000000] Heartbeat GPIO at 0x81400000
> <6>[    0.000000] microblaze_timer_set_mode: shutdown
> <6>[    0.000000] microblaze_timer_set_mode: periodic
> <6>[    0.008000] Dentry cache hash table entries: 32768 (order: 5,
> 131072 bytes)
> <6>[    0.068000] Inode-cache hash table entries: 16384 (order: 4, 65536
> bytes)
> <6>[    0.838000] Memory: 255876k/262144k available
> <3>[    0.860000] kfree_debugcheck: out of range ptr 1f8016c4h.
> <4>[    0.860000] BUG: failure at mm/slab.c:2855/kfree_debugcheck()!
> <0>[    0.860000] Kernel panic - not syncing: BUG!
> <0>[    0.860000] Rebooting in 120 seconds..
> 
> I've run into this same issue before, when manually loading the dtb file
> into memory and storing the address in R7.  Is the odd memory address
> (kernel starts at 0x1080_0000) the cause of this, perhaps?
> 
> I've also had a huge number of compilation issues with Petalinux from
> SVN... tons of missing symbols ("oobblock" in mtdutils, should be
> "writesize"), implicitly declared functions (see attached log), and
> missing include statements (such as stdlib).
> 
> I seem to be having more trouble than I had expected, when trying to
> bring this board up.  Am I just unlucky, or am I doing something wrong?
> 
> Thank you in advance for any help you can give.
> 

-- 
Michal Simek, Ing. (M.Eng)
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com p: +61-7-30090663,+42-0-721842854 f: +61-7-30090663
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/