Tutorial LITE5200B
Hello All, sombody knows any tutorial to compile the 2.6 kernel for a LITE5200B? Thanks ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Re: Porting JFFS2 to 2.4.6 kernel
On Thu, 2007-02-15 at 17:03 +0530, Sendhilraj T wrote: Hello All, Now I created a new patch file to support JFFS2 in 2.4.6 from 2.4.16. As Arnd already pointed out 2.4.6 is a known to be broken kernel. Please use an up to date kernel and folks will help you. If you insist on using this ancient stuff, please figure it out yourself. tglx ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Re: What is the difference between Montavista Kernel Source, and Kernel.Org Source
On Sun, 18 Feb 2007 11:20:27 +0100 Lorenz Kolb [EMAIL PROTECTED] wrote: I'm Going to use linux on ML403. I want to know, what is the difference between the linux kernel source, that we download from source.mvista.com ( using git ) and the original kernel source code that we download from kernel.org? Being brief, some Mvista patches were not merged due to various reasons (such as say Xilinx stuff for a while) and anyone interested can still use that work. So for instance people asking here and in other ML's can be just referred to those git trees and obtain a full understanding what were done to get things work. The multiple git trees hosted at source.mvista.com/git are development trees similar to the trees hosted at www.kernel.org/git. Contact the individual developers for details on each tree. Dale Farnsworth Oh, and I thought that development does mean something like progress. If I'd develop something new with last change 8 months ago, I guess my boss would not pay for that development. sorry, but that is not quite right. Trees there are development stuff for 4.x MVL product (at least ppc-related), and now active development is heading for next release. I don't think you'll find these up-to-date sources in source.mvista.com, bit not because of internal reasons - almost all the efforts were brought up to the community and merged to the stock kernel tree. So what is the difference between kernel.org and montavista's tree for ML403. kernel.org is quite a bit ahead. Personally I'd recommend Denk's 2.6.19 tree (that's a 2.6.19 from kernel.org with some ppc specific patches, afaik) and patching the EDK 8.2 into it. That's quite a lot of work (I am just doing that at the moment) but that's the only way to get an up-to-date system. Currently my partner and I are working on building a minimalistic sound driver and in some future release a ALSA compliant sound driver and a new controller (with at least DMA support) as this is can still not be found in MontaVista. Xilinx stuff is a really interesting approach. Sorry, but I guess patching the EDK 8.2 into it is not the thing maintainers are expecting to appear upstream. So, referred mvista code can be used as a reference, but a living solution requires careful consideration. Do some investigations, share the thoughts and you'll not be left alone. As a side note, most of the active work is in the mainstream kernel, MV, Denx and many others actively participating in it. -- Sincerely, Vitaly ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Re: Tutorial LITE5200B
Hi, David Gamez wrote: Hello All, sombody knows any tutorial to compile the 2.6 kernel for a LITE5200B? You can check my wiki: http://wiki.idefix.fechner.net/index.php/Main_Page http://wiki.idefix.fechner.net/index.php/IceCube and specially: http://wiki.idefix.fechner.net/index.php/Xenomai Bye Matthias -- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning. -- Rich Cook ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
cross compile RTAI for powerpc- whether the given procedure is correct?
Note: forwarded message attached. Nirav J Patel M.Tech(CSE), Nirma University, Ahmedabad-382481. 9925138959 - Everyone is raving about the all-new Yahoo! Mail beta.---BeginMessage--- Hello friends I want to cross compile the RTAI for powerpc. so i follow the following steps. Install crosstool for the powerpc in /opt/crosstool Then i download 2.4.22 kernel and apply patch patch no.1 : linuxppc-2.4.22.patch i download from the kernel.org patch no.2 : patch-2.4.22-adeos-r8 i download from http://cvs.gna.org/cvsweb/stromboli/patches/ 3. then i go to kernel source directory and run make ARCH=ppc xconfig 4. then make ARCH=ppc CROSS_COMPILE=powerpc-604-linux-gnu- dep bzImage 5. i found vmlinux image in my kernel source directory then my question is whether this vmlinux image is RTAI enabled image and that can be run on the powerpc? Nirav J Patel M.Tech(CSE), Nirma University, Ahmedabad-382481. 9925138959 - Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games.---End Message--- ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
enabling two eths
Hi, We are using MPC8272 based target board, we use montavista Linux version 2.6.10 kernel image (with NFS enabled) to our target board, Our board has 2 FCCs (eth0 and eth1). bot the eth's works perfectly when we use them independently, but when we are trying to enable second one after the kernel is up using linux command ifconfig eth1 192.168.33.64 up(IP address)nothing is working. Please suggest how to enable second eth (either 0 or 1) once the kernel is up with NFS file system Thanks Regards MANJUNATH AM Senior Software Engineer Emsys Larsen Toubro Limited Mysore-570018 Mobile:9886375926 ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Re: 8541E and vector table.
Hi Ami, Thanks for the reply. Yes I have the manual. I guess I need to be a little more specific. I usually don't get down to this level of the hardware. It usually just works for me. I have all the explinations etc.. of each vector, but in my memory, I can't figure out how to map 0x_0700 to one of the SPR's. I think that's what I want to know. :) -stv On 2/20/07, Ami Levi Waves [EMAIL PROTECTED] wrote: Download the MPC8541 reference manual from Freescale web site. Look in the chapter that says Exceptions (could be chapter 6) You'll fine the different vectors addresses + explanations about each vector. Ami -Original Message- From: [EMAIL PROTECTED] [mailto:linuxppc- [EMAIL PROTECTED] On Behalf Of Steve Iribarne (GMail) Sent: Tuesday, February 20, 2007 3:21 PM To: linuxppc-embedded Subject: 8541E and vector table. Hi. I must admit, this stuff always baffles me a bit, so I need someone who knows this to explain it to me. I am using an 8541E and my system randomly crashes. By randomly, I mean at different times. I have a BDI hooked up and it always jumps to offset 0x_0700 I believe this to be a vector table offset, but I need to figure out which interrupt it is. I believe this is a hardware issued, because if I look at that value, it looks to be default values. In other words, I don't believe I have it setup. So the question I have is how do I figure out what that interrupt vector is? Thanks so much. -stv -- /* * Steve Iribarne * Software Engineer * (aka Grunt) */ ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded -- /* * Steve Iribarne * Software Engineer * (aka Grunt) */ ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Re: enabling two eths
Manjunath AM wrote: Hi, We are using MPC8272 based target board, we use montavista Linux version 2.6.10 kernel image (with NFS enabled) to our target board, Our board has 2 FCCs (eth0 and eth1). bot the eth's works perfectly when we use them independently, but when we are trying to enable second one after the kernel is up using linux command ifconfig eth1 192.168.33.64 up(IP address)nothing is working. Please suggest how to enable second eth (either 0 or 1) once the kernel is up with NFS file system Have you made sure that eth0 and eth1 are on *different* IP subnets? If they are on the same subnet, or intersecting subnets, your routing will get confused. ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Re: 8541E and vector table.
On Feb 20, 2007, at 9:29 AM, Steve Iribarne (GMail) wrote: Hi Ami, Thanks for the reply. Yes I have the manual. I guess I need to be a little more specific. I usually don't get down to this level of the hardware. It usually just works for me. I have all the explinations etc.. of each vector, but in my memory, I can't figure out how to map 0x_0700 to one of the SPR's. I think that's what I want to know. :) -stv 0x700 is most likely Program Check Exception, there isn't a great way to do the reverse mapping (addr - exception) other than looking at the code. You can dump all the IVORs and see which matches if you want. - k ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Re: enabling two eths
On Tue, 20 Feb 2007 15:31:54 + Alex Zeffertt [EMAIL PROTECTED] wrote: Manjunath AM wrote: Hi, We are using MPC8272 based target board, we use montavista Linux version 2.6.10 kernel image (with NFS enabled) to our target board, Our board has 2 FCCs (eth0 and eth1). bot the eth's works perfectly when we use them independently, but when we are trying to enable second one after the kernel is up using linux command ifconfig eth1 192.168.33.64 up(IP address)nothing is working. Please suggest how to enable second eth (either 0 or 1) once the kernel is up with NFS file system Have you made sure that eth0 and eth1 are on *different* IP subnets? If they are on the same subnet, or intersecting subnets, your routing will get confused. It depends :) I used to test functionality such a way to have two enets in same subnet, then ifdown one of them. At least with mvista RFS, one enet handles NFS, other is up but all the packets are routed to it via the first one. And when the first one got ifdown, routing switches to the remaining enet... -- Sincerely, Vitaly ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
strange insmod behaviour
Hi there, I have upgraded my external drivers from 2.6.16.20 to 2.6.20 kernel. Now a bit strange behaviour has occured while module inserting. I can not insert module because this error occur: \Can\'t insert module: File exists -1\. But I am pretty sure that module was not inserted before. It is concretely i2c adapter+8xx_algorithm driver. Can someone explain me this strange behaviour, how kernel knows whether the module is or isn\'t loaded? Again, everything works fine with 2.6.16.20 kernel. Regards, Ladislav. __ http://sport.sme.sk - Najkomplexnejšie informácie zo športu ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
V4FX12 Console Hangs
I have Linux 2.6.19 running on an ML403 board. Everything seems to be working OK (except the network throughput is 1/6 the CPU speed). I am now trying to get Linux working on my Memec/Avnet Mini-Module. Both evaluation boards have the V4FX12 FPGA running on them. I believe the only difference is the package size so you I/O is decreased (and therefore no TEMAC, just EMAC). I took my Linux kernel source and followed the same procedure as the ML403 board. After the kernel boots the console hangs. I have tried changing the IRQ trigger from Level to Edge, using a 16450 instead of the 16550, and putting the RS232 port on the PLB instead of the OPB. All have the same result. I have tested my serial cable using the design references from Avnet using the Xilkernel. I am using BusyBox 1.2.1 with out inittab. I was using /sbin/init, but changed in the example below to just calling /bin/lash (both had the console hang). Has anybody every seen this problem before? Any suggestions? Attached below is the output from the kernel. Thanks, Glenn loaded at: 0040 0054C13C board data at: 0054A124 0054A13C relocated to: 004040B4 004040CC zimage at: 00404E41 004D72F0 initrd at: 004D8000 005498CF avail ram: 0054D000 0400 Linux/PPC load: console=ttyS0,9600 root=/dev/ram rw init=/bin/lash Uncompressing Linux...done. Now booting the kernel [0.00] Linux version 2.6.19 ([EMAIL PROTECTED]) (gcc version 3.4.5) #12 Mon Feb 19 23:10:12 EST 2007 [0.00] Xilinx ML403 Reference System (Virtex-4 FX) [0.00] Zone PFN ranges: [0.00] DMA 0 -16384 [0.00] Normal 16384 -16384 [0.00] early_node_map[1] active PFN ranges [0.00] 0:0 -16384 [0.00] Built 1 zonelists. Total pages: 16256 [0.00] Kernel command line: console=ttyS0,9600 root=/dev/ram rw init=/bin/lash [0.00] Xilinx INTC #0 at 0x4120 mapped to 0xFDFFE000 [0.00] PID hash table entries: 256 (order: 8, 1024 bytes) [0.000425] Console: colour dummy device 80x25 [0.001539] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [0.003492] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [0.036536] Memory: 62576k available (1336k kernel code, 440k data, 92k init, 0k highmem) [0.121247] Mount-cache hash table entries: 512 [0.127676] checking if image is initramfs...it isn't (no cpio magic); looks like an initrd [1.426229] Freeing initrd memory: 454k freed [1.433856] NET: Registered protocol family 16 [1.466534] NET: Registered protocol family 2 [1.505111] IP route cache hash table entries: 512 (order: -1, 2048 bytes) [1.507226] TCP established hash table entries: 2048 (order: 1, 8192 bytes) [1.507700] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [1.507966] TCP: Hash tables configured (established 2048 bind 1024) [1.508176] TCP reno registered [1.516425] io scheduler noop registered [1.516533] io scheduler anticipatory registered (default) [1.516621] io scheduler deadline registered [1.516908] io scheduler cfq registered [1.619560] Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ sharing disabled [1.626094] serial8250.0: ttyS0 at MMIO 0x40401003 (irq = 1) is a 16550A [4.824964] RAMDISK driver initialized: 1 RAM disks of 4096K size 1024 blocksize [4.919006] xemac 0: using fifo mode. [4.966016] eth0: Xilinx EMAC #0 at 0x8040 mapped to 0xC500, irq=0 [5.050331] mice: PS/2 mouse device common for all mice [5.113796] TCP cubic registered [5.152903] NET: Registered protocol family 1 [5.205396] NET: Registered protocol family 17 [5.261941] RAMDISK: Compressed image found at block 0 [6.937724] VFS: Mounted root (ext2 filesystem). [6.994168] Freeing unused kernel memory: 92k init BusyBox v1.2.1 (2007.02.14-05:38+) Built-in shell (lash) Enter 'help' for a list of built-in commands. / # ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Motorola PrPMC6001
anybody out there working with the new Motorola PrPMC6001? We're thinking about using that platform in some future work, and I'm curious if anybody's got a kernel and rootfs setup for one of those boards. reading through the documentation from Motorola, there appear to be some board support patches, but I can't locate those files anywhere on the net to examine. thanks, Eric Nuckols _ Dont miss your chance to WIN 10 hours of private jet travel from Microsoft® Office Live http://clk.atdmt.com/MRT/go/mcrssaub0540002499mrt/direct/01/ ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Re: enabling two eths
Hi, Thanks for your kind reply, Yes i have used different * IP Subnets* The IPs and subnet details I use is 1. eth0(configured through u-boot env settings)- 192.168.174.231 and subnet is 255.255.255.0 2. eth1(configured after kernel is up)-- 192.168.33.64 and subnet is 255.255.248.0 Even i tried by connecting second eth to host PC using cross cable as a stand-alone network but even ping did not work.. Thanks Regards MANJUNATH AM Senior Software Engineer Emsys Larsen Toubro Limited Mysore-570018 Mobile:9886375926 Vitaly Bordug [EMAIL PROTECTED] 02/20/2007 09:30 PM To Alex Zeffertt [EMAIL PROTECTED] cc Manjunath AM [EMAIL PROTECTED], linuxppc-embedded@ozlabs.org Subject Re: enabling two eths On Tue, 20 Feb 2007 15:31:54 + Alex Zeffertt [EMAIL PROTECTED] wrote: Manjunath AM wrote: Hi, We are using MPC8272 based target board, we use montavista Linux version 2.6.10 kernel image (with NFS enabled) to our target board, Our board has 2 FCCs (eth0 and eth1). bot the eth's works perfectly when we use them independently, but when we are trying to enable second one after the kernel is up using linux command ifconfig eth1 192.168.33.64 up(IP address)nothing is working. Please suggest how to enable second eth (either 0 or 1) once the kernel is up with NFS file system Have you made sure that eth0 and eth1 are on *different* IP subnets? If they are on the same subnet, or intersecting subnets, your routing will get confused. It depends :) I used to test functionality such a way to have two enets in same subnet, then ifdown one of them. At least with mvista RFS, one enet handles NFS, other is up but all the packets are routed to it via the first one. And when the first one got ifdown, routing switches to the remaining enet... -- Sincerely, Vitaly ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded