Remove the repeated USB descriptor code and use usbdescriptors.h file.
ch9.h file has been copied from linux and is needed for USB gadget
related work.
Now usbdescriptors.h and ch9.h shall be used together.
Signed-off-by: Lukasz Majewski l.majew...@samsung.com
Signed-off-by: Kyungmin Park
Signed-off-by: Lukasz Majewski l.majew...@samsung.com
Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com
Cc: Marek Vasut ma...@denx.de
---
include/linux/usb/gadget.h |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/include/linux/usb/gadget.h
This patch set provides support for composite gadget framework.
Files from Linux kernel (2.6.36) - namely composite.{c|h} have been
ported.
Some extra compatibility code has been added as well.
Lukasz Majewski (4):
usb:gadget:composite Composite framework - files from Linux kernel
Two files from Linux kernel source tree have been ported
to u-boot (Linux Kernel v2.6.36):
./include/linux/usb/composite.h
./drivers/usb/gadget/composite.c
commit d187abb9a83e6c6b6e9f2ca17962bdeafb4bc903
Author: Randy Dunlap randy.dun...@oracle.com
Date: Wed Aug 11 12:07:13 2010 -0700
This commit fixes Linux kernel's composite.{h/c} code to work with u-boot.
Signed-off-by: Lukasz Majewski l.majew...@samsung.com
Signed-off-by: Andrzej Pietrasiewicz andrze...@samsung.com
Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com
Cc: Marek Vasut ma...@denx.de
---
Add device data pointer to the USB gadget's device struct.
Signed-off-by: Lukasz Majewski l.majew...@samsung.com
Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com
Cc: Marek Vasut ma...@denx.de
---
include/linux/usb/gadget.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff
This commit adds support for storing private data to Samsung's UDC
driver. This data is afterward used by usb gadget.
Signed-off-by: Lukasz Majewski l.majew...@samsung.com
Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com
Cc: Marek Vasut ma...@denx.de
---
drivers/usb/gadget/s3c_udc_otg.c |
Composite USB download gadget (g_dnl) for download functions (e.g. DFU,
THOR, others)
Signed-off-by: Lukasz Majewski l.majew...@samsung.com
Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com
Cc: Marek Vasut ma...@denx.de
---
drivers/usb/gadget/Makefile |1 +
drivers/usb/gadget/g_dnl.c |
This patch series provides a composite gadget for downloading code
to u-boot targets.
The Linux's composite gadget framework is used. For this series a
special function (f_usbd_thor) has been added. It supports a THOR
protocol for sending data.
Other functions and protocols backends can be
Support for usbdownload command, which starts USB Downloading process
compliant with Samsung's THOR protocol.
Signed-off-by: Lukasz Majewski l.majew...@samsung.com
Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com
Cc: Marek Vasut ma...@denx.de
---
common/Makefile |1 +
Support for THOR download protocol. Those files are necessary for
proper f_usbd_thor function proper work.
Signed-off-by: Lukasz Majewski l.majew...@samsung.com
Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com
Cc: Marek Vasut ma...@denx.de
---
drivers/usb/gadget/prot_thor.c | 247
Implementation of USB Download function supporting THOR protocol.
Signed-off-by: Lukasz Majewski l.majew...@samsung.com
Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com
Cc: Marek Vasut ma...@denx.de
---
drivers/usb/gadget/Makefile |1 +
drivers/usb/gadget/f_usbd_thor.c | 808
Signed-off-by: Lukasz Majewski l.majew...@samsung.com
Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com
Cc: Minkyu Kang mk7.k...@samsung.com
---
board/samsung/trats/trats.c |8
include/configs/trats.h | 17 +
2 files changed, 25 insertions(+), 0
Support for g_dnl download usb gadget driver for Samsung's GONI target.
Signed-off-by: Lukasz Majewski l.majew...@samsung.com
Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com
Cc: Minkyu Kang mk7.k...@samsung.com
---
board/samsung/goni/goni.c |8
include/configs/s5p_goni.h |
Dear Lukasz Majewski,
Remove the repeated USB descriptor code and use usbdescriptors.h file.
ch9.h file has been copied from linux and is needed for USB gadget
related work.
Now usbdescriptors.h and ch9.h shall be used together.
Please don't expect my response on these patches earlier than
Dear Wolfgang Denk,
Dear Fabio Estevam,
In message 1334158122-15219-1-git-send-email-feste...@gmail.com you wrote:
Add basic support for mx6qsabresd board.
Signed-off-by: Fabio Estevam fabio.este...@freescale.com
Could you please add a bit information which sort of board this is,
Donghwa,
On 11 April 2012 04:28, Anatolij Gustschin ag...@denx.de wrote:
Hi,
On Fri, 06 Apr 2012 14:36:07 +0900
Donghwa Lee dh09@samsung.com wrote:
This patch support EXYNOS display drivers including Framebuffer and
MIPI DSI interface version 2.
[PATCH v2 1/7] EXYNOS: definitions of
Hi Marek,
Dear Lukasz Majewski,
Remove the repeated USB descriptor code and use usbdescriptors.h
file. ch9.h file has been copied from linux and is needed for USB
gadget related work.
Now usbdescriptors.h and ch9.h shall be used together.
Please don't expect my response on these
Hi, I have some questions about tools/bmp_logo.c that converts from *.bmp to
include/bmp_logo* header files.
I think bmp_logo.c can't support various *.bmp files becuase it uses
bmp_logo_palette[]
that limited size to 240. It seems to assumed working with an 8-bits files.
When image files have
Dear u-boot,
I'm about to cooperate more with you here in the U-Boot list and thought that
introducing myself first would be in order.
My name is Timo Ketola. I work for a smallish (17 fellows) finnish company
called Exertus (www.exertus.fi). I have a 25 year career on embedded systems.
These are the fixes I needed to do to get my board going.
[PATCH 1/8] i.MX25: add mxc_get_clock infrastructure
SD-controller (fsl_esdhc.c) needs a clock frequency in gd-sdhc_clk. I tried
to follow the idea of other architectures.
[PATCH 2/8] i.MX: Add target flashable to offset 0
Helps
Signed-off-by: Timo Ketola t...@exertus.fi
---
arch/arm/cpu/arm926ejs/mx25/generic.c | 27 +++
arch/arm/include/asm/arch-mx25/clock.h | 23 +++
2 files changed, 50 insertions(+), 0 deletions(-)
diff --git a/arch/arm/cpu/arm926ejs/mx25/generic.c
Signed-off-by: Timo Ketola t...@exertus.fi
---
.gitignore |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
index e4e95e2..3f5eaa7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,6 +15,9 @@
*.patch
*.bin
+# Build tree
+/build-*
+
#
#
.imx image directly from mkimage must be flashed at offset 0x400 into the nand.
Thats a little hard with e.g. openocd.
Signed-off-by: Timo Ketola t...@exertus.fi
---
Makefile |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 1446131..b3f1279
Signed-off-by: Timo Ketola t...@exertus.fi
---
drivers/gpio/mxc_gpio.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/gpio/mxc_gpio.c b/drivers/gpio/mxc_gpio.c
index df6..b5972fd 100644
--- a/drivers/gpio/mxc_gpio.c
+++ b/drivers/gpio/mxc_gpio.c
@@ -40,7
Signed-off-by: Timo Ketola t...@exertus.fi
---
boards.cfg |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/boards.cfg b/boards.cfg
index 28cc345..44e80ed 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -155,6 +155,7 @@ rd6281a arm arm926ejs -
Signed-off-by: Timo Ketola t...@exertus.fi
---
drivers/net/fec_mxc.c | 41 ++---
1 files changed, 22 insertions(+), 19 deletions(-)
diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c
index 1fdd071..5d11df2 100644
--- a/drivers/net/fec_mxc.c
+++
Signed-off-by: Timo Ketola t...@exertus.fi
---
drivers/mtd/nand/mxc_nand.c | 35 +++
1 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c
index 35e89a0..73813a2 100644
---
Signed-off-by: Timo Ketola t...@exertus.fi
---
drivers/usb/host/ehci-mxc.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/host/ehci-mxc.c b/drivers/usb/host/ehci-mxc.c
index 61dbccd..65f40a4 100644
--- a/drivers/usb/host/ehci-mxc.c
+++
Hi Timo,
On Thu, Apr 12, 2012 at 6:33 AM, Timo Ketola t...@exertus.fi wrote:
Signed-off-by: Timo Ketola t...@exertus.fi
---
boards.cfg | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
Thanks for your contributions.
Please provide some more details in the commit message about this
On 11/04/2012 17:28, Fabio Estevam wrote:
Add basic support for mx6qsabresd board.
Signed-off-by: Fabio Estevam fabio.este...@freescale.com
Hi Fabio,
---
MAINTAINERS |1 +
board/freescale/mx6qsabresd/Makefile | 37 ++
On 12.04.2012 13:43, Fabio Estevam wrote:
Please provide some more details in the commit message about this
board, which peripherals are currently supported, where does it boot
from, etc.
Please also add an entry for your board in the MAINTAINERS file.
You seem to have missed to do a git add
This patchset is supported the sdhci controller for Samsung-SoC.
In mmc driver, already implemented the generic sdhci.
There is no reason that didn't use sdhci.c.
So, use the sdhci instead of s5p_mmc.
Changelog-v5:
- Tested with goni/trats board
- Fixed wrong condition checking
When response type is R1b, mask value is added the SDHCI_INT_DAT_END.
but in while(), didn't check that flag.
So sdhci controller didn't work fine.
CMD6 didn't always complete.
So add the quirks for broken r1b response
and add the timeout value to prevent the infinite loop.
Signed-off-by:
To support the Samsung-SoC, added the basically functions.
Samsung-SoC didn't used the SDHCI_CTRL_HISPD.
And added set_control_reg callback for s3c64xx.
Signed-off-by: Jaehoon Chung jh80.ch...@samsung.com
Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com
Acked-by: Lei Wenlei...@marvell.com
In driver mmc, generic s5p_sdhci code is implemented.
s5p_mmc file is dupulicated.
we are good that use the generic sdhci.
This patch supported the sdhci for Samsung-SoC.
Signed-off-by: Jaehoon Chung jh80.ch...@samsung.com
Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com
Acked-by: Lei
To support sdhci controller, remove the CONFIG_S5P_MMC..
Instead, use the CONFIG_S5P_SDHCI/CONFIG_SDHCI.
Signed-off-by: Jaehoon Chung jh80.ch...@samsung.com
Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com
Acked-by: Lei Wenlei...@marvell.com
---
include/configs/origen.h|3
On 12/04/2012 11:33, Timo Ketola wrote:
.imx image directly from mkimage must be flashed at offset 0x400 into the
nand. Thats a little hard with e.g. openocd.
Signed-off-by: Timo Ketola t...@exertus.fi
---
Hi Timo,
Makefile |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
On 12/04/2012 11:33, Timo Ketola wrote:
Signed-off-by: Timo Ketola t...@exertus.fi
---
Hi Timo,
+/u-boot.geany
What is this ? I do not find any occurency in u-boot tree.
Best regards,
Stefano Babic
--
=
DENX Software
On 12/04/2012 11:33, Timo Ketola wrote:
Signed-off-by: Timo Ketola t...@exertus.fi
---
drivers/gpio/mxc_gpio.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/gpio/mxc_gpio.c b/drivers/gpio/mxc_gpio.c
index df6..b5972fd 100644
---
On 12.04.2012 14:11, Stefano Babic wrote:
On 12/04/2012 11:33, Timo Ketola wrote:
+$(obj)u-boot-nand.imx: $(obj)u-boot.imx
+ dd if=$ of=$@ seek=2
+
I wonder why we need this in u-boot code and to set this rule in the
main Makefile. You can always do this after generating
On 12.04.2012 14:13, Stefano Babic wrote:
+/u-boot.geany
What is this ? I do not find any occurency in u-boot tree.
It is my IDE control file. I didn't want to publish this patch at all but I
have still a lot of learning about git.
--
Timo
___
On 12/04/2012 13:24, Timo Ketola wrote:
On 12.04.2012 14:13, Stefano Babic wrote:
+/u-boot.geany
What is this ? I do not find any occurency in u-boot tree.
It is my IDE control file. I didn't want to publish this patch at all
but I have still a lot of learning about git.
Ah, ok, do not
On 12.04.2012 15:00, Stefano Babic wrote:
Can be helpful for you to define your global .gitignore ...
OK, thanks for that tip!
--
Timo
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
On 12/04/2012 11:33, Timo Ketola wrote:
Signed-off-by: Timo Ketola t...@exertus.fi
---
Hi Timo,
drivers/net/fec_mxc.c | 41 ++---
1 files changed, 22 insertions(+), 19 deletions(-)
diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c
index
On 12/04/2012 11:33, Timo Ketola wrote:
Signed-off-by: Timo Ketola t...@exertus.fi
---
boards.cfg |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/boards.cfg b/boards.cfg
index 28cc345..44e80ed 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -155,6 +155,7 @@ rd6281a
On 12.04.2012 15:06, Stefano Babic wrote:
+exe4026 arm arm926ejs exe4026
exertusmx25
exe4026:IMX_CONFIG=board/exertus/exe4026/imximage.cfg
I assume you write also some code for this board. Maybe forgotten ?
Yes, later. I have
Dear Timo Ketola,
In message 1334223234-23383-5-git-send-email-t...@exertus.fi you wrote:
Signed-off-by: Timo Ketola t...@exertus.fi
---
drivers/gpio/mxc_gpio.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/gpio/mxc_gpio.c b/drivers/gpio/mxc_gpio.c
Dear Timo Ketola,
In message 1334223234-23383-6-git-send-email-t...@exertus.fi you wrote:
Signed-off-by: Timo Ketola t...@exertus.fi
---
drivers/net/fec_mxc.c | 41 ++---
1 files changed, 22 insertions(+), 19 deletions(-)
...
+ // FIXME: useless
On 12.04.2012 15:10, Wolfgang Denk wrote:
Please make sure to run your patches through checkpatch !
Sorry about that.
Now I could use some help about how to best edit my commits...
--
Timo
___
U-Boot mailing list
U-Boot@lists.denx.de
On 12/04/2012 14:09, Timo Ketola wrote:
On 12.04.2012 15:06, Stefano Babic wrote:
+exe4026 arm arm926ejs
exe4026 exertusmx25
exe4026:IMX_CONFIG=board/exertus/exe4026/imximage.cfg
Hi Timo,
I assume you write also some code for this
Hello All,
This patch is a little heads-up for my upcomming INIT_FUNC patch series
This is the INIT_FUNC 'engine' - It processes a file which consists of
entries created by the following macros:
#define INIT_FUNC(fn, init_name, man_reqs, pre_reqs, post_reqs) \
static const char
Hi Graeme,
[...]
Now I just need to write the code that will order the function list
Did you check 'man tsort'?
Cheers
Detlev
--
I've been examining the existing [linux] kernel configuration system, and I
have about concluded that the best favor we could do everybody involved with
it is
Hi Timo,
On 12.04.2012 15:10, Wolfgang Denk wrote:
Please make sure to run your patches through checkpatch !
Sorry about that.
Now I could use some help about how to best edit my commits...
What works very nicely for me is to do the changes, do git add on them
and then do a
COMMIT=commit
On 12.04.2012 15:05, Stefano Babic wrote:
On 12/04/2012 11:33, Timo Ketola wrote:
Signed-off-by: Timo Ketolat...@exertus.fi
--- a/drivers/net/fec_mxc.c
+++ b/drivers/net/fec_mxc.c
Please consider to rebase your patch on u-boot-imx, next branch. There
are already a couple of patches related
Dear Graeme Russ,
In message 4f86cdf0.2030...@gmail.com you wrote:
This patch is a little heads-up for my upcomming INIT_FUNC patch series
This is the INIT_FUNC 'engine' - It processes a file which consists of
entries created by the following macros:
#define INIT_FUNC(fn, init_name,
On 12/04/2012 15:16, Timo Ketola wrote:
On 12.04.2012 15:05, Stefano Babic wrote:
On 12/04/2012 11:33, Timo Ketola wrote:
Signed-off-by: Timo Ketolat...@exertus.fi
--- a/drivers/net/fec_mxc.c
+++ b/drivers/net/fec_mxc.c
Please consider to rebase your patch on u-boot-imx, next branch.
Dear Daniel Schwierzeck,
Hi Marek,
On Thu, Apr 12, 2012 at 5:44 AM, Marek Vasut ma...@denx.de wrote:
...
thanks for picking this up but as I wrote in the other thread those
patches are obsolete
for now. That's why I extracted the three bugfix patches and resent a
separate series.
On 03/17/2012 03:05 PM, Wolfgang Denk wrote:
Dear Aneesh V,
In message4f153c83.20...@ti.com you wrote:
What is your final call on this? The above arguments sound convincing
to me, but I have to admit that I am no legal expert. Either way, it
will be great to have a closure on this. Lack of
Hi all,
Anyone working on imx53 NAND-FLASH support ?
Kind regards,
Noel
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
I just tried the latest u-boot/master, at commit:
3f0675d Merge branch 'marek.va...@gmail.com' of
git://git.denx.de/u-boot-staging
This fails to boot a Linux kernel on my ARM Tegra board; the boot log is:
## Booting kernel from Legacy Image at 00408000 ...
Image Name:
only option I found that worked was to use an armv4 toolchain for
the
armv4 bits and armv7 toolchain for the armv7 bits.
I'm not an expert in this area, but this cannot be the right
approach.
Did you try asking on the binutils mailing list? This is where
experts should be available...
On 11.04.2012 22:22, Fabio Estevam wrote:
There is a 'gpio_direction_output(87, 0);' call previously, so the GPIO
direction is
already established.
Use gpio_set_value() for changing the GPIO output then.
Signed-off-by: Fabio Estevamfabio.este...@freescale.com
---
On 4/12/2012 2:33 AM, Timo Ketola wrote:
Signed-off-by: Timo Ketolat...@exertus.fi
---
drivers/net/fec_mxc.c | 41 ++---
1 files changed, 22 insertions(+), 19 deletions(-)
diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c
index 1fdd071..5d11df2
On 12.04.2012 22:59, Troy Kisky wrote:
On 4/12/2012 2:33 AM, Timo Ketola wrote:
Signed-off-by: Timo Ketolat...@exertus.fi
+ if (speed == _100BASET)
This will break gigabit speed. How about
if (speed != _10BASET)
Looks fine to me. I'll put it that way in v2.
--
Timo
Sorry for not properly threading, just joined the list formally.
inre: the subject, already replied to the author directly, but the
following comments:
The 'retriy' is post-decremented so the failure compare should be for -1.
The word 'status' is misspelled as 'stauts.
Other than that, LGTM
Dear Allen Martin,
In message 3c7a7aca8617d24290826ec008b5cd08510f030...@hqmail03.nvidia.com you
wrote:
Did you try asking on the binutils mailing list? This is where
experts should be available...
I drilled down on this some more and I found that with an armv4t
linker I can force it
Hi Wolfgang,
On Thu, Apr 12, 2012 at 11:28 PM, Wolfgang Denk w...@denx.de wrote:
Dear Graeme Russ,
In message 4f86cdf0.2030...@gmail.com you wrote:
This patch is a little heads-up for my upcomming INIT_FUNC patch series
This is the INIT_FUNC 'engine' - It processes a file which consists of
Hi Terry.
You're right.
I sent the patch-v5..did you check them?
Best Regards,
Jaehoon Chung
On 04/13/2012 05:21 AM, Terry Lambert wrote:
Sorry for not properly threading, just joined the list formally.
inre: the subject, already replied to the author directly, but the
following comments:
On 12 April 2012 19:59, Jaehoon Chung jh80.ch...@samsung.com wrote:
In driver mmc, generic s5p_sdhci code is implemented.
s5p_mmc file is dupulicated.
we are good that use the generic sdhci.
This patch supported the sdhci for Samsung-SoC.
Signed-off-by: Jaehoon Chung jh80.ch...@samsung.com
On 12 April 2012 19:59, Jaehoon Chung jh80.ch...@samsung.com wrote:
To support sdhci controller, remove the CONFIG_S5P_MMC..
Instead, use the CONFIG_S5P_SDHCI/CONFIG_SDHCI.
Signed-off-by: Jaehoon Chung jh80.ch...@samsung.com
Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com
Acked-by:
Hi Wolfgang, Detlev
But, tsort works on paired entries, while INIT_FUNC allows functions to
have multiple dependencies. So to use tsort, I will need to process the
list to produce entry pairs - That should be a pretty simple operation.
Well the solution appears to be trivial anyway:
On 12.04.2012 16:09, Detlev Zundel wrote:
What works very nicely for me is to do the changes, do git add on them
and then do a
COMMIT=commit ; git commit --squash=$COMMIT ; git rebase -i --autosquash
${COMMIT}^
Thanks - thats the kind of handholding I'm missing...
--
Timo
Hi folks,
My name is Allyson,
I need put u-boot on my board with ARM 920t (at91rm9200)
When I build u-boot-1.1.6 it is worked ok, but if I build u-boot-2011 don't
work.
I need help ... please!
Tks for all.
--
View this message in context:
Hi Allyson,
On Fri, Apr 13, 2012 at 1:57 PM, Allyson allyson...@gmail.com wrote:
Hi folks,
My name is Allyson,
I need put u-boot on my board with ARM 920t (at91rm9200)
When I build u-boot-1.1.6 it is worked ok, but if I build u-boot-2011 don't
work.
I need help ... please!
And we will
75 matches
Mail list logo