[U-Boot] Using u-boot with qemu-system-mips(qemu-2.1.2) caused infinite loop

2014-12-04 Thread jiang
Hello all: I just downloaded the latest u-boot source code,then compiled with: make qemu_mips_defconfig make CROSS_COMPILE=mips-linux-uclibc- then create image: # dd of=flash bs=1k count=4k if=/dev/zero # dd of=flash bs=1k conv=notrunc if=u-boot.bin run with: qemu-system-mips -M mips -pflash flas

Re: [U-Boot] Using u-boot with qemu-system-mips(qemu-2.1.2) caused infinite loop

2014-12-05 Thread jiang
Dear Daniel: Thanks for your guide,It's really helpful.Then last question,which version of qemu do you use?:) 在 2014/12/5 22:14, Daniel Schwierzeck 写道: Hi, On 04.12.2014 08:55, jiang wrote: Hello all: I just downloaded the latest u-boot source code,then compiled with:

Re: [U-Boot] [PATCH 1/2] spi: bfin_spi: Remove unnecessary test for bus and pins[bus]

2013-12-01 Thread Scott Jiang
f SPI2_CTL > - case 2: mmr_base = SPI2_CTL; break; > + case 2: > + mmr_base = SPI2_CTL; break; > #endif > - default: return NULL; > + default: > + debug("%s: invalid bus %u\n&qu

Re: [U-Boot] [PATCH 2/2] spi: bfin_spi6xx: Remove unnecessary test for bus and pins[bus]

2013-12-01 Thread Scott Jiang
break; > #endif > default: > + debug("%s: invalid bus %u\n", __func__, bus); > return NULL; > } > Acked-by: Scott Jiang ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 1/3] blackfin: spi: move spi max chip select to spi.h

2014-06-05 Thread Scott Jiang
Signed-off-by: Scott Jiang --- arch/blackfin/include/asm/config-pre.h |3 --- arch/blackfin/include/asm/mach-common/bits/spi.h |1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/blackfin/include/asm/config-pre.h b/arch/blackfin/include/asm/config-pre.h

[U-Boot] [PATCH 3/3] spi: add common spi3 controller driver

2014-06-05 Thread Scott Jiang
SPI3 controller is not only used on BF609 platform. So we add a common controller driver and leave machine specific configuration in board drivers. Remove obsolete spi6xx.h and select new board driver in configuration file. Signed-off-by: Scott Jiang --- drivers/spi/Makefile

[U-Boot] [PATCH 2/3] blackfin: spi clock is in sysclk1 domain instead of sysclk0

2014-06-05 Thread Scott Jiang
Signed-off-by: Scott Jiang --- arch/blackfin/include/asm/clock.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/blackfin/include/asm/clock.h b/arch/blackfin/include/asm/clock.h index 59d3faa..05ae03c 100644 --- a/arch/blackfin/include/asm/clock.h +++ b/arch/blackfin

Re: [U-Boot] [PATCH v1 1/2] bfin: Remove spi dma function in bf5xx.

2013-03-12 Thread Scott Jiang
Frysinger : > On Monday 04 March 2013 02:20:08 Sonic Zhang wrote: >> From: Scott Jiang >> >> BF5xx rx dma causes spi flash random read error. >> Accually spi controller has problems both on tx and rx dma. >> So remove spi dma support in u-boot. > > this is w

[U-Boot] uboot for vexpress-a15x2

2012-07-04 Thread Xiao Jiang
Hello, Since vexpress-a15x2 and vexpress-a9x4 share same motherboard, I guess the two boards can be supported with same uboot, does someone can confirm it? thanks. Regards, Xiao ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailm

[U-Boot] [PATCH] board/freescale/common/cds_pci_ft.c: Fix rotate wrong cells in interrupt-map property

2012-11-20 Thread Jiang Bin
For linux 3.x, the size of each item in interrupt-map property is 9 not 7. Don't use the static value and calculate the size with following cells: PCI #address-cells, PCI #interrupt-cells, PIC address, PIC #address-cells, PIC #interrupt-cells. Signed-off-by: Bin Jiang ---

Re: [U-Boot] [PATCH v3 08/18] tegra: Add SOC support for display/lcd

2012-07-19 Thread Adam Jiang
On Thu, Jul 12, 2012 at 11:25:08PM +0800, Simon Glass wrote: > From: Wei Ni > > Add support for the LCD peripheral at the Tegra2 SOC level. A separate > LCD driver will use this functionality to configure the display. > > Mayuresh Kulkarni: > - changes to remove bitfields and clean up for submis

Re: [U-Boot] [PATCH v3 08/18] tegra: Add SOC support for display/lcd

2012-07-19 Thread Adam Jiang
On Thu, Jul 19, 2012 at 03:37:07PM +0800, Thierry Reding wrote: > * PGP Signed by an unknown key > > On Thu, Jul 12, 2012 at 08:25:08AM -0700, Simon Glass wrote: > > From: Wei Ni > > > > Add support for the LCD peripheral at the Tegra2 SOC level. A separate > > LCD driver will use this functiona

[U-Boot] [PATCH] blackfin: rename blackfin i2c driver to adi

