[U-Boot] [PATCH] SAMSUNG: goni: add the GPL licence

2010-06-08 Thread Minkyu Kang
Signed-off-by: Minkyu Kang mk7.k...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- board/samsung/goni/config.mk | 20 +++- 1 files changed, 19 insertions(+), 1 deletions(-) diff --git a/board/samsung/goni/config.mk b/board/samsung/goni/config.mk index

Re: [U-Boot] [PATCH] add support for EMK TOP7000 CPU Module (3rd try)

2010-06-08 Thread Reinhard Meyer (-VC)
Reinhard Meyer (-VC) schrieb: Add support for EMK TOP7000 CPU Module Specifics: 1) create subdir board/emk/top7000 and files in it 2) create include/configs/top7000.h 3) update board/emk/common/vpd.c 4) add call to misc_init_r() to arch/avr32/lib/board.c 5) create

Re: [U-Boot] [PATCH] Add support for LPC2468 from NXP

2010-06-08 Thread Remco Poelstra
Hi, Op 2-6-2010 12:03, Wolfgang Denk schreef: Dear Remco Poelstra, In message1274098916-1805-1-git-send-email-remco.poels...@duran-audio.com you wrote: Add Support for LPC2468 from NXP Basic startup code Internal flash is uspported (for environment storage) How are we going to solve

Re: [U-Boot] Fw:How can I use yaffs2 in uboot

2010-06-08 Thread William Juul
On Tue, Jun 8, 2010 at 03:49, jackfriend jackfri...@163.com wrote: Thank you for your help NOW with absolute path can write and read (small files) Good. but When I write large files,such as 50M (Nand flash size is 256M) ... yaffs: Mounting /flash yaffs: Could not allocate Tnodes

Re: [U-Boot] [PATCH] [v2] tsec: fix the return value for tsec_eth_init() and tsec_standard_init()

2010-06-08 Thread Wolfgang Denk
Dear Timur Tabi, In message 4c0d78d6.2010...@freescale.com you wrote: i dont think this is a good idea. either the init funcs should all be converted to unsigned int, or they should stay int. doing it piecemeal leads to confusion with zero upside. I don't want to change all of

Re: [U-Boot] Fw:How can I use yaffs2 in uboot

2010-06-08 Thread Wolfgang Denk
Dear jackfriend, In message 14a6f7f.148ed.129153fef17.coremail.jackfri...@163.com you wrote: Thank you for your help NOW with absolute path can write and read (small files) but When I write large files,such as 50M (Nand flash size is 256M) Display yaffs: Could not allocate

Re: [U-Boot] U-boot: Beagle board as a USB Mass Storage Device Class

2010-06-08 Thread Wolfgang Denk
Dear yogesh b, In message 458375.64426...@web38807.mail.mud.yahoo.com you wrote: I want to make the Beagle board (with u-boot) to look like a USB Mass Storage Device when it is connected to the host PC. Can anyone suggest regarding the files that I need to update in u-boot code, to make the

Re: [U-Boot] U-boot: Beagle board as a USB Mass Storage Device Class

2010-06-08 Thread yogesh b
Thanks for your response. I want to tell few more things about our implementation. Actually we are planning to simulate (but not implement) the file system and implement the SCSI transparent command set decoder. When ever a file is sent to the USB mass storage device, we will be taking the

Re: [U-Boot] [PATCH] DaVinci: Improve DaVinci SPI speed.

2010-06-08 Thread Delio Brignoli
Thank you Sandeep. -- Delio On 07/06/2010, at 23:17, Paulraj, Sandeep wrote: Checkpatch returned 4 errors. Please fix and resubmit Thanks, Sandeep I fixed them myself. Pushed to u-boot-ti ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH v4] Support for TI's DA850/OMAP-L138 platform

2010-06-08 Thread Sudhakar Rajashekhara
This patch series adds support for TI's DA850/OMAP-L138 platform. I have reworked on this series after submitting updated version of the following patch: [PATCH v5] da830: Move common code out of da830evm.c file This series is dependant on the above patch. Sudhakar Rajashekhara (2): TI:

[U-Boot] [PATCH v4] TI: DaVinci: Prepare for da850 support

2010-06-08 Thread Sudhakar Rajashekhara
DA850/OMAP-L138 is a new SoC from Texas Instruments (http://focus.ti.com/docs/prod/folders/print/omap-l138.html). This SoC is similar to DA830/OMAP-L137 in many aspects. Hence rename the da830 specific files and folders to da8xx to accommodate DA850/OMAP-L138. Signed-off-by: Sudhakar Rajashekhara

[U-Boot] [PATCH v4] TI: DaVinci: Add board specific code for da850 EVM

2010-06-08 Thread Sudhakar Rajashekhara
Provides initial support for TI OMAP-L138/DA850 SoC devices on a Logic PD EVM board. Provides: Initial boot and configuration. Support for i2c. UART support (console). Signed-off-by: Sudhakar Rajashekhara sudhakar@ti.com Acked-by: Ben Gardiner bengardi...@nanometrics.ca Reviewed-by: Wolfgang

[U-Boot] [PATCH 3/3] musb: Program extvbus for OMAP3EVM Rev = E

2010-06-08 Thread Ajay Kumar Gupta
OMAP3EVM Rev =E uses external Vbus supply so setting 'extvbus' to '1' for OMAP3EVM Rev =E runtime based on EVM revision. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com --- board/ti/evm/evm.c | 13 + drivers/usb/musb/omap3.c |3 +++ drivers/usb/musb/omap3.h |4

[U-Boot] [PATCH 1/3] musb: Add Phy programming for using external Vbus

2010-06-08 Thread Ajay Kumar Gupta
MUSB PHY on OMAP3EVM Rev = E uses external Vbus supply to support 500mA of power.We need to program MUSB PHY to use external Vbus for this purpose. Adding 'extvbus' member in musb_config structure which should be set by all the boards where MUSB interface is using external Vbus supply. Default

[U-Boot] [PATCH 2/3] omap3evm: Add board revision function

2010-06-08 Thread Ajay Kumar Gupta
Added function to differentiate between the OMAP3EVM revisions. The chip-id of the ethernet PHY is being used for this purpose. Rev A to D : 0x0115 Rev = E : 0x9220 Signed-off-by: Vaibhav Hiremath hvaibhav at ti.com Signed-off-by: Sanjeev Premi premi at ti.com Signed-off-by: Ajay Kumar

Re: [U-Boot] U-boot: Beagle board as a USB Mass Storage Device Class

2010-06-08 Thread Gupta, Ajay Kumar
I want to make the Beagle board (with u-boot) to look like a USB Mass Storage Device when it is connected to the host PC. Can anyone suggest regarding the files that I need to update in u-boot code, to make the Beagle board look like a USB Mass Storage Device. This would require to add

[U-Boot] Gregory J Kelsey is out of the office.

2010-06-08 Thread gjkelsey
I will be out of the office starting 06/07/2010 and will not return until 06/09/2010. I will respond to your message when I return. Please contact my manager Colleen Becker 319-295-1567 if you require immediate attention. ___ U-Boot mailing list

Re: [U-Boot] [PATCH] OMAP3: remove unused config macros

2010-06-08 Thread Grazvydas Ignotas
Just a ping. Sandeep, maybe you could pick this? Those defines are mostly dead code. On Thu, Apr 29, 2010 at 5:19 PM, Grazvydas Ignotas nota...@gmail.com wrote: Most OMAP3 boards have various flash related macros in their configs that are either not referenced anywhere in the code or are used

Re: [U-Boot] [PATCH] OMAP3: pandora: enable battery backup capacitor

2010-06-08 Thread Grazvydas Ignotas
CCing Sandeep. On Thu, Apr 29, 2010 at 5:52 PM, Grazvydas Ignotas nota...@gmail.com wrote: Pandora has a capacitor connected as backup battery, which allows retaining RTC for some time while main battery is removed. Enable backup battery charge function to charge that capacitor.

Re: [U-Boot] [PATCH 1/4] Atmel Dataflash: convert to C struct accessors

2010-06-08 Thread Thomas Petazzoni
On Mon, 7 Jun 2010 18:52:03 -0400 Mike Frysinger vap...@gentoo.org wrote: i have to ask ... what exactly is the advantage of the dataflash driver over the common spi flash drivers ? ive looked a bit and cant pick anything out. better to just scuttle the entire code base imo and unify

[U-Boot] Problems flashing kernel

2010-06-08 Thread Kristoffer Ericson
Greetings, Im having issues making flashing work on my platform. Earlier it responded that flash was not erased, but after doing : HP Jornada# erase 0x0008 0x03BF it worked. When I do: HP Jornada# cp.b 0xC0008 0x0008 1296996 (- my kernel size) Copy to flash... . (and just sits

Re: [U-Boot] [PATCH] [v2] tsec: fix the return value for tsec_eth_init() and tsec_standard_init()

2010-06-08 Thread Timur Tabi
On Tue, Jun 8, 2010 at 2:14 AM, Wolfgang Denk w...@denx.de wrote: Mike is right. If you change it here, _all_ similar places should be changed as well in the same commit. Well, since I don't want to change all the other code, I'll keep it as a signed int. -- Timur Tabi Linux kernel developer

Re: [U-Boot] Problems flashing kernel

2010-06-08 Thread Stefano Babic
Kristoffer Ericson wrote: Greetings, Hi, When I do: HP Jornada# cp.b 0xC0008 0x0008 1296996 (- my kernel size) Copy to flash... . (and just sits there) u-boot uses hexadecimal as default and you do not need to use the 0x notation. however, 1296996 is interpreted as hexadecimal

[U-Boot] Bug in IP/UDP defragment?

2010-06-08 Thread Fillod Stephane
Hi, I'm encountering a problem when tftp'ing a file of size 1747851 bytes with CONFIG_IP_DEFRAG defined and CONFIG_TFTP_BLOCKSIZE set to 4096. U-Boot's tftp times out on the last chunk. Undefining CONFIG_IP_DEFRAG/CONFIG_TFTP_BLOCKSIZE or downloading with a Linux tftp client are all well, so it

Re: [U-Boot] Problems flashing kernel

2010-06-08 Thread Kristoffer Ericson
On Tue, Jun 08, 2010 at 03:05:44PM +0200, Stefano Babic wrote: Kristoffer Ericson wrote: Greetings, Hi, When I do: HP Jornada# cp.b 0xC0008 0x0008 1296996 (- my kernel size) Copy to flash... . (and just sits there) u-boot uses hexadecimal as default and you do not need

[U-Boot] [PATCH] [v3] tsec: fix the return value for tsec_eth_init()

2010-06-08 Thread Timur Tabi
The Ethernet initialization functions are supposed to return the number of devices initialized, so fix tsec_eth_init() so that they returns the number of TSECs initialized, instead of just zero. This is safe because the return value is currently ignored by all callers, but now they don't have to

Re: [U-Boot] [PATCH v4] TI: DaVinci: Add board specific code for da850 EVM

2010-06-08 Thread Paulraj, Sandeep
Provides initial support for TI OMAP-L138/DA850 SoC devices on a Logic PD EVM board. Provides: Initial boot and configuration. Support for i2c. UART support (console). Signed-off-by: Sudhakar Rajashekhara sudhakar@ti.com Acked-by: Ben Gardiner bengardi...@nanometrics.ca

Re: [U-Boot] Problems flashing kernel

2010-06-08 Thread Stefano Babic
Kristoffer Ericson wrote: You are quite correct in that, thx. that also explains why it took a good while longer than usual. I cannot seem to shake the Flash not Erased problem though. Was thinking to increase timeout of erase/write but they dont change even when I change the

Re: [U-Boot] [PATCH] [v2] tsec: fix the return value for tsec_eth_init() and tsec_standard_init()

2010-06-08 Thread Timur Tabi
Mike Frysinger wrote: the documentation currently states that a negative value is permissible and thus int is correct. as for the code that actually reads the result, that is by large common code, so logic along those lines isnt terribly important. The conclusion I drew from Andy's

Re: [U-Boot] Problems flashing kernel

2010-06-08 Thread Kristoffer Ericson
On Tue, Jun 08, 2010 at 04:31:15PM +0200, Stefano Babic wrote: Kristoffer Ericson wrote: You are quite correct in that, thx. that also explains why it took a good while longer than usual. I cannot seem to shake the Flash not Erased problem though. Was thinking to increase timeout of

Re: [U-Boot] [PATCH] [v2] tsec: fix the return value for tsec_eth_init() and tsec_standard_init()

2010-06-08 Thread Timur Tabi
Reinhard Meyer (-VC) wrote: That poses the general question what a function that initializes several devices should do if one of the devices should return an error and what to return if ALL devices return an error. I believe the consensus is that any device initialization function that

Re: [U-Boot] Problems flashing kernel

2010-06-08 Thread Stefano Babic
Kristoffer Ericson wrote: It worked earlier for unknown reasons, but no longer does. It has only worked once. Erasing all the flash (aside from first 512kb) works without any error messages, but when trying to flash it still insists that the flash is not erased. Looking with md also seems to

[U-Boot] Rescue /alternative boot

2010-06-08 Thread Arno Steffen
I would like to have some rescue boot, if flashing of uboot-environment, kernel or filesystem fails. My idea is to check a certain port (eth) for some time and if I receive a defined string not to continue the ususal boot process but execute some into uboot compiled bootcmds. Looking into the code

Re: [U-Boot] [PATCH V2 03/10] 83xx/85xx/86xx: LBC register cleanup

2010-06-08 Thread Becky Bruce
This isn't *ELBC*, it's the existence of any sort of LBC. ELBC is determined per-board in the fine grained configs. There are 2 configs. -B On Jun 3, 2010, at 7:37 PM, Kim Phillips wrote: On Wed, 2 Jun 2010 13:12:02 -0500 Becky Bruce bec...@kernel.crashing.org wrote: diff --git

Re: [U-Boot] Problems flashing kernel

2010-06-08 Thread Kristoffer Ericson
On Tue, Jun 08, 2010 at 05:01:05PM +0200, Stefano Babic wrote: Kristoffer Ericson wrote: It worked earlier for unknown reasons, but no longer does. It has only worked once. Erasing all the flash (aside from first 512kb) works without any error messages, but when trying to flash it still

Re: [U-Boot] [PATCH 2/2] arm: cortexa9: adding support for TI OMAP4430 SDP

2010-06-08 Thread Steve Sakoman
On Fri, Jun 4, 2010 at 2:58 PM, John Rigby jcri...@gmail.com wrote: Aneesh: On Tue, May 25, 2010 at 12:39 AM, Aneesh V ane...@ti.com wrote: Adding support for OMAP4430 SDP board based on the TI OMAP4430 SOC. --- arch/arm/cpu/armv7/omap4/reset.S: Identical to omap3 version.  I think they

Re: [U-Boot] Please Pull u-boot-ti/master

2010-06-08 Thread Tom Rix
s-paul...@ti.com wrote: Tom, Please pull u-boot-ti/master. There are some more patches but those would not apply clean. Will send a separate pull request for them. I ran MAKEALL for all ARM 11 and CORTEX A8 boards. Thanks, Sandeep The following changes since commit

Re: [U-Boot] [PATCH V2 03/10] 83xx/85xx/86xx: LBC register cleanup

2010-06-08 Thread Kim Phillips
On Tue, 8 Jun 2010 11:15:07 -0500 Becky Bruce bec...@kernel.crashing.org wrote: This isn't *ELBC*, it's the existence of any sort of LBC. ELBC is determined per-board in the fine grained configs. There are 2 configs. that's what I was suggesting to change; to group and centralize the

Re: [U-Boot] [PATCH V2 03/10] 83xx/85xx/86xx: LBC register cleanup

2010-06-08 Thread Becky Bruce
On Jun 8, 2010, at 12:09 PM, Kim Phillips wrote: On Tue, 8 Jun 2010 11:15:07 -0500 Becky Bruce bec...@kernel.crashing.org wrote: This isn't *ELBC*, it's the existence of any sort of LBC. ELBC is determined per-board in the fine grained configs. There are 2 configs. that's what I was

Re: [U-Boot] Problems flashing kernel

2010-06-08 Thread Kristoffer Ericson
On Tue, Jun 08, 2010 at 05:01:05PM +0200, Stefano Babic wrote: Kristoffer Ericson wrote: It worked earlier for unknown reasons, but no longer does. It has only worked once. Erasing all the flash (aside from first 512kb) works without any error messages, but when trying to flash it still

Re: [U-Boot] [PATCH 2/3] omap3evm: Add board revision function

2010-06-08 Thread Paulraj, Sandeep
Subject: [U-Boot] [PATCH 2/3] omap3evm: Add board revision function Added function to differentiate between the OMAP3EVM revisions. The chip-id of the ethernet PHY is being used for this purpose. Rev A to D : 0x0115 Rev = E : 0x9220 Signed-off-by: Vaibhav Hiremath hvaibhav

Re: [U-Boot] [PATCH] SAMSUNG: goni: add the GPL licence

2010-06-08 Thread Tom Rix
Minkyu Kang wrote: Signed-off-by: Minkyu Kang mk7.k...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- board/samsung/goni/config.mk | 20 +++- 1 files changed, 19 insertions(+), 1 deletions(-) diff --git a/board/samsung/goni/config.mk

Re: [U-Boot] [PATCH] [v2] powerpc: add support for the Freescale P1022DS reference board

2010-06-08 Thread Timur Tabi
Timur Tabi wrote: Add basic suport for the Freescale P1022DS reference board. Specifics: 1) 36-bit only 2) Booting from NOR flash only 3) Environment stored in NOR flash only 4) No SPI support 5) No DIU support Signed-off-by: Timur Tabi ti...@freescale.com --- Any comments on this

Re: [U-Boot] [PATCH V2 03/10] 83xx/85xx/86xx: LBC register cleanup

2010-06-08 Thread Kim Phillips
On Tue, 8 Jun 2010 12:28:48 -0500 Becky Bruce bec...@kernel.crashing.org wrote: On Jun 8, 2010, at 12:09 PM, Kim Phillips wrote: On Tue, 8 Jun 2010 11:15:07 -0500 Becky Bruce bec...@kernel.crashing.org wrote: This isn't *ELBC*, it's the existence of any sort of LBC. ELBC is

Re: [U-Boot] [PATCH 2/2] arm: cortexa9: adding support for TI OMAP4430 SDP

2010-06-08 Thread John Rigby
Looks like mpc85xx and mpc86xx share: ifeq ($(CPU),mpc85xx) LIBS += drivers/qe/qe.a LIBS += arch/powerpc/cpu/mpc8xxx/ddr/libddr.a LIBS += arch/powerpc/cpu/mpc8xxx/lib8xxx.a endif ifeq ($(CPU),mpc86xx) LIBS += arch/powerpc/cpu/mpc8xxx/ddr/libddr.a LIBS += arch/powerpc/cpu/mpc8xxx/lib8xxx.a endif

Re: [U-Boot] [PATCH V2 03/10] 83xx/85xx/86xx: LBC register cleanup

