Add support for the digsy MTC board.
Subsystems (3)
PATCH 1/1 Add support for the digsy MTC board.
This is the InterControl custom device based on the MPC5200B chip.
arch/powerpc/boot/dts/digsy_mtc.dts new file +287 -0
@@ -0,0 +1,287 @@ +/* + * Digsy MTC board Device Tree Source + * + * Copyright (C) 2009 Semihalf + * + * Based on the CM5200 by M. Balakowicz + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + */ + +/dts-v1/; + +/ { + model = "mtc,digsy"; + compatible = "mtc,digsy"; + #address-cells = <1>; + #size-cells = <1>; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + PowerPC,5200@0 { + device_type = "cpu"; + reg = <0>; + d-cache-line-size = <32>; + i-cache-line-size = <32>; + d-cache-size = <0x4000>; // L1, 16K + i-cache-size = <0x4000>; // L1, 16K + timebase-frequency = <0>; // from bootloader + bus-frequency = <0>; // from bootloader + clock-frequency = <0>; // from bootloader + }; + }; + + memory { + device_type = "memory"; + reg = <0x00000000 0x02000000>; // 32MB + }; + + soc5200@f0000000 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "fsl,mpc5200b-immr"; + ranges = <0 0xf0000000 0x0000c000>; + reg = <0xf0000000 0x00000100>; + bus-frequency = <0>; // from bootloader + system-frequency = <0>; // from bootloader + + cdm@200 { + compatible = "fsl,mpc5200b-cdm","fsl,mpc5200-cdm"; + reg = <0x200 0x38>; + }; + + mpc5200_pic: interrupt-controller@500 { + // 5200 interrupts are encoded into two levels; + interrupt-controller; + #interrupt-cells = <3>; + device_type = "interrupt-controller"; + compatible = "fsl,mpc5200b-pic","fsl,mpc5200-pic"; + reg = <0x500 0x80>; + }; + + timer@600 { // General Purpose Timer + compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; + cell-index = <0>; + reg = <0x600 0x10>; + interrupts = <1 9 0>; + interrupt-parent = <&mpc5200_pic>; + fsl,has-wdt; + }; + + timer@610 { // General Purpose Timer + compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; + cell-index = <1>; + reg = <0x610 0x10>; + interrupts = <1 10 0>; + interrupt-parent = <&mpc5200_pic>; + }; + + timer@620 { // General Purpose Timer + compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; + cell-index = <2>; + reg = <0x620 0x10>; + interrupts = <1 11 0>; + interrupt-parent = <&mpc5200_pic>; + }; + + timer@630 { // General Purpose Timer + compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; + cell-index = <3>; + reg = <0x630 0x10>; + interrupts = <1 12 0>; + interrupt-parent = <&mpc5200_pic>; + }; + + timer@640 { // General Purpose Timer + compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; + cell-index = <4>; + reg = <0x640 0x10>; + interrupts = <1 13 0>; + interrupt-parent = <&mpc5200_pic>; + }; + + timer@650 { // General Purpose Timer + compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; + cell-index = <5>; + reg = <0x650 0x10>; + interrupts = <1 14 0>; + interrupt-parent = <&mpc5200_pic>; + }; + + timer@660 { // General Purpose Timer + compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; + cell-index = <6>; + reg = <0x660 0x10>; + interrupts = <1 15 0>; + interrupt-parent = <&mpc5200_pic>; + }; + + timer@670 { // General Purpose Timer + compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; + cell-index = <7>; + reg = <0x670 0x10>; + interrupts = <1 16 0>; + interrupt-parent = <&mpc5200_pic>; + }; + + gpio@b00 { + compatible = "fsl,mpc5200b-gpio","fsl,mpc5200-gpio"; + reg = <0xb00 0x40>; + interrupts = <1 7 0>; + interrupt-parent = <&mpc5200_pic>; + }; + + gpio@c00 { + compatible = "fsl,mpc5200b-gpio-wkup","fsl,mpc5200-gpio-wkup"; + reg = <0xc00 0x40>; + interrupts = <1 8 0 0 3 0>; + interrupt-parent = <&mpc5200_pic>; + }; + + spi@f00 { + compatible = "fsl,mpc5200b-spi","fsl,mpc5200-spi"; + reg = <0xf00 0x20>; + interrupts = <2 13 0 2 14 0>; + interrupt-parent = <&mpc5200_pic>; + }; + + usb@1000 { + compatible = "fsl,mpc5200b-ohci","fsl,mpc5200-ohci","ohci-be"; + reg = <0x1000 0xff>; + interrupts = <2 6 0>; + interrupt-parent = <&mpc5200_pic>; + }; + + dma-controller@1200 { + device_type = "dma-controller"; + compatible = "fsl,mpc5200b-bestcomm","fsl,mpc5200-bestcomm"; + reg = <0x1200 0x80>; + interrupts = <3 0 0 3 1 0 3 2 0 3 3 0 + 3 4 0 3 5 0 3 6 0 3 7 0 + 3 8 0 3 9 0 3 10 0 3 11 0 + 3 12 0 3 13 0 3 14 0 3 15 0>; + interrupt-parent = <&mpc5200_pic>; + }; + + xlb@1f00 { + compatible = "fsl,mpc5200b-xlb","fsl,mpc5200-xlb"; + reg = <0x1f00 0x100>; + }; + + serial@2400 { // PSC3 + device_type = "serial"; + compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; + cell-index = <2>; + reg = <0x2400 0x100>; + interrupts = <2 3 0>; + interrupt-parent = <&mpc5200_pic>; + }; + + serial@2600 { // PSC4 + device_type = "serial"; + compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; + cell-index = <3>; + reg = <0x2600 0x100>; + interrupts = <2 11 0>; + interrupt-parent = <&mpc5200_pic>; + }; + + ethernet@3000 { + device_type = "network"; + compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec"; + reg = <0x3000 0x400>; + local-mac-address = [ 00 00 00 00 00 00 ]; + interrupts = <2 5 0>; + interrupt-parent = <&mpc5200_pic>; + phy-handle = <&phy0>; + }; + + mdio@3000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "fsl,mpc5200b-mdio","fsl,mpc5200-mdio"; + reg = <0x3000 0x400>; // fec range, since we need to setup fec interrupts + interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co. + interrupt-parent = <&mpc5200_pic>; + + phy0: ethernet-phy@0 { + device_type = "ethernet-phy"; + reg = <0>; + }; + }; + + ata@3a00 { + device_type = "ata"; + compatible = "fsl,mpc5200b-ata","fsl,mpc5200-ata"; + reg = <0x3a00 0x100>; + interrupts = <2 7 0>; + interrupt-parent = <&mpc5200_pic>; + }; + + i2c@3d00 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; + cell-index = <0>; + reg = <0x3d00 0x40>; + interrupts = <2 15 0>; + interrupt-parent = <&mpc5200_pic>; + fsl5200-clocking; + + rtc@50 { + compatible = "at,24c08"; + reg = <0x50>; + }; + + rtc@68 { + compatible = "dallas,ds1339"; + reg = <0x68>; + }; + }; + + sram@8000 { + compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram","sram"; + reg = <0x8000 0x4000>; + }; + }; + + lpb { + model = "fsl,lpb"; + compatible = "fsl,lpb"; + #address-cells = <2>; + #size-cells = <1>; + ranges = <0 0 0xff000000 0x1000000>; + + // 16-bit flash device at LocalPlus Bus CS0 + flash@0,0 { + compatible = "cfi-flash"; + reg = <0 0 0x1000000>; + bank-width = <2>; + device-width = <2>; + #size-cells = <1>; + #address-cells = <1>; + + partition@0 { + label = "kernel"; + reg = <0x0 0x00200000>; + }; + partition@200000 { + label = "root"; + reg = <0x00200000 0x00300000>; + }; + partition@500000 { + label = "user"; + reg = <0x00500000 0x00a00000>; + }; + partition@f00000 { + label = "u-boot"; + reg = <0x00f00000 0x100000>; + }; + }; + }; +};
arch/powerpc/configs/52xx/digsy_mtc_defconfig new file +1276 -0
1,276 lines not on this page · raw message
arch/powerpc/platforms/52xx/Kconfig +5 -0
@@ -30,6 +30,11 @@ config PPC_EFIKA select RTAS_PROC select PPC_NATIVE +config PPC_DIGSY_MTC + bool "digsy MTC Board" + depends on PPC_MPC52xx + select DEFAULT_UIMAGE + config PPC_LITE5200 bool "Freescale Lite5200 Eval Board" depends on PPC_MPC52xx
arch/powerpc/platforms/52xx/Makefile +1 -0
@@ -5,6 +5,7 @@ obj-y += mpc52xx_pic.o mpc52xx_common.o obj-$(CONFIG_PCI) += mpc52xx_pci.o obj-$(CONFIG_PPC_MPC5200_SIMPLE) += mpc5200_simple.o +obj-$(CONFIG_PPC_DIGSY_MTC) += digsy_mtc.o obj-$(CONFIG_PPC_EFIKA) += efika.o obj-$(CONFIG_PPC_LITE5200) += lite5200.o
arch/powerpc/platforms/52xx/digsy_mtc.c new file +157 -0
157 lines not on this page · raw message
Signature · 1 line
1.6.0.6
Quoted 3 lines · Grzegorz Bernacki
This is the InterControl custom device based on the MPC5200B chip.
Signed-off-by Grzegorz Bernacki <[email protected]>
Hi Grzogorz,
Thanks for the patch. Comments below.
g.
Quoted 15 lines
arch/powerpc/boot/dts/digsy_mtc.dts new file +8
-0@@ -0,0 +1,287 @@ +/* + * Digsy MTC board Device Tree Source + * + * Copyright (C) 2009 Semihalf + * + * Based on the CM5200 by M. Balakowicz + * + * This program is free software; you can redistribute it and/or modify it
arch/powerpc/boot/dts/digsy_mtc.dts line 18
Quoted 10 lines
arch/powerpc/boot/dts/digsy_mtc.dts new file +10
-0+ * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + */ + +/dts-v1/; + +/ { + model = "mtc,digsy"; + compatible = "mtc,digsy";
This should be something like: "intercontrol,digsy-mtc". Compatible values should be in the form "<vendor>,<model>".
arch/powerpc/boot/dts/digsy_mtc.dts line 62
Quoted 5 lines
arch/powerpc/boot/dts/digsy_mtc.dts new file +5
-0+ mpc5200_pic: interrupt-controller@500 { + // 5200 interrupts are encoded into two levels; + interrupt-controller; + #interrupt-cells = <3>; + device_type = "interrupt-controller";
Drop device_type here.
arch/powerpc/boot/dts/digsy_mtc.dts line 69
Quoted 7 lines
arch/powerpc/boot/dts/digsy_mtc.dts new file +7
-0+ compatible = "fsl,mpc5200b-pic","fsl,mpc5200-pic"; + reg = <0x500 0x80>; + }; + + timer@600 { // General Purpose Timer + compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; + cell-index = <0>;
Drop cell-index on all the timer nodes. If you compare this file with the current cm5200.dts in mainline then you'll see the properties that you can drop.
Otherwise the device tree looks pretty good.
arch/powerpc/configs/52xx/digsy_mtc_defconfig
Quoted 5 lines
arch/powerpc/configs/52xx/digsy_mtc_defconfig new file +0
-0
[...]
Do you *really* need your own defconfig for the digsy_mtc. I've grudgingly accepted them for other boards under the argument that the defconfig reflects a specific application of the board. However, I'd much rather see the digsy added to the multiplatform mpc5200_defconfig, especially considering that the MTC looks like it's supposed to be a general purpose platform.
Quoted 6 lines
arch/powerpc/platforms/52xx/digsy_mtc.c new file +0
-0
arch/powerpc/platforms/52xx/digsy_mtc.c line 9
Quoted 9 lines
arch/powerpc/platforms/52xx/digsy_mtc.c new file +9
-0@@ -0,0 +1,157 @@ +/* +* Digsy MTC board support +* +* Based on Lite5200 support by Grant Likely <[email protected]> +* +* Copyright (C) Secret Lab Technologies Ltd. 2006. +* Copyright (C) Freescale Semicondutor, Inc. 2006. +* Copyright (C) Semihalf 2009. +* All rights reserved.
I don't think "All rights reserved" is appropriate here.
Quoted 5 lines
arch/powerpc/platforms/52xx/digsy_mtc.c new file +5
-0+/* +* Fix setting of port_config register. +*/ +static void __init +digsy_fix_port_config (void )
[...]
arch/powerpc/platforms/52xx/digsy_mtc.c
Quoted 2 lines
arch/powerpc/platforms/52xx/digsy_mtc.c new file +2
-0+static void __init +digsy_fix_clock_config (void )
[...]
There is a lot of direct copy/paste from the lite5200.c board file, but the big scary warning comment about not duplicating this code was deleted in the copy (so I know you saw it). Is Semihalf responsible for the U-Boot port to the digsy-mtc? If so then please fix the port_config and clock settings in u-boot.
If it is not possible to update the u-boot image, or if there are already to many deployed systems to rely on getting the firmware fix, then calling these functions is okay, but I don't like the verbatim copy/paste. I think it would be better to factor out and rename the lite5200_fix_*() functions to mpc5200_fix_*() functions in mpc52xx_common.c and have the lite5200 and digsy support code call the common code. the fix_port_config function should take to arguments; a mask and a value that can be applied to the current port_config setting. Clock config can probably be copied over as-is. Split the refactoring of lite5200_fix_*() changes into a separate patch when you resubmit. If you don't have a lite5200, then don't worry about testing it, just make sure it compiles. I'll test it before I merge it into my tree.
Also digsy_fix_port_config() has the lines:
arch/powerpc/platforms/52xx/digsy_mtc.c line 74
Quoted 2 lines
arch/powerpc/platforms/52xx/digsy_mtc.c new file +2
-0+ port_config &= ~0x00007000 ;/* USB port : Differential mode */ + port_config |=0x00002000 ;/* USB 1 only */
These lines were modified from lite5200.c to select 2 UARTs instead of USB, but the comment was left the same.
Quoted 10 lines
arch/powerpc/platforms/52xx/digsy_mtc.c new file +10
-0+static void __init digsy_setup_arch (void ) +{ +if (ppc_md.progress) + ppc_md.progress ("digsy_setup_arch()" ,0 ); + +/* Map important registers from the internal memory map */ +mpc52xx_map_common_devices (); + +/* Some mpc5200 & mpc5200b related configuration */ +mpc5200_setup_xlb_arbiter ();
arch/powerpc/platforms/52xx/digsy_mtc.c line 149
Quoted 10 lines
arch/powerpc/platforms/52xx/digsy_mtc.c new file +10
-0+ +/* Fix things that firmware should have done. */ +digsy_fix_clock_config (); +digsy_fix_port_config (); + +mpc52xx_setup_pci (); +} + +define_machine (digsy) { + .name = "digsy",
would 'digsy-mts' be better here?
Quoted 9 lines · Grant Likely
arch/powerpc/boot/dts/digsy_mtc.dts line 18
Quoted 5 lines
arch/powerpc/boot/dts/digsy_mtc.dts new file +5
-0+/dts-v1/; + +/ { + model = "mtc,digsy"; + compatible = "mtc,digsy";This should be something like: "intercontrol,digsy-mtc". Compatible values should be in the form "<vendor>,<model>".
ok, I will change it
Quoted 7 lines
arch/powerpc/boot/dts/digsy_mtc.dts line 62
Quoted 5 lines
arch/powerpc/boot/dts/digsy_mtc.dts new file +5
-0+ mpc5200_pic: interrupt-controller@500 { + // 5200 interrupts are encoded into two levels; + interrupt-controller; + #interrupt-cells = <3>; + device_type = "interrupt-controller";Drop
device_typehere.
ok, I will drop it
Quoted 12 lines
arch/powerpc/boot/dts/digsy_mtc.dts line 69
Quoted 7 lines
arch/powerpc/boot/dts/digsy_mtc.dts new file +7
-0+ compatible = "fsl,mpc5200b-pic","fsl,mpc5200-pic"; + reg = <0x500 0x80>; + }; + + timer@600 { // General Purpose Timer + compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; + cell-index = <0>;Drop cell-index on all the timer nodes. If you compare this file with the current
cm5200.dtsin mainline then you'll see the properties that you can drop.
Quoted 7 lines
Otherwise the device tree looks pretty good.
arch/powerpc/configs/52xx/digsy_mtc_defconfig
Quoted 5 lines
arch/powerpc/configs/52xx/digsy_mtc_defconfig new file +0
-0
I would like to have support for following devices in defconfig for digsy:
- LXT PHY
- RTC DS1337
- EEPROM AT24
- MTD partitioning based on OF description
If you dont mind I can add them to generic mpc5200 defconfig, otherwise I think that separate defconfig is needed.
Quoted 8 lines
Do you *really* need your own defconfig for the
digsy_mtc. I've grudgingly accepted them for other boards under the argument that the defconfig reflects a specific application of the board. However, I'd much rather see the digsy added to the multiplatformmpc5200_defconfig, especially considering that the MTC looks like it's supposed to be a general purpose platform.
Quoted 6 lines
There is a lot of direct copy/paste from the
lite5200.cboard file, but the big scary warning comment about not duplicating this code was deleted in the copy (so I know you saw it). Is Semihalf responsible for the U-Boot port to the digsy-mtc? If so then please fix theport_configand clock settings in u-boot.
I will update port config and clock settings in u-boot and use mpc5200_simple instead of creating a new file for digsy.
BTW,
I noticed that there are some problems with mounting file system over NFS on Linux-2.6.29-rc3, I see following messages:
...
[ 339.813807] nfs: server 192.168.1.1 not responding, still trying [ 339.832144] nfs: server 192.168.1.1 OK
...
I haven't noticed in on Linux-2.6.29-rc2. Is there any known problem?
regards,
Grzesiek
Quoted 13 lines · Grzegorz Bernacki
Quoted 5 lines · Grant Likely
arch/powerpc/configs/52xx/digsy_mtc_defconfig
Quoted 5 lines
arch/powerpc/configs/52xx/digsy_mtc_defconfig new file +0
-0I would like to have support for following devices in defconfig for digsy:
- LXT PHY
- RTC DS1337
- EEPROM AT24
- MTD partitioning based on OF description
Quoted 2 lines
If you dont mind I can add them to generic mpc5200 defconfig, otherwise I think that separate defconfig is needed.
No problem, go ahead.
Quoted 21 lines
Quoted 7 lines
Do you *really* need your own defconfig for the
digsy_mtc. I've grudgingly accepted them for other boards under the argument that the defconfig reflects a specific application of the board. However, I'd much rather see the digsy added to the multiplatformmpc5200_defconfig, especially considering that the MTC looks like it's supposed to be a general purpose platform.Quoted 6 lines
There is a lot of direct copy/paste from the
lite5200.cboard file, but the big scary warning comment about not duplicating this code was deleted in the copy (so I know you saw it). Is Semihalf responsible for the U-Boot port to the digsy-mtc? If so then please fix theport_configand clock settings in u-boot.I will update port config and clock settings in u-boot and use
mpc5200_simpleinstead of creating a new file for digsy.BTW,
I noticed that there are some problems with mounting file system over NFS on Linux-2.6.29-rc3, I see following messages:
...
Quoted 5 lines
[ 339.813807] nfs: server 192.168.1.1 not responding, still trying [ 339.832144] nfs: server 192.168.1.1 OK...
I haven't noticed in on Linux-2.6.29-rc2. Is there any known problem?
Hmm, I've not seen that problem, but I'll look out for it.
g.
Signature · 2 lines
Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.
Quoted 6 lines · On Mon, 02 Feb 2009 13:50:59 +0100 "Grzegorz Bernacki" <[email protected]> wrote:
I would like to have support for following devices in defconfig for digsy:
- LXT PHY
- RTC DS1337
- EEPROM AT24
- MTD partitioning based on OF description
I am seeing a problem where if I enable CONFIG_EEPROM_LEGACY and CONFIG_EEPROM_AT24, then the at24 driver does not work. Would you mind trying that?
Quoted 9 lines
BTW,
I noticed that there are some problems with mounting file system over NFS on Linux-2.6.29-rc3, I see following messages:
...[ 339.813807] nfs: server 192.168.1.1 not responding, still trying [ 339.832144] nfs: server 192.168.1.1 OK...
I haven't noticed in on Linux-2.6.29-rc2. Is there any known problem?
Does it only happen at mount time? We get this quite often at work, but it never happens at home. I assumed it was just due to the flaky networking at work.
Cheers,
Sean
Quoted 84 lines · Grzegorz Bernacki
Quoted 10 lines · Grant Likely
arch/powerpc/boot/dts/digsy_mtc.dts line 18
Quoted 6 lines
arch/powerpc/boot/dts/digsy_mtc.dts new file +5
-0+/dts-v1/; + +/ { + model = "mtc,digsy"; + compatible = "mtc,digsy";This should be something like: "intercontrol,digsy-mtc". Compatible values should be in the form "<vendor>,<model>".
ok, I will change it
Quoted 8 lines
arch/powerpc/boot/dts/digsy_mtc.dts line 62
Quoted 6 lines
arch/powerpc/boot/dts/digsy_mtc.dts new file +5
-0+ mpc5200_pic: interrupt-controller@500 { + // 5200 interrupts are encoded into two levels; + interrupt-controller; + #interrupt-cells = <3>; + device_type = "interrupt-controller";Drop
device_typehere.ok, I will drop it
Quoted 15 lines
arch/powerpc/boot/dts/digsy_mtc.dts line 69
Quoted 8 lines
arch/powerpc/boot/dts/digsy_mtc.dts new file +7
-0+ compatible = "fsl,mpc5200b-pic","fsl,mpc5200-pic"; + reg = <0x500 0x80>; + }; + + timer@600 { // General Purpose Timer + compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; + cell-index = <0>;Drop cell-index on all the timer nodes. If you compare this file with the current
cm5200.dtsin mainline then you'll see the properties that you can drop.Otherwise the device tree looks pretty good.
Quoted 6 lines
arch/powerpc/configs/52xx/digsy_mtc_defconfig
Quoted 6 lines
arch/powerpc/configs/52xx/digsy_mtc_defconfig new file +0
-0I would like to have support for following devices in defconfig for digsy:
- LXT PHY
- RTC DS1337
- EEPROM AT24
- MTD partitioning based on OF descriptionIf you dont mind I can add them to generic mpc5200 defconfig, otherwise I think that separate defconfig is needed.
Quoted 9 lines
Do you *really* need your own defconfig for the
digsy_mtc. I've grudgingly accepted them for other boards under the argument that the defconfig reflects a specific application of the board. However, I'd much rather see the digsy added to the multiplatformmpc5200_defconfig, especially considering that the MTC looks like it's supposed to be a general purpose platform.Quoted 7 lines
There is a lot of direct copy/paste from the
lite5200.cboard file, but the big scary warning comment about not duplicating this code was deleted in the copy (so I know you saw it). Is Semihalf responsible for the U-Boot port to the digsy-mtc? If so then please fix theport_configand clock settings in u-boot.I will update port config and clock settings in u-boot and use
mpc5200_simpleinstead of creating a new file for digsy.BTW,
I noticed that there are some problems with mounting file system over NFS on Linux-2.6.29-rc3, I see following messages:
...
Quoted 7 lines
[ 339.813807] nfs: server 192.168.1.1 not responding, still trying [ 339.832144] nfs: server 192.168.1.1 OK...
I haven't noticed in on Linux-2.6.29-rc2. Is there any known problem?
We also had this kind of problem - after feeding some nfs options it worked :
rsize=8192,wsize=8192,soft,intr,tcp,nolock
Cheers,
Andre
Quoted 7 lines
regards,
Grzesiek
_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev
MATRIX VISION GmbH, Talstraße 16, DE-71570 Oppenweiler
Registergericht: Amtsgericht Stuttgart, HRB 271090
Geschäftsführer: Gerhard Thullner, Werner Armingeon, Uwe Furtner, Hans-Joachim Reich
Quoted 12 lines · Andre Schwarz
Quoted 5 lines
BTW,
I noticed that there are some problems with mounting file system over NFS on Linux-2.6.29-rc3, I see following messages:
...Quoted 7 lines
[ 339.813807] nfs: server 192.168.1.1 not responding, still trying [ 339.832144] nfs: server 192.168.1.1 OK...
I haven't noticed in on Linux-2.6.29-rc2. Is there any known problem?
Quoted 8 lines
We also had this kind of problem - after feeding some nfs options it worked :
rsize=8192,wsize=8192,soft,intr,tcp,nolock
Cheers,
Andre
Thanks,
it seems that it helps.
regards,
Grzesiek
Quoted 11 lines · Sean MacLennan
Quoted 6 lines · On Mon, 02 Feb 2009 13:50:59 +0100 "Grzegorz Bernacki" <[email protected]> wrote:
I would like to have support for following devices in defconfig for digsy:
- LXT PHY
- RTC DS1337
- EEPROM AT24
- MTD partitioning based on OF description
Quoted 4 lines
I am seeing a problem where if I enable
CONFIG_EEPROM_LEGACYandCONFIG_EEPROM_AT24, then the at24 driver does not work. Would you mind trying that?
I enabled CONFIG_EEPROM_LEGACY in my defconfig and I can see eeprom detected in dmesg and I can also read/write to it via file /sys/bus/i2c/devices/0-0050/eeprom.
regards,
Grzesiek
Quoted 3 lines · On Mon, 02 Feb 2009 17:44:36 +0100 "Grzegorz Bernacki" <[email protected]> wrote:
I enabled
CONFIG_EEPROM_LEGACYin my defconfig and I can see eeprom detected in dmesg and I can also read/write to it via file/sys/bus/i2c/devices/0-0050/eeprom.
Thanks for trying that! Now I need to see what I am doing different.
Cheers,
Sean
Dear Grzegorz Bernacki,
Quoted 7 lines · In message <[email protected]> you wrote:
Quoted 5 lines
We also had this kind of problem - after feeding some nfs options it worked :
rsize=8192,wsize=8192,soft,intr,tcp,nolock
it seems that it helps.
Can you please find out which of these changes is the relevant part?
Best regards,
Wolfgang Denk
Signature · 7 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] There comes to all races an ultimate crisis which you have yet to face .... One day our minds became so powerful we dared think of ourselves as gods. -- Sargon, "Return to Tomorrow", stardate 4768.3
Quoted 4 lines · Wolfgang Denk
Dear Grzegorz Bernacki,
Quoted 1 line · In message <[email protected]> you wrote:
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
We also had this kind of problem - after feeding some nfs options it worked :
rsize=8192,wsize=8192,soft,intr,tcp,nolock
it seems that it helps.
Can you please find out which of these changes is the relevant part?
Probably the ",tcp" bit
g.
Signature · 2 lines
Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.
Quoted 7 lines · Grant Likely
Quoted 6 lines · Wolfgang Denk
Dear Grzegorz Bernacki,
Quoted 3 lines · In message <[email protected]> you wrote:
Quoted 3 lines
We also had this kind of problem - after feeding some nfs options it worked :
Quoted 8 lines
Quoted 3 lines
Quoted 2 lines
Quoted 1 line
rsize=8192,wsize=8192,soft,intr,tcp,nolock
it seems that it helps.
Can you please find out which of these changes is the relevant part?
Probably the ",tcp" bit
g.
Yes, it's 'tcp'
Grzesiek
Quoted 11 lines · Grant Likely
Quoted 9 lines · Wolfgang Denk
Dear Grzegorz Bernacki,
Quoted 5 lines · In message <[email protected]> you wrote:
Quoted 5 lines
We also had this kind of problem - after feeding some nfs options it worked :
rsize=8192,wsize=8192,soft,intr,tcp,nolock
Quoted 10 lines
Quoted 4 lines
Quoted 2 lines
it seems that it helps.
Can you please find out which of these changes is the relevant part?
Probably the ",tcp" bit
g.
yes - obviously the retry counter of lost udp packets is pretty small inside the nfs client or server.
The problem only occurs when there's fairly high traffic and/or low performance switches are used and UDP packets get lost frequently.
regards,
Andre
MATRIX VISION GmbH, Talstraße 16, DE-71570 Oppenweiler
Registergericht: Amtsgericht Stuttgart, HRB 271090
Geschäftsführer: Gerhard Thullner, Werner Armingeon, Uwe Furtner, Hans-Joachim Reich