linux-mips
[Top] [All Lists]

Re: Custom kernel crashes

To: Thomas Petazzoni <thomas.petazzoni@enix.org>
Subject: Re: Custom kernel crashes
From: Manish Lachwani <mlachwani@mvista.com>
Date: Tue, 02 Nov 2004 09:36:04 -0800
Cc: linux-mips@linux-mips.org
In-reply-to: <4187C26E.1090402@enix.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <4187AF03.5030606@enix.org> <4187BB44.4030508@mvista.com> <4187BED1.2060208@enix.org> <4187BFF8.6000905@mvista.com> <4187C26E.1090402@enix.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.2) Gecko/20040308
Hello Thomas,

Quick suggestion since I dont know all the details: Can you increase the size of the space mapped to say 16 MB (some larget value than 256 KB) and check if the bus error repeats?

#define NPP_BOARD_INTERNAL_SRAM_SIZE (16 *1024 * 1024)

Thanks
Manish Lachwani



Thomas Petazzoni wrote:
Hello,

Manish Lachwani a écrit :

What are these values: NPP_BOARD_INTERNAL_SRAM_BASE, NPP_BOARD_INTERNAL_SRAM_END and NPP_BOARD_INTERNAL_SRAM_BASE.


#define NPP_BOARD_INTERNAL_SRAM_BASE 0xfe000000UL
#define NPP_BOARD_INTERNAL_SRAM_SIZE (256*1024)
#define NPP_BOARD_INTERNAL_SRAM_END  \
        (NPP_BOARD_INTERNAL_SRAM_BASE + NPP_BOARD_INTERNAL_SRAM_SIZE)

Do you think it's a problem related to the SRAM ?

Also, what is ENTRYLO() defined as?


static inline unsigned long ENTRYLO(unsigned long paddr)
{
        return ((paddr & PAGE_MASK) |
               (_PAGE_PRESENT | __READABLE | __WRITEABLE | _PAGE_GLOBAL |
                _CACHE_UNCACHED)) >> 6;
}

This code is taken from the jaguar_atx setup.c file.

Thanks,

Thomas



<Prev in Thread] Current Thread [Next in Thread>