Non-cacheable memory

2001-08-07 Thread Tom Roberts
does bus snooping, you might not need uncached memory references or explicit flushes to read DMA data. But embedded and non-SMP systems are unlikely to do it. Tom Roberts tjroberts at lucent.com ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Query: PCI and Ethernet hardware/drivers

2001-01-26 Thread Tom Roberts
Adrian Cox wrote: > Tom Roberts wrote: > > 1) Does Linux/PPC handle the PCI bus properly? > Short answer, yes. Long answer, how strange a PCI system do you want to > build? Nothing obscure, I hope. We need a local PCI bus to interface to two ethernet MACs, some HDLC interfaces

Query: PCI and Ethernet hardware/drivers

2001-01-26 Thread Tom Roberts
DRAM to be "embedded", we certainly do. But it is a BIG step up from an 860] Any comments or suggestions you have will be appreciated. Tom Roberts tjroberts at lucent.com ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

printk() ?

2000-09-27 Thread Tom Roberts
via register_console(). The serial I/O device needs to appear in the filesystem for the kernel to open it for init, so should be a standard char device. > In which file I can find it ? kernel/printk.c Tom Roberts tjroberts at lucent.com ** Sent via the linuxppc-embedded mail list. Se

Linux on Motorola Sandpoint/PPMC7400

2000-08-29 Thread Tom Roberts
e has to be aware of the hardware platform's details (:-(). I have only 1 board with 7400s, and we are modifying it to try and evaluate SMP architecture Tom Roberts tjroberts at lucent.com ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Problems of the corss-compiler.

2000-08-28 Thread Tom Roberts
on for a process which takes the "FP not avail" trap. The optimization occurs in context switches where the FP registers are not saved or restored for processes with this bit off. This is, of course, for CPUs which have FP units IIRC the CPUs without FP units have the bit hardwired

Do I shoot myself in the foot first or HEAD.S?

2000-07-19 Thread Tom Roberts
ivate directory and symlink it back where it belongs; ditto for the half-dozen other files I had to change. Tom Roberts tjroberts at lucent.com ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

query on ppc/kernel/head.S for generic 8240

2000-07-19 Thread Tom Roberts
this strictly for the pmac or some specific BootROM? I have never figured it out, and don't use it. Note that everything I have learned about this came from reading the code and playing with it to make it work on our boards. It is possible that I have some details wrong, and likely that my

How to debug the linux kernel?

2000-07-07 Thread Tom Roberts
I had it working reasonably well. As you can tell, my method relied heavily on my experience in writing and implementing our proprietary OS, and on my knowledge and abilities as a low-level PowerPC assembly programmer. YMMV. Tom Roberts tjroberts at lucent.com ** Sent via the linuxppc-embedde

newlib, uclib

2000-07-06 Thread Tom Roberts
erything_ is actually a good design decision, IMHO, because it avoids users having to configure it, picking and choosing among thousands of library functions. Tom Roberts tjroberts at lucent.com ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Problems with HardHat/NFS root filesystems

2000-07-05 Thread Tom Roberts
of course share all logins. This board is a 200 MHz 750 with 64 MBytes SDRAM, so it is just a bit bigger than most embedded systems. Now to get the other two CPUs running Tom Roberts tjroberts at lucent.com ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

-Ttext for Kernel

2000-07-03 Thread Tom Roberts
ficulty using Linux. At a guess, assuming your system does have valid RAM there, this machine check is probably unrelated to the link and/or load address of Linux; it is probably attempting to reference some non-existant I/O device. Tom Roberts tjroberts at lucent.com ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

How to debug MMU on powerpc?

2000-06-30 Thread Tom Roberts
em-level code for your board does not already use these BATs (write a module to dump the BATs, or inspect the Linux startup code VERY carefully). This may be what you are looking for. Tom Roberts tjroberts at lucnet.com ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Query: kernel version for MPC750/MPC7400

2000-06-27 Thread Tom Roberts
re essentially embedded supercomputers; the only devices they have are the drivers I wrote, which use memory buffers to/from the host PCI as a 'serial' console and a network interface. Tom Roberts tjroberts at lucent.com ** Sent via the linuxppc-embe

No RAM at 0 -- Suggestions?

2000-06-19 Thread Tom Roberts
our existing boards would be a big plus, even though it will not be the same as the new boards. There is also the obvious attraction of a standard, POSIX-compliant OS Tom Roberts tjroberts at lucent.com ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

HELP: Linux Net Driver confusions

2000-06-06 Thread Tom Roberts
Tom Roberts wrote: > I am trying to write a network driver [...] > In particular, I am trying to use non-ethernet headers, and cannot > get the kernel to deliver a ping packet (ICMP protocol) back to the > ping program even though the driver delivers the packets OK. BUT -- > essen

net driver receive problems

2000-06-06 Thread Tom Roberts
do indeed transfer the data unchanged, and I think I set all the required skb fields above WHAT AM I MISSING??? Tom Roberts tjroberts at lucent.com ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

allocating non-cacheable regions

2000-05-31 Thread Tom Roberts
ng). You do need to ensure you are not mapping the same _virtual_ address (i.e. the effective address, in the language of Motorola's manuals), but the kernel routines will probably take care of that for you.... Tom Roberts tjroberts at lucent.com ** Sent via the linuxppc-embedded ma

Do you have your minimum ramdisk image which can provide basic network services ?

2000-05-31 Thread Tom Roberts
erious errors, like incompatible libraries Tom Roberts tjroberts at lucent.com ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Porting LinuxPPC

2000-05-30 Thread Tom Roberts
not an issue -- it takes just 3.1 seconds from the of my boot command to a bash prompt from the board). HEY -- IS THAT A RECORD??? has anyone ever booted Linux faster than 3.1 seconds? Of course this is a _VERY_ bare-bones system with just a console and a 4 MB initrd-ram

Do you have your minimum ramdisk image which can provide basic network services ?

2000-05-30 Thread Tom Roberts
g a sufficient initrd image to actually use the network driver I have written (:-(). So far, I cannot even ping myself using the loopback device (no inetd, I suppose). Tom Roberts tjroberts at lucent.com ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Curious limitation in copy_from_user()

2000-05-26 Thread Tom Roberts
cated to one-way traffic, so no locking is needed. I still need the uncached address to reference the queue pointers, but that is done using simple pointer dereferencing and is OK. Tom Roberts tjroberts at lucent.com ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/