2010-06-08 Thread Becky Bruce
On Jun 8, 2010, at 1:43 PM, Kim Phillips wrote: On Tue, 8 Jun 2010 12:28:48 -0500 Becky Bruce bec...@kernel.crashing.org wrote: On Jun 8, 2010, at 12:09 PM, Kim Phillips wrote: On Tue, 8 Jun 2010 11:15:07 -0500 Becky Bruce bec...@kernel.crashing.org wrote: This isn't *ELBC*, it's the

Re: [U-Boot] [PATCH 2/3] omap3evm: Add board revision function

2010-06-08 Thread Mike Frysinger
On Tuesday, June 08, 2010 05:05:55 Ajay Kumar Gupta wrote: Signed-off-by: Vaibhav Hiremath hvaibhav at ti.com Signed-off-by: Sanjeev Premi premi at ti.com Signed-off-by: Ajay Kumar Gupta ajay.gupta at ti.com this are all invalid e-mails that need fixing -mike signature.asc Description: This

Re: [U-Boot] [PATCH 1/3] musb: Add Phy programming for using external Vbus

2010-06-08 Thread Mike Frysinger
On Tuesday, June 08, 2010 05:05:54 Ajay Kumar Gupta wrote: MUSB PHY on OMAP3EVM Rev = E uses external Vbus supply to support 500mA of power.We need to program MUSB PHY to use external Vbus for this purpose. Adding 'extvbus' member in musb_config structure which should be set by all the

