* Re: windfarm for PM72/PM73/RM31
From: Étienne Bersac @ 2006-05-12 15:15 UTC (permalink / raw)
To: Robin H. Johnson; +Cc: linuxppc-dev
In-Reply-To: <20060502001306.GA9589@curie-int.vc.shawcable.net>
[-- Attachment #1: Type: text/plain, Size: 362 bytes --]
Hello,
> The PID params portion will come together a bit later, please bug me by
> Wednesday next week if I haven't posted anything.
Now we are Friday, what can we test ? ;) Sadly, my iMac G5 is under
repair for quite some times (it crashes during compilation of mesa
packages and never woke up).
So what'sup ? :)
Étienne
--
Verso l'Alto !
[-- Attachment #2: Ceci est une partie de message numériquement signée --]
[-- Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply
* Re: 2.6 vs 2.4
From: Felix Domke @ 2006-05-12 14:23 UTC (permalink / raw)
To: linuxppc-dev
In-Reply-To: <1147442231.9412.9.camel@localhost.localdomain>
Benjamin Herrenschmidt wrote:
>> Wolfgang Denk has a good listing of issues to consider betn linux 2.4
>>vs 2.6 for ppc82xx based platforms
>>(http://www.denx.de/wiki/Know/Linux24vs26).
>> Would this recommendation still hold?
>> Are there any patches, developments in this area?
> The main open question is: is somebody still maintaining the 8xx kernel
> port ?
The 4xx port has the same problem.
When we switched from 2.4 to 2.6, IDE performance ("hdparm -t" to have a
single number) was reduced by about 25% (even after trying to finetune
the IDE driver - the time between the end of one transfer and the begin
of the next transfer was just too long to saturate the harddisk).
Because of my lack of knowledge of the block device layer's internals I
wasn't able to track that down. My initial plan was to build a trace
using the RiscTrace environment, to see any instruction executed between
requests, but my company moved away from PPC4xx hardware
(unfortunately), so I was never able to complete this. I still believe
that other platforms have the same problems.
On a 300MHz embedded mips machine, saturating a 100MBit network link via
ftp is not easy. Our old 252MHZ PPC machines never performed better than
around 5MB/s (but had a non-DMA NIC, which however could be satured in
theory with about 70% cpu load, based on the bus bandwidth. Why are the
remaining 30% not enough to do IDE DMA and the TCP overhead? Memory
performance? But why did we had better numbers with 2.4 then?).
On that mips machine, both IDE and network support DMA (agreed, it's a
RTL8139, so it requires another memcpy), and memcpy() performance is
>100MB/s. Where is the bottleneck? And, much more important: how do
measure it?
I'm sorry that I can't really much do anything else than complaining,
but all my attempts to track down the problems were futile. I'm not sure
if testing "ftp performance" (as a completely non-synthetic benchmark -
FTP speed is/was a real issue on our platform) is "the right test", but
it's one of the things where i personally want linux to become better.
Or is this just a misconfiguration? Are there mysterious IO scheduler
default parameters which are just suboptimal for our case?
regards,
Felix
^ permalink raw reply
* Re: 2.6 vs 2.4
From: Felix Domke @ 2006-05-12 14:43 UTC (permalink / raw)
To: linuxppc-dev
In-Reply-To: <82ecf08e0605120729l43041aebuaef375a568700354@mail.gmail.com>
Thiago Galesi wrote:
> Not much. This article is almost one year old. Even though some things
> do apply (like bigger footprint, etc), the kernel improved a lot on
> the months that followed that article.
> I've participated in a project that used a (somewhat patched) 2.6.10
> kernel, with soccessful results.
Can you point me to a list of changes which where done? I really like to
check if they apply to my performance problems with 2.6 kernels, i.e. if
it's worth porting the board specific changes to a newer kernel.
Felix
^ permalink raw reply
* Re: 2.6 vs 2.4
From: Thiago Galesi @ 2006-05-12 14:29 UTC (permalink / raw)
To: Srinivas Murthy; +Cc: linuxppc-dev
In-Reply-To: <7cb1293c0605112351y658460a0x8b793ea12004dbfc@mail.gmail.com>
> Hi,
> Wolfgang Denk has a good listing of issues to consider betn linux 2.4 vs
> 2.6 for ppc82xx based platforms
> (http://www.denx.de/wiki/Know/Linux24vs26).
>
> Would this recommendation still hold?
Not much. This article is almost one year old. Even though some things
do apply (like bigger footprint, etc), the kernel improved a lot on
the months that followed that article.
I've participated in a project that used a (somewhat patched) 2.6.10
kernel, with soccessful results.
Not the mention the advantages of the 2.6 kernel in general.
>The main open question is: is somebody still maintaining the 8xx kernel
>port ?
LINUX FOR POWERPC EMBEDDED PPC8XX
P: Marcelo Tosatti
S: Maintained
(this has been determined AFAIK in OLS 2005)
^ permalink raw reply
* Re: Alubook 5,8: No sound with 2.6.17-rc3-g5528e568-dirty
From: Johannes Berg @ 2006-05-12 14:27 UTC (permalink / raw)
To: Wolfgang Pfeiffer; +Cc: linuxppc-dev list, debian-powerpc, Matthias Grimm
In-Reply-To: <20060512141918.GA3566@localhost>
[-- Attachment #1: Type: text/plain, Size: 1334 bytes --]
On Fri, 2006-05-12 at 16:19 +0200, Wolfgang Pfeiffer wrote:
> [Oops, something's messed up there: this actually is a 1.67 Ghz
> processor. I'll have a look at this later .. :) ]
No, it's fine, it is clocked down at boot, use cpufreq.
> I filled /etc/modules with snd_aoa modules and i have sound already
> from boot time on ... with a minor glitch (i.e. not being able to
> store a certain volume level via alsactrl to the next reboot, as it
> seems), but sound ...
There are a bunch of userland bugs... Alsamixer cannot cope with the
3..28 of the capture volume, some gnome tools can't cope with the
negative scale of the playback volume, and others.
I don't want to workaround this, please all file bugs against the
respective programs.
amixer always seems to work fine.
> I have problems doing the same with pbbuttonsd. That is I can start,
> e.g., gtkppbuttons, but when pressing <FN>-<F5> or <FN>-<F4> it seems
> being impossible to change the sound volume this way. But I can toggle
> it completely ON/OFF with <FN>-<F3.> ... not being sure tho' whether
> this is due to some of my braindead mistakes or really a pbbuttonsd
> issue ...
No idea, I no longer use pbbuttonsd.
> Thanks again a lot to everyone for your work, your time, and the
> resulting fine software ... :)
:)
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 793 bytes --]
^ permalink raw reply
* Help: Linux porting to custom target hw
From: Jayanta Das @ 2006-05-12 14:23 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 31 bytes --]
Thiago - thanks for the help.
[-- Attachment #2: Type: text/html, Size: 347 bytes --]
^ permalink raw reply
* Re: Alubook 5,8: No sound with 2.6.17-rc3-g5528e568-dirty
From: Wolfgang Pfeiffer @ 2006-05-12 14:19 UTC (permalink / raw)
To: Johannes Berg; +Cc: linuxppc-dev list, debian-powerpc, Matthias Grimm
In-Reply-To: <20060510213028.GG3878@localhost>
Hi All
First a fat Thanks to Johannes, Benh and to all of those heroes making
it possible to run a relatively freh PPC (Apple) Powerbook model with Linux ... :)
I'm cross-posting. So a short note for those who can't know what all this is about:
I didn't have sound with a fresh git kernel, on the machine mentioned above:
$ cat /proc/cpuinfo
processor : 0
cpu : 7447A, altivec supported
clock : 833.333000MHz
revision : 0.5 (pvr 8003 0105)
bogomips : 16.57
timebase : 8320000
platform : PowerMac
machine : PowerBook5,8
motherboard : PowerBook5,8 MacRISC3 Power Macintosh
detected as : 287 (PowerBook G4 15")
pmac flags : 00000019
L2 cache : 512K unified
pmac-generation : NewWorld
[Oops, something's messed up there: this actually is a 1.67 Ghz
processor. I'll have a look at this later .. :) ]
That's why I sent a message to linuxppc-dev@ozlabs.org. The thread is
starting here:
http://ozlabs.org/pipermail/linuxppc-dev/2006-May/022736.html
On Wed, May 10, 2006 at 11:30:28PM +0200, Wolfgang Pfeiffer wrote:
> On Wed, May 10, 2006 at 06:04:13PM +0200, Johannes Berg wrote:
>
> > Also, try snd-aoa.
>
> Impossible here, it does not compile here. Neither with gcc 4.0 or 4.1
Wrong. To put it mildly .. :) Result probably of me being too tired,
too fast, and too anal when reading instructions ...
# lsmod | grep -i aoa
snd_aoa_codec_onyx 12032 2
snd_aoa_fabric_layout 7492 2
snd_aoa 8076 2 snd_aoa_codec_onyx,snd_aoa_fabric_layout
soundbus 6628 2 snd_aoa_fabric_layout,i2sbus
snd 60148 12 snd_aoa_codec_onyx,snd_aoa_fabric_layout,
snd_aoa,snd_powermac,i2sbus,snd_pcm_oss,
snd_mixer_oss,snd_pcm,snd_timer
I successfully compiled the software now, and only with gcc-4.1. Example:
# modinfo snd_aoa
filename: /lib/modules/2.6.17-rc3-gf358166a-dirty/kernel/sound/aoa/snd-aoa.ko
description: Apple Onboard Audio Sound Driver
author: Johannes Berg <johannes@sipsolutions.net>
license: GPL
vermagic: 2.6.17-rc3-gf358166a-dirty mod_unload gcc-4.1
depends: snd
srcversion: D0DFD2EF0CFEB8E7C08AAEB
The git kernel I compiled the snd-aoa modules for (must be from about
yesterday, IINM):
cat /proc/version
Linux version 2.6.17-rc3-gf358166a-dirty (root@debby1-6) (gcc version
4.1.1 20060428 (prerelease) (Debian 4.1.0-2)) #1 Fri May 12 01:13:36
CEST 2006
config for this latest kernel (Please note the
"CONFIG_PREEMPT_VOLUNTARY=y" in there ... :) ... :
<http://wolfgangpfeiffer.com/config-2.6.17-rc3-gf358166a-dirty.txt>
I filled /etc/modules with snd_aoa modules and i have sound already
from boot time on ... with a minor glitch (i.e. not being able to
store a certain volume level via alsactrl to the next reboot, as it
seems), but sound ...
>
> I took your instructions from
> http://lists.debian.org/debian-powerpc/2006/03/msg00470.html
>
I'm listening to some Internet radio station via alsaplayer while
writing this mail ... :) ...
Results, as of now:
I can change the sound volume via the software. Tested in xine and
alsaplayer-gtk so far ...
I have problems doing the same with pbbuttonsd. That is I can start,
e.g., gtkppbuttons, but when pressing <FN>-<F5> or <FN>-<F4> it seems
being impossible to change the sound volume this way. But I can toggle
it completely ON/OFF with <FN>-<F3.> ... not being sure tho' whether
this is due to some of my braindead mistakes or really a pbbuttonsd
issue ...
Thanks again a lot to everyone for your work, your time, and the
resulting fine software ... :)
Nice weekend
Wolfgang
--
Wolfgang Pfeiffer: /ICQ: 286585973/ + + + /AIM: crashinglinux/
http://profiles.yahoo.com/wolfgangpfeiffer
Key ID: E3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113&fingerprint=on
^ permalink raw reply
* Re: 2.6 vs 2.4
From: Benjamin Herrenschmidt @ 2006-05-12 14:02 UTC (permalink / raw)
To: Srinivas Murthy; +Cc: linuxppc-dev
In-Reply-To: <1147442231.9412.9.camel@localhost.localdomain>
On Fri, 2006-05-12 at 23:57 +1000, Benjamin Herrenschmidt wrote:
> On Thu, 2006-05-11 at 23:51 -0700, Srinivas Murthy wrote:
> > Hi,
> > Wolfgang Denk has a good listing of issues to consider betn linux 2.4
> > vs 2.6 for ppc82xx based platforms
> > (http://www.denx.de/wiki/Know/Linux24vs26).
> >
> > Would this recommendation still hold?
> >
> > Are there any patches, developments in this area?
>
> The main open question is: is somebody still maintaining the 8xx kernel
> port ?
Oh , and to give a better reply after reading that web page... I'd say
there might be a reason why 2.6 is slower (or appears slower) than 2.4
on some of those embedded platforms. It's definitely faster in a number
of areas on 6xx and other desktop CPUs. A lot of embedded folks will
then bitch and complain about the slowdown on their 8xx processor, but
very few of them if not none popped up actually identifying the actual
issues and coming up with solution for them during the 2.6 dev. cycle.
Ben.
^ permalink raw reply
* Re: 2.6 vs 2.4
From: Benjamin Herrenschmidt @ 2006-05-12 13:57 UTC (permalink / raw)
To: Srinivas Murthy; +Cc: linuxppc-dev
In-Reply-To: <7cb1293c0605112351y658460a0x8b793ea12004dbfc@mail.gmail.com>
On Thu, 2006-05-11 at 23:51 -0700, Srinivas Murthy wrote:
> Hi,
> Wolfgang Denk has a good listing of issues to consider betn linux 2.4
> vs 2.6 for ppc82xx based platforms
> (http://www.denx.de/wiki/Know/Linux24vs26).
>
> Would this recommendation still hold?
>
> Are there any patches, developments in this area?
The main open question is: is somebody still maintaining the 8xx kernel
port ?
Ben.
^ permalink raw reply
* Re: Linux doesn't boot if USB is enabled
From: Igor Luri @ 2006-05-12 13:30 UTC (permalink / raw)
To: Wolfgang Denk; +Cc: linuxppc-embedded
In-Reply-To: <20060512095339.421CC352B2A@atlas.denx.de>
Dear Wolfgang,
I have updated linux kernel an u-boot from the CVS repository, so I have
de latest u-boot and linux version. I grabed the new u-boot an kernel
and now hungs later while probing PCI. If I configure linux kernel
without PCI support, it boots OK.
I use lite5200b_defconfig configuration. I am missing something in the
configuration relationated with PCI?
U-Boot 1.1.4 (May 12 2006 -
14:45:32)
CPU: MPC5200 v2.2, Core v1.4 at 462
MHz
Bus 132 MHz, IPB 132 MHz, PCI 33
MHz
Board: Freescale
Lite5200B
I2C: 85 kHz,
ready
DRAM: 256
MB
FLASH: 32
MB
*** Warning - bad CRC, using default
environment
PCI: Bus Dev VenId DevId Class
Int
00 1a 1057 5809 0680
00
In:
serial
Out:
serial
Err:
serial
Net: FEC
ETHERNET
IDE: Bus 0:
OK
Device 0: Model: SanDisk SDCFB-32 Firm: HDX 2.15 Ser#:
103407C2604A5824
Type: Hard
Disk
Capacity: 30.6 MB = 0.0 GB (62720 x
512)
Device 1: not
available
Type "run flash_nfs" to mount root filesystem over NFS
Hit any key to stop autoboot: 0
=> bootp 500000 vmlinux.UBoot
BOOTP broadcast 1
Using FEC ETHERNET device
TFTP from server 10.0.7.228; our IP address is 10.0.17.102
Filename 'vmlinux.UBoot'.
Load address: 0x500000
Loading: #################################################################
#################################################################
##########################################################
done
Bytes transferred = 959935 (ea5bf
hex)
=> usb
reset
(Re)start
USB...
USB: scanning bus for devices... 1 USB Device(s)
found
scanning bus for storage devices... 0 Storage Device(s)
found
=> bootm
500000
## Booting image at 00500000
...
Image Name:
Linux-2.4.25
Created: 2006-05-12 12:31:19
UTC
Image Type: PowerPC Linux Kernel Image (gzip
compressed)
Data Size: 959871 Bytes = 937.4
kB
Load Address:
00000000
Entry Point:
00000000
Verifying Checksum ...
OK
Uncompressing Kernel Image ...
OK
Memory BAT mapping: BAT2=256Mb, BAT3=0Mb, residual:
0Mb
Linux version 2.4.25 (igor@ILURI_LINUX) (gcc version 3.3.6) #1 vie may
12 14:27:36 CEST 2006
On node 0 totalpages:
65536
zone(0): 65536
pages.
zone(1): 0
pages.
zone(2): 0
pages.
Kernel command
line:
Calibrating delay loop... 307.20
BogoMIPS
Memory: 256340k available (1636k kernel code, 496k data, 76k init, 0k
highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144
bytes)
Inode cache hash table entries: 16384 (order: 5, 131072
bytes)
Mount cache hash table entries: 512 (order: 0, 4096
bytes)
Buffer cache hash table entries: 16384 (order: 4, 65536
bytes)
Page-cache hash table entries: 65536 (order: 6, 262144
bytes)
POSIX conformance testing by
UNIFIX
PCI: Probing PCI hardware
PCI: moved dev
Wolfgang Denk wrote:
>In message <918EB199DDDFFA42BEA2EB3A1C6021F3CE19E2@correo.fagorautomation.net> you wrote:
>
>
>>We also have a mpc5200liteB evaluation board with u-boot 1.1.4 and linux
>>2.4.25 from Denx. We have realized that when USB is enabled linux
>>doen´t boot, it hungs after u-boot uncompresses linux image.
>>
>>
>
>You need the latest versions of both U-boot and Linux.
>
>For U-Boot, you need a version after April 18 (see especially commit
>ID 8419c013048b1f15f3fa2fc7c0463d860a04ee3e). For the Linux kernel,
>you need a version after April 21 (see especially commit ID
>1ac8b71bdbe6de928ba84c83831f6988a9b51165).
>
>I recommend to grab the top-of-tree from both repositories.
>
>Best regards,
>
>Wolfgang Denk
>
>
>
^ permalink raw reply
* Re: [U-Boot-Users] Re: Failure of 2 BAT schemes to enable D-cache
From: Jerry Van Baren @ 2006-05-12 12:26 UTC (permalink / raw)
Cc: U-Boot-Users@lists.sourceforge.net, linuxppc-embedded@ozlabs.org
In-Reply-To: <20060511223814.2195C352B0C@atlas.denx.de>
Wolfgang Denk wrote:
> In message <20060511201329.23866.qmail@web37105.mail.mud.yahoo.com> you wrote:
>> Please post comments and suggestions of how I can
>> initialized MMU for d-cache performance. I am new
>> to this.
>
> We have been through this before, several times. Many times actually.
> I have explained it to you, and so did others.
>
> It is perfectly fine with me if you ignore my advice. But then please
> stop posting the same question again and again here.
>
> You will not receive any new answers.
>
> Again, and definitely for the last time:
>
> It makes no sense to try to enable the data cache on a MPC82xx system
> in U-Boot; the time you could save if you succeeded is marginal to
> your application startup time.
>
> And in Linux the D-Cache is enabled, so no changes are needed.
>
>
> Best regards,
> Wolfgang Denk
Furthermore, manipulating processor control registers interactively with
a debugger (e.g. attempting to enable dcache) is somewhere between
nearly impossible and totally impossible. Read and understand the
processor manual on the sequences required for changing control
registers and enabling/disabling cache. You cannot guarantee that the
sequences will be done properly because the debugger has LOTS of unknown
code running to implement what to you "looks like" a simple register
write command.
Signing off on this thread,
gvb
^ permalink raw reply
* Re: ppc32 kernel boot problem (pmu related?)
From: Nathan Pilatzke @ 2006-05-12 12:40 UTC (permalink / raw)
To: Benjamin Herrenschmidt; +Cc: linuxppc-dev
In-Reply-To: <1147403525.7343.19.camel@localhost.localdomain>
On 5/11/06, Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
> On Thu, 2006-05-11 at 15:07 -0400, Nathan Pilatzke wrote:
> > I am running an eMac first generation powerpc (700MHz) and the Gentoo
> > distribution. Kernel 2.6.15 (Gentoo revision 1) is working quite well
> > for me. A few days ago I compiled 2.6.17-rc3 from the vanilla sources
> > ebuild and am having troubles with the pmu code.
> >
> > I can boot successfully when my config has
> > # CONFIG_ADB_PMU is not set
> > but cannot boot if my config has
> > CONFIG_ADB_PMU=3Dy
>
> What happens when you enable that option ?
>
Sorry, I was a little light on details... I thought this might be a
known problem. With the pmu option enabled (and early open firmware
messages enabled) I get:
Using PowerMac machine description
Total memory =3D 640MB; using 2048kB for hash table (at cfe00000)
Linux version 2.6.17-rc3 (root@the_emac) (gcc version 3.4.5 (Gentoo 3.4.5-r=
1, ss
p-3.4.5-1.0, pie-8.7.9)) #11 Thu May 11 09:53:39 EDT 2006
Found UniNorth memory controller & host bridge @ 0xf8000000 revision: 0x11
Mapped at 0xfdfc0000
Found a Keylargo mac-io controller, rev: 3, mapped at 0xfdf40000
Processor NAP mode on idle enabled.
PowerMac motherboard: eMac
setup_arch: bootmem
Found UniNorth PCI host bridge at 0xf0000000. Firmware bus number: 0->0
Found UniNorth PCI host bridge at 0xf2000000. Firmware bus number: 0->0
Found UniNorth PCI host bridge at 0xf4000000. Firmware bus number: 0->0
via-pmu: Server Mode is disabled
PMU driver v2 initialized for Core99, firmware: 0c
arch: exit
Top of RAM: 0x28000000, Total RAM: 0x28000000
Memory hole size: 0MB
Built 1 zonelists
Kernel command line: root=3D/dev/sda8 ro video=3Dofonly root=3D/dev/sda8 ro=
otdelay=3D10
resume=3D/dev/sda9
mpic: Setting up MPIC " MPIC 1 " version 1.2 at 80040000, max 4 CPUs
mpic: ISU size: 64, shift: 6, mask: 3f
mpic: Initializing for 64 sources
PID hash table entries: 4096 (order: 12, 16384 bytes)
time_init: decrementer frequency =3D 24.913389 MHz
time_init: processor frequency =3D 700.000000 MHz
and then the machine freezes and requires a power cycle to restart.
Without that option enabled I get this:
PowerMac motherboard: eMac
-setup_arch: bootmem
Found UniNorth PCI host bridge at 0xf0000000. Firmware bus number: 0->0
Found UniNorth PCI host bridge at 0xf2000000. Firmware bus number: 0->0
Found UniNorth PCI host bridge at 0xf4000000. Firmware bus number: 0->0
-via-pmu: Server Mode is disabled
-PMU driver v2 initialized for Core99, firmware: 0c
-arch: exit
+WARNING ! Your machine is PMU-based but your kernel
+ wasn't compiled with CONFIG_ADB_PMU option !
Top of RAM: 0x28000000, Total RAM: 0x28000000
Memory hole size: 0MB
+On node 0 totalpages: 163840
+ DMA zone: 163840 pages, LIFO batch:31
Built 1 zonelists
Kernel command line: root=3D/dev/sda8 ro video=3Dofonly root=3D/dev/sda8
rootdelay=3D10
resume=3D/dev/sda9
mpic: Setting up MPIC " MPIC 1 " version 1.2 at 80040000, max 4 CPUs
mpic: ISU size: 64, shift: 6, mask: 3f
mpic: Initializing for 64 sources
PID hash table entries: 4096 (order: 12, 16384 bytes)
time_init: decrementer frequency =3D 24.913389 MHz
time_init: processor frequency =3D 700.000000 MHz
+Console: colour dummy device 80x25
+Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
...
and it continues booting as normal. As a side note it should be known
that I could not coerce the PowerMac ALSA sound driver to compile
without the PMU enabled either, so there probably should be a config
dependency on it if that is the case.
Anything else I can do?
^ permalink raw reply
* regarding setup_common_caches (port linux to prpmc610 kernel-2.4.25 with MVME2100 patch) dated jan 10 2006
From: Kiran Kumar.A @ 2006-05-12 11:06 UTC (permalink / raw)
To: siman; +Cc: linuxppc-embedded
Hello Siman,
This is kiran here working on mvme6100 for kernel 2.6.13-4.
I saw your issue regarding the setup_common_caches in mvme2100 port.=20
Since I'm also getting the similar problem in the port mentioned above, I j=
ust wanted to know that , Did you crack the issue of common_caches??. If so=
, Please let me know as to what could be done with this.
Waiting for your reply at the earliest.
regards,
kiran
--=20
_______________________________________________
Search for businesses by name, location, or phone number. -Lycos Yellow Pa=
ges
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.as=
p?SRC=3Dlycos10
^ permalink raw reply
* Re: how to mount /dev/ram0 to /
From: Wolfgang Denk @ 2006-05-12 10:09 UTC (permalink / raw)
To: tony; +Cc: linuxppc-embedded@ozlabs.org
In-Reply-To: <44645CBD.00AAC3.19405>
In message <44645CBD.00AAC3.19405> you wrote:
>
> after boot up,excute df to see the mount point:
> ~ # df
> Filesystem 1k-blocks Used Available Use% Mounted on
> ~ #
> nothing was mounted.
Your rc scripts probably did not care to update /etc/mtag as needed.
Check what "cat /proc/mounts" gives.
> the fatab in /etc is like this:
> /dev/ram0 / ext2 defaults 1 1
> none /proc proc defaults 0 0
>
> anything wrong?
Probably no part of your rc scripts did anything with the information
in /etc/fstab ...
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Perl itself is usually pretty good about telling you what you
shouldn't do. :-) - Larry Wall in <11091@jpl-devvax.JPL.NASA.GOV>
^ permalink raw reply
* how to mount /dev/ram0 to /
From: tony @ 2006-05-12 9:43 UTC (permalink / raw)
To: linuxppc-embedded@ozlabs.org
I made a new uRamdisk for the mini bubinga board,
change uboot's bootargs like this
bootargs root=/dev/ram rw console=ttyS0,115200 ip=192.168.0.200:192.168.0.19:::bubinga:eth0:off panic=1
==>
bootargs root=/dev/ram0 rw console=ttyS0,115200 ip=192.168.0.200:192.168.0.19:::bubinga:eth0:off panic=1
after boot up,excute df to see the mount point:
~ # df
Filesystem 1k-blocks Used Available Use% Mounted on
~ #
nothing was mounted.
the fatab in /etc is like this:
/dev/ram0 / ext2 defaults 1 1
none /proc proc defaults 0 0
anything wrong?
thank you.
tony
^ permalink raw reply
* Re: Linux doesn't boot if USB is enabled
From: Wolfgang Denk @ 2006-05-12 9:53 UTC (permalink / raw)
To: IGOR LURI; +Cc: linuxppc-embedded
In-Reply-To: <918EB199DDDFFA42BEA2EB3A1C6021F3CE19E2@correo.fagorautomation.net>
In message <918EB199DDDFFA42BEA2EB3A1C6021F3CE19E2@correo.fagorautomation.net> you wrote:
>
> We also have a mpc5200liteB evaluation board with u-boot 1.1.4 and linux
> 2.4.25 from Denx. We have realized that when USB is enabled linux
> doen´t boot, it hungs after u-boot uncompresses linux image.
You need the latest versions of both U-boot and Linux.
For U-Boot, you need a version after April 18 (see especially commit
ID 8419c013048b1f15f3fa2fc7c0463d860a04ee3e). For the Linux kernel,
you need a version after April 21 (see especially commit ID
1ac8b71bdbe6de928ba84c83831f6988a9b51165).
I recommend to grab the top-of-tree from both repositories.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Well, the way I see it, logic is only a way of being ignorant by num-
bers. - Terry Pratchett, _Small Gods_
^ permalink raw reply
* Linux doesn't boot if USB is enabled
From: IGOR LURI @ 2006-05-12 8:53 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 3070 bytes --]
Hi all,
We have a mpc5200 Icecube board with u-boot 1.1.3 and linux 2.4.25 from Denx where linux boots with USB enabled.
We also have a mpc5200liteB evaluation board with u-boot 1.1.4 and linux 2.4.25 from Denx. We have realized that when USB is enabled linux doen´t boot, it hungs after u-boot uncompresses linux image.
=> usb reset
(Re)start USB...
USB: scanning bus for devices... 1 USB Device(s) found
scanning bus for storage devices... 0 Storage Device(s) found
=>run bootcmd
BOOTP broadcast 1
DHCP client bound to address 10.0.17.102
Using FEC ETHERNET device
TFTP from server 10.0.7.228; our IP address is 10.0.17.102
Filename 'vmlinux.UBoot'.
Load address: 0x500000
Loading: #################################################################
#################################################################
#################################################################
#
done
Bytes transferred = 1000231 (f4327 hex)
=> bootm 0x500000
## Booting image at 00500000 ...
Image Name: Linux-2.4.25-rthal5-TRACE
Created: 2006-05-11 15:08:31 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1000167 Bytes = 976.7 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Memory BAT mapping: BAT2=256Mb, BAT3=0Mb, residual: 0Mb
Linux version 2.4.25-rthal5-TRACE (igor@ILURI_LINUX) (gcc version 3.3.6) #301 jue may 11 17:08:00 CEST 2006
On node 0 totalpages: 65536
zone(0): 65536 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/nfs rw console=ttyS0 console=ttyS0 init=/sbin/init ip=on
Console: colour dummy device 80x25
Calibrating delay loop... 307.20 BogoMIPS
Memory: 256012k available (1824k kernel code, 612k data, 96k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
If we disable USB with the command
=> usb stop
stopping USB..
linux boots as usual.
I don't found changes in USB part between u-boot 1.1.3 and u-boot 1.1.4. I have readen MPC5200 revision B chip errata and there is nothing about USB. But I have found a manual named U-Boot Bootloader for MPL Single Board Computer that says the following:
Warning: Please make sure to stop the USB subsystem before booting an OS. This can be done by
adding the command usb stop to the variable bootcmd:
This board uses a ppc405 and also it has the same problem.
Someone knows why linux doesn't boot with USB enabled on a mpc5200liteB board? Is this a hardware problem?Is a revision B chip errata? Or, a software problem?
Thanks in advance.
Igor Luri
R&D Software Department
Fagor Automation S. Coop.
P. O. Box 144
E-20500 Mondragón-Arrasate
Tel. ++34 943 71 92 00
++34 943 71 92 01 (Ext. 44124)
Fax. ++34 943 79 92 03
www.fagorautomation.com
[-- Attachment #2: Type: text/html, Size: 6648 bytes --]
^ permalink raw reply
* 2.6 vs 2.4
From: Srinivas Murthy @ 2006-05-12 6:51 UTC (permalink / raw)
To: linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 275 bytes --]
Hi,
Wolfgang Denk has a good listing of issues to consider betn linux 2.4 vs
2.6 for ppc82xx based platforms (http://www.denx.de/wiki/Know/Linux24vs26).
Would this recommendation still hold?
Are there any patches, developments in this area?
Thanks,
_Srinivas
[-- Attachment #2: Type: text/html, Size: 493 bytes --]
^ permalink raw reply
* DMA problem on PPC 74xx
From: Monika Borikar @ 2006-05-12 6:44 UTC (permalink / raw)
To: linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 876 bytes --]
Hello All,
I am working on PPC 74xx processor which uses Marvell mv64360 host bridge. On PPC linux-2.6.12.5 (with EV64360 patch ) is running, with CONFIG_NOT_COHERENT_CACHE=y option in .config file.
I have a pci device which has to do DMA transfer from PPC memory. This pci device is DMA master for all dma transactions. The device driver on PPC allocates memory using pci_alloc_consistent & write the data to this allocated memory. Address of this allocated memory is given to device using which device is supposed to do read/write using dma mechanism.
Looks like dma transfer is not happening. I found few mails which talks about some problem with caching. Can anybody guide me if there is any such issue & how to solve that?
Thanks
-Monika
---------------------------------
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
[-- Attachment #2: Type: text/html, Size: 1021 bytes --]
^ permalink raw reply
* RE: Help Needed: input overrun(s)
From: s.maiti @ 2006-05-12 5:07 UTC (permalink / raw)
To: Rune Torgersen; +Cc: linuxppc-embedded
In-Reply-To: <DCEAAC0833DD314AB0B58112AD99B93B0189DDA7@ismail.innsys.innovsys.com>
Thank you very much for your help. Actually in our driver we are using all
128 channels of MCC1. So we have relocated the dpram for the uart and
ethernet to the dpram 3 and freed the space for the MCC1 accordingly. We
have gone through our allocations, nowhere it's conflicting.
In your case is your driver able to transmit and receive data correctly?
In our case whenever we load the driver the console output gets crambbled.
Through debugging we have identified that the cause of it may be due to
the configuration of L1RSYNC, L1TSYNC, RCLK and TCLK. Can these
configuration cause this ttyS overrun?
Also when the driver is loaded we are not getting any interrupts. We are
writting to the Tx buffer through a user space application, but that is
not resulting in any tx interrupts. Can you help me regarding this.
Also I will be grateful to if let me know which kernel version of linux
you are using and the flow of initialization you are using in your driver.
Looking forward to your help.
Thanks and regards,
Souvik Maiti
Tata Consultancy Services Limited
Mailto: s.maiti@tcs.com
Website: http://www.tcs.com
"Rune Torgersen" <runet@innovsys.com>
05/11/2006 07:44 PM
To
<s.maiti@tcs.com>
cc
<linuxppc-embedded@ozlabs.org>, "Stevan Ignjatovic" <stevan@iritel.com>
Subject
RE: Help Needed: input overrun(s)
> From: s.maiti@tcs.com [mailto:s.maiti@tcs.com]
> Thanks very much for your reply. It's seems you have already
> developed the MCC driver. Are you using channels 32 to 96?
> Have you made any changes in the dp ram allocation for uart
> or ethernet driver?
> Please help me...
We are using every other channel from 32 to 96 on both MCC's as SS7
receivers.
We did not have to do any relocations for UART or ethernet.
Ethernet uses upper DPRAM (above 0x8000) and uarts use the first 128
bytes.
We statically allocate DPRAM with cpm_alloc_fixed. MCC1 use 0x0800 to
0x17ff
MCC2 use 0x2800 to 0x37ff. Extra param RAM is allocated with cpm_alloc
and is allocated as 256*8 bytes, and shared between MCC1 and 2.
All BD and interrupt tables are in main memory.
ForwardSourceID:NT00006DD6
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
^ permalink raw reply
* scheduler Latecy test on power pc
From: Prabhat_Singh @ 2006-05-12 3:42 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 746 bytes --]
Hi,
I am using denx linux-2.4.24 on our customized board based on
MPC8248 power processor.
I want to do kernel scheduling latency test on my power pc based
board
, can any one please tell me how could I do that?
prabhat
DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.
[-- Attachment #2: Type: text/html, Size: 3037 bytes --]
^ permalink raw reply
* Re: ppc32 kernel boot problem (pmu related?)
From: Benjamin Herrenschmidt @ 2006-05-12 3:12 UTC (permalink / raw)
To: Nathan Pilatzke; +Cc: linuxppc-dev
In-Reply-To: <98889dd30605111207g6afe6158je681717ccacb9e40@mail.gmail.com>
On Thu, 2006-05-11 at 15:07 -0400, Nathan Pilatzke wrote:
> Hello, I am not a member of this list and I hope this is the correct
> place to report such problems and ask for help.
>
> I am running an eMac first generation powerpc (700MHz) and the Gentoo
> distribution. Kernel 2.6.15 (Gentoo revision 1) is working quite well
> for me. A few days ago I compiled 2.6.17-rc3 from the vanilla sources
> ebuild and am having troubles with the pmu code.
>
> I can boot successfully when my config has
> # CONFIG_ADB_PMU is not set
> but cannot boot if my config has
> CONFIG_ADB_PMU=y
What happens when you enable that option ?
> I can post anything you need to help narrow down the problem (ie.
> kernel configs, boot msgs). Would turning on the kernel debugging
> give more information on the problem? Any help would be greatly
> appreciated... even if I can just narrow down the problem further so
> that I can make a very specific bug report.
>
> Here is the cpuinfo (as reported under 2.6.17-rc3 without PMU):
> cat /proc/cpuinfo
> processor : 0
> cpu : 7450, altivec supported
> clock : 700.000000MHz
> revision : 0.1 (pvr 8000 0201)
> bogomips : 49.79
> timebase : 24913389
> platform : PowerMac
> machine : PowerMac4,4
> motherboard : PowerMac4,4 MacRISC2 MacRISC Power Macintosh
> detected as : 80 (eMac)
> pmac flags : 00000010
> L2 cache : 256K unified
> pmac-generation : NewWorld
>
> Thanks.
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
^ permalink raw reply
* Re: MPC8641(D) software status
From: Sam Song @ 2006-05-12 1:31 UTC (permalink / raw)
To: Xianghua Xiao; +Cc: linuxppc-embedded
In-Reply-To: <44638F6D.1030602@freescale.com>
Hi Xianghua,
Xianghua Xiao <x.xiao@freescale.com> wrote:
> well I am not the one to be allowed to send
> public patches. However if
> someone needs a 2.6.15/2.6.16 patch I can
> certainly send it out before a
> public release(2.6.17?) is ready. It's also
> available on freescale's
> website.
That's fine. But I couldn't get it on your
website. Not NOW, perhaps? :-)
As wolfgang mentioned, the sooner it released
to community, the better it would be.
Still one thing. Does MPC7447A tool chain
work for MPC8641D?
The big news is that it can be supported
by u-boot and 2.6 kernel. It's so great!
Highly appreciate your info,
Sam
BTW, will you show up at FTF Shangahi at the
end of this month? If so, I could invite you
visit our lab for further communication.
Best regards,
Sam
___________________________________________________________
雅虎免费邮箱-3.5G容量,20M附件
http://cn.mail.yahoo.com/
^ permalink raw reply
* Help: Linux porting to custom target hw
From: Thiago Galesi @ 2006-05-12 0:49 UTC (permalink / raw)
To: Jayanta Das; +Cc: linuxppc-embedded
In-Reply-To: <8584FDC94AFF7640B17B8A89B23B19B331C6BA@sbsserver.AlphionCorp.local>
>
> My specific question was what do I need to change in the kernel and U-Boo=
t
> source to boot my target HW. Is flash location and the memory map only th=
ing
> I need to worry about or I need to do something more. E.g. I am looking f=
or
> a document which will specify the LSP specific files.
I'm not very familiar with UBoot but most of the changes will be made
there, not in the kernel (that is, memory size, memory mappings, etc)
AFAIK the only thing you'll have to set up in the kernel is the flash
location, size and configuration (that is, if it is 16 bits, 32 bits,
2x16 bits , etc, etc)
Thiago
^ permalink raw reply
* Re: [RFC/PATCH] Make powerpc64 use __thread for per-cpu variables
From: Segher Boessenkool @ 2006-05-11 23:42 UTC (permalink / raw)
To: Paul Mackerras
Cc: linux-arch, linux-kernel, linuxppc-dev, David S. Miller, rth
In-Reply-To: <17506.37259.755099.974824@cargo.ozlabs.ibm.com>
>> gcc shouldn't think there is any reason to cache the address.
>
> Can I rely on that being true in the future?
As long as the compiler stays smart enough, and doesn't do
stupid things :-)
(i.e., no. Sigh).
Segher
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox