[U-Boot] Job Offer Urgently.

2011-04-23 Thread MARRIOTT HOTEL
I am Mr William Moore, an agent to the MARRIOTT HOTEL This is a great opportune moment for an exotic candidates who wish to work here in the United-Kingdom in different skills such as Primary Skill Labour(PSL), Secondary Skill Labour(SSL) and Semi Skill Labour(SSL2) under the management of our

[U-Boot] mmc "Tran Speed" shows in mmcinfo

2011-04-23 Thread Lei Wen
Hi, I currently see the "Tran Speed" always lock at 2500 when I type the mmcinfo. While I look the code, it seems mmc->tran_speed is gotten by the parsing csd. But I fail to understand it means by comparing with the spec. As I think the "Trans Speed" should be the true speed of current slot,

Re: [U-Boot] [PATCH V2] JFFS2: bug fix for summary support.

2011-04-23 Thread Baidu Liu
Hi,Detlev : 2011/4/19 Detlev Zundel : > Hi Baidu, > >>  This patch fixes some issues with JFFS2 summary support in U-Boot. >>  1/ Bug fix for summary support: we need to get the latest DIRENT. >>  For example, if you create a file in linux jffs2 which config summary >>  support, then you delete th

Re: [U-Boot] [PATCH,V2] JFFS2: accelerate scanning.

2011-04-23 Thread Baidu Liu
Hi,Detlev : 2011/4/19 Detlev Zundel : > Hi Baidu, > >>  Syncs up with jffs2 in the linux kernel: >>  1/ Change DEFAULT_EMPTY_SCAN_SIZE from 4KB to 256 Bytes. >>  2/ If the 1KB data is 0xFF after the cleanmarker, skip >>  and scan the next sector. >>  3/ Change the buffer size from 4KB to 128KB whi

[U-Boot] [PATCH 7/7] JFFS2: reduce number of read operations

2011-04-23 Thread Baidu Liu
1/ Sync with kernel Change the scanning buffer size to 128KB to reduce number of read operations. Signed-off-by: Baidu Liu --- fs/jffs2/jffs2_1pass.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/jffs2/jffs2_1pass.c b/fs/jffs2/jffs2_1pass.c index bbfab2c..a4971b

[U-Boot] [PATCH 6/7] JFFS2: scanning performance improvement

2011-04-23 Thread Baidu Liu
1/ Sync with kernel. If the 256-(struct jffs2_unknown_node *) bytes are 0xff after the cleanmarker. We get the conclusion that the sector is empty. Signed-off-by: Baidu Liu --- fs/jffs2/jffs2_1pass.c | 19 +-- 1 files changed, 13 insertions(+), 6 deletions(-) diff --git a/

[U-Boot] [PATCH 5/7] JFFS2: Change DEFAULT_EMPTY_SCAN_SIZE to 256 Bytes

2011-04-23 Thread Baidu Liu
1/ Syncs up with jffs2 in the linux kernel: If the first 256 Bytes is 0xff,we get the conclusion that the sector is empty. Signed-off-by: Baidu Liu --- fs/jffs2/jffs2_1pass.c | 11 ++- fs/jffs2/jffs2_nand_1pass.c | 13 ++--- include/jffs2/jffs2.h |2 ++ 3 fi

[U-Boot] [PATCH 4/7] JFFS2: Improve error checking

2011-04-23 Thread Baidu Liu
Check the return value when we do malloc. Signed-off-by: Baidu Liu --- fs/jffs2/jffs2_1pass.c | 12 ++-- fs/jffs2/jffs2_nand_1pass.c |5 - 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/fs/jffs2/jffs2_1pass.c b/fs/jffs2/jffs2_1pass.c index be6ac78..b3d94a

[U-Boot] [PATCH 3/7] JFFS2: Calculate buf_len before we read data from flash

2011-04-23 Thread Baidu Liu
1/ We should calculate the buf_len before we call get_fl_mem(). Signed-off-by: Baidu Liu --- fs/jffs2/jffs2_1pass.c | 12 +++- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/fs/jffs2/jffs2_1pass.c b/fs/jffs2/jffs2_1pass.c index 8eb77b1..be6ac78 100644 --- a/fs/jffs2/j

[U-Boot] [PATCH 2/7] JFFS2: Change allocated buffer size

2011-04-23 Thread Baidu Liu
1/ The buffer size previous code allocated is the largest file length, which may too bigger. And we only use little of the buffer. So we change the buffer size to max size of node: sizeof(union jffs2_node_union). Signed-off-by: Baidu Liu --- fs/jffs2/jffs2_1pass.c | 19 +++

[U-Boot] [PATCH 1/7] JFFS2: Bug fix for summary support

2011-04-23 Thread Baidu Liu
1/ Get the latest DIRENT For example, if you create a file in linux jffs2 which config summary support, then you delete the file , you will not see the file in linux jffs2. But you can also see this file in uboot after you reset the system. That is because all the nodes in jffs2 which config

Re: [U-Boot] Mainlining android fastboot support to upstream u-boot

2011-04-23 Thread John Rigby
On Fri, Apr 22, 2011 at 9:17 AM, Zach Pfeffer wrote: >>> So, "Google uses it aside", it seems that being able to boot via USB >>> is a useful thing and fastboot is a particular solution; I'm not >>> entirely sure what other USB u-boot extensions exist apart from those >> >> Well, DFU support is a

Re: [U-Boot] repurposing uboot's console UART after booting

2011-04-23 Thread Eric Cooper
On Sat, Apr 23, 2011 at 06:03:46PM -0700, CAIannello wrote: > After booting, I would like to use this UART for other things besides shells > and U-Boot status. I want to attach custom peripherals to it instead. > > I tried killing the ttymxc0's shell process from my ssh session, but another > on

Re: [U-Boot] repurposing uboot's console UART after booting

2011-04-23 Thread Mike Frysinger
On Sat, Apr 23, 2011 at 9:03 PM, CAIannello wrote: > I'm fooling around with a Kindle 3G. I have it setup so I can SSH to it via > Wifi, and I can also get a shell through the "accessory port" which happens > to be the UART (ttymxc0) that U-Boot uses for console IO. > > After booting, I would like

[U-Boot] repurposing uboot's console UART after booting

2011-04-23 Thread CAIannello
Hi Everybody. I'm fooling around with a Kindle 3G. I have it setup so I can SSH to it via Wifi, and I can also get a shell through the "accessory port" which happens to be the UART (ttymxc0) that U-Boot uses for console IO. After booting, I would like to use this UART for other things besides s

Re: [U-Boot] [PATCH V6 2/3] PMIC: Add dialog pmic support

2011-04-23 Thread Wolfgang Denk
Dear Jason Liu, In message you wrote: > > > Really not enough to justify a new driver. All functions are really > > copied from the old one. Please consider to adapt fsl_pmic.c instead of > > adding a slightly different new one. > > fsl_pmic is about freescale mc13892 and fsl_pmic.c is dedicated

Re: [U-Boot] ubi command in u-boot

2011-04-23 Thread Wolfgang Denk
Dear Ratheendran R, In message you wrote: > > I am presently trying to port UBI filesystem for TQ2440 board, my u-boot do > not support the UBI command. This must be some out-of-tree port. I have never seen any code for this board before. > I tried "nand write.e" command support by my uboot to

Re: [U-Boot] [PATCH] powerpc/85xx: Change timebase divisor to be defined per processor

2011-04-23 Thread Wolfgang Denk
Dear Kumar Gala, In message <54ce1181-5449-4fbf-9402-df5d4e99e...@kernel.crashing.org> you wrote: > > On Apr 22, 2011, at 6:50 AM, Tabi Timur-B04825 wrote: > > > On Thu, Apr 21, 2011 at 1:59 PM, Kumar Gala > > wrote: > >> Introduce new CONFIG_SYS_FSL_TBCLK_DIV on 85xx platforms because > >> di

Re: [U-Boot] [PATCH] andes_spi: add andes_spi interface

2011-04-23 Thread Mike Frysinger
On Sat, Apr 23, 2011 at 12:34 AM, Macpaul Lin wrote: >> > +       ds->slave.bus = bus; >> > +       ds->slave.cs = cs; >> > +       ds->regs = (struct andes_spi_regs *)CONFIG_SYS_SPI_BASE; >> > +       ds->freq = max_hz; >> >> your spi controller has no frequency limit ?  your spi_claim_bus >> indi

Re: [U-Boot] Policy for checkpatch usage?

2011-04-23 Thread Andreas Pretzsch
Am Donnerstag, den 21.04.2011, 17:46 +0200 schrieb Detlev Zundel: > Thanks for the input. Current base for discussion: > > Checkpatch is a tool that can help you find some style problems, but > is imperfect, and the things it complains about are of varying > importance. So use common sense

[U-Boot] [PATCH v3 4/4] Enable multiple fs options for Marvell SoC family on OpenRD boards

2011-04-23 Thread Clint Adams
--- include/configs/openrd.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/openrd.h b/include/configs/openrd.h index 8d86067..3256cb3 100644 --- a/include/configs/openrd.h +++ b/include/configs/openrd.h @@ -60,6 +60,7 @@ * Commands configuration */ #

[U-Boot] [PATCH v3 3/4] Initialize second PHY on OpenRD-Client and OpenRD-Ultimate

