[rtl] VxWorks compability?

2001-05-15 Thread Wojciech Kromer

Does anyone have "VxWorks compability" module for RTAI?

--
* * * * * * * * * * * *
* per pedes ad astra! *
* * * * * * * * * * * *mailto:[EMAIL PROTECTED]
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl Your_email" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/




[rtl] to rtl administartor (rtl-owner not found)

2001-04-06 Thread Wojciech Kromer



--
* * * * * * * * * * * *
* per pedes ad astra! *
* * * * * * * * * * * *mailto:[EMAIL PROTECTED]




This is the Postfix program at host dgt-lab.com.pl.

I'm sorry to have to inform you that the message returned
below could not be delivered to one or more destinations.

For further assistance, please contact [EMAIL PROTECTED]

If you do so, please include this problem report. You can
delete your own text from the message returned below.

The Postfix program

[EMAIL PROTECTED]: host hq.fsmlabs.com[209.155.42.197] said: 550 5.1.1
[EMAIL PROTECTED]... User unknown




Could You change Reply-To to [EMAIL PROTECTED] (reply_to=rtl in ...
majordomo ... /lists/rtl.config )?
This would help answering mails.

--
* * * * * * * * * * * *
* per pedes ad astra! *
* * * * * * * * * * * *mailto:[EMAIL PROTECTED]







Re: [rtl] ??? RTLinux on Linux v2.4.2 available for PPC

2001-04-06 Thread Wojciech Kromer

Cort Dougan wrote:

 Also note that you're using rtlinux 3.0 with kernel 2.4.2 which won't work
 for any PPC's.  You need the newer rtlinux that we dropped off at the ftp
 site for newer kernels.

Do You mean
ftp://ftp.fsmlabs.com/pub/rtlinux/v3/linux_v242/rtlinux-3.0_for_linux_v242_.tar.gz
?
It hangs too!


RTLinux Extensions Loaded (http://www.fsmlabs.com/)
Oops: Kernel Mode Software FPU Emulation, sig: 8
NIP: C004 XER: 80009F7F LR: C00028DC SP: C1D83E80 REGS: c1d83dd0 TRAP:
1000
MSR: 1032 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c1d82000[16] 'insmod' Last syscall: 128
last math  last altivec 
GPR00: C00028C0 C1D83E80 C1D82000 C1D82000 000F  C1F9B240 001B

GPR08: C012E904 0002 C30033B4 C1D83E80 33F35F93 1001F0E0 1009EF70 

GPR16: 100A28D0  007FFEC0  9032 01D83E80  C0002860

GPR24: C0002580 7DEC 100173B0 3A38 C300 1001 10017480 5F99

Call backtrace:
C00028C0 1001 10003344 100039D8 0FF094F8 



--
* * * * * * * * * * * *
* per pedes ad astra! *
* * * * * * * * * * * *mailto:[EMAIL PROTECTED]


-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl Your_email" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/




Re: [rtl] ??? RTLinux on Linux v2.4.2 available for PPC

2001-04-06 Thread Wojciech Kromer

  memcpy( (ulong *)KERNELBASE, block, sizeof(ulong)*7 );
 
  ^^^ it craches here (memcpy is not allowed to kernel code)

 Yes, it is allowed. It's in linux/arch/i386/lib/memcpy.c.

In PPC by default KERNELBASE page is protected. You have to enable KGDB or XMON
to get RW permisions.

from arch/ppc/mm/init.c:

v = KERNELBASE;
p = ram_phys_base;
for (s = 0; s  total_lowmem; s += PAGE_SIZE) {
/* On the MPC8xx, we want the page shared so we
 * don't get ASID compares on kernel space.
 */
f = _PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_SHARED;
#if defined(CONFIG_KGDB) || defined(CONFIG_XMON)
/* Allows stub to set breakpoints everywhere */
f |= _PAGE_RW | _PAGE_DIRTY | _PAGE_HWWRITE;
#else


--
* * * * * * * * * * * *
* per pedes ad astra! *
* * * * * * * * * * * *mailto:[EMAIL PROTECTED]


-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl Your_email" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/




Re: [rtl] ??? RTLinux on Linux v2.4.2 available for PPC

2001-04-06 Thread Wojciech Kromer

Cort Dougan wrote:

 We haven't released the PowerPC 8xx version of RTLinux yet.

 } Do You mean
 } ftp://ftp.fsmlabs.com/pub/rtlinux/v3/linux_v242/rtlinux-3.0_for_linux_v242_.tar.gz
 } ?
 } It hangs too!

So what are latest stable versions of RTLinux  linux-kernel working on PPC, and where 
I
can found them?


--
* * * * * * * * * * * *
* per pedes ad astra! *
* * * * * * * * * * * *mailto:[EMAIL PROTECTED]


-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl Your_email" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/




Re: [rtl] ??? RTLinux on Linux v2.4.2 available for PPC

2001-04-05 Thread Wojciech Kromer

 Just use rtlinux-3.0 final release, or you can change the Makefile in /usr/src/linux 
manually.
 change this line , at the top of Makefile:

 EXTRAVERSION = -rtl

 There's nothing to do with the ppc kernel code in linux2.4.2, I think.

Now i use not patched 2.4.2,and oryginal final rtlinux-3.0, but it still hangs :