Re: [U-Boot] [PATCH 1/4] Atmel Dataflash: convert to C struct accessors

2010-06-08 Thread Mike Frysinger
On Tuesday, June 08, 2010 08:24:33 Thomas Petazzoni wrote: On Mon, 7 Jun 2010 18:52:03 -0400 Mike Frysinger wrote: i have to ask ... what exactly is the advantage of the dataflash driver over the common spi flash drivers ? ive looked a bit and cant pick anything out. better to just scuttle

Re: [U-Boot] [PATCH] [v2] tsec: fix the return value for tsec_eth_init() and tsec_standard_init()

2010-06-08 Thread Mike Frysinger
On Tuesday, June 08, 2010 10:34:28 Timur Tabi wrote: Mike Frysinger wrote: the documentation currently states that a negative value is permissible and thus int is correct. as for the code that actually reads the result, that is by large common code, so logic along those lines isnt

[U-Boot] nand_plat extensions with GPIO framework

2010-06-08 Thread Mike Frysinger
i'm in the process of merging the GPIO layer from Linux into the Blackfin port (well, it's already done, so now i'm just converting drivers over to it). as i'm sure you're aware, the GPIO framework in Linux provides a common API across all ports, so anyone who supports asm/gpio.h is going to

Re: [U-Boot] [PATCH] OMAP3: pandora: enable battery backup capacitor