2011-04-23 Thread Clint Adams
Though the OpenRD-Base only has one gigabit Ethernet port, both the OpenRD-Client and OpenRD-Ultimate each have two. On the Ultimate, the PHY addresses are consecutive, but on the Client they are not. (based on <62a0952ce368acc725063a00a5ec680a639d6c27.1301040318.git.julian.pidan...@citrix.com>

[U-Boot] [PATCH v3 2/4] Add definitions for OpenRD-Client and OpenRD-Ultimate

2011-04-23 Thread Clint Adams
--- MAKEALL |2 ++ board/Marvell/openrd/openrd.c |6 ++ boards.cfg|2 ++ include/configs/openrd.h | 14 +- 4 files changed, 23 insertions(+), 1 deletions(-) diff --git a/MAKEALL b/MAKEALL index 6acece7..9e7fd02 100755 --

[U-Boot] [PATCH v3 1/4] Rename openrd_base files to openrd

2011-04-23 Thread Clint Adams
--- board/Marvell/{openrd_base => openrd}/Makefile |2 +- board/Marvell/{openrd_base => openrd}/kwbimage.cfg |0 .../{openrd_base/openrd_base.c => openrd/openrd.c} |2 +- .../{openrd_base/openrd_base.h => openrd/openrd.h} |0 boards.cfg |

[U-Boot] [PATCH v3 0/4] support for OpenRD-Client and OpenRD-Ultimate

2011-04-23 Thread Clint Adams
This patchset introduces support for Marvell OpenRD-Client and OpenRD-Ultimate boards. Changes for v3: - lengthen commit log for second PHY initialization patch Changes for v2: - define CONFIG_SYS_MVFS Clint Adams (4): Rename openrd_base files to openrd Add definitions for OpenRD-Client a

Re: [U-Boot] [PATCH] Update and cut down mach types

2011-04-23 Thread Albert ARIBAUD
Hi Sandeep, Le 19/04/2011 05:12, s-paul...@ti.com a écrit : > From: Sandeep Paulraj > > This commit updates u-boot with what is present in the > kernel. > > As many entries have never been submitted to mainline, there's no point > them existing in this file. So remove the entries which aren't rel

Re: [U-Boot] [PATCH 3/3] nhk8815: move config targets from Makefile to boards.cfg

2011-04-23 Thread Albert ARIBAUD
Hi Alessandro, Le 16/04/2011 19:50, Alessandro Rubini a écrit : > From: Alessandro Rubini > > Signed-off-by: Alessandro Rubini > Acked-by: Andrea Gallo > --- > > BTW: please note that file is not sorted and has some white-space > error: "dkb" is aligned with tabs while all other use spaces and > t

Re: [U-Boot] [PATCH 2/3 V2] nhk8815: add support for relocation

2011-04-23 Thread Albert ARIBAUD
Hi Alessandro, Le 17/04/2011 01:00, Alessandro Rubini a écrit : > From: Alessandro Rubini > > This patch defines all the needed symbols in the header file > and removes the now-unused config.mk in board directory. > Changes to board C file as requested. > > Signed-off-by: Alessandro Rubini > Signe

Re: [U-Boot] [PATCH 1/3] nhk8815: remove platform.S, which was unused at link time

2011-04-23 Thread Albert ARIBAUD
Hi Alessandro, Le 16/04/2011 19:49, Alessandro Rubini a écrit : > From: Alessandro Rubini > > This source file, which I got by the vendor in their own port, > was not actually executing because lib-based compilation > didn't call lowlevel_init (we have CONFIG_SKIP_LOWLEVEL_INIT). > With the change

Re: [U-Boot] [PATCH 3/3] cpuat91: fix board support

2011-04-23 Thread Albert ARIBAUD
Le 03/04/2011 18:35, Eric Bénard a écrit : > - fix board support following relocation changes > - switch to boards.cfg > - disable i2c to keep size under 128kiB (1 sector) > > Signed-off-by: Eric Bénard > --- Reinhard: this was delegated to you in patchwork, but since this is only board support,

Re: [U-Boot] [PATCH V6 2/3] PMIC: Add dialog pmic support

2011-04-23 Thread stefano babic
Am 22/04/2011 16:50, schrieb Jason Liu: Hi Jason, >> As I can see now, this driver is quite a copy of fsl_pmic.c, with >> slightly changes. Are you sure we cannot simply change the already >> provided driver, adding support for the new chip ? >> >> I have not read the DA9053 datasheet, but from y

Re: [U-Boot] [PATCH v3 4/4] ftsmc020: move ftsmc020 static mem controller to driver/mtd

2011-04-23 Thread Albert ARIBAUD
Hi MacPaul, Le 16/04/2011 09:37, Macpaul Lin a écrit : > Move the header file and definitions of ftsmc020 > static memory control unit from a320 SoC folder to > "drivers/mtd" folder. > > This change will let other SoC which also use ftsmc020 > could share the same header file. > > Signed-off-by: M

Re: [U-Boot] [PATCH v3 3/4] ftsdmc020: move ftsdmc020.h to include/faraday

2011-04-23 Thread Albert ARIBAUD
Hi MacPaul, Le 16/04/2011 09:37, Macpaul Lin a écrit : > Move the header file "ftsdmc020.h" (SDRAM Controller) > to "include/faraday" folder. > > This change will let other SoC which also use ftsdmc020 > could share the same header file. > > Signed-off-by: Macpaul Lin > --- Applied to u-boot-arm/

Re: [U-Boot] [PATCH v3 2/4] ftsdmc021: add register definitions of ftsdmc021

2011-04-23 Thread Albert ARIBAUD
Le 16/04/2011 09:37, Macpaul Lin a écrit : > Support registers definitions of ftsdmc021 SDRAM controller. > > Signed-off-by: Macpaul Lin > --- > Changes for v1-v3: No Change. > > include/faraday/ftsdmc021.h | 154 > +++ > 1 files changed, 154 insertions(

Re: [U-Boot] [PATCH v3 1/4] ftahbc020s: Faraday FTAHBC020s AHB Bus Controller

2011-04-23 Thread Albert ARIBAUD
Le 16/04/2011 09:37, Macpaul Lin a écrit : > ftahbc020s.h provides basic definitions of this controller > to help a SoC which use this AHB Controller could > do scalable software settings in lowlevel_init.S. > > Signed-off-by: Macpaul Lin > --- > Changes for v1-v3: No Change. > > include/faraday/

Re: [U-Boot] [PATCH 2/3] cpu9260: update board support

2011-04-23 Thread Albert ARIBAUD
Le 16/04/2011 09:26, Albert ARIBAUD a écrit : > Le 03/04/2011 18:35, Eric Bénard a écrit : > >> diff --git a/board/eukrea/cpu9260/cpu9260.c b/board/eukrea/cpu9260/cpu9260.c >> index 61b6c33..9ec48a0 100644 >> --- a/board/eukrea/cpu9260/cpu9260.c >> +++ b/board/eukrea/cpu9260/cpu9260.c > >> @@ -188,