Signed-off-by: David Jander <[EMAIL PROTECTED]>
---
arch/powerpc/boot/dts/prtlvt.dts | 280 ++
arch/powerpc/platforms/512x/Kconfig |9 +
arch/powerpc/platforms/512x/Makefile |1 +
arch/powerpc/platforms/512x/prtlvt.c | 105 +
4
On Tuesday 10 June 2008 22:35:11 you wrote:
> In message <[EMAIL PROTECTED]> you wrote:
> > Signed-off-by: David Jander <[EMAIL PROTECTED]>
> > ---
> > arch/powerpc/boot/dts/prtlvt.dts | 280
> > ++ arch/powerpc/platfor
to current head
Signed-off-by: David Jander <[EMAIL PROTECTED]>
---
drivers/net/fs_enet/Kconfig| 16 -
drivers/net/fs_enet/fec_mpc5121.h | 120
drivers/net/fs_enet/fs_enet-main.c | 90 +++
drivers/net/f
Made MPC5121_ADS board support generic
Signed-off-by: David Jander <[EMAIL PROTECTED]>
---
arch/powerpc/boot/dts/prtlvt.dts | 267 +
arch/powerpc/platforms/512x/Kconfig | 15 ++
arch/powerpc/platforms/512x/Makefile |2 +-
se configs should depend on an option
> (PPC_MULTIPLATFORM) that is described as "Generic desktop/server/laptop"...
I think right now they need to. That's the way someone broke...err changed
platform selection.
We should fix that later, but I don't really know what would be
t; > rx_bd_base_phys = fep->ring_mem_addr;
> > @@ -320,10 +325,17 @@ static void restart(struct net_device *dev)
> >
> > fs_init_bds(dev);
> >
> > +#ifndef CONFIG_FS_ENET_MPC5121_FEC
> > /*
> > * Enable big endian and don't care abo
Made MPC5121_ADS board support generic:
Renamed arch/powerpc/platforms/512x/mpc5121_ads.c and added list of supported
boards.
For both MPC5121 ADS or PRTLVT support, just select "MPC5121_GENERIC" and use
the corresponding device-tree.
Signed-off-by: David Jander <[EMAIL PROTECTE
Signed-off-by: David Jander <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/Kconfig |2 +-
drivers/net/fec.h | 43
drivers/net/fs_enet/Kconfig| 22 +-
drivers/net/fs_enet/fs_enet-main.c
Made MPC5121_ADS board support generic:
Renamed arch/powerpc/platforms/512x/mpc5121_ads.c and added list of supported
boards.
For both MPC5121 ADS or PRTLVT support, just select "MPC5121_GENERIC" and use
the corresponding device-tree.
Signed-off-by: David Jander <[EMAIL PROTECTE
On Thursday 12 June 2008 14:12:15 you wrote:
> On Jun 12, 2008, at 6:45 AM, David Jander wrote:
>
> Your commit message isn't exactly helpful as most people dont know
> what LTIB is and its not terribly relevant. It just seems like you
> are adding support for the FEC on MP
rms/512x/mpc5121_generic.c similarity index 73%
> > rename from arch/powerpc/platforms/512x/mpc5121_ads.c
> > rename to arch/powerpc/platforms/512x/mpc5121_generic.c
> > index 50bd3a3..824ddbb 100644
> > --- a/arch/powerpc/platforms/512x/mpc5121_ads.c
> > +++ b/arch
fix our DT and resubmit that one.
Greetings,
--
David Jander
Protonic Holland.
___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
should probably be something like this:
$ ./dtc -p 10240 -R 20 -I dts -o myplatform.dtb -O dtb -b 0 dts/myplatform.dts
Load the resulting .dtb file directly with u-boot (don't make an u-image out
of it).
That's all I remember right now... hope it helps.
Regards,
--
David Jander
of the kernel.
Best regards,
--
David Jander
___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
-linux
applications...
Just curious,
--
David Jander
___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
ode is self-explanatory. The code itself is the
manual.
Greetings,
--
David Jander
___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Hi,
I am working on something like that (GSM-07.10 mux). Contact me if you are
interested.
Greetings,
--
David Jander
Protonic Holland.
. I assume, at that point init opens /dev/console (ttyS0)
and that device doesn't exist, since drivers/char/serial.c doesn't detect any
uart at the moment.
If it did, maybe I would get console stuff out of the first 16c554 port.
Has anybody else tried this?
What would be the right way
major number?
Greetings,
--
David Jander
Protonic Holland.
???
> >? ??
> >
> >
> >
> > Why would first 3 characters come out right ?
> > Any ideas ?
My fairly uneducated guess: The system hangs before the last character comes
out of the uart buffer. Try adding a delay just after printk.
The garbage could be anything produced by a piece of hardware gone wild.
Greetings,
--
David Jander
Protonic Holland.
both non-static and with (very) different prototypes, so
I am starting to figure out the best way of fixing that mess. Is anyone busy
with the same task?
Greetings,
--
David Jander
Protonic Holland.
linux driver or
software solution to this problem.
Has anybody used the CPM uarts (or even a standard 16C550 uart) for this
purpose? How?
Greetings,
--
David Jander
Protonic Holland.
round here first.
Greetings,
--
David Jander
able to make all our board-support stuff into something
useful for others and go beg for inclusion in the main sources but where?
Greetings,
--
David Jander
Protonic Holland.
be mounted from? NFS? flash? initrd?
Greetings,
--
David Jander
Protonic Holland.
in is always mapped at address
0xc000.
> Till the statement "Freeing unused kernel memory: 56k init" is coming
> only if and if the 0x0 was given for the kernel virtual base address.
That's actually pretty funny. I'd never thought about doing such an experiment
and expecting it to do something :-)
Greetings,
--
David Jander
Protonic Holland.
; that works with this system?
Have a look at www.denx.de
Take the development branch of 2.4 from that site and stop sticking the
finger in that wound ;-)
Greetings,
--
David Jander
l me.
I am posting this to the list hoping someone else will benefit from it. I
certainly would have.
Greetings,
--
David Jander
___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
On Monday 30 October 2006 16:32, Achim Machura wrote:
> Hello, David,
>
> We have had the same problem,
>
> after enabling pci in the kernelconfig,
> usb is working.
Duh. And how is one supposed to know that?
Thanks for the tip ;-)
Greetings,
ave very limited time to dedicate to such
things. If I get the chance to do something about it, I'll do it, I promise.
The time will come when I'll have to port our own board-support stuff to
arch/powerpc... so...
Greetings,
--
David Jander
_
that processor to also do hardware testing?
Thanks,
--
David Jander
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
FIG_MTD_PHYSMAP_START,?CONFIG_MTD_PHYSMAP_LEN,?
CONFIG_MTD_PHYSMAP_BUSWIDTH,?NULL);
+#endif
?}
-- end patch ---
Greetings,
--
David Jander
Protonic Holland.
t
of 2.6?
There is a patch for 2.6.10 for ppc, but I wonder if someone managed to port
it to 2.6.14 (or later) and runs it on an mpc8xx.
Greetings,
--
David Jander
ade it into mainstream, is about
to, or never will. I don't even know if it actually works.
Greetings,
--
David Jander
Protonic Holland.
ain
CAN driver architectures, could someone please point me to the right place to
start looking for answers (if that place exists) or just give the answer,
opinion or experience with one of PeakCAN, lincan, can4linux, etc...?
I am again puzzeled about which way to go.
Thanks for any advice,
--
David
f the kernel, but
right now the situation is really awful. CAN is quite popular for embedded
systems, but even embedded systems developers like to write portable code.
Regards,
P.S.: Alessandro: I have copy of "LDD1" on my desk, and I like it a lot.
Thanks!
--
David Jander
Protonic Holland.
tually good) and doesn't support
properly checking chip- or bus-status yet. Also honorable is their effort of
staying compatible with at least one other player: can4linux.
Greetings, and thanks for the comments,
Btw, how's ELDK-4 coming along?
--
David Jander
Protonic Holland.
this effort? [no offence or humor
> intended, I am interested in following it, but can't lead it myself]
I have too little time and too little experience to do such a thing, but I'd
happily contribute and follow.
Regards,
--
David Jander
Protonic Holland.
DL, so I am eagerly waiting for a
news-update on that site also (www.osadl.org).
This could indeed get very interesting, I can't wait to see how Roberts
implementation looks like.
Thanks to all for the discussion and work on this matter,
--
David Jander
Protonic Holland.
Hi,
I did the following:
$ patch -p1
nel, but it sure works better now.
Nevertheless I am very interested in hearing about (potential) stability
problems with with 2.6.14, 15 and 16 (besides not booting just because
Marcelo couldn't resist screwing up on the last minute; problem which is
being worked on ;-).
Greetings,
--
David Jander
). If there is such a
guide (the Howto's I could find seem hopelessly outdated), could someone
please provide a pointer ? Otherwise, I would be glad to offer my experience
from this point on for a FAQ or (somwhat more up-to-date) mini-howto. Any
ideas ?
Greetings,
--
David Jander
Protonic Holland.
dust
somewhere, and that would be a shame thank you for the offer anyway.
Greetings,
--
David Jander
Protonic Holland.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
ery-backuped time-keeping counter.
Greetings,
--
David Jander
Protonic Holland.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
replace /sbin/login with your app ;-)
There are probably many more options, but I hope this helps for a start.
Sincerely,
--
David Jander
Protonic Holland.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
efore
mounting that partition for the very first time after flashing.
Since this seems to me like a common situation, I'd like to know if anybody
knows about a better solution, or if anybody has already dealt with this
before.
Greetings,
--
David Jander
Protonic Holland.
tel.: +31 (0) 229
eded.
> I used flash_eraseall to write the cleanmarkers, but without
> erasing blocks (and called that utility cleanmark)
Thanks to all for the suggestions.
Is "cleanmark" an open-source tool? Would you share it?
Greetings,
--
David Jander
is with 2.4.25.
The overall robustness and "niceness" of the code is also a totally different
story now. 2.6 software architecture is definitely better, and many drivers
are much more stable. Implementing board support and drivers in 2.6 is also
much easier and cleaner than in 2.4.
to strip both kernels of all unnecessary drivers and features
that could hamper performance. If you wish I could try to dig up the .config
files for you, but I am not sure I'll find them anymore (I did this when
2.6.14 was just released).
Greetings,
--
David Jander
Protonic Holland.
hmark resluts in my
previous post.
P.S.: There is only one config file attached for 2.6.14. The only difference
is the latency setting and HZ as mentioned above.
Greetings,
--
David Jander
-- next part --
#
# Automatically generated by make menuconfig: don't edit
#
On Tuesday 14 March 2006 15:01, Dan Malek wrote:
> On Mar 14, 2006, at 2:50 AM, David Jander wrote:
> > I don't know why, but while everyone still says 2.6 is slower, I am
> > consistently getting results that seem to prove the opposite. Why?
>
> Because this is a compil
the hc, or simply freezes.
Whats the relationship between this and the driver hacked by Wolfgang Denk?
Is someone using a isp116x on a mpc8xx and can tell his experience on getting
it working?
Greetings,
--
David Jander
Protonic Holland.
r working, I'll send a patch
that hopefully fixes 116x support again ;-)
Greetings,
--
David Jander
Protonic Holland.
seemed to know where it came from. Bugs in fjjs2 code, etc
This is scaring me.
Anybody knows more about this problem, why it is caused, and hopefully how to
prevent this?
Thanks,
--
David Jander
question:
Which way to do such a thing? Write my own filesystem?
Greetings,
--
David Jander
e no more calls to open or stat with files in "/usr/lib/locale"
nor "/usr/share/locale" as argument, and I can't figure out why. What am I
doing wrong? Is this version of glibc in ELDK broken?
Best regards,
--
David Jander
) maybe ?
This must be a very common task (to store logfiles in flash), but I just can't
seem to find the right way to do it.
Any advice is highly appreciated.
Sincerely,
--
David Jander
Protonic Holland.
thinking about what would be the most robust way of coping with this, and
until now, oversized partitions with log-rotation on size seems to do the
trick. I don't want to loose log-data on power-loss so I don't feel so
comfortable with buffering much of it in RAM.
Best Regards,
--
David Jander
Protonic Holland.
normal use, you'll have maybe 5..10 lines a day added
to a given logfile, maybe even less, and since the partition is relatively
huge, wear-levelling in the jffs2 driver should do the obvious I believe.
It's not optimal, but it should work reliably AFAICT.
Regards,
--
David Jander
Protonic Holland.
s of this list.
Greetings,
--
David Jander
On Wednesday 08 February 2006 14:04, jeanwelly wrote:
> Hi,
> Acutally I am asking "Are there any command that os or BSP provided in
> shell to print the CPU information?". Thanks a lot!
One guess: cat /proc/cpuinfo
Will that be it?
Geetings,
--
David Jander
27;t I be using
jffs2?
Any advice is appreciated...
Greetings,
--
David Jander
udy syslogd, to see what it does when writing becomes
blocked for a long time. Does syslogd buffer? For how much data? Will I loose
data in the end or will the calling process hang?
If someone has experience with this, and knows the answer to some of these
questions, I'd be glad to hear it.
Greetings,
--
David Jander
rom the
philips source. Looking at it could be fatal for an OSS-coder like me (my
eyes could get poisoned).
Here goes a big "BOOOO" to Philips for doing this in the first place :-(
Greetings,
--
David Jander
3
ttyS2 at 0x0300 is on SCC4 using BRG4
That looks a lot better, but I wonder how he accomplished this? What's that
"SMC1/SCC3/I2C/SPI Patch" ? Where do I get it from?
Greetings,
--
David Jander
Protonic Holland.
3
ttyS2 at 0x0300 is on SCC4 using BRG4
That looks a lot better, but I wonder how he accomplished this? What's that
"SMC1/SCC3/I2C/SPI Patch" ? Where do I get it from?
Greetings,
--
David Jander
Protonic Holland.
pular, and many
developers seem to switch from unionfs to aufs lately, but I don't seem to
find much information about this.
Any suggestions are welcome.
Greetings,
--
David Jander
___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https:
ollaborate, I'd even consider forking their code, if
necessary.
Greetings,
--
David Jander
Protonic Holland.
___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
s polite as you should be
addressing a mailing list ;-)
Sincerely,
--
David Jander
Protonic Holland.
ken 8xx support for us?
Is there perhaps a known issue with 2.6.16 and ppc8xx I am unaware of?
Greetings,
--
David Jander
way one would expect?
Obviously, changing "if (is_con)" into "if (1)" all three uarts work
correctly, but I guess we want to save on DP_RAM usage if ever possible.
What else is wrong here?
Greetings,
--
David Jander
, hereby there is no difference what values
> they contain...
Argh. Code looks obviously broken, but since it isn't used, it just works.
That is not good! We should fix that either way then.
Thanks,
--
David Jander
ddresses. This technique is used in other drivers all over 2.6.
Sounds like the correct thing to do, but do you (by any chance) have a patch
for this change, to share?
Thanks a lot to everyone for their comments and help.
Greetings,
--
David Jander
while ((bdp->cbd_sc & BD_SC_READY) != 0)
;
- cp = cpm2cpu_addr(bdp->cbd_bufaddr);
+ cp = cpm2cpu_addr(bdp->cbd_bufaddr,
pinfo->dma_offset);
*cp = 13;
bdp->cbd_datlen = 1;
=
e chance to mix things up and then
> u-boot should copy the RAM to the flash. It seems a strange procedure but
> what else could be done with 4MB flash and 16 MB ram?
Run from initrd? Maybe an uncomressed filesystem on a ramdisk to be able to do
XIP (execute in place)?
Greetings,
--
David Jander
loses the
serial device, a break is transmitted.
3. Implemented default BRG routing for PQ1 (in the same sense as it is done
for PQ2).
Signed-off-by: David Jander
Regards,
David.
-- next part --
A non-text attachment was scrubbed...
Name: cpm_uart_patch.diff
Type: te
ght be in a
state of flux between released versions of the kernel. As of today (kernel
2.6.16) the architecture you need to use is still /arch/ppc.
Good luck!
Greetings,
--
David Jander
e. I'm working on a solution.
I received instructions from Marcelo to reverse two patches he sent me this
morning, that did solve the problem. In fact those patches changed some
TLB-related assembly code in head_8xx.S
Greetings,
--
David Jander
quot;tts/0"
in the console-line sounds suspicious to me. AFAIK when using devfs still
device names on the kernel-commandline have to be old-style.
Just a guess: try using "console=ttyS0,115200n8" and see if this helps.
Greetings,
--
David Jander
y, I don't think your board has this combination.
Greetings,
--
David Jander
ew data if
it was written with a single write() call?
Shouldn't jffs2 throw away the new incomplete node and keep the old version of
the file?
Can anyone explain what happened here??
Greetings,
--
David Jander
g hreset or poreset somewhere) but not power-cycling
> the board, and see if
> the failures are the same.
I could do that, but I fear it will give the same results.
Ok, for sciences sake I'll do that experiment.
Sincerely,
--
David Jander
On Monday 17 October 2005 14:37, David Woodhouse wrote:
> On Fri, 2005-10-14 at 11:35 +0200, David Jander wrote:
> > We have a custom embedded linux board, based on a MPC852T processor,
> > running 2.4.25 kernel from denx. Jffs2 has certain backported patches
> > after cvs f
d based on MPC852T (no internal UHCI) which can plug into an
(optional) daughter board with a ISP1160 on it. See attached patch.
Maybe the patch should be sent elsewere since it has not much to do with PPC,
so can someone please tell me where?
Greetings,
--
David Jander
--
a+=b; /* Do something */
}
gettimeofday(&tv,NULL);
[...]
Any ideas?
Am I misconfiguring something? Is 2.6 support for mpc8xx still broken
(cache/tlb, mm, etc) or is 2.6 supposed to perform THAT bad??
Greetings,
--
David Jander
vated.
I think I will need to look closer at how the "IDEA"-test works, but first
I'll have to run the nbench sources through "indent", because they are pretty
unreadable as is ;-)
I also downloaded oprofile, and am studying its manual right now. Hopefully
using this might get me a clue. If anybody already happens to know the
answer, please shout!
Greetings,
--
David Jander
Memsize 65536 : 23.125000 Mbyte/s
No, sir, no cache detected !
Where do I have to look now?
Greetings,
--
David Jander
Protonic Holland.
the
intention was to set the ID "by hand" in board support and setup.
Problem is: there is still no real board-support infrastructure for mpc8xx,
like there is for mpc82xx for example. What are the plans for 8xx? Should I
try to emulate what others have done for some PQ2 platforms, i.e
On Monday 31 October 2005 14:08, David Jander wrote:
> On Monday 31 October 2005 13:58, Mark Chambers wrote:
> >[...]
> >
> > > No, sir, no cache detected !
> > >
> > > Where do I have to look now?
> >
> > Could the cache be in writethrou
this option have a help anyway?
Greetings,
--
David Jander
more details about the problem you're experiencing, otherwise
it's unlikely someone here can help you.
I am using the isp116x HCD driver from kernel 2.6 now with a isp1160 chip, and
it runs fine. I suppose you are talking about the Host part of the 1362?
Greetings,
--
David Jander
before this patch, but taking about 2 or 3 hours to get
halfway through the init scripts ;-)
Thanks for the good work!
--
David Jander
g indeed, but should you really notice a performance increase
out of this?
Greetings,
--
David Jander
tant for kernel
testing, like context-switch overhead, mm, etc...
Nbench is quite useless here (a single task doing all sorts of nonsense,
almost no critical syscalls), but that's what makes the enormous
differences even more remarkable IMO. Maybe something is broken in 2.4?
Greetings,
--
David Jander
e to get an idea of where the
code spent its most cpu time during nbench, and AFAIR flush_dcache_icache()
took quite a chunk of it, so I assume page fault latency is of importance
there too, and might account for the huge difference between 2.4 and 2.6.
Greetings,
--
David Jander
it for 2.4 or 2.6? (I have both running on a mpc852T).
Here's a patch for 2.6.14 (denx-git tree).
Sorry to send you the complete patch for prtppc board support, but the spi
driver makes up most part of it, so it wouldn't be much smaller anyway ;-)
Regards,
--
David Jander
Proto
On Thursday 10 November 2005 08:48, David Jander wrote:
>[...]
> Hmmm. This is a lot in the line of the tests I did with (the more generic
> benchmark) nbench. After looking at those results (see my other post in
> this thread) I already suspected something like this.
Sorry, I obvio
king rubbish though.
Greetings,
--
David Jander
> root=/dev/nfs rw ip=on console=tty console=ttyS0 init=/sbin/init
I suppose putting two "console=" statements on the commandline doesn't do much
more than just removing the first one.
Greetings,
--
David Jander
serial line.
Wow. Everyday we learn something new ;-)
Sorry, and thanks for the tip!
Greetings,
--
David Jander
1 - 100 of 112 matches
Mail list logo