Re: Custom kernel crashes

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

 



Hello,

Manish Lachwani a écrit :

This may or may not apply to your case. Is this board still the one that has the Marvell Discovery ethernet device? If yes, Marvell Discovery has its SRAM located at 0xfe000000. So, make a check in the ethernet driver or other board specific sources and see if there is any access to this SRAM location.

The DMA buffers and DMA buffer descriptors used for the serial driver are all located in the SRAM of the Marvell, which is mapped using a wired uncached TLB entry.


Here's the code that wires the entry :

  add_wired_entry(ENTRYLO(NPP_BOARD_INTERNAL_SRAM_BASE),
                  ENTRYLO(NPP_BOARD_INTERNAL_SRAM_END),
                  NPP_BOARD_INTERNAL_SRAM_BASE,
                  PM_256K);

I would like to use ioremap() instead of wired TLB entries, but for the moment, I'm focusing on this crash.

Thanks,

Thomas
--
PETAZZONI Thomas - thomas.petazzoni@xxxxxxxx
http://thomas.enix.org - Jabber: kos_tom@xxxxxxxxxxxxx
KOS: http://kos.enix.org/ - Lolut: http://lolut.utbm.info
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E  1624 F653 CB30 98D3 F7A7

Attachment: signature.asc
Description: OpenPGP digital signature


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

  Powered by Linux