ideas on how to solve this?
Thanks,
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi Andreas,
Le 15/05/2013 09:44, Andreas Bießmann a écrit :
Dear Maxime Ripard,
(CCing Board Maintainer)
On 05/14/2013 04:25 PM, Maxime Ripard wrote:
Hi,
I'm currently testing u-boot 2013.04 with SPL on a Devkit8000 with 256MB
of RAM.
Trouble is, it only detects 128MB of RAM. The x
that specifying the clocks in the simplefb dt node is
the right way to ensure that the clocks don't get enabled I'm willing
at taking a shot on coding this.
Agreed.
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
signature.asc
Description
).
Except that here, change u-boot DT settings means recompile
u-boot and the DT, and flash the whole thing again to your
system. Not really as painless as what you're suggesting.
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
just expect simplefb to go away.
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de
.
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
some patches for the A31. Unfortunately, we haven't
figured out the DRAM initialization, so it's second-stage-only at the
moment.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
signature.asc
Description: Digital signature
, which I do have and can maintain.
Unless Maxime agrees to having his name in the MAINTAINERS file I think
that would be best, actually if he does agree I see no reason not to
have both ;-)
That's something I could live with :)
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel
...@csie.org
Cc: Maxime Ripard maxime.rip...@free-electrons.com
Acked-by: Maxime Ripard maxime.rip...@free-electrons.com
Thanks!
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
signature.asc
Description: Digital signature
(but
starting from PL for the special pins). And it's true that we do
prefix all the functions by s_, once again, just like the datasheet
does.
The fact that it comes from a different controller is only expressed
by where the pinctrl pins node is defined in the DT.
Maxime
--
Maxime Ripard, Free
Hi Ian,
On Sun, Sep 21, 2014 at 07:51:17PM +0100, Ian Campbell wrote:
On Mon, 2014-09-08 at 21:28 +0800, Chen-Yu Tsai wrote:
From: Maxime Ripard maxime.rip...@free-electrons.com
Add a new sun6i machine that doesn't do much for now.
Can you briefly outline here what it _does_ do, please
we will be able to reuse some of that code, the A31 needs a
significant additional effort. The good news is that the newer
Allwinner SoCs seem to drop the old (and by old I mean
A10/A10s/A13/A20) IPs in favour of the one introduced in the A31. So
it's definitely worth doing this effort.
--
Maxime
initramfs) that would overwrite the relocated DTB whenever it was
decompressing itself.
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
signature.asc
Description: Digital signature
___
U-Boot
. But the bindings are based on strings for function descriptions,
which implies a whole lookup table in the driver. Not sure this would be
great for SPL.
Also Linus Walleij (pinctrl maintainer) proposed some new generic
bindings, though I don't know if we will ever switch over.
CCing Maxime Ripard (sunxi
.
Anyone experienced such a thing?
Thanks,
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http
Hi Eric,
On Fri, Nov 21, 2014 at 11:20:37AM +0100, Eric Bénard wrote:
Hi Maxime,
Le Thu, 20 Nov 2014 17:49:17 +0100,
Maxime Ripard maxime.rip...@free-electrons.com a écrit :
Hi,
I'm currently working on 2014.07, on a custom TI AM335x based board.
Everything works great so far
Hi,
On Sat, Nov 22, 2014 at 12:40:58AM +0100, Anatolij Gustschin wrote:
Hi Maxime,
On Thu, 20 Nov 2014 17:49:17 +0100
Maxime Ripard maxime.rip...@free-electrons.com wrote:
Hi,
I'm currently working on 2014.07, on a custom TI AM335x based board.
Everything works great so far
, and yet the usb storage works as expected. So I don't think
it's really the issue there :/
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
signature.asc
Description: Digital signature
-wip
ChenYu, this also has a mmc fix which you may find interesting,
it may explain some of the problems with mmc you've been having
on both the A80 board, as well as the A31 dev board you've.
Wow, very cool, including PMIC support et al.
Thanks a lot :)
Maxime
--
Maxime Ripard, Free
Hi,
On Thu, Nov 20, 2014 at 05:49:17PM +0100, Maxime Ripard wrote:
Hi,
I'm currently working on 2014.07, on a custom TI AM335x based board.
Everything works great so far, except when we're trying to have USB
host working.
The board has the MUSB1 controller wired as USB Host only
Hi,
On Thu, Dec 11, 2014 at 02:09:30PM +0100, Marek Vasut wrote:
On Wednesday, December 10, 2014 at 04:23:49 PM, Maxime Ripard wrote:
Hi,
On Thu, Nov 20, 2014 at 05:49:17PM +0100, Maxime Ripard wrote:
Hi,
I'm currently working on 2014.07, on a custom TI AM335x based board
. The FEX file in a dialect, which is compatible with the sunxi-3.4
kernel
Just so you know, I will *not* merge any patch automatically generated
that will not have been run on its real board.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free
error.
This confused the AM335x ROM code, and will probably confuse other tools as
well.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
disk/part_efi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/disk/part_efi.c b/disk/part_efi.c
index 612f0926b62b
definitely share as much as
possible.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http
it to the same address, which
might not really be what we're after here.
What do you think?
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
signature.asc
Description: Digital signature
___
U
with the default boot image kernel
address, if that address is used, just execute the kernel where it is.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
common/image-android.c | 27 +--
1 file changed, 25 insertions(+), 2 deletions(-)
diff --git a/common/image
On Thu, Apr 23, 2015 at 02:00:01PM +0200, Marek Vasut wrote:
On Thursday, April 23, 2015 at 09:41:04 AM, Maxime Ripard wrote:
On Wed, Apr 22, 2015 at 05:56:23PM +0200, Marek Vasut wrote:
I've been trying to use fastboot (and especially the boot command) on
sunxi recently, and got
of blindly trusting these tools, U-Boot should
handle that address has the de facto default, even if it doesn't make
any sense :)
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
signature.asc
Description: Digital signature
Hi Rob,
On Tue, Apr 28, 2015 at 05:24:59PM -0500, Rob Herring wrote:
On Wed, Apr 22, 2015 at 8:04 AM, Maxime Ripard
maxime.rip...@free-electrons.com wrote:
Hi,
I've been trying to use fastboot (and especially the boot command) on
sunxi recently, and got it to work pretty fine (apart
On Wed, Apr 29, 2015 at 09:11:03AM -0500, Rob Herring wrote:
On Wed, Apr 29, 2015 at 3:12 AM, Maxime Ripard
maxime.rip...@free-electrons.com wrote:
Hi Rob,
On Tue, Apr 28, 2015 at 05:24:59PM -0500, Rob Herring wrote:
On Wed, Apr 22, 2015 at 8:04 AM, Maxime Ripard
maxime.rip...@free
...@csie.org
Cc: Maxime Ripard maxime.rip...@free-electrons.com
Tested-by: Maxime Ripard maxime.rip...@free-electrons.com
Thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
signature.asc
Description: Digital signature
? AFAIK most people can use mmc0, and
at least my NAND boot0 seems to check mmc0 for a valid signature,
and reboot into that.
I guess it depends on the A31 board then. I have a board here that
will completely ignore the MMC unless you press a button.
Maxime
--
Maxime Ripard, Free Electrons
than the A20's? Maybe that can be
shared?
Good idea. This might even be shared by some other platforms.
psci_text_end should always be linked in last though.
Maybe that can be generated directly by the linker script at the end
of the PSCI text section?
Maxime
--
Maxime Ripard, Free
psci_get_cpu_stack_top @ stack top = r0
+ mov sp, r0
+
+ bx r6
+
+ .globl psci_text_end
Isn't it exactly the same function than the A20's? Maybe that can be
shared?
Thanks,
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
not for these?
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u
been moved over (I'd say
something like 2-3 releases)
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot
On Fri, Jun 26, 2015 at 01:01:12PM +0200, Hans de Goede wrote:
Hi,
On 26-06-15 12:20, Maxime Ripard wrote:
Hi,
On Sun, Jun 14, 2015 at 12:40:11PM +0200, Hans de Goede wrote:
Paul, can you test these with gadget mode? Specifically if they help the
problem you were seeing when switching
to do that to your hardware, you can carry your own patch
against a DT, especially since you'll have to modify it to enable the
eMMC even it was merged.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
signature.asc
Description
, and the
only user of IS_ENABLED together with this option is the sunxi
board. Why not simply replace the IS_ENABLED by an ifdef to maintain
consistency?
AFAIK, IS_ENABLED doesn't bring anythnig to the table here.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android
-controller support.
The kernel shouldn't behave like that. What issue are you seeing?
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
signature.asc
Description: Digital signature
___
U
On Thu, Aug 20, 2015 at 08:35:20AM +0200, Hans de Goede wrote:
On 08/19/2015 03:48 PM, Maxime Ripard wrote:
On Sat, Aug 15, 2015 at 10:02:40PM +0200, Hans de Goede wrote:
Turn off the nand and dma clocks when we're done with the nand, this
puts the nand and dma controllers back into a clean
to that thread, and your suggestion on EP0 seems like
a good lead, since the ugly http://pastebin.com/9Y6S9Hpw makes it work.
Thanks,
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
signature.asc
Description: Digital signature
On Fri, Jun 26, 2015 at 01:02:51PM +0200, Hans de Goede wrote:
Hi,
On 26-06-15 12:20, Maxime Ripard wrote:
Hi,
On Sun, Jun 14, 2015 at 12:40:11PM +0200, Hans de Goede wrote:
Paul, can you test these with gadget mode? Specifically if they help the
problem you were seeing when switching
On Mon, Oct 19, 2015 at 12:48:35PM +0200, Stefan Roese wrote:
> Hi Maxime,
>
> On 18.10.2015 11:34, Maxime Ripard wrote:
> >>On 01-10-15 11:41, Stefan Roese wrote:
> >>>The ICnova-A20-SWAC is a baseboard, equipped with the ICnova-A20 SoM from
> >>>In-Cir
Hi Tom,
On Wed, Oct 21, 2015 at 10:09:28AM -0400, Tom Rini wrote:
> On Mon, Oct 12, 2015 at 03:43:01PM +0200, Maxime Ripard wrote:
> > Hi,
> >
> > I'm currently writing the support in U-Boot for NAND-backed devices
> > using fastboot [1], and that work derived a bit t
nd send
> you a first version for Linux this time. Since I don't have the
> ADB4006 baseboard it would be great if you could step in here.
That can come as a second step, but yep, let's do it this way.
Thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Li
On Thu, Oct 22, 2015 at 07:22:54AM -0400, Tom Rini wrote:
> On Thu, Oct 22, 2015 at 09:57:05AM +0200, Maxime Ripard wrote:
> > Hi Tom,
> >
> > On Wed, Oct 21, 2015 at 10:09:28AM -0400, Tom Rini wrote:
> > > On Mon, Oct 12, 2015 at 03:43:01PM +0200, M
Hi Tom,
On Tue, Oct 20, 2015 at 03:46:36PM -0400, Tom Rini wrote:
> On Thu, Oct 15, 2015 at 02:34:17PM +0200, Maxime Ripard wrote:
>
> > So far the fastboot code was only supporting MMC-backed devices for its
> > flashing operations (flash and erase).
> >
> >
Hi Colin,
On Tue, Oct 27, 2015 at 02:00:24PM -0700, Colin Cross wrote:
> On Monday, October 12, 2015 at 6:43:37 AM UTC-7, Maxime Ripard wrote:
> >
> > Hi,
> >
> > I'm currently writing the support in U-Boot for NAND-backed devices
> > using fastboot
On Sat, Oct 17, 2015 at 04:42:09PM +0200, Hans de Goede wrote:
> Hi,
>
> On 17-10-15 15:59, Hans de Goede wrote:
> >Hi,
> >
> >On 15-10-15 14:34, Maxime Ripard wrote:
> >>Hi everyone,
> >>
> >>Here is the second attempt at getting fa
-by: Maxime Ripard <maxime.rip...@free-electrons.com>
Reviewed-by: Tom Rini <tr...@konsulko.com>
---
common/aboot.c | 372 -
1 file changed, 239 insertions(+), 133 deletions(-)
diff --git a/common/aboot.c b/common/aboot.c
index
To check the alignment of the image blocks to the storage blocks, the
current code uses a convoluted syntax, while a simple mod also does the
work.
Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com>
---
common/aboot.c | 14 ++
1 file changed, 10 insertions
Some devices might need to do some per-partition initialization
(ECC/Randomizer settings change for example) before actually accessing it.
Add some hooks before the write and erase operations to let the boards
define what they need to do if needed.
Signed-off-by: Maxime Ripard <maxime.
The Cubietruck has a mini-USB connector that can be used to power up the
board and as an OTG connector.
Since we have already some USB host-only ports right beside this one,
enable it in gadget mode
Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com>
---
configs/Cubietruck_def
The A13-Olinuxino has a mini-USB connector that can be used to power up
the board and as an OTG connector.
Since we have already some USB host-only ports right beside this one,
enable it in gadget mode
Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com>
---
confi
consistent with the header defining the image structures.
Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com>
---
common/Makefile | 2 +-
common/fb_mmc.c | 2 +-
common/fb_nand.c| 2 +-
common/{aboot.c => image-sparse.c} | 2 +
When using the fastboot boot command, the image sent to U-Boot will be an
Android boot image. If the support is missing, that won't obviously work,
so we need it in our configuration.
Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com>
---
include/configs/sunxi-common.h | 1 +
The current sparse image format parser is quite tangled, with a lot of
code duplication.
Start refactoring it by moving the header parsing function to a function
of its own.
Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com>
Reviewed-by: Tom Rini <tr...@konsulko.com>
The current sparse image parser relies heavily on the MMC layer, and
doesn't allow any other kind of storage medium to be used.
Rework the parser to support any kind of storage medium, as long as there
is an implementation for it.
Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.
The functions and a few define to generate a fastboot message to be sent
back to the host were so far duplicated among the users.
Move them all to a common place.
Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com>
---
common/aboot.c
- Take NAND bad blocks into account now
Maxime Ripard (14):
mtd: uboot: Add meaningful error message
sparse: Move main header parsing to a function of its own
sparse: Refactor chunk parsing function
sparse: Simplify multiple logic
fastboot: Move fastboot response functions to fastboot core
So far the fastboot code was only supporting MMC-backed devices for its
flashing operations (flash and erase).
Add a storage backend for NAND-backed devices.
Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com>
---
common/Makefile | 7 +-
common/fb_
r maintain a counter
that will be reset every time the client will retrieve max-download-size,
and incremented after each buffer will be flashed, that will allow us to
tell whether we should simply resume the flashing where we were, or start
back at the beginning of the partition.
Signed-off-by: Maxim
flashing the next chunk.
Retain the last offset we used, and use the session ID to know if we need
it or not.
Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com>
---
common/aboot.c | 17 +++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/common/abo
The current error message in get_part if CONFIG_MTDPARTS is disabled is
"offset is not a number" which is confusing and doesn't help at all.
Change that for something that might give a hint on what's going on.
Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com>
Revie
s.dtb \
diff --git a/arch/arm/dts/sun5i-r8-chip.dts b/arch/arm/dts/sun5i-r8-chip.dts
new file mode 100644
index ..abf3ccb1a82c
--- /dev/null
+++ b/arch/arm/dts/sun5i-r8-chip.dts
@@ -0,0 +1,214 @@
+/*
+ * Copyright 2015 Free Electrons
+ * Copyright 2015 NextThing Co
+ *
+ * Maxime Ripard
So far, even if CONFIG_MMC was not enabled the board code was trying to use
the MMC-related functions, resulting in linker errors.
Protect those calls by an ifdef.
Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com>
---
arch/arm/cpu/armv7/sunxi/board.c | 6 +-
1 file chan
Linux had a number of changes to the AXP209 DTSI. Sync ours.
Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com>
---
arch/arm/dts/axp209.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/dts/axp209.dtsi b/arch/arm/dts/axp209.dtsi
index 24c935c72e5e..051ab3
.
Let me know what you think,
Maxime
Changes from v1:
- Rebased on top of current sunxi next branch
- Added regulators voltage
- Synced the DTS with what has been accepted in the kernel
- Added CONFIG_MMC rework
Maxime Ripard (7):
fastboot: Implement OEM format only when we have MMC support
Add a generic Kconfig option for the CONFIG_MMC option that was used before
in the configuration headers.
Since all the architectures need to be converted to that first, depend on
an non-existent config option that will be extended with architectures that
use that option.
Signed-off-by: Maxime
-by: Maxime Ripard <maxime.rip...@free-electrons.com>
Reviewed-by: Tom Rini <tr...@konsulko.com>
---
drivers/usb/gadget/f_fastboot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/f_fastboot.c b/drivers/usb/gadget/f_fastboot.c
index ca01a018b5d1..
Not all sunxi boards have an MMC embedded. Switching to the Kconfig option
will allow to enable or disable the support in each boards' defconfig.
Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com>
---
board/sunxi/Kconfig| 4
drivers/mmc/Kconfig
Add the latest kernel changes to the sun5i family DTSI.
Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com>
---
arch/arm/dts/sun5i-a10s.dtsi | 47 ---
arch/arm/dts/sun5i-a13.dtsi | 28 -
arch/arm/dts/sun5i-r8.dtsi
pecially doesn't really make sense. The
"SWAC" name isn't referenced anywhere, the module cannot be used
alone, and there's a single combination available (A20 SODIMM +
ADB4006)
>
> >index 000..773fb6f
> >--- /dev/null
> >+++ b/arch/arm/dts/sun7i-a20-icnova-a20-s
also mean that we don't
want to do an erase on the whole partition everytime there's a flash
command on it).
Thanks!
Maxime
1: http://lists.denx.de/pipermail/u-boot/2015-August/226053.html
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
sig
On Thu, Aug 20, 2015 at 08:33:01AM +0200, Hans de Goede wrote:
Hi,
On 08/19/2015 03:45 PM, Maxime Ripard wrote:
On Sat, Aug 15, 2015 at 10:02:34PM +0200, Hans de Goede wrote:
CONFIG_SPL_NAND_SUPPORT gets used via IS_ENABLED so it must be defined
to 1, rather then just being defined
The Cubietruck has a mini-USB connector that can be used to power up the
board and as an OTG connector.
Since we have already some USB host-only ports right beside this one,
enable it in gadget mode
Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com>
---
configs/Cubietruck_def
already in tree,
that was tied to the MMC layer.
This serie has been tested on a CHIP and a Cubietruck, two Allwinner
devices, the CHIP for the NAND, and the Cubietruck to test the MMC.
Let me know what you think,
Maxime
Maxime Ripard (13):
mtd: uboot: Add meaningful error message
sparse: Move main
The current sparse image format parser is quite tangled, with a lot of
code duplication.
Start refactoring it by moving the header parsing function to a function
of its own.
Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com>
---
common/aboot.
So far the fastboot code was only supporting MMC-backed devices for its
flashing operations (flash and erase).
Add a storage backend for NAND-backed devices.
Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com>
---
common/Makefile | 7 +-
common/fb_
To check the alignment of the image blocks to the storage blocks, the
current code uses a convoluted syntax, while a simple mod also does the
work.
Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com>
---
common/aboot.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
Some devices might need to do some per-partition initialization
(ECC/Randomizer settings change for example) before actually accessing it.
Add some hooks before the write and erase operations to let the boards
define what they need to do if needed.
Signed-off-by: Maxime Ripard <maxime.
The current sparse image parser relies heavily on the MMC layer, and
doesn't allow any other kind of storage medium to be used.
Rework the parser to support any kind of storage medium, as long as there
is an implementation for it.
Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.
The current error message in get_part if CONFIG_MTDPARTS is disabled is
"offset is not a number" which is confusing and doesn't help at all.
Change that for something that might give a hint on what's going on.
Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com>
The functions and a few define to generate a fastboot message to be sent
back to the host were so far duplicated among the users.
Move them all to a common place.
Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com>
---
common/aboot.c | 14 ++
When using the fastboot boot command, the image sent to U-Boot will be an
Android boot image. If the support is missing, that won't obviously work,
so we need it in our configuration.
Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com>
---
include/configs/sunxi-common.h | 1 +
consistent with the header defining the image structures.
Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com>
---
common/Makefile | 2 +-
common/fb_mmc.c | 2 +-
common/fb_nand.c | 2 +-
common/{aboot.c => sparse.c} | 2 +-
include/{aboot.h
The A13-Olinuxino has a mini-USB connector that can be used to power up
the board and as an OTG connector.
Since we have already some USB host-only ports right beside this one,
enable it in gadget mode
Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com>
---
confi
When using fastboot and flashing a larger image such as the main partition
of a system, the current 32MB limit for the buffer is quite small.
Increase it to something that looks decent for such a use case.
Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com>
---
include/configs
-by: Maxime Ripard <maxime.rip...@free-electrons.com>
---
common/aboot.c | 351 -
1 file changed, 221 insertions(+), 130 deletions(-)
diff --git a/common/aboot.c b/common/aboot.c
index 7f12677d13a1..65e633acfcb9 100644
--- a/common/aboot.c
On Tue, Sep 01, 2015 at 08:08:58AM +0100, Ian Campbell wrote:
> On Mon, 2015-08-31 at 16:46 +0200, Maxime Ripard wrote:
> > When using the fastboot boot command, the image sent to U-Boot will be an
> > Android boot image. If the support is missing, that won't obviously work,
Hi,
On Mon, Aug 31, 2015 at 05:01:42PM +0200, Hans de Goede wrote:
> On 31-08-15 16:46, Maxime Ripard wrote:
> >When using fastboot and flashing a larger image such as the main partition
> >of a system, the current 32MB limit for the buffer is quite small.
> >
> &
On Mon, Aug 31, 2015 at 02:17:50PM -0500, Rob Herring wrote:
> On Mon, Aug 31, 2015 at 10:01 AM, Hans de Goede <hdego...@redhat.com> wrote:
> > Hi,
> >
> > On 31-08-15 16:46, Maxime Ripard wrote:
> >>
> >> When using fastboot and flashing a larger imag
Hi Ian,
On Tue, Sep 01, 2015 at 08:22:04AM +0100, Ian Campbell wrote:
> On Mon, 2015-08-31 at 16:46 +0200, Maxime Ripard wrote:
> > When using fastboot and flashing a larger image such as the main partition
> > of a system, the current 32MB limit for the buffer is quite small.
&
On Tue, Sep 01, 2015 at 10:44:58AM +0300, Siarhei Siamashka wrote:
> On Tue, 01 Sep 2015 08:22:04 +0100
> Ian Campbell <i...@hellion.org.uk> wrote:
>
> > On Mon, 2015-08-31 at 16:46 +0200, Maxime Ripard wrote:
> > > When using fastboot and flashing a larger im
On Tue, Sep 01, 2015 at 11:46:05AM +0100, Ian Campbell wrote:
> On Tue, 2015-09-01 at 11:00 +0200, Paul Kocialkowski wrote:
> > Le mardi 01 septembre 2015 à 08:08 +0100, Ian Campbell a écrit :
> > > On Mon, 2015-08-31 at 16:46 +0200, Maxime Ripard wrote:
> > > >
On Tue, Sep 01, 2015 at 11:00:53AM +0200, Paul Kocialkowski wrote:
> Le mardi 01 septembre 2015 à 08:08 +0100, Ian Campbell a écrit :
> > On Mon, 2015-08-31 at 16:46 +0200, Maxime Ripard wrote:
> > > When using the fastboot boot command, the image sent to U-Boot will be an
> &
Hi Hans,
On Tue, Sep 01, 2015 at 11:01:06AM +0200, Hans de Goede wrote:
> Hi,
>
> On 31-08-15 16:46, Maxime Ripard wrote:
> >The A13-Olinuxino has a mini-USB connector that can be used to power up
> >the board and as an OTG connector.
> >
> >Since we have alrea
On Tue, Sep 08, 2015 at 08:00:50AM -0500, Rob Herring wrote:
> On Tue, Sep 1, 2015 at 2:14 AM, Maxime Ripard
> <maxime.rip...@free-electrons.com> wrote:
> > On Mon, Aug 31, 2015 at 02:17:50PM -0500, Rob Herring wrote:
> >> On Mon, Aug 31, 2015 at 10:01 AM, Hans de
On Fri, Sep 04, 2015 at 01:20:44PM -0400, Tom Rini wrote:
> On Mon, Aug 31, 2015 at 04:46:06PM +0200, Maxime Ripard wrote:
>
> > The functions and a few define to generate a fastboot message to be sent
> > back to the host were so far duplicated among the users.
> >
>
1 - 100 of 1527 matches
Mail list logo