Re: [U-Boot] [Patch v2] PHY: micrel.c: add support for KSZ9031

2013-03-25 Thread David Andrey
Hi Stefan, Why don't you just change the mask to support both PHY's with one struct here? Something like this: static struct phy_driver ksz9021_driver = { - .name = Micrel ksz9021, + .name = Micrel ksz90x1, .uid = 0x221610, - .mask = 0xf0, + .mask = 0xc0,

[U-Boot] [Patch v2] PHY: micrel.c: add support for KSZ9031

2013-02-06 Thread David Andrey
Add support for Micrel PHY KSZ9031 in phylib, including small rework for KSZ9021 to avoid code duplication Signed-off-by: David Andrey david.and...@netmodule.com Cc: Troy Kisky troy.ki...@boundarydevices.com Cc: Joe Herschberger joe.hershber...@gmail.com Cc: Andy Fleming aflem...@freescale.com

[U-Boot] [PATCH] PHY: micrel.c: add support for KSZ9031

2013-01-30 Thread David Andrey
Add support for Micrel PHY KSZ9031 in phylib, including small rework for KSZ9021 to avoid code duplication Signed-off-by: David Andrey david.and...@netmodule.com --- drivers/net/phy/micrel.c | 83 +++--- 1 files changed, 63 insertions(+), 20 deletions

[U-Boot] TFTP - check for len == 0 before storing

2011-04-20 Thread David Andrey
Hello, I had a problem with an old TFTP Server which is sending a second last data block with len == 0 at end. It's clearly not RFC conform, but I still made a additional check in u-boot/tftp to avoid a wrong filesize value. This wrong filesize value caused some trouble by NAND operations.

Re: [U-Boot] Updating YAFFS2 RootFS

2010-06-28 Thread David Andrey
] Sent: Samstag, 26. Juni 2010 00:02 To: David Andrey Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] Updating YAFFS2 RootFS Dear David Andrey, In message 1os8pe-df...@wolf.netmodule.com you wrote: I'm looking to update the linux yaffs2 rootfs from U-Boot (2009-06). The whole update

Re: [U-Boot] Updating YAFFS2 RootFS

2010-06-28 Thread David Andrey
Dear Wolfgang, he NAND is formatted as follow: * U-Boot Partition * Images Partition (YAFFS2) (Kernel, RootFS as tgz, FPGA / DSP Firmwares). * Linux RootFS (YAFFS2) To update Linux, the way we imagine is this one: 1. write a new kernel and rootFS in the Images partition (get the files

[U-Boot] Updating YAFFS2 RootFS

2010-06-25 Thread David Andrey
Hi, I'm looking to update the linux yaffs2 rootfs from U-Boot (2009-06). The whole update will be: * Take the rootfs.tgz from the yaffs2 image partition (ok, with yrdm / ywrm) for update or restore purposes. * Unpack it (maybe gunzip) * Update the Linux YAFFS2 RootFS