On Mon, Jul 21, 2014 at 11:37:37PM +0200, Pavel Machek wrote:
>
> It took me a while to figure out syntax of tftp command, document that
> server address is taken from environment.
>
> Signed-off-by: Pavel Machek
Applied, thanks
Sascha
>
> diff --git a/commands/tftp.c b/commands/tftp.c
> in
Hi Sebastian,
On Mon, Jul 21, 2014 at 12:43:13PM +0200, ba...@linux-source.de wrote:
> Signed-off-by: Sebastian Block
> ---
> arch/arm/lib/bootm.c |2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c
> index 4896d01..d9b9111 100
It took me a while to figure out syntax of tftp command, document that
server address is taken from environment.
Signed-off-by: Pavel Machek
diff --git a/commands/tftp.c b/commands/tftp.c
index c066631..62b9424 100644
--- a/commands/tftp.c
+++ b/commands/tftp.c
@@ -92,7 +92,8 @@ err_free:
}
On Mon, 21 Jul 2014 19:41:50 +0400
Antony Pavlov wrote:
> On Mon, 21 Jul 2014 10:11:50 +0200
> Sascha Hauer wrote:
>
> > On Mon, Jul 21, 2014 at 11:10:25AM +0400, Antony Pavlov wrote:
> > > On Mon, 21 Jul 2014 08:41:06 +0200
> > > Sascha Hauer wrote:
> > >
> > > > On Sun, Jul 20, 2014 at 09:5
The configuration for NAND has been aligned with values
from U-Boot and completed with TIMINGS initialization
Signed-off-by: Matteo Fortini
---
arch/arm/boards/sama5d3xek/init.c | 29 +++--
1 file changed, 19 insertions(+), 10 deletions(-)
diff --git a/arch/arm/boards/sa
As stated in section 29.19.35 of SAMA5D3 Series Datasheet,
MODE register has offset 0x10 and at offset 0x0C there is
a TIMINGS register.
Signed-off-by: Matteo Fortini
---
arch/arm/mach-at91/include/mach/at91sam9_smc.h | 34 ++-
arch/arm/mach-at91/sam9_smc.c |
As we discussed on the list, I used a single struct and two different config
functions
[PATCH 1/2] sama5d3x: fix HSMC MODE register offset and add TIMINGS
[PATCH 2/2] sama5d3x: HSMC NAND initialize TIMINGS and import values
___
barebox mailing list
bar
On Mon, 21 Jul 2014 10:11:50 +0200
Sascha Hauer wrote:
> On Mon, Jul 21, 2014 at 11:10:25AM +0400, Antony Pavlov wrote:
> > On Mon, 21 Jul 2014 08:41:06 +0200
> > Sascha Hauer wrote:
> >
> > > On Sun, Jul 20, 2014 at 09:55:22AM +0400, Antony Pavlov wrote:
> > > > On Sat, 19 Jul 2014 21:02:22 +0
When a USB console is registered on the command line it doesn't make
much sense to disable it in the core. Always enable the USB console
to make it usable without additional commands when registered.
Signed-off-by: Sascha Hauer
---
drivers/usb/gadget/u_serial.c | 2 ++
1 file changed, 2 insertio
This function allows drivers to create a string parameter and
provides access to it via a pointer. Using regular dev_add_param
only allows access via dev_get_param().
Signed-off-by: Sascha Hauer
---
include/param.h | 13 ++
lib/parameter.c | 76 +++
When we want to create a composite device dfu_bind_config will not
be called for a composite device. Move the initialisation needed
by both the composite device and the single function device from
dfu_bind_config to dfu_bind.
Signed-off-by: Sascha Hauer
---
drivers/usb/gadget/dfu.c | 74
Signed-off-by: Sascha Hauer
---
drivers/usb/gadget/composite.c | 7 ++-
include/usb/composite.h| 2 ++
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c
index 37c67d5..ba3b9da 100644
--- a/drivers/usb/gadget/c
This introduces the device parameters:
usbgadget.product
usbgadget.vendor
usbgadget.manufacturer
usbgadget.productname
These variables are used to configure the USB vendor id, product id,
manufacturer name and product name.
Previously these were configured with arguments to the usbserial
and dfu
There's no reason to have them under include/
Signed-off-by: Sascha Hauer
---
drivers/usb/gadget/dfu.c | 66 +++
include/usb/dfu.h| 67
2 files changed, 66 insertions(+), 67 deletions(-)
diff --
This series is a huge rework of the USB Gadget stack. Highlights
are:
- Update the Gadget stack to Linux-3.15
- Make USB serial support non experimental
- Add Android Fastboot support
- Add Composite Multifunction Device support
Sascha
Currently we only have version_string which contains information
about the date the binary was compiled and by whom it has been
compiled. This adds a release_string which only contains the
plain release version.
Signed-off-by: Sascha Hauer
---
common/version.c | 4
include/common.h | 1 +
2
Signed-off-by: Sascha Hauer
---
Documentation/user/usb.rst | 48 ++
1 file changed, 48 insertions(+)
diff --git a/Documentation/user/usb.rst b/Documentation/user/usb.rst
index f67a2f1..7cdd6ac 100644
--- a/Documentation/user/usb.rst
+++ b/Documentation
Signed-off-by: Sascha Hauer
---
Documentation/user/usb.rst | 7 +++
1 file changed, 7 insertions(+)
diff --git a/Documentation/user/usb.rst b/Documentation/user/usb.rst
index 8b700d3..f67a2f1 100644
--- a/Documentation/user/usb.rst
+++ b/Documentation/user/usb.rst
@@ -88,3 +88,10 @@ the foll
Instead of allocating string ids one by one use usb_gstrings_attach()
to simplify things.
Signed-off-by: Sascha Hauer
---
drivers/usb/gadget/dfu.c | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/drivers/usb/gadget/dfu.c b/drivers/usb/gadget/dfu.c
index
The app idle state hasn't been correctly implemented. It isn't useful
for barebox anyway since in barebox there is no app running we have
to stop first. We can just start in DFU mode.
Signed-off-by: Sascha Hauer
---
drivers/usb/gadget/dfu.c | 42 ++
1 file
Signed-off-by: Sascha Hauer
---
drivers/usb/gadget/fsl_udc.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/usb/gadget/fsl_udc.c b/drivers/usb/gadget/fsl_udc.c
index 3cfeb8a..5266fb6 100644
--- a/drivers/usb/gadget/fsl_udc.c
+++ b/drivers/usb/gadget/fsl_udc.c
@@ -1047,6 +1047,11
Make sure usb_composite_unregister() is called after usb_composite_probe()
Signed-off-by: Sascha Hauer
---
drivers/usb/gadget/dfu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/dfu.c b/drivers/usb/gadget/dfu.c
index 616d7ad..1d35f50 100644
--- a/drivers/
Instead of returning succesfully when ctrl-c is pressed return
with -EINTR.
Signed-off-by: Sascha Hauer
---
drivers/usb/gadget/dfu.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/dfu.c b/drivers/usb/gadget/dfu.c
index 1d35f50..ca7462b 100644
--- a
The same patch has been sent for the Kernel.
Signed-off-by: Sascha Hauer
---
drivers/usb/gadget/composite.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c
index d6638fe..37c67d5 100644
--- a/drivers/usb/gadget/composite.c
+++ b
The dfu command parses a string which contains a list of
devices and flags. This format is useful for other users
aswell, so add common helper functions to parse it and
let the dfu command use this format.
Signed-off-by: Sascha Hauer
---
commands/dfu.c | 90 +++--
The Android fastboot protocol Can be used to update firmware and to
issue other lowlevel commands to the bootloader. This adds a
fastboot implementation based on the U-Boot fatboot code.
Signed-off-by: Sascha Hauer
---
drivers/usb/gadget/Kconfig | 5 +-
drivers/usb/gadget/Makefile |
When an endpoint hasn't been enabled ep->desc is NULL and
fsl_ep_dequeue crashes with a NULL pointer dereference. Check
ep->desc before continuing.
Signed-off-by: Sascha Hauer
---
drivers/usb/gadget/fsl_udc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/
Signed-off-by: Sascha Hauer
---
drivers/usb/gadget/dfu.c | 22 +++---
1 file changed, 7 insertions(+), 15 deletions(-)
diff --git a/drivers/usb/gadget/dfu.c b/drivers/usb/gadget/dfu.c
index a685cc1..5252703 100644
--- a/drivers/usb/gadget/dfu.c
+++ b/drivers/usb/gadget/dfu.c
@@ -
Signed-off-by: Sascha Hauer
---
drivers/usb/gadget/dfu.c | 14 --
1 file changed, 14 deletions(-)
diff --git a/drivers/usb/gadget/dfu.c b/drivers/usb/gadget/dfu.c
index 85d99e9..a685cc1 100644
--- a/drivers/usb/gadget/dfu.c
+++ b/drivers/usb/gadget/dfu.c
@@ -102,17 +102,6 @@ static s
Register DFU as usb_function_instance to make it work with composite
gadgets. Also use this internally for registering as DFU device (with
the 'dfu' command).
Signed-off-by: Sascha Hauer
---
commands/dfu.c | 12 ++--
drivers/usb/gadget/dfu.c | 141 -
Similar to the Kernel multi function this gadget driver is used
for creating a USB device with multiple functions. This is
created and removed with the newly created 'usbgadget' command.
Based on the options it creates combinations of DFU, fastboot
and serial USB functions.
Signed-off-by: Sascha H
This increases the malloc to half of the available memory in a
bank. This helps with some usecases requiring a lot of memory.
The other half is still available as scratch area and for
putting the kernel binary.
Signed-off-by: Sascha Hauer
---
arch/arm/cpu/start.c | 6 +++---
1 file changed, 3 in
The Android image format makes the same mistake as the U-Boot uImage
format: It makes the load address mandatory. In a way it is even worse
since the 'fastboot' host tool thinks that 0x1000 is a good default
when no address has been specified on the command line.
Instead of only relying on the
Signed-off-by: Sebastian Block
---
arch/arm/lib/bootm.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c
index 4896d01..d9b9111 100644
--- a/arch/arm/lib/bootm.c
+++ b/arch/arm/lib/bootm.c
@@ -314,7 +314,7 @@ static int do_bootz_l
Hello...
now I have a working Barebox 2014.07 on the pyhCore...
* I used the attached configuration
* Generated a patch to the git (commit
9d7b0ba957a665d6013c4fa53df04ac324618a40)
* For NAND support it is important to enable *CONFIG_BUS_OMAP_GPMC*
after that the Barebox starts and bo
On Mon, Jul 21, 2014 at 11:10:25AM +0400, Antony Pavlov wrote:
> On Mon, 21 Jul 2014 08:41:06 +0200
> Sascha Hauer wrote:
>
> > On Sun, Jul 20, 2014 at 09:55:22AM +0400, Antony Pavlov wrote:
> > > On Sat, 19 Jul 2014 21:02:22 +0200
> > > Holger Schurig wrote:
> > >
> > > > I'd prefer a more log
On Mon, 21 Jul 2014 08:41:06 +0200
Sascha Hauer wrote:
> On Sun, Jul 20, 2014 at 09:55:22AM +0400, Antony Pavlov wrote:
> > On Sat, 19 Jul 2014 21:02:22 +0200
> > Holger Schurig wrote:
> >
> > > I'd prefer a more logical format (and that is also in the help).
> > > However, in this case I would
37 matches
Mail list logo