2010-06-08 Thread Paulraj, Sandeep
CCing Sandeep. On Thu, Apr 29, 2010 at 5:52 PM, Grazvydas Ignotas nota...@gmail.com wrote: Pandora has a capacitor connected as backup battery, which allows retaining RTC for some time while main battery is removed. Enable backup battery charge function to charge that capacitor.

Re: [U-Boot] [PATCH] OMAP3: remove unused config macros

2010-06-08 Thread Paulraj, Sandeep
Just a ping. Sandeep, maybe you could pick this? Those defines are mostly dead code. Not pushed yet. I have cc'ed all the concerned board maintainers in case they have an objection. On Thu, Apr 29, 2010 at 5:19 PM, Grazvydas Ignotas nota...@gmail.com wrote: Most OMAP3 boards have

Re: [U-Boot] [PATCH] OMAP3: remove unused config macros

2010-06-08 Thread Steve Sakoman
On Tue, Jun 8, 2010 at 2:30 PM, Paulraj, Sandeep s-paul...@ti.com wrote: Just a ping. Sandeep, maybe you could pick this? Those defines are mostly dead code. Not pushed yet. I have cc'ed all the concerned board maintainers in case they have an objection. No objections: Acked-by: Steve

Re: [U-Boot] [PATCH] logbuff: Prevent an infinite loop for console output

2010-06-08 Thread Wolfgang Denk
Dear Peter Tyser, In message 1273253668.22784.57.ca...@localhost.localdomain you wrote: Hm. What if a board has stdout set to lcd or nc or any other device? Do we really want the text to be output on the serial console then? Doesn't this break the whole stdout concept? Yes, it does

Re: [U-Boot] [PATCH] logbuff: Prevent an infinite loop for console output

2010-06-08 Thread Peter Tyser
Hi Wolfgang, I agree this fix isn't the best, but its better than the bug in my opinion. Ideally someone who uses the logbuff could provide a more elegant fix. Any takers? I don't want to replace one bug (that bites you) with another one ( that bites somebody else). I think the bug

Re: [U-Boot] [PATCH] SAMSUNG: goni: add the GPL licence

