Maxime Ripard wrote:
Since the only storage medium on the cfa-10036 is the MMC card, we need
to have a registered environment partition on it if we want to be able
to modify at runtime.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
diff --git a/arch/arm/boards/chumby_falconwing/falconwing.c
b/arch/arm/boards/chumby_falconwing/falconwing.c
index 0818666..a8fe00c 100644
--- a/arch/arm/boards/chumby_falconwing/falconwing.c
+++ b/arch/arm/boards/chumby_falconwing/falconwing.c
@@ -274,7 +274,7 @@
On Tue, Feb 12, 2013 at 10:08:56PM +0400, Alexander Shiyan wrote:
device_platform_driver() - Helper macro for drivers that don't do
anything special in module registration. This eliminates a lot of
boilerplate. Driver registration will called on device_initcall.
Signed-off-by: Alexander
Juergen Beisert wrote:
[...]
if (rc != 0)
printf(Cannot create the 'env0' persistant environment storage
(%d)\n, rc);
___^
Arrghh, still two 'a' left. :(
diff --git a/arch/arm/boards/chumby_falconwing/falconwing.c
The following adds USB HSIC support for i.MX6.
The special thing about HSIC on i.MX is that we have to configure
a pullup on the Strobe line *after* the USB port is initialized, so
the bulk of this series deals with adding post init hooks to the
imx-usb-misc and ehci driver.
Sascha
bit25 is part of the PTS bits, so mask it out before rewriting it.
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de
---
drivers/usb/imx/chipidea-imx.c |2 +-
include/usb/chipidea-imx.h |1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de
---
arch/arm/mach-imx/include/mach/iomux-mx6.h | 19 +++
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/arch/arm/mach-imx/include/mach/iomux-mx6.h
b/arch/arm/mach-imx/include/mach/iomux-mx6.h
index
HSIC needs some special setup for i.MX6. Most ugly detail is that
the HSIC needs help of the IOMUX to configure a pullup on the strobe
line. This has to be done after the ehci controller has started.
Fortunately there is only one muxing possibility for the HSIC ports
on i.MX6, so we can simply
Some controllers need an init hook after the USB controller is
started, so implement the post init hook for i.MX.
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de
---
drivers/usb/imx/chipidea-imx.c | 43 ++-
drivers/usb/imx/imx-usb-misc.c | 63
Some USB cores need a platform specific init hook, add it to
the ehci driver.
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de
---
drivers/usb/host/ehci-hcd.c | 14 ++
include/usb/ehci.h |5 +
2 files changed, 19 insertions(+)
diff --git
This adds USB gadget support to the i.MX chipidea driver. Basically
we have to add a register function to the fsl udc driver and call
this from the chipidea driver if device mode is selected.
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de
---
drivers/usb/gadget/fsl_udc.c | 11 +--
This decreases the pbl image size by the size of the bss segment.
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de
---
arch/arm/pbl/zbarebox.lds.S | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm/pbl/zbarebox.lds.S b/arch/arm/pbl/zbarebox.lds.S
index
Hi Sascha,
Le 13/02/2013 18:16, Sascha Hauer a écrit :
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de
---
common/memsize.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/common/memsize.c b/common/memsize.c
index d149e41..ef6381b 100644
--- a/common/memsize.c
+++
Hi Jean-Christophe,
Le 13/02/2013 18:09, Jean-Christophe PLAGNIOL-VILLARD a écrit :
On 17:50 Wed 13 Feb , Maxime Ripard wrote:
The cfa-10036 comes in two flavours, with either 128MB or 256MB of RAM
on it.
Since it's not stored anywhere, we need to runtime detect it, thanks to
the
Signed-off-by: Alexander Shiyan shc_w...@mail.ru
---
include/sizes.h | 12
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/include/sizes.h b/include/sizes.h
index c47f906..321d40c 100644
--- a/include/sizes.h
+++ b/include/sizes.h
@@ -17,7 +17,19 @@
#define
Le Thu, 14 Feb 2013 11:10:54 +0100,
Maxime Ripard maxime.rip...@free-electrons.com a écrit :
Hi Juergen,
Le 14/02/2013 09:16, Juergen Beisert a écrit :
Maxime Ripard wrote:
Since the only storage medium on the cfa-10036 is the MMC card, we need
to have a registered environment partition
On Thu, Feb 14, 2013 at 11:06:13AM +0100, Alexander Aring wrote:
Hi Sascha,
i am a little bit confused. I add in commit
43afe67390697041d1d16d4e5c934d2bfa831399
the data section, but I forgot to change this linker script file.
Does it work now?
Yes, it works.
It seems that pbl
On Thu, Feb 14, 2013 at 10:40:38AM +0100, Maxime Ripard wrote:
Hi Sascha,
Le 13/02/2013 18:16, Sascha Hauer a écrit :
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de
---
common/memsize.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/common/memsize.c
Signed-off-by: Eric Bénard e...@eukrea.com
---
arch/arm/boards/chumby_falconwing/falconwing.c | 38 +-
1 file changed, 1 insertion(+), 37 deletions(-)
diff --git a/arch/arm/boards/chumby_falconwing/falconwing.c
b/arch/arm/boards/chumby_falconwing/falconwing.c
index
- heavily copied from register_persistant_environment which was
Signed-off-by: Juergen Beisert j...@pengutronix.de
Signed-off-by: Eric Bénard e...@eukrea.com
---
common/environment.c | 40
include/environment.h | 1 +
2 files changed, 41 insertions(+)
Signed-off-by: Eric Bénard e...@eukrea.com
---
arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c | 44 +-
1 file changed, 2 insertions(+), 42 deletions(-)
diff --git a/arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c
b/arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c
On Tue, Feb 12, 2013 at 12:04:57AM +0100, Vicente Bergas wrote:
Here are the last two patches I've submitted.
The first is a straightforward solution to a regression.
The second was first intended to provide devicetree support for booting an
omap4 based tablet. I've achieved booting it
Use ssize_t instead of int. Similar write function
which uses ssize_t as return type, too.
Signed-off-by: Alexander Aring alex.ar...@gmail.com
---
fs/fs.c | 2 +-
include/fs.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/fs.c b/fs/fs.c
index f840516..48d1c89
Add pread and pwrite functions.
These functions setting file pointer to a given
offset with lseek and call read or write afterwards.
Signed-off-by: Alexander Aring alex.ar...@gmail.com
---
fs/fs.c | 28
include/fs.h | 2 ++
2 files changed, 30 insertions(+)
Signed-off-by: Alexander Aring alex.ar...@gmail.com
---
commands/nandtest.c | 36 ++--
1 file changed, 6 insertions(+), 30 deletions(-)
diff --git a/commands/nandtest.c b/commands/nandtest.c
index f08f8eb..4e6024b 100644
--- a/commands/nandtest.c
+++
Signed-off-by: Eric Bénard e...@eukrea.com
---
v2: fix typo on persistent
arch/arm/boards/chumby_falconwing/falconwing.c | 38 +-
1 file changed, 1 insertion(+), 37 deletions(-)
diff --git a/arch/arm/boards/chumby_falconwing/falconwing.c
On 10:12 Thu 14 Feb , Sascha Hauer wrote:
This decreases the pbl image size by the size of the bss segment.
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de
---
arch/arm/pbl/zbarebox.lds.S | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git
On Wed, Feb 13, 2013 at 11:02:49AM +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
Hi,
v3:
reset: add missing wfi
gpio: move probe to board
add oftree probe support
v2:
fix cc tag so Rob can receive the patch
add oftree support to xgmac
Signed-off-by: Eric Bénard e...@eukrea.com
---
v3: also fix the typo in the printf
v2: fix typo in persistent
arch/arm/boards/chumby_falconwing/falconwing.c | 40 ++
1 file changed, 2 insertions(+), 38 deletions(-)
diff --git
Hi Sascha,
Le 14/02/2013 12:35, Sascha Hauer a écrit :
On Thu, Feb 14, 2013 at 10:40:38AM +0100, Maxime Ripard wrote:
Hi Sascha,
Le 13/02/2013 18:16, Sascha Hauer a écrit :
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de
---
common/memsize.c |3 +++
1 file changed, 3 insertions(+)
HI,
this add the support of the EFI GPT and named partition
The following changes since commit a40e76cebcbe8b025bafdefdc6e27b7553209ed7:
Add warning above get_ram_size (2013-02-13 18:14:38 +0100)
are available in the git repository at:
git://git.jcrosoft.org/barebox.git
need it by upcoming EFI GPT support
Cc: Rob Herring rob.herr...@calxeda.com
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
---
include/linux/types.h | 13 +
1 file changed, 13 insertions(+)
diff --git a/include/linux/types.h b/include/linux/types.h
index
GPT need to be check before MBR
Cc: Rob Herring rob.herr...@calxeda.com
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
---
common/filetype.c |4
include/filetype.h |1 +
2 files changed, 5 insertions(+)
diff --git a/common/filetype.c b/common/filetype.c
so we can support multiple format
use filetpye to detect the parser to use
Cc: Rob Herring rob.herr...@calxeda.com
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
---
common/Kconfig | 14 +
common/Makefile|2 +-
common/partitions.c
so we can register partion with name as present in EFI GPT
Cc: Rob Herring rob.herr...@calxeda.com
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
---
common/partitions.c| 51 ++--
common/partitions/parser.h |2 ++
2
On Mon, 2013-02-11 at 16:21 +0100, Sascha Hauer wrote:
I'm interested in this patch once it's clear that this option is needed.
Right now I think that the work is better invested in making this option
unneeded. Jan, do you have insights why this is needed?
Linux with current mainline + pending
On Thu, Feb 14, 2013 at 04:52:24PM +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
GPT need to be check before MBR
Cc: Rob Herring rob.herr...@calxeda.com
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
---
common/filetype.c |4
include/filetype.h |1 +
On 17:36 Thu 14 Feb , Sascha Hauer wrote:
On Thu, Feb 14, 2013 at 04:52:24PM +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
GPT need to be check before MBR
Cc: Rob Herring rob.herr...@calxeda.com
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
---
On Thu, Feb 14, 2013 at 05:53:23PM +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
On 17:36 Thu 14 Feb , Sascha Hauer wrote:
On Thu, Feb 14, 2013 at 04:52:24PM +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
GPT need to be check before MBR
Cc: Rob Herring rob.herr...@calxeda.com
Hi,
I try to investigate a situation where barebox (v2013.02.0 + board patches)
fails to boot the linux kernel on my karo-tx53 based board. The problem may
well be introduced by myself, but after a few days of investigation is still
fail to grasp the problem's root.
Depending on whether files
On Thu, Feb 14, 2013 at 02:59:48PM +0100, Maxime Ripard wrote:
Hi Sascha,
Le 14/02/2013 12:35, Sascha Hauer a écrit :
On Thu, Feb 14, 2013 at 10:40:38AM +0100, Maxime Ripard wrote:
Hi Sascha,
Le 13/02/2013 18:16, Sascha Hauer a écrit :
Signed-off-by: Sascha Hauer
On Thu, Feb 14, 2013 at 06:05:07PM +0100, Johannes Stezenbach wrote:
On Thu, Feb 14, 2013 at 05:53:23PM +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
On 17:36 Thu 14 Feb , Sascha Hauer wrote:
On Thu, Feb 14, 2013 at 04:52:24PM +0100, Jean-Christophe
PLAGNIOL-VILLARD wrote:
GPT
On Thu, Feb 14, 2013 at 12:56:49PM +0100, Eric Bénard wrote:
- heavily copied from register_persistant_environment which was
Signed-off-by: Juergen Beisert j...@pengutronix.de
Signed-off-by: Eric Bénard e...@eukrea.com
---
common/environment.c | 40
On Thu, Feb 14, 2013 at 04:52:25PM +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
so we can support multiple format
use filetpye to detect the parser to use
Cc: Rob Herring rob.herr...@calxeda.com
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
---
common/Kconfig
On Thu, Feb 14, 2013 at 02:08:29PM +0100, Alexander Aring wrote:
Add pread and pwrite functions.
These functions setting file pointer to a given
offset with lseek and call read or write afterwards.
Signed-off-by: Alexander Aring alex.ar...@gmail.com
---
fs/fs.c | 28
On 21:51 Thu 14 Feb , Sascha Hauer wrote:
On Thu, Feb 14, 2013 at 04:52:26PM +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
so we can register partion with name as present in EFI GPT
Cc: Rob Herring rob.herr...@calxeda.com
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
HI,
v2:
fix memory leak
filetype: full check
part name: comment
efi: make gpt primary and alternate check optional
this add the support of the EFI GPT and named partition
The following changes since commit
so we can register partion with name as present in EFI GPT
Cc: Rob Herring rob.herr...@calxeda.com
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
---
common/partitions.c| 54 ++--
common/partitions/parser.h |2 ++
2
GPT need to be check before MBR
Cc: Rob Herring rob.herr...@calxeda.com
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
---
common/filetype.c | 47 +++
include/filetype.h |1 +
2 files changed, 48 insertions(+)
diff --git
need it by upcoming EFI GPT support
Cc: Rob Herring rob.herr...@calxeda.com
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
---
include/linux/types.h | 13 +
1 file changed, 13 insertions(+)
diff --git a/include/linux/types.h b/include/linux/types.h
index
On Thu, Feb 14, 2013 at 11:08:55PM +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
On 20:17 Thu 14 Feb , Sascha Hauer wrote:
On Thu, Feb 14, 2013 at 06:05:07PM +0100, Johannes Stezenbach wrote:
On Thu, Feb 14, 2013 at 05:53:23PM +0100, Jean-Christophe
PLAGNIOL-VILLARD wrote:
On
On Thu, Feb 14, 2013 at 11:44:30PM +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
+#define MBR_OSTYPE_EFI_GPT 0xee
+
+static inline int pmbr_part_valid(const uint8_t *buf)
+{
+ if (buf[MBR_PART_sys_ind] == MBR_OSTYPE_EFI_GPT
+ get_unaligned_le32(buf[MBR_PART_start_sect])
52 matches
Mail list logo