Specifying the MTD partitions in a device tree

2015-05-13 Thread Rogério Brito
greateful for anybody that can help here. I hope to both learn and help with the maintainance of such machines. Once again, thanks a lot for any help, Rogério Brito. -- Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC http://cynic.cc/blog/ : github.com/rbrito

Re: Old regression with MTD devices disappearing from a Kurobox HD/HG

2015-04-16 Thread Rogério Brito
Hi, Scott. On Apr 16 2015, Scott Wood wrote: On Thu, 2015-04-16 at 21:01 -0300, Rogério Brito wrote: On Apr 16 2015, Scott Wood wrote: On Thu, 2015-04-16 at 19:55 -0300, Rogério Brito wrote: Is there any proper way for me to discover what device name the kernel uses? I have tried

Re: Old regression with MTD devices disappearing from a Kurobox HD/HG

2015-04-16 Thread Rogério Brito
Dear Scott. On Apr 16 2015, Scott Wood wrote: On Thu, 2015-04-16 at 19:55 -0300, Rogério Brito wrote: Is there any proper way for me to discover what device name the kernel uses? I have tried the following command lines without success: 1 - mtdparts=myflash:4096k(allflash),3072k

Re: Old regression with MTD devices disappearing from a Kurobox HD/HG

2015-04-16 Thread Rogério Brito
Hi, Scott and others. On Apr 09 2015, Rogério Brito wrote: On Apr 09 2015, Scott Wood wrote: On Thu, 2015-04-09 at 18:54 -0300, Rogério Brito wrote: mtdparts=myflash:4096k(allflash),3072k(firmimg),448k@3072k(bootcode),64k@3520k(status),512k@3584k(conf) What is myflash? You

Re: Old regression with MTD devices disappearing from a Kurobox HD/HG

2015-04-07 Thread Rogério Brito
Dear Scott, Once again, thank you very much for your answer. On Apr 07 2015, Scott Wood wrote: On Tue, 2015-04-07 at 20:58 -0300, Rogério Brito wrote: This is good to know. Is there any reasonable dts that I can copy/adapt? I'm not familiar with how flash is connected on this chip, so I

Re: Old regression with MTD devices disappearing from a Kurobox HD/HG

2015-04-07 Thread Rogério Brito
Dear Scott. First of all, thank you so very much for your reply. On Apr 07 2015, Scott Wood wrote: On Sat, 2015-04-04 at 02:40 -0300, Rogério Brito wrote: , | physmap platform flash device: 0040 at ffc0 | physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank. Manufacturer

Re: Old regression with MTD devices disappearing from a Kurobox HD/HG

2015-04-07 Thread Rogério Brito
Hi, Scott. On Apr 07 2015, Scott Wood wrote: On Tue, 2015-04-07 at 21:37 -0300, Rogério Brito wrote: I see. If I do some archaeology (read: bisect when it stopped working), would that help to discover how the flash is connected? It will probably give you the address and size of the flash

Old regression with MTD devices disappearing from a Kurobox HD/HG

2015-04-03 Thread Rogério Brito
/powerpc/boot/dts/kuroboxHG.dts?id=1cced5015b171415169d938fb179c44fe060dc15#n17 Is this a problem that can be fixed via additions to the DTS files? Or would the problem be solved in a different way? Thanks in advance, Rogério Brito. -- Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R

[PATCH] powerpc: minimizing the configuration of linkstation_defconfig

2009-05-16 Thread Rogério Brito
and disable extended attributes in CIFS, ext3, and NFS. 12. enable CONFIG_PRINTK_TIME. Signed-off-by: Rogério Brito rbr...@ime.usp.br --- This is the patch for tidying the defconfig. I'm still having issues with the MTD devices, it seems. :-( I will investigate this now. I can send a similar

[PATCH] powerpc: convert mace to netdev_ops

2009-05-03 Thread Rogério Brito
. This is against this morning's net-2.6 tree. Signed-off-by: Rogério Brito rbr...@ime.usp.br --- diff --git a/drivers/net/mace.c b/drivers/net/mace.c index feebbd9..03a179d 100644 --- a/drivers/net/mace.c +++ b/drivers/net/mace.c @@ -89,6 +89,19 @@ static inline void dbdma_reset(volatile struct

[PATCH 1/2] powerpc: updating the linkstation_defconfig

2009-04-28 Thread Rogério Brito
Simple update of the linkstation_defconfig file for the 2.6.30-rc3 tree. Signed-off-by: Rogério Brito rbr...@ime.usp.br --- As asked, Kumar, here is a vanilla update. --- a/arch/powerpc/configs/linkstation_defconfig2009-04-26 11:55:06.0 -0300 +++ b/arch/powerpc/configs

[PATCH 2/2] powerpc: minimizing the configuration of linkstation_defconfig