2010-06-08 Thread Minkyu Kang
On 9 June 2010 03:29, Tom Rix t...@bumblecow.com wrote: Minkyu Kang wrote: Signed-off-by: Minkyu Kang mk7.k...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---  board/samsung/goni/config.mk |   20 +++-  1 files changed, 19 insertions(+), 1 deletions(-)

[U-Boot] Please pull u-boot-samsung/master

2010-06-08 Thread Minkyu Kang
The following changes since commit 922d27b596c179c5a7d68abe45ede5adb1b6589c: Minkyu Kang (1): Merge branch 'master' of git://git.denx.de/u-boot-arm are available in the git repository at: git://git.denx.de/u-boot-samsung master Minkyu Kang (3): s5pc1xx: gpio: bug fix at

Re: [U-Boot] nand_plat extensions with GPIO framework

2010-06-08 Thread Thomas Chou
Mike Frysinger wrote: i'm in the process of merging the GPIO layer from Linux into the Blackfin port (well, it's already done, so now i'm just converting drivers over to it). as i'm sure you're aware, the GPIO framework in Linux provides a common API across all ports, so anyone who

[U-Boot] [PATCH 1/2] nios2: add gpio_request

2010-06-08 Thread Thomas Chou
This will be used by nand_plat. Signed-off-by: Thomas Chou tho...@wytron.com.tw --- arch/nios2/include/asm/gpio.h |6 ++ board/altera/nios2-generic/gpio.c |5 + 2 files changed, 11 insertions(+), 0 deletions(-) diff --git a/arch/nios2/include/asm/gpio.h

[U-Boot] [PATCH 2/2] gpio_led: add gpio_request to __led_init

2010-06-08 Thread Thomas Chou
This patcha adds the gpio usage request. Signed-off-by: Thomas Chou tho...@wytron.com.tw --- drivers/misc/gpio_led.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/misc/gpio_led.c b/drivers/misc/gpio_led.c index acd6a90..e00b9fa 100644 ---

[U-Boot] Fw:Re: Fw:How can I use yaffs2 in uboot

2010-06-08 Thread jackfriend
Sounds like a pretty clear error message - doesn't it? Increase CONFIG_SYS_MALLOC_LEN in your bard config file. [It might make sense to improve the error message in fs/yaffs2/yaffs_guts.c to include information how many bytes were to be allocated, so you get an idea on how uch to increase the

Re: [U-Boot] [PATCH v2] misc: add gpio based status led driver

2010-06-08 Thread Mike Frysinger
On Tuesday, April 20, 2010 20:45:12 Thomas Chou wrote: +void __led_init(led_id_t mask, int state) +{ + gpio_direction_output(mask, (state == STATUS_LED_ON) ? 0 : 1); +} + +void __led_set(led_id_t mask, int state) +{ + gpio_set_value(mask, (state == STATUS_LED_ON) ? 0 : 1); +} are

[U-Boot] [PATCH 2/2 v2] gpio_led: add gpio_request to __led_init

2010-06-08 Thread Thomas Chou
This patch adds the gpio usage request. The polarity is changed to positive as suggested by Mike Frysinger. Signed-off-by: Thomas Chou tho...@wytron.com.tw --- v2: fix typo, change led polarity drivers/misc/gpio_led.c | 12 1 files changed, 4 insertions(+), 8 deletions(-) diff

Re: [U-Boot] [PATCH 2/2] gpio_led: add gpio_request to __led_init

2010-06-08 Thread Thomas Chou
Mike Frysinger wrote: On Tuesday, June 08, 2010 21:51:10 Thomas Chou wrote: This patcha adds the gpio usage request. patch. otherwise, i wish i knew about this driver earlier as i ended up writing a similar thing for Blackfin systems with the GPIO framework :/. Signed-off-by: Mike

Re: [U-Boot] nand_plat extensions with GPIO framework

2010-06-08 Thread Mike Frysinger
On Tuesday, June 08, 2010 20:58:50 Thomas Chou wrote: Thanks. This is what I have been looking for. Nios2 has asm/gpio.h already, then I added gpio_request() and tested on my boards. i couldnt seem to find anyone else who had imported asm/gpio.h yet, but i guess was looking in the wrong