Re: Custom kernel crashes

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

 



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




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux