Re: Kernel is Hanging for page size 16KB.

2008-07-22 Thread Marco Stornelli
Naresh Bhat ha scritto: Hi Guys, I have a board MIPS Malta and Linux 2.6.10 is running on that. By default 4KB page size will be allocated in the kernel (I mean to say I saw it when I do the "make menuconfig". Problem is: When I changed the page size to 16KB it will hang after mounting the fil

Kernel is Hanging for page size 16KB.

2008-07-22 Thread Naresh Bhat
Hi Guys, I have a board MIPS Malta and Linux 2.6.10 is running on that. By default 4KB page size will be allocated in the kernel (I mean to say I saw it when I do the "make menuconfig". Problem is: When I changed the page size to 16KB it will hang after mounting the file system. I am using the N

Re: Failure of request_irq() for MPC8313 using arch=powerpc

2008-07-22 Thread Duy-Ky Nguyen
Hello Scott, I forgot to mention that I have less error if I use the existing device node "spi" in the DTS file # Start of error capture Got device node from device tree Got Virtual IRQ PPC : interrupt hook failed (-22) # End of capture So it's able to access the device node and to map "vir

Re: Linuxppc-embedded Digest, Vol 47, Issue 39

2008-07-22 Thread Duy-Ky Nguyen
erface (is that true?). Can you recommend any good hardware and software solution for that, if possible running on linux (OSS?)? I don't need a "real" debugger (maybe an interface to gdb), just something to write the flash, so u-boot comes up. Thanks for any help, Albrecht.

Re: Need stable 2.6 kernel for TQM823L

2008-07-22 Thread Thomas Maenner
Thanks guys for the info and pointers. (Sorry for the late reply - Was on vacation) -- Linux hackers are funny people: They count the time in patchlevels -- Thomas Maenner E-Mail: mailto:[EMAIL PROTECTED] ___ Linuxppc-embedded mailing list Linuxppc-emb

Re: [OT] write flash on MPC5200 board via jtag

2008-07-22 Thread Jon Smirl
On 7/22/08, Albrecht Dreß <[EMAIL PROTECTED]> wrote: > Hi, > > sorry for a somewhat off-topic question... > > I want to design a mpc5200b board which is roughly derived from Freescale's > 5200B Lite demo. Obviously, I have the problem to initially write u-boot > into the boot nor flash. I belie

Problems loading Linux 2.6 using PPCBug

2008-07-22 Thread Chris Collins
I have a Motorola (now Emerson) Prpmc800 board. I have a working 2.4.25 kernel that I can load from flash or TFTP, but I can't seem to get a 2.6 kernel to load. I've tried 2.6.24 and an older ~2.6.16 kernel with no success. I'm trying to use ELDK 4.2 with 2.6.24 kernel and building with the defaul

RE: [OT] write flash on MPC5200 board via jtag

2008-07-22 Thread Mike Timmons
If you don't have any code on the board then I can't think of how to write to the flash unless you have a JTAG device. I use a BDI2000 to do precisely what you're doing: write U-boot into virgin on-board flash on a design derived from the lite 5200. The significance of the debugger is that you

Re: [OT] write flash on MPC5200 board via jtag

2008-07-22 Thread Grant Likely
On Tue, Jul 22, 2008 at 08:56:43PM +0200, =?ISO-8859-1?Q?Albrecht_Dre=DF_ wrote: > Hi, > > sorry for a somewhat off-topic question... > > I want to design a mpc5200b board which is roughly derived from > Freescale's 5200B Lite demo. Obviously, I have the problem to initially > write u-boot into

BUG with U-boot 1.1.4 and kernel 2.6.23 scanning PCIe on a MPC8641D board

2008-07-22 Thread Siva Prasad
Hi Joachim, We did not had a crash, but had some problem with assigning resources for PCI bus on 8641D. Your issue may be related or not, I am not really sure. You might want to check out MSI patch. Currently this is already there for few other FSL processors like 85xx, but not for 86xx. - Siva

Re: How to create custom ramdisk

2008-07-22 Thread Ron Sass
Under my home page, I have links to the courses I teach. http://rcs.uncc.edu/~rsass/ Follow the links to "Fundamentals of Reconfigurable Computing" specifically, http://rcs.uncc.edu/~rsass/courses/2008-Fall/6890/ There are labs and tutorials there. Under Labs, (Lab 3 in particular) we build

Re: [PATCH] Add AMCC Arches 460GT eval board support to platforms/44x

2008-07-22 Thread Victor Gallardo
>As you might have noticed, this has generated quite a bit of discussion >on whether this is the right approach or not. If you can wait for a >week, we plan on talking it over at OLS. Then I can give you a better >idea as to whether we're going to stick with this or use a different >approach. >

RE: Problem with cuImage Linux entry from old U-boot

2008-07-22 Thread Stephen Horton
Thanks Scott for the tip. I'll redouble my efforts to compare the code in my older 1.1.2 U-boot source (that the board boots from) with my new .dts and cuboot source. -Original Message- From: Scott Wood [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2008 1:05 PM To: Stephen Horton Cc:

[OT] write flash on MPC5200 board via jtag

2008-07-22 Thread Albrecht Dreß
Hi, sorry for a somewhat off-topic question... I want to design a mpc5200b board which is roughly derived from Freescale's 5200B Lite demo. Obviously, I have the problem to initially write u-boot into the boot nor flash. I believe this would be possible using the jtag/bsm interface (is t

Re: Problem with cuImage Linux entry from old U-boot

2008-07-22 Thread Scott Wood
Mike Timmons wrote: Related question: I'm using a newer U-boot and managing the load of the kernel and the device tree from separate partitions of my boot media. Having the two partitions and managing the kernel and the tree separately is a bit cumbersome, or maybe I'm just lazy. Regardless, can

RE: Problem with cuImage Linux entry from old U-boot

2008-07-22 Thread Mike Timmons
Related question: I'm using a newer U-boot and managing the load of the kernel and the device tree from separate partitions of my boot media. Having the two partitions and managing the kernel and the tree separately is a bit cumbersome, or maybe I'm just lazy. Regardless, can I just use that "stat

Re: Problem with cuImage Linux entry from old U-boot

2008-07-22 Thread Scott Wood
On Mon, Jul 21, 2008 at 03:39:55PM -0500, Stephen Horton wrote: > I have made great strides with help from this mailing list and its > archives. I now have a compiled cuImage ready to boot from my older > working u-boot 1.1.2. I now seem to be stuck at the kernel entry point. > I'm not sure if I'm

Re: Failure of request_irq() for MPC8313 using arch=powerpc

2008-07-22 Thread Scott Wood
On Tue, Jul 15, 2008 at 08:43:59PM -0700, Duy-Ky Nguyen wrote: > Hi Dave, > > I've just tried it and it failed. Could you elaborate on exactly what you tried? Did you pass the GPIO device tree node? > Before I had tried using the function > int virq = of_irq_to_resource(GPIO_IRQ, 0, NULL); > an

Re: Help: Kernel BUG with U-boot 1.1.4 and kernel 2.6.23 scanning PCIe on a MPC8641D board

2008-07-22 Thread Jon Loeliger
[EMAIL PROTECTED] wrote: Hello folks, we run a proprietary board with Freescale MPC8641D using U-boot 1.1.4 and Linux kernel 2.6.23 I read in the logs some messages that 2.6.23 does contain some bugs related to PCIe Correct. and it would be a good choice to upgrade to 2.6.25. Is this

Re: how to allocate 9MB of memory in kernel ?

2008-07-22 Thread Arnd Bergmann
On Tuesday 22 July 2008, Misbah khan wrote: > First of all let me thank you for your valuable suggessions ... > > 1. I wanted to allocate 9MB in kernel and wanted that memory to be mapped to > the physically continews SDRAM memory. but till now i could not found a way > to do so ??? > > 2. So i t

Help: Kernel BUG with U-boot 1.1.4 and kernel 2.6.23 scanning PCIe on a MPC8641D board

2008-07-22 Thread joachim . bader
Hello folks, we run a proprietary board with Freescale MPC8641D using U-boot 1.1.4 and Linux kernel 2.6.23 First of all, we are no experts in PCIe-Bus handling and management. We started with the problem that U-Boot was able to scan the devices connected to PCIe-Bus where the kernel fails. Usin

Re: how to allocate 9MB of memory in kernel ?

2008-07-22 Thread Misbah khan
Hi All ... First of all let me thank you for your valuable suggessions ... 1. I wanted to allocate 9MB in kernel and wanted that memory to be mapped to the physically continews SDRAM memory. but till now i could not found a way to do so ??? 2. So i thought to use ioremap to map SDRAM and make i

How to create custom ramdisk

2008-07-22 Thread Neeraj Garg
Hi, I want to create a custom ramdisk (initrd which can be placed in arch/ppc/boot/images). Can anybody guide me steps to built the same. My host have RHEL-4. -- --- Neeraj Garg ___

Re: how to allocate 9MB of memory in kernel ?

2008-07-22 Thread Marco Stornelli
On Tuesday 22 July 2008, Misbah khan wrote: I am getting kernel panic while trying these as suggested by you ,the following points will elaborate my concern :- i am allocating memory using vmalloc and remaping to the SDRAM area as :- buf_area = vmalloc(sizeof(circularbuffer_S)); if(!buf_

Re: how to allocate 9MB of memory in kernel ?

2008-07-22 Thread Arnd Bergmann
On Tuesday 22 July 2008, Misbah khan wrote: > I am getting kernel panic while trying these as suggested by you ,the > following points will elaborate my concern :- Please post the entire driver, when you only post fragments that don't compile, we can't really help you. > i am allocating memory us