sh-2.03# uname -a
Linux 192.168.6.204 2.4.2 #3 Thu Apr 5 08:43:16 CEST 2001 ppc unknown
sh-2.03# cd /rt
sh-2.03# insmod rtl
Oops: kernel access of bad area, sig: 11
NIP: C000BB58 XER: 80009F7F LR: C30002B8 SP: C1CB3D80 REGS: c1cb3cd0 TRAP: 0300
MSR: 9032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: C000, DSISR: 8200
TASK = c1cb2000[22] 'insmod' Last syscall: 128
last math  last altivec 
GPR00:  C1CB3D80 C1CB2000 C000 C1CB3D8C 001C BFFC 7FE802A6
GPR08: 3FC0C300 63DE0DEC 0DEC C000BB34 93F35F93 1001F0E0 100B8650 
GPR16: 100B8530  007FFEC0  9032 01CB3E80 C1CB3DE8 C1FEB680
GPR24: 0003 C1CB3E4C 100328B8 C3000DEC FFEA  C1C45000 C300
Call backtrace:
0001 C3001360 C0010DB8 C00025DC 1001 10003344 100039D8
0FF094F8 
Segmentation fault
sh-2.03#


--
* * * * * * * * * * * *
* per pedes ad astra! *
* * * * * * * * * * * *mailto:[EMAIL PROTECTED]


-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl Your_email" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/




Re: [rtl] ??? RTLinux on Linux v2.4.2 available for PPC

2001-04-05 Thread Wojciech Kromer

Cort Dougan wrote:

 What machine and chip is this?


== CPU (by ppcboot):
ppcboot 0.8.3 (Apr  2 2001 - 10:36:26)

Initializing...
  CPU:   XPC860xxZPnnD3 at 50 MHz: 4 kB I-Cache 4 kB D-Cache FEC present


sh-2.03# cat /proc/cpuinfo
processor   : 0
cpu : 8xx
clock   : 50MHz
bus clock   : 50MHz
revision: 0.0
bogomips: 50.26
zero pages  : total: 0 (0Kb) current: 0 (0Kb) hits: 0/0 (0%)

== BOARD
It's our custom board.
Console is on SMC1, ETH on SCC2, 4*8MB RAM, 8MB FLASH.

--
* * * * * * * * * * * *
* per pedes ad astra! *
* * * * * * * * * * * *mailto:[EMAIL PROTECTED]


-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl Your_email" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/




Re: [rtl] ??? RTLinux on Linux v2.4.2 available for PPC

2001-04-05 Thread Wojciech Kromer


 } sh-2.03# uname -a
 } Linux 192.168.6.204 2.4.2 #3 Thu Apr 5 08:43:16 CEST 2001 ppc unknown
 } sh-2.03# cd /rt
 } sh-2.03# insmod rtl
 } Oops: kernel access of bad area, sig: 11
 } NIP: C000BB58 XER: 80009F7F LR: C30002B8 SP: C1CB3D80 REGS: c1cb3cd0 TRAP: 0300
 } MSR: 9032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
 } DAR: C000, DSISR: 8200
 } TASK = c1cb2000[22] 'insmod' Last syscall: 128
 } last math  last altivec 
 } GPR00:  C1CB3D80 C1CB2000 C000 C1CB3D8C 001C BFFC 7FE802A6
 } GPR08: 3FC0C300 63DE0DEC 0DEC C000BB34 93F35F93 1001F0E0 100B8650 
 } GPR16: 100B8530  007FFEC0  9032 01CB3E80 C1CB3DE8 C1FEB680
 } GPR24: 0003 C1CB3E4C 100328B8 C3000DEC FFEA  C1C45000 C300
 } Call backtrace:
 } 0001 C3001360 C0010DB8 C00025DC 1001 10003344 100039D8
 } 0FF094F8 
 } Segmentation fault
 } sh-2.03#
 }
 }


arch_takeover
..
{
unsigned long block[7] = {
0x7fe802a6, /* mflr 31 */
0x3fc0dead, /* lis 0xdeadbeef@h */
0x63debeef, /* ori r30,r30,0xdeadbeef@l */
0x7fc803a6, /* mtlr r30 */
0x4e800021, /* blrl */
0x7fe803a6, /* mtlr r31 */
0x4e800020  /* blr */
};
block[1] = (block[1]0x) | (((ulong)rtl_soft_sti16)0xf
block[2] = (block[2]0x) | ((ulong)rtl_soft_sti0x);
memcpy( (ulong *)KERNELBASE, block, sizeof(ulong)*7 );

^^^ it craches here (memcpy is not allowed to kernel code)

--
* * * * * * * * * * * *
* per pedes ad astra! *
* * * * * * * * * * * *mailto:[EMAIL PROTECTED]





--
* * * * * * * * * * * *
* per pedes ad astra! *
* * * * * * * * * * * *mailto:[EMAIL PROTECTED]


-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl Your_email" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/




[rtl] ??? RTLinux on Linux v2.4.2 available for PPC

2001-04-04 Thread Wojciech Kromer

I have
ftp://ftp.fsmlabs.com/pub/rtlinux/v3/linux_v242/rtlinux-3.0_for_linux_v242_.tar.gz

Included patches dosen't seem to work for 2.4.2 kernel  for PPC boards.


--
* * * * * * * * * * * *
* per pedes ad astra! *
* * * * * * * * * * * *mailto:[EMAIL PROTECTED]


-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl Your_email" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/