2009-04-28 Thread Rogério Brito
in CIFS, ext3, and NFS. 12. enable CONFIG_PRINTK_TIME. Signed-off-by: Rogério Brito rbr...@ime.usp.br --- This is the patch for tidying the defconfig. --- a/arch/powerpc/configs/linkstation_defconfig2009-04-28 09:53:38.0 -0300 +++ b/arch/powerpc/configs/linkstation_defconfig

Re: [PATCH] powerpc: minimizing the configuration of linkstation_defconfig

2009-04-28 Thread Rogério Brito
be much help here. Oh... :-( I will post the problems that I get with MTD on my kurobox so that people from both the linux-mtd/linuxppc-dev lists can see what is happening and suggest some fixes. Thanks, Rogério Brito. -- Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8 http

[PATCH 2/2] powerpc: minimizing the configuration of linkstation_defconfig

2009-04-28 Thread Rogério Brito
. enable CONFIG_PRINTK_TIME. Signed-off-by: Rogério Brito rbr...@ime.usp.br --- Here is the fixed patch. Thank you very much, Kumar. --- a/arch/powerpc/configs/linkstation_defconfig2009-04-28 09:53:38.0 -0300 +++ b/arch/powerpc/configs/linkstation_defconfig2009-04-28 10:14

[PATCH] powerpc: convert mace to netdev_ops (was: Re: [2.6.30-rc3] powerpc: compilation error of mace module)

2009-04-27 Thread Rogério Brito
, but is marked inline and is used by mace_tx_timeout, which receives an unsigned long (which calls mace_set_timeout). Perhaps it would be a case of removing the inline hint to the compiler? I guess that BenH or Paul could comment here better... Signed-off-by: Rogério Brito rbr...@ime.usp.br

Re: [PATCH] powerpc: convert mace to netdev_ops

2009-04-27 Thread Rogério Brito
Documentation (a simple grep didn't turn any results). .ndo_change_mtu = eth_change_mtu, .ndo_set_mac_address= eth_mac_addr, .ndo_validate_addr = eth_validate_addr, Nice. I will incorporate such things. Thanks, Rogério Brito. -- Rogério Brito : rbr

Re: [PATCH] powerpc: minimizing the configuration of linkstation_defconfig

2009-04-27 Thread Rogério Brito
Hi, Kumar. On Apr 27 2009, Kumar Gala wrote: On Apr 24, 2009, at 5:33 PM, Rogério Brito wrote: 04. disable CONFIG_BLK_DEV_RAM. do we not allow booting a ramdisk? Well, do we need a block device in ram to use initramfs? (...) Dear Kumar, please, apply this one. I have another patch

[2.6.30-rc3] powerpc: compilation error of mace module

2009-04-26 Thread Rogério Brito
/cross-compile/linux' make: *** [debian/stamp/build/kernel] Error 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Any help is appreciated. Thanks, Rogério Brito. -- Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8 http://www.ime.usp.br/~rbrito

Re: Regarding the linkstation defconfig

2009-04-24 Thread Rogério Brito
Dear Guennadi, and Kumar. On Apr 24 2009, Guennadi Liakhovetski wrote: On Fri, 24 Apr 2009, Rogério Brito wrote: Guennadi, since you seem to be the one responsible for the linkstation/kurobox in the kernel, That's not howI interpret my role in linkstation development / support. Sorry. I

[PATCH] powerpc: minimizing the configuration of linkstation_defconfig

2009-04-24 Thread Rogério Brito
, ext3, and NFS. 12. enable CONFIG_PRINTK_TIME. Signed-off-by: Rogério Brito rbr...@ime.usp.br --- Dear Kumar, please, apply this one. I have another patch regarding one regression regarding MTD PHYSMAP_COMPAT that I plan to send on top of this one. Thanks. --- a/arch/powerpc/configs

Re: Linux 2.6.29-rc6 bombs while compiling a kernel for a linkstation/kurobox

2009-03-03 Thread Rogério Brito
those lists. Regards, Rogério Brito. -- Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8 http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org

Re: [PATCH] powerpc: enable heap randomization for linkstations

2008-10-18 Thread Rogério Brito
Hi. On Oct 13 2008, Scott Wood wrote: On Mon, Oct 13, 2008 at 08:05:09PM +0200, Guennadi Liakhovetski wrote: On Mon, 13 Oct 2008, Rogério Brito wrote: The current defconfig for Linkstation/Kuroboxes has the Disable Heap Randomization option enabled. Since some of these machines

Re: [PATCH] powerpc: enable heap randomization for linkstations

2008-10-18 Thread Rogério Brito
Hi again. On Oct 18 2008, Rogério Brito wrote: And it seems that there is something not quite right for these embedded systems. Here is something that I get with a vanilla linkstation_defconfig: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - drivers/rtc/hctosys.c

Re: [PATCH] powerpc: compile kernel for linkstations optimized for size

2008-10-17 Thread Rogério Brito
Hi, It's been some days since I sent the patch below. I would appreciate if any feedback was given. Thanks, Rogério Brito. On Oct 13 2008, Rogério Brito wrote: From: Rogério Brito [EMAIL PROTECTED] Since Linkstations and Kuroboxes often have *very* little memory (as they are embedded

Re: [PATCH] powerpc: enable heap randomization for linkstations

2008-10-17 Thread Rogério Brito
Hi, This other patch was also sent some days ago and I would appreciate some feedback on it. Regards, Rogério Brito. On Oct 13 2008, Rogério Brito wrote: The current defconfig for Linkstation/Kuroboxes has the Disable Heap Randomization option enabled. Since some of these machines

Re: [PATCH] powerpc: enable heap randomization for linkstations

2008-10-13 Thread Rogério Brito
Hi, Scott, Guennadi. On 13/10/2008, at 16:44, Scott Wood wrote: On Mon, Oct 13, 2008 at 08:05:09PM +0200, Guennadi Liakhovetski wrote: On Mon, 13 Oct 2008, Rogério Brito wrote: The current defconfig for Linkstation/Kuroboxes has the Disable Heap Randomization option enabled. Since some

Re: [PATCH] powerpc: compile kernel for linkstations optimized for size

2008-10-13 Thread Rogério Brito
Hi, Guennadi. On 13/10/2008, at 16:03, Guennadi Liakhovetski wrote: On Mon, 13 Oct 2008, Rogério Brito wrote: From: Rogério Brito [EMAIL PROTECTED] Since Linkstations and Kuroboxes often have *very* little memory (as they are embedded systems), it is desirable to get their kernels compiled

[PATCH] powerpc: compile kernel for linkstations optimized for size

2008-10-12 Thread Rogério Brito
From: Rogério Brito [EMAIL PROTECTED] Since Linkstations and Kuroboxes often have *very* little memory (as they are embedded systems), it is desirable to get their kernels compiled optimized for size. Signed-off-by: Rogério Brito [EMAIL PROTECTED] --- I have been using kernels optimized

[PATCH] powerpc: enable heap randomization for linkstations

2008-10-12 Thread Rogério Brito
The current defconfig for Linkstation/Kuroboxes has the Disable Heap Randomization option enabled. Since some of these machines are facing the internet, it helps to have heap randomization enabled. This patch enables it. Signed-off-by: Rogério Brito [EMAIL PROTECTED] --- --- linux/arch

Re: Call Trace and scary messages on kernel 2.6.27-rc5

2008-09-11 Thread Rogério Brito
Thanks to both Mark and Heiko. On Sep 09 2008, Marc Zyngier wrote: On Mon, 8 Sep 2008 21:47:29 -0300 Rogério Brito [EMAIL PROTECTED] wrote: I just compiled a new 2.6.27-rc5 kernel for my standard Kurobox (an embedded NAS that has an MPC8241 CPU, if I'm not mistaken) and upon booting, I get

Getting Debian to release the PowerPC port

2008-09-10 Thread Rogério Brito
does not become at risk of not being released? Is the powerpc port cared by some team in special or is it just a unified upstream? Thanks in advance, Rogério Brito. -- Rogério Brito : [EMAIL PROTECTED],ime.usp}.br : GPG key 1024D/7C2CAEB8 http://www.ime.usp.br/~rbrito : http

Re: Call Trace and scary messages on kernel 2.6.27-rc5

2008-09-08 Thread Rogério Brito
On Sep 08 2008, Rogério Brito wrote: I just compiled a new 2.6.27-rc5 kernel for my standard Kurobox (an embedded NAS that has an MPC8241 CPU, if I'm not mistaken) and upon booting, I get these scary messages and Call Traces: (...) I obviously forgot to attach the files in the previous e-mail

Call Trace and scary messages on kernel 2.6.27-rc5

2008-09-08 Thread Rogério Brito
in anyway, please let me know. Thanks in advance, Rogério Brito. -- Rogério Brito : [EMAIL PROTECTED],ime.usp}.br : GPG key 1024D/7C2CAEB8 http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org

Re: Sleep problems with kernels = 2.6.21 on powerpc

2007-08-27 Thread Rogério Brito
Hi, Thanks, Michal. I didn't know who to include as the wizards of the matter. On Aug 27 2007, Michal Piotrowski wrote: [Adding STR wizards to CC] On 26/08/07, Rogério Brito [EMAIL PROTECTED] wrote: If I, on the other hand, use Debian's kernel 2.6.22 or compile my own kernel with just

Sleep problems with kernels = 2.6.21 on powerpc

2007-08-26 Thread Rogério Brito
that are relevant. If they aren't, then please let me know. I would also appreciate if I were kept on carbon copies as I am only subscribed to debian-powerpc at the moment. Regards, Rogério Brito. P.S.: It unfortunately doesn't matter if I switch to a console or if I am in X when I press the power