[SOLVED] MPC8248 goes berserk when printing messages on the SMC console
http://www.freescale.com/webapp/sps/utils/SingleFaq.jsp?FAQ-11241.xml Question. Board hangs when the 8260 data cache is enabled. Answer. We have found that in some systems, changing the pipline depth to 0 in the BCR register (BCR[PLDP] = 1) fixes any data cache issues. I don't know what those some systems are, but it seems that on all the others the pipeline depth must be set to 1 (BCR[PLDP] = 0). I don't know why, and it seems that Freescale doesn't either. Laurent Pinchart
Does the CPM uart driver need more memory barriers ?
Hi everybody, while trying to debug a serial port issue, I found out some code might seemed to miss write memory barriers. Does the volatile keyword guarantee that gcc will no reorder memory writes, or is the attached patched needed ? Best regards, Laurent Pinchart -- next part -- A non-text attachment was scrubbed... Name: cpm_wmb.patch Type: text/x-diff Size: 578 bytes Desc: not available Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20060517/dbb2412a/attachment.patch
Is isp1362 compatible to OHCI
Hi All, Nice to meet you. Is isp1362 compatible to OHCI. The dirvers of 1362 in the kernel linuxppc_2_4_devel are base on the OHCI.Am I wright? However, if 1362 is compatible to OHCI,why some bits in the Control REGs are missed,and why all the Memory REGs are missed,while some other REGs ,such as ISO REGs ,are added?
Unable to boot a kernel on a MPC8560
first of all, I am a newbie in embedded linux systems. Seems you are also a newbie when it comes to posting to mailing lists in general. Posting the same question several times to several mailinglistsisnotagoodidea.Pleaseread http://www.catb.org/%7eesr/faqs/smart-questions.html Indeed, I'm not used to write in mailing lists. The boot loader is U-Boot. ... Here is the result of one of my tests : - niot 0 ... - nbo 0 These are definitely no U-Boot commands. OK, now I know that my boot loader is not U-Boot, now the question is : what is the boot loader used by my board ? I have supposed (certainly wrongly) that the firmware provides on the card was based on U-Boot...mea-culpa. According to you, is it the boot loader the cause of my problem ? Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de He's dead, Jim -- McCoy, The Devil in the Dark, stardate 3196.1
Anyone seen this while debugging?
I am using linux-2.4.32. I am using a BDI2000 and I set break to SOFT I am debugging a module and I use Denx scripts add-module so that I know my module symbols are getting loaded in the right location. Everytime I set a breakpoint in my module I get Program received signal SIGSTOP, Stopped (signal). 0x0500 in ?? () The address moves around a bit but I always get this. If I delete the breakpoints it works fine. Thanks in advance. -stv
Bigphysarea vs. kernel 2.4.32 and PPC405GPr
That works nicely, thanks. I was under the mistaken impression that the bigphysarea routines returned a physical address. So now I can report that the bigphysarea patch works great on PPC kernels 2.4.32+ Arno Geissel wrote: Try rc = remap_page_range(vma-vm_start, virt_to_phys(heap_map_base), npages*PAGE_SIZE, vma-vm_page_prot); Arno I'm trying to use the bigphysarea patch to help me allocate big physical chunks of memory for use by some custom embedded devices. I've applied the bigphysarea-2.4.20 patch and built, no trouble, and I've got it to config for my PPC. I can see at boot time that the bigphysarea is getting its pages. I'm trying to use a mmap call to the driver to map a chunk of this memory into the process. The mmap for the driver has this: pgprot_val(vma-vm_page_prot) |= _PAGE_NO_CACHE; vma-vm_flags |= VM_RESERVED; npages = (vma-vm_end - vma-vm_start) / PAGE_SIZE; heap_map_base = bigphysarea_alloc_pages(npages, 1, GFP_KERNEL); printk( Map base=%p, %ld pages\n, heap_map_base, npages); rc = remap_page_range(vma-vm_start, (unsigned long)heap_map_base, npages*PAGE_SIZE, vma-vm_page_prot); The mmap returns without an error, but any access to the mapped region gets me an immediate Oops: machine check, sig: 7. I don't see it. Where is the stupid mistake that I'm invariably making? -- Steve WilliamsThe woods are lovely, dark and deep. steve at icarus.com But I have promises to keep, http://www.icarus.com and lines to code before I sleep, http://www.picturel.com And lines to code before I sleep.