Re: [U-Boot] [PATCH 7/8] mtd: nand: add driver for diskonchip g4 nand flash

2013-04-07 Thread Marek Vasut
Dear Mike Dunn, > This patch adds a driver for the diskonchip G4 nand flash device. It is > based on the driver from the linux kernel. > > This also includes a separate SPL driver. A separate SPL driver is used > because the device operates in a different mode (reliable mode) when > loading a b

Re: [U-Boot] [PATCH 3/8] pxa_lcd: allow L_BIAS line to be unused

2013-04-07 Thread Marek Vasut
Dear Mike Dunn, > This patch adds a config option CONFIG_SYS_LCD_PXA_NO_L_BIAS, which causes > the lcd controller initialization code to leave as an ordinary gpio the > line that is typically configured as the lcd L_BIAS alternate function > (this is the gpio 77 line). > > For some reason (I don'

Re: [U-Boot] [PATCH 8/8] board support for palm treo 680

2013-04-07 Thread Marek Vasut
Dear Mike Dunn, > A quick overview of u-boot implementation on the treo 680... > > The treo 680 has a Diskonchip G4 nand flash chip. This device has a 2k > region that maps to the system bus at the reset vector in a NOR-like > fashion so that it can be used as the boot device. The phone is ship

Re: [U-Boot] [PATCH 6/8] lib: import bitrev library from linux kernel

2013-04-07 Thread Marek Vasut
Dear Mike Dunn, > This patch adds the bitrev library from the linux kernel. This is a simple > algorithm that uses an 8 bit look-up table to reverse the bits in data > types of 8, 16, or 32 bit widths. The docg4 nand flash driver uses it. > > Signed-off-by: Mike Dunn > --- > include/linux/bit

Re: [U-Boot] [PATCH 5/8] arm: bootm: call udc_disable() before booting linux

2013-04-07 Thread Marek Vasut
Dear Mike Dunn, > On the pxa270 (at least), if the udc device is not disabled before jumping > to linux, the device fails to initialize in linux because it was left in a > running state, and the linux driver assumes that it is in a disabled > state. > > Signed-off-by: Mike Dunn > --- > > Arguab

Re: [U-Boot] [PATCH v2] OMAP5: I2C: Enable i2c5 clocks

2013-04-07 Thread Sricharan R
On Thursday 04 April 2013 09:22 PM, Lubomir Popov wrote: > V2 fixes line wrap issue of the patch itself. > > I2C5 is used on all known OMAP5 hardware platforms, therefore enable. > > Signed-off-by: Lubomir Popov > > --- > arch/arm/cpu/armv7/omap5/hw_data.c |1 + > 1 file changed, 1 inserti

Re: [U-Boot] [PATCH v2] OMAP: Fix copy-paste bug that did not enable UART4 clock

2013-04-07 Thread Sricharan R
On Thursday 04 April 2013 09:21 PM, Lubomir Popov wrote: > V2 fixes line wrap issue of the patch itself. > > UART3 was enabled twice instead of UART4. > > One more cosmetic change in a comment on EMIF clock. > > Signed-off-by: Lubomir Popov > > --- > arch/arm/cpu/armv7/omap-common/clocks-comm

Re: [U-Boot] [PATCH v2] OMAP5: USB: hsusbtll_clkctrl has to be in hw_auto for USB to work

2013-04-07 Thread Sricharan R
On Thursday 04 April 2013 09:21 PM, Lubomir Popov wrote: > V2 fixes line wrap issue of the patch itself. > > This fix is needed (but not sufficient) for USB EHCI operation. > > Signed-off-by: Lubomir Popov > > --- > arch/arm/cpu/armv7/omap5/hw_data.c |2 +- > 1 file changed, 1 insertion(+)

Re: [U-Boot] [PATCH 0/8] ARM: Add Seagate GoFlexHome support

2013-04-07 Thread Wolfgang Denk
Dear Suriyan Ramasami, In message <1365392690-8668-1-git-send-email-suriya...@gmail.com> you wrote: > Most of the files except goflexhomemenu.c are direct copies > of the dockstar files with minor modifications. > > goflexhomemenu.c has code which uses the menu functionality > of u-boot and prese

Re: [U-Boot] Question about Automatic Updates

2013-04-07 Thread Wolfgang Denk
Dear tiger...@viatech.com.cn, In message you wrote: > > I found an Automatic Updates digest in this web page: > http://www.denx.de/wiki/view/U-Bootdoc/AutomaticUpdates > > So, my question is: > 1. Can uboot support this feature now? This has been implemented (actually in a number of veriants)

Re: [U-Boot] [PATCH v2 1/9] pmic:max77686: add function to set voltage and mode

2013-04-07 Thread Rajeshwari Birje
Hi Piotr, I am not able to find any buck at address 0xff in user manual. Other than that I am fine with it. Acked-by:Rajeshwari Shinde On Thu, Apr 4, 2013 at 4:43 PM, Piotr Wilczek wrote: > This patch add new functions to pmic max77686 to set voltage and mode. > > Signed-off-by: Piotr Wilczek

[U-Boot] [PATCH 8/8] ARM: Add Seagate GoFlexHome support

2013-04-07 Thread Suriyan Ramasami
Give the user a choosable menu of probable bootables to boot from. Signed-off-by: Suriyan Ramasami --- board/Seagate/goflexhome/goflexhomemenu.c | 381 + 1 files changed, 381 insertions(+), 0 deletions(-) create mode 100644 board/Seagate/goflexhome/goflexhomemenu.c

[U-Boot] [PATCH 4/8] ARM: Add Seagate GoFlexHome support

2013-04-07 Thread Suriyan Ramasami
Start with dockstar file and change for GoFlexHome Signed-off-by: Suriyan Ramasami --- board/Seagate/goflexhome/goflexhome.c | 187 + 1 files changed, 187 insertions(+), 0 deletions(-) create mode 100644 board/Seagate/goflexhome/goflexhome.c diff --git a/board/

[U-Boot] [PATCH 7/8] ARM: Add Seagate GoFlexHome support

2013-04-07 Thread Suriyan Ramasami
Start with dockstar file and change for GoFlexHome Signed-off-by: Suriyan Ramasami --- include/configs/goflexhome.h | 140 ++ 1 files changed, 140 insertions(+), 0 deletions(-) create mode 100644 include/configs/goflexhome.h diff --git a/include/configs

[U-Boot] [PATCH 5/8] ARM: Add Seagate GoFlexHome support

2013-04-07 Thread Suriyan Ramasami
Start with dockstar file and change for GoFlexHome Signed-off-by: Suriyan Ramasami --- board/Seagate/goflexhome/goflexhome.h | 50 + 1 files changed, 50 insertions(+), 0 deletions(-) create mode 100644 board/Seagate/goflexhome/goflexhome.h diff --git a/board/S

[U-Boot] [PATCH 6/8] ARM: Add Seagate GoFlexHome support

2013-04-07 Thread Suriyan Ramasami
Start with dockstar file and change for GoFlexHome Signed-off-by: Suriyan Ramasami --- board/Seagate/goflexhome/kwbimage.cfg | 168 + 1 files changed, 168 insertions(+), 0 deletions(-) create mode 100644 board/Seagate/goflexhome/kwbimage.cfg diff --git a/board/

[U-Boot] [PATCH 3/8] ARM: Add Seagate GoFlexHome support

2013-04-07 Thread Suriyan Ramasami
Start with dockstar file and change for GoFlexHome Signed-off-by: Suriyan Ramasami --- board/Seagate/goflexhome/Makefile | 51 + 1 files changed, 51 insertions(+), 0 deletions(-) create mode 100644 board/Seagate/goflexhome/Makefile diff --git a/board/Seaga

[U-Boot] [PATCH 1/8] ARM: Add Seagate GoFlexHome support

2013-04-07 Thread Suriyan Ramasami
Signed-off-by: Suriyan Ramasami --- MAINTAINERS |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 1614b91..6292a58 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -847,6 +847,10 @@ Sricharan R omap4_sdp4430 ARM ARMV7 (OMAP4xx SoC)

[U-Boot] [PATCH 2/8] ARM: Add Seagate GoFlexHome support

2013-04-07 Thread Suriyan Ramasami
Signed-off-by: Suriyan Ramasami --- boards.cfg |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/boards.cfg b/boards.cfg index 5fc70be..d6f8593 100644 --- a/boards.cfg +++ b/boards.cfg @@ -184,6 +184,7 @@ rd6281a arm arm926ejs -

[U-Boot] [PATCH 0/8] ARM: Add Seagate GoFlexHome support

2013-04-07 Thread Suriyan Ramasami
Most of the files except goflexhomemenu.c are direct copies of the dockstar files with minor modifications. goflexhomemenu.c has code which uses the menu functionality of u-boot and present the user with an option to choose the various bootable options. Suriyan Ramasami (8): Add Seagate GoFlexH

Re: [U-Boot] mmc: sdhci: Add a quirk to add delay during completion of sdhci_send_cmd

2013-04-07 Thread Jaehoon Chung
Hi, On 04/08/2013 12:52 PM, Tushar Behera wrote: > On 04/07/2013 10:27 AM, Jagan Teki wrote: >> Hi, >> >> I saw that you have been added the SDHCI_QUIRK_WAIT_SEND_CMD on below commit >> http://git.denx.de/?p=u-boot.git;a=commitdiff;h=13243f2eafc4292917178051fe1bb5aab2774dca >> >> I need few quires

Re: [U-Boot] mmc: sdhci: Add a quirk to add delay during completion of sdhci_send_cmd

2013-04-07 Thread Tushar Behera
On 04/07/2013 10:27 AM, Jagan Teki wrote: > Hi, > > I saw that you have been added the SDHCI_QUIRK_WAIT_SEND_CMD on below commit > http://git.denx.de/?p=u-boot.git;a=commitdiff;h=13243f2eafc4292917178051fe1bb5aab2774dca > > I need few quires regarding the QUIRK delay. > 1. Why the delay is 1000 >

[U-Boot] Question about Automatic Updates

2013-04-07 Thread TigerLiu
Hi, experts: I found an Automatic Updates digest in this web page: http://www.denx.de/wiki/view/U-Bootdoc/AutomaticUpdates So, my question is: 1. Can uboot support this feature now? I could not find key word "firmware.img" etc in u-boot source code package. Best wishes, ___

Re: [U-Boot] problem building uboot

2013-04-07 Thread Wolfgang Denk
Dear JPT, In message you wrote: > > I decided to just try a random kirkwood config. > but I've got a problem with linking: ... > armv5te-ld.bfd: unrecognized option '-Wl,-O1' > armv5te-ld.bfd: use the --help option for usage information Reading the FAQ [1] might help... [1] http://www.denx.de

Re: [U-Boot] problem building uboot

2013-04-07 Thread JPT
Hi, I decided to just try a random kirkwood config. but I've got a problem with linking: $ make all ... armv5te-gcc -g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x0060 -I/home/jan/src/u-boot-2013.01.01/include -fno-builtin -ffreestanding -nostdinc -

Re: [U-Boot] [PATCH 2/8] pxa_lcd: make lcd_enable() a weak pointer

2013-04-07 Thread Fabio Estevam
On Sun, Apr 7, 2013 at 1:40 PM, Mike Dunn wrote: > +void lcd_enable(void) > + __attribute__((weak, alias("__lcd_enable"))); What about declaring it as: __weak void lcd_enable(void) ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.d

[U-Boot] [PATCH 7/8] mtd: nand: add driver for diskonchip g4 nand flash

2013-04-07 Thread Mike Dunn
This patch adds a driver for the diskonchip G4 nand flash device. It is based on the driver from the linux kernel. This also includes a separate SPL driver. A separate SPL driver is used because the device operates in a different mode (reliable mode) when loading a boot image, and also because t

[U-Boot] [PATCH 8/8] board support for palm treo 680

2013-04-07 Thread Mike Dunn
A quick overview of u-boot implementation on the treo 680... The treo 680 has a Diskonchip G4 nand flash chip. This device has a 2k region that maps to the system bus at the reset vector in a NOR-like fashion so that it can be used as the boot device. The phone is shipped with this 2k region con

[U-Boot] [PATCH 6/8] lib: import bitrev library from linux kernel

2013-04-07 Thread Mike Dunn
This patch adds the bitrev library from the linux kernel. This is a simple algorithm that uses an 8 bit look-up table to reverse the bits in data types of 8, 16, or 32 bit widths. The docg4 nand flash driver uses it. Signed-off-by: Mike Dunn --- include/linux/bitrev.h | 16 + lib

[U-Boot] [PATCH 4/8] pxa27x_udc: remove call to unimplemented set_GPIO_mode()

2013-04-07 Thread Mike Dunn
If CONFIG_USB_DEV_PULLUP_GPIO is defined, a link error occurs because the set_GPIO_mode() helper function is not implemented. This function doesn't do much except make the code a little more readable, so I just manually coded its equivalent and removed the prototype from the header file. It is in

[U-Boot] [PATCH 3/8] pxa_lcd: allow L_BIAS line to be unused

2013-04-07 Thread Mike Dunn
This patch adds a config option CONFIG_SYS_LCD_PXA_NO_L_BIAS, which causes the lcd controller initialization code to leave as an ordinary gpio the line that is typically configured as the lcd L_BIAS alternate function (this is the gpio 77 line). For some reason (I don't have a datasheet), the lcd

[U-Boot] [PATCH 1/8] pxa_lcd: add the ACX544AKN lcd device

2013-04-07 Thread Mike Dunn
This adds the definitions required to support the LCD device on the Palm Treo 680. Signed-off-by: Mike Dunn --- drivers/video/pxa_lcd.c | 32 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/drivers/video/pxa_lcd.c b/drivers/video/pxa_lcd.c index

[U-Boot] [PATCH 5/8] arm: bootm: call udc_disable() before booting linux

2013-04-07 Thread Mike Dunn
On the pxa270 (at least), if the udc device is not disabled before jumping to linux, the device fails to initialize in linux because it was left in a running state, and the linux driver assumes that it is in a disabled state. Signed-off-by: Mike Dunn --- Arguably, this is a bug in the linux driv

[U-Boot] [PATCH 2/8] pxa_lcd: make lcd_enable() a weak pointer

2013-04-07 Thread Mike Dunn
Make lcd_init() a weak pointer aliased to the current (and currently empty) lcd_init(), so that boards can overload it if necessary. The palmtreo680 board needs to wiggle some gpios and configure the pwm controller in order to get the lcd and its backlight working. Signed-off-by: Mike Dunn ---

[U-Boot] [PATCH 0/8] palm treo 680 smartphone board support

2013-04-07 Thread Mike Dunn
Hi, This patchset adds support for the Palm Treo 680 smartphone. Sorry for the large number of patches; hope this isn't too bold for a first contribution to u-boot. I had to make some minor tweaks to u-boot to get things working. Most of these changes are small, and most only touch the pxa arch

Re: [U-Boot] u-boot boot process is broken, how do i recover?

2013-04-07 Thread Albert ARIBAUD
Hi Thomas, On Sun, 7 Apr 2013 10:08:22 +0200, Thomas Petazzoni wrote: > Dear Albert ARIBAUD, > > On Thu, 4 Apr 2013 14:47:18 +0200, Albert ARIBAUD wrote: > > > Since you seem to have a binary meant for UART booting, yes, you might > > try sending it to the board; with any luck that'll allow yo

Re: [U-Boot] [PATCH] VGA text console support

2013-04-07 Thread Wolfgang Denk
Dear Vladimir 'φ-coder/phcoder' Serbinenko, I wrote: > I cannot comment on the actual technical content of your patches, but > here are a few formal comments; I highly recommend to study > http://www.denx.de/wiki/U-Boot/Patches ... Oops. Sent to quickly. Please ALWAYS make sure to run your pat

Re: [U-Boot] [PATCH] VGA text console support

2013-04-07 Thread Wolfgang Denk
Dear Vladimir 'φ-coder/phcoder' Serbinenko, I cannot comment on the actual technical content of your patches, but here are a few formal comments; I highly recommend to study http://www.denx.de/wiki/U-Boot/Patches > Content-Type: text/plain; charset=UTF-8 > Content-Transfer-Encoding: quoted-printa

[U-Boot] [PATCH] VGA text console support

2013-04-07 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Most coreboot users use just VGA text console, not graphics. Support it. Remaining problem is that software and hardware cursor blinking superimpose. I disabled software blinking locally but it's not part of this patch since it's not done properly. diff --git a/drivers/video/cfb_console.c b/driver

[U-Boot] Improper assumption of serial port

2013-04-07 Thread Vladimir 'φ-coder/phcoder' Serbinenko
U-boot on coreboot assumes that serial port is always available and improperly interprets missing ones as stream of 0xff. What would be the proper way to handle this? Is it acceptable to probe at it's address whether we have a valid ns8250/ns16550 device (we can read back the divisor and compare wi

[U-Boot] [PATCH] Fix wrong >4G filtering

2013-04-07 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Filtering of >4G chunks is wrong and one of such chunks can be improperly declared as usable ram top after being cut down to 4G, so uboot tries to relocate to ROM. diff --git a/arch/x86/cpu/coreboot/sdram.c b/arch/x86/cpu/coreboot/sdram.c index 786009c..3b8dd5e 100644 --- a/arch/x86/cpu/coreboot/

[U-Boot] [PATCH] i386 compiler args are wrong

2013-04-07 Thread Vladimir 'φ-coder/phcoder' Serbinenko
-pie for ld can't be used w/o -fPIE to compiler. -m32 and -melf_i386 are needed to be able to use gcc-multilib/binutils-multilib. -fPIE prevents from using some registers in constraints. diff --git a/Makefile b/Makefile index db7561c..6c3a8d5 100644 --- a/Makefile +++ b/Makefile @@ -365,7 +365,7 @

[U-Boot] U-Boot under coreboot

2013-04-07 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Hello, I've tried u-boot on top of coreboot on Lenovo Thinkpad X201 laptop and it failed lamentably. I send now series of patches to fix few problems but it still isn't completely functional. I can now get it to go to the console most times (sometimes it crashes before), it often crashes if I attem

[U-Boot] [PATCH v1] blackfin: Move blackfin serial driver out of blackfin arch folder.

2013-04-07 Thread Sonic Zhang
From: Sonic Zhang - Move blackfin serial driver to the generic driver folder. - Move blackfin serial headers to blackfin arch head folder. - Update the include path to blackfin serial header in start up code. Signed-off-by: Sonic Zhang --- arch/blackfin/cpu/Makefile |

[U-Boot] [PATCH v1] blackfin: Move blackfin watchdog driver out of the blackfin arch folder.

2013-04-07 Thread Sonic Zhang
From: Sonic Zhang - Enable hw_watchdog_init() in watchdog.h if CONFIG_HW_WATCHDOG is defined. - Move blackfin hw watchdog driver to the generic driver folder. - Call hw_watchdog_init() from blackfin board init code. - Reuse macro CONFIG_WATCHDOG_TIMEOUT_MSECS - Update README.watchdog accordingly

[U-Boot] which u-boot build config to choose for kirkwood?

2013-04-07 Thread JPT
Hi, I finally succeeded in booting my kirkwood board from UART. But this did not help. The Netgear uboot 1.1.4 still hangs after loading the network hardware. Since I was messing with the uboot-env before it broke, this is most likely the cause of the problems. To access the uboot-env I've g

Re: [U-Boot] [v3] command/cache: Add flush command

2013-04-07 Thread Wolfgang Denk
Dear sun york-R58495, In message you wrote: > > > Can we not split this into: > > > > dcache flush > > icache invalidate > > > > ? This would make clear what's happening. > > > The idea is to reuse existing code with minimum addition. For the applicati > ons concerned, these two s

Re: [U-Boot] u-boot boot process is broken, how do i recover?

2013-04-07 Thread Thomas Petazzoni
Dear Albert ARIBAUD, On Thu, 4 Apr 2013 14:47:18 +0200, Albert ARIBAUD wrote: > Since you seem to have a binary meant for UART booting, yes, you might > try sending it to the board; with any luck that'll allow you to inspect > and possibly revert your U-Boot environment into what it was before th