2014-10-30 Thread Scott Jiang
This driver is not only used on blackfin. So it's better to rename it and access i2c registers by standard io functions. Fix coding style as well. Signed-off-by: Scott Jiang --- drivers/i2c/Makefile |2 +- drivers/i2c/{bfin-twi_i2c.c => adi_i2c.c

Re: [U-Boot] [PATCH] blackfin: rename blackfin i2c driver to adi

2014-10-31 Thread Scott Jiang
Hi Heiko, >> static int wait_for_completion(struct i2c_msg *msg) >> { >> - uint16_t int_stat; >> + u16 int_stat, ctl; > > > This change is not related to the subject of the patch, > please split this into seperate patches ... > >> ulong timebase = get_timer(0); >> >>

[U-Boot] [PATCH 2/2] spi: add common spi3 controller driver

2014-09-24 Thread Scott Jiang
SPI3 controller is not only used on BF609 platform. So we add a common controller driver and leave machine specific configuration in board drivers. Remove obsolete spi6xx.h and select new board driver in configuration file. Signed-off-by: Scott Jiang --- drivers/spi/Makefile

[U-Boot] [PATCH 1/2] blackfin: spi: move spi max chip select to spi.h

2014-09-24 Thread Scott Jiang
This macro is only related to spi. So it's better to place it in spi.h. Signed-off-by: Scott Jiang --- arch/blackfin/include/asm/config-pre.h |3 --- arch/blackfin/include/asm/mach-common/bits/spi.h |1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a

Re: [U-Boot] [PATCH 1/2] blackfin: spi: move spi max chip select to spi.h

2014-11-06 Thread Scott Jiang
Ping. Scott 2014-09-25 17:25 GMT+08:00 Scott Jiang : > This macro is only related to spi. So it's better to place it in spi.h. > > Signed-off-by: Scott Jiang > --- > arch/blackfin/include/asm/config-pre.h |3 --- > arch/blackfin/include/asm/mach-common/b

Re: [U-Boot] [PATCH 2/2] spi: add common spi3 controller driver

2014-11-06 Thread Scott Jiang
Ping. Scott 2014-09-25 17:25 GMT+08:00 Scott Jiang : > SPI3 controller is not only used on BF609 platform. So we add a common > controller > driver and leave machine specific configuration in board drivers. > Remove obsolete spi6xx.h and select new board driver in configuration file

[U-Boot] [PATCH 1/3 v2] blackfin: rename bfin-twi_i2c driver to adi_i2c

2014-11-12 Thread Scott Jiang
Signed-off-by: Scott Jiang --- drivers/i2c/Makefile |2 +- drivers/i2c/{bfin-twi_i2c.c => adi_i2c.c} |7 +++ include/configs/bct-brettl2.h |2 +- include/configs/bf518f-ezbrd.h|2 +- include/configs/bf526-ezbrd.h |

[U-Boot] [PATCH 3/3 v2] blackfin: convert to use CONFIG_SYS_I2C framework

2014-11-12 Thread Scott Jiang
Signed-off-by: Scott Jiang --- drivers/i2c/adi_i2c.c | 202 +++ include/configs/bct-brettl2.h |2 +- include/configs/bf518f-ezbrd.h |2 +- include/configs/bf526-ezbrd.h |2 +- include/configs/bf527-ad7160-eval.h |2

[U-Boot] [PATCH 2/3 v2] adi_i2c: convert to use general io accessors.

2014-11-12 Thread Scott Jiang
Signed-off-by: Scott Jiang --- drivers/i2c/adi_i2c.c | 145 ++--- 1 file changed, 77 insertions(+), 68 deletions(-) diff --git a/drivers/i2c/adi_i2c.c b/drivers/i2c/adi_i2c.c index cb74062..71077c5 100644 --- a/drivers/i2c/adi_i2c.c +++ b/drivers/i2c

Re: [U-Boot] [PATCH 2/2] spi: add common spi3 controller driver

2014-11-12 Thread Scott Jiang
add the driver to dm-spi. > > Please see any info to doc/driver-model/spi-howto.txt > > Let me know for any inputs/questions. > > On 25 September 2014 14:55, Scott Jiang wrote: >> SPI3 controller is not only used on BF609 platform. So we add a common >> controller >&

Re: [U-Boot] [PATCH 2/2] spi: add common spi3 controller driver

2014-11-18 Thread Scott Jiang
2014-11-17 3:23 GMT+08:00 Jagan Teki : > Hi Scott, > > On 25 September 2014 14:55, Scott Jiang wrote: >> SPI3 controller is not only used on BF609 platform. So we add a common >> controller >> driver and leave machine specific configuration in board drivers. >

Re: [U-Boot] On-sale LED bulb

2011-05-24 Thread Echo Jiang
com http://hopthink.en.aliaba.com and contact us if you interested for any of our products. Echo Jiang �C Sales Director Hopthink(Shenzhen) Industry CO., LTD. Hopthink International (HK) CO., LTD Tel: 0086-21-60526692, Fax: 0086-21-61732192, Cell phone: 0086-13764873435 MSN: oke...@msn.co