On 10:50 Fri 27 Sep , Sascha Hauer wrote:
> On Fri, Sep 27, 2013 at 09:14:13AM +0200, Jean-Christophe PLAGNIOL-VILLARD
> wrote:
> > rename it to console_get_by_name
> >
> > +struct console_device *console_get_by_name(const char *cname)
> > +{
>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
.../configs/am335x_beaglebone_mlo_small_defconfig | 2 +
arch/arm/configs/archosg9_xload_defconfig | 2 +
arch/arm/configs/omap3530_beagle_xload_defconfig | 3 +
arch/arm/configs/panda_xload_defconfig | 2 +
arch
On 09:17 Fri 27 Sep , Sascha Hauer wrote:
> The OMAP ROM code passes the boot information via r0 to the
> bootloader. Add an OMAP specific barebox handler to pass this
> information to the next stage. This allows us to chainload
> bootloaders without loosing the information where we booted from
On 10:15 Fri 27 Sep , Sascha Hauer wrote:
> On Thu, Sep 26, 2013 at 07:45:56AM +0200, Jean-Christophe PLAGNIOL-VILLARD
> wrote:
> > +static int do_read(int argc, char *argv[])
> > +{
> > + int opt;
> > + int cont = 0;
> > + int ret = -EINVAL;
so generic code can check if the console is enabled
and now we can use loadb & loadxy
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
common/console_simple.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/console_simple.c b/common/console_simple.c
index e1d4c85..6cb
so enable the uart only if used
so linux can detect the right one enable if it want
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
common/console.c| 6 ++
common/console_common.c | 36
common/console_simple.c | 3 +++
include/console.h
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
drivers/serial/amba-pl011.c | 45 +
1 file changed, 33 insertions(+), 12 deletions(-)
diff --git a/drivers/serial/amba-pl011.c b/drivers/serial/amba-pl011.c
index fc7723e..5a8e633 100644
--- a
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
arch/arm/boards/animeo_ip/init.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boards/animeo_ip/init.c b/arch/arm/boards/animeo_ip/init.c
index 2fee1ff..e6d2745 100644
--- a/arch/arm/boards/animeo_ip/init.c
rename it to console_get_first_current
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
arch/ppc/mach-mpc85xx/fdt.c | 4 +---
commands/loadb.c| 22 +-
commands/loadxy.c | 24 ++--
common/console_common.c | 21
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
drivers/serial/atmel.c | 42 +-
1 file changed, 33 insertions(+), 9 deletions(-)
diff --git a/drivers/serial/atmel.c b/drivers/serial/atmel.c
index c2a5d33..10eb2e7 100644
--- a/drivers/serial/atmel.c
so we can use non startup console
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
commands/loadxy.c | 25 +++--
1 file changed, 23 insertions(+), 2 deletions(-)
diff --git a/commands/loadxy.c b/commands/loadxy.c
index fe1b5f5..33f923d 100644
--- a/commands/loadxy.c
rename it to console_get_by_name
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
commands/loadxy.c | 26 ++
common/console_common.c | 17 +
include/console.h | 1 +
3 files changed, 20 insertions(+), 24 deletions(-)
diff --git a/commands
rosoft.org/barebox.git delivery/serial_more_cleanup
for you to fetch changes up to fdbe3feeb840d9f372ee0914902658c38deabc72:
serial: atmel: add start and shutdown support (2013-09-27 15:01:30 +0800)
----
Jean-Christophe PLAGNIOL-
On 22:30 Thu 26 Sep , Rostislav Lisovy wrote:
> Dear barebox developers and users;
> I am compiling barebox for freescale-imx53-smd board. My issue is,
> that the image does not contain the correct size record.
> The "bootloader size" needed by the flashing tool is initialized in
> freescale-mx
this will allow us to read file content into a var
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
commands/Kconfig | 4 ++
commands/Makefile | 1 +
commands/read.c | 126 ++
3 files changed, 131 insertions(+)
create mode 100644
crc32 -f /tmp-multi/data -V /tmp-multi/data.crc
CRC32 for /tmp-multi/data 0x ... 0x08ee ==> 0x88d5a0db
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
v2:
add data entry to expose the all data and it's crc as data.crc
this will allow to check the crc32 f
10 entry_point
-rwxrwxrwx 1292 data0
-rwxrwxrwx983 data1
you can get the image header via an ioctl on any file
UIMAGEFS_METADATA
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
Hi,
Sascha take a look how to integrate it with bootm
so as we discuss we can sim
On 10:00 Tue 24 Sep , Allen Kennedy Jr. wrote:
> The dhcp command gives:
> "warning: No MAC address set. Using random address 62:1C:8B:DF:6D:4D"
> Then the device console hangs, Ctrl-C does nothing. Breaking into it
> via JTAG, I see
> the PC and LR are off in the weeds and the stack and regis
On 11:37 Tue 24 Sep , Sascha Hauer wrote:
> On Tue, Sep 24, 2013 at 11:23:23AM +0200, Jean-Christophe PLAGNIOL-VILLARD
> wrote:
> > On 09:34 Tue 24 Sep , Sascha Hauer wrote:
> > > On Sat, Sep 21, 2013 at 04:54:15PM +0200, Jean-Christophe
> > > PLAGNIOL-VIL
On 17:28 Tue 24 Sep , Sascha Hauer wrote:
> On Tue, Sep 24, 2013 at 02:44:42PM +0200, Jean-Christophe PLAGNIOL-VILLARD
> wrote:
> > On 11:33 Tue 24 Sep , Sascha Hauer wrote:
> > > On Tue, Sep 24, 2013 at 11:24:50AM +0200, Jean-Christophe
> > > PLAGNIOL-VILLA
On 11:33 Tue 24 Sep , Sascha Hauer wrote:
> On Tue, Sep 24, 2013 at 11:24:50AM +0200, Jean-Christophe PLAGNIOL-VILLARD
> wrote:
> > On 09:32 Tue 24 Sep , Sascha Hauer wrote:
> > > Some typos inside
> > >
> > > On Sat, Sep 21, 2013 at 04:54:16PM
On 16:54 Mon 23 Sep , Sascha Hauer wrote:
> On Mon, Sep 23, 2013 at 04:32:26PM +0200, Jean-Christophe PLAGNIOL-VILLARD
> wrote:
> > On 11:13 Mon 23 Sep , Sascha Hauer wrote:
> > > On Mon, Sep 23, 2013 at 10:16:00AM +0200, Jean-Christophe
> > > PLAGNIOL-VILLA
On 09:32 Tue 24 Sep , Sascha Hauer wrote:
> Some typos inside
>
> On Sat, Sep 21, 2013 at 04:54:16PM +0200, Jean-Christophe PLAGNIOL-VILLARD
> wrote:
> > Simple update file format developped for Somfy, tools and library are
>
> s/developped/developed/
>
> &g
On 09:34 Tue 24 Sep , Sascha Hauer wrote:
> On Sat, Sep 21, 2013 at 04:54:15PM +0200, Jean-Christophe PLAGNIOL-VILLARD
> wrote:
> > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
> > Signed-off-by: Fargier Sylvain
> > ---
> > common/filetype.c | 3 +++
> &
On 11:13 Mon 23 Sep , Sascha Hauer wrote:
> On Mon, Sep 23, 2013 at 10:16:00AM +0200, Jean-Christophe PLAGNIOL-VILLARD
> wrote:
> > On 17:20 Sat 21 Sep , Jean-Christophe PLAGNIOL-VILLARD wrote:
> > > if not uimage set 0 by default
> > >
> > > toda
On 17:20 Sat 21 Sep , Jean-Christophe PLAGNIOL-VILLARD wrote:
> if not uimage set 0 by default
>
> today we do not see the issue as the kernel entry point is the same as the
> load_addr but on other binary its not necessary the case
>
> as today we ignore the entry point
On 10:07 Mon 23 Sep , Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 08:33 Mon 23 Sep , Sascha Hauer wrote:
> > On Mon, Sep 23, 2013 at 06:40:25AM +0200, Jean-Christophe PLAGNIOL-VILLARD
> > wrote:
> > > On 20:17 Sun 22 Sep , Sascha Hauer wrote:
> > > &g
On 08:33 Mon 23 Sep , Sascha Hauer wrote:
> On Mon, Sep 23, 2013 at 06:40:25AM +0200, Jean-Christophe PLAGNIOL-VILLARD
> wrote:
> > On 20:17 Sun 22 Sep , Sascha Hauer wrote:
> > > common/bootm.c | 2 ++
> > > 1 file changed, 2 insertions(+)
> > &g
On 09:33 Mon 23 Sep , Sascha Hauer wrote:
> On Sat, Sep 21, 2013 at 08:46:04AM +0200, Jean-Christophe PLAGNIOL-VILLARD
> wrote:
> > The bootcount is always how many time the system start.
> > To determine since when, this will depend on the driver implementation
> > a
so generic code can check if the console is enabled
and now we can use loadb & loadxy
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
common/console_simple.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/console_simple.c b/common/console_simple.c
index e82d9cb..0f8
On 20:17 Sun 22 Sep , Sascha Hauer wrote:
> On Sat, Sep 21, 2013 at 05:20:29PM +0200, Jean-Christophe PLAGNIOL-VILLARD
> wrote:
> > if not uimage set 0 by default
> >
> > today we do not see the issue as the kernel entry point is the same as the
> > load_ad
On 07:47 Fri 20 Sep , Jean-Christophe PLAGNIOL-VILLARD wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
> ---
> arch/arm/boards/animeo_ip/init.c | 38 +-
> 1 file changed, 37 insertions(+), 1 deletion(-)
>
> diff --git a/arch/ar
as the console is always enable
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
common/console_simple.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/common/console_simple.c b/common/console_simple.c
index 5c80dcd..e1d4c85 100644
--- a/common/console_simple.c
+++ b/common
this will be done at activation
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
drivers/serial/amba-pl011.c | 4
drivers/serial/atmel.c | 2 --
drivers/serial/serial_auart.c| 1 -
drivers/serial/serial_clps711x.c | 3 ---
drivers/serial/serial_imx.c | 1
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
arch/arm/boards/versatile/versatilepb.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boards/versatile/versatilepb.c
b/arch/arm/boards/versatile/versatilepb.c
index ebf3695..3df59ba 100644
--- a/arch/arm
dev->init = smc91c111_init_dev;
diff --git a/include/net/smc9.h b/include/net/smc9.h
new file mode 100644
index 000..0b2d49b
--- /dev/null
+++ b/include/net/smc9.h
@@ -0,0 +1,14 @@
+/*
+ * Copyright (C) 2013 Jean-Christophe PLAGNIOL-VILLARD
+ *
+ * Under GPLv2 only
+ */
+
+#if
On 09:01 Fri 20 Sep , Sascha Hauer wrote:
> On Thu, Sep 19, 2013 at 01:21:07PM +0200, Jean-Christophe PLAGNIOL-VILLARD
> wrote:
> > On 07:50 Thu 19 Sep , Jean-Christophe PLAGNIOL-VILLARD wrote:
> > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
> >
>
if not uimage set 0 by default
today we do not see the issue as the kernel entry point is the same as the
load_addr but on other binary its not necessary the case
as today we ignore the entry point set in the uimage and just assume it's the
same as the load_addr
Signed-off-by: Jean-Chris
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Fargier Sylvain
---
common/filetype.c | 3 +++
include/filetype.h | 1 +
2 files changed, 4 insertions(+)
diff --git a/common/filetype.c b/common/filetype.c
index 59ea25a..ef4452d 100644
--- a/common/filetype.c
+++ b/common
-rwxrwxrwx 4 bootloader_version
-rwxrwxrwx 8 bootloader_version.crc
-rwxrwxrwx 4 unknown_1234567g
-rwxrwxrwx 8 unknown_1234567g.crc
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Fargier Sylvain
---
fs/Kconfig | 6 +
fs/Makefile | 1 +
fs
take from linux next-20130227
same version as v3.11
before
-rwxr-xr-x 1 root root 123001 Feb 28 01:04
build/highbank/arch/arm/pbl/zbarebox.bin
after
-rwxr-xr-x 1 root root 16 Feb 28 01:02
build/highbank/arch/arm/pbl/zbarebox.bin
smaller and faster
Signed-off-by: Jean-Christophe
On 13:56 Fri 20 Sep , Sascha Hauer wrote:
> On Fri, Sep 20, 2013 at 10:02:57AM +0200, Jean-Christophe PLAGNIOL-VILLARD
> wrote:
> > On 08:29 Fri 20 Sep , Sascha Hauer wrote:
> > > On Thu, Sep 19, 2013 at 01:56:38PM +0200, Jean-Christophe
> > > PLAGNIOL-VILLA
As we use a backup register with a backup battery, the boot count is since
ever.
when updating to defaultenv-2 we will use it to decide what to boot
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
arch/arm/boards/animeo_ip/init.c | 2 ++
arch/arm/configs/animeo_ip_defconfig | 2 ++
2
we support different boot mode
- normal
- normal_forced
- update
- rescue
- usb
- network
- test
each of them need to be checked this will allow to decide what is the next
boot mode during the boot sequence
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
drivers/misc/bootcount
The bootcount is always how many time the system start.
To determine since when, this will depend on the driver implementation
and your hardware feature.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
drivers/misc/Kconfig| 2 ++
drivers/misc/Makefile | 1 +
drivers
use a register to store the boot count
if 2 ressources: one for magic, one for value
otherwise 16 upper bit for magic 16 lower for value
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
drivers/misc/bootcount/Kconfig| 7 +++
drivers/misc/bootcount/Makefile | 1 +
drivers/misc
bootcount support (2013-09-21 14:38:41 +0800)
Jean-Christophe PLAGNIOL-VILLARD (4):
misc: add bootcount framework
bootcount: add simple register support
bootcount: add somfy bootcount support
animeo_ip: add
On 08:29 Fri 20 Sep , Sascha Hauer wrote:
> On Thu, Sep 19, 2013 at 01:56:38PM +0200, Jean-Christophe PLAGNIOL-VILLARD
> wrote:
> > On 09:00 Wed 18 Sep , Sascha Hauer wrote:
> > > On Tue, Sep 17, 2013 at 09:52:18AM +0200, Jean-Christophe
> > > PLAGNIOL-VIL
On 09:23 Fri 20 Sep , Sascha Hauer wrote:
> On Fri, Sep 20, 2013 at 06:46:15AM +0200, Jean-Christophe PLAGNIOL-VILLARD
> wrote:
> > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
> > ---
> > drivers/misc/Kconfig | 3 +++
> > drivers/misc/Makefi
On 09:06 Fri 20 Sep , Sascha Hauer wrote:
> On Fri, Sep 20, 2013 at 07:06:24AM +0200, Jean-Christophe PLAGNIOL-VILLARD
> wrote:
> > if not uimage set 0 by default
>
> Can you elaborate more what this patch does and in which situations it
> helps?
today we do not see th
On 09:04 Fri 20 Sep , Sascha Hauer wrote:
> On Fri, Sep 20, 2013 at 07:47:43AM +0200, Jean-Christophe PLAGNIOL-VILLARD
> wrote:
> > use random mac address with fixed OUI provided
> >
> > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
> > ---
> &g
if the macb's mac is not a valid public mac set a private with "smf" as OUI
as the mac address might be set by the previous bootloader
set a private with "smf" as OUI for asix
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
arch/arm/boa
use random mac address with fixed OUI provided
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
include/local_mac_address.h | 40
1 file changed, 40 insertions(+)
create mode 100644 include/local_mac_address.h
diff --git a/include
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
arch/arm/boards/animeo_ip/init.c | 38 +-
1 file changed, 37 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boards/animeo_ip/init.c b/arch/arm/boards/animeo_ip/init.c
index 5419ddb..65fc0e6 100644
--- a
h changes up to 994c17ca145407c6a0edae4caf096e4dcdde1535:
animeo_ip: retrieve the mac from the macb and set private mac to asix
(2013-09-20 13:44:30 +0800)
----
Jean-Christophe PLAGNIOL-VILLARD (3):
introduce helper to generate mac address with OUI
animeo_ip: en
if the macb's mac is not a valid public mac set a private with "smf" as OUI
as the mac address might be set by the previous bootloader
set a private with "smf" as OUI for asix
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
arch/arm/boa
use random mac address with fixed OUI provided
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
include/local_mac_address.h | 40
1 file changed, 40 insertions(+)
create mode 100644 include/local_mac_address.h
diff --git a/include
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
arch/arm/boards/animeo_ip/init.c | 38 +-
1 file changed, 37 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boards/animeo_ip/init.c b/arch/arm/boards/animeo_ip/init.c
index e99acd0..c98493f 100644
--- a
to asix
(2013-09-20 13:31:14 +0800)
----
Jean-Christophe PLAGNIOL-VILLARD (3):
introduce helper to generate mac address with OUI
animeo_ip: ensure the phy is reset correctly
animeo_ip: retrieve the mac from the macb and
so we can always found it and not confuse it with a usb stick device
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
arch/arm/boards/animeo_ip/init.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boards/animeo_ip/init.c b/arch/arm/boards/animeo_ip/init.c
index 5419ddb
if not uimage set 0 by default
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
commands/bootm.c | 1 +
common/bootm.c | 15 ++-
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/commands/bootm.c b/commands/bootm.c
index a4004df..7acf341 100644
--- a/commands
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
drivers/misc/Kconfig | 3 +++
drivers/misc/Makefile| 1 +
drivers/misc/bootcount.c | 24
include/bootcount.h | 21 +
4 files changed, 49 insertions(+)
create mode 100644 drivers/misc
when updating to defaultenv-2 we will use it to decide what to boot
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
arch/arm/boards/animeo_ip/init.c | 2 ++
arch/arm/configs/animeo_ip_defconfig | 2 ++
2 files changed, 4 insertions(+)
diff --git a/arch/arm/boards/animeo_ip/init.c b
we support different boot mode
- normal
- normal_forced
- update
- rescue
- usb
- network
- test
each of them need to be checked this will allow to decide what is the next
boot mode during the boot sequence
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
drivers/misc/Kconfig
)
Jean-Christophe PLAGNIOL-VILLARD (3):
misc: add bootcount framework
misc: add somfy bootcount support
animeo_ip: add bootcount support
arch/arm/boards/animeo_ip/init.c | 2 ++
arch/arm/configs/animeo_ip_defconfig | 2 ++
drivers/misc/Kconfig
None of the driver make the difference between STDOUT and STDERR.
So we just need to check if putc or getc are filled in the console_device
save 32 bytes on versatilepb
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
arch/sandbox/board/console.c | 5 -
arch/sandbox
on animeo ip we use a RO barebox env
we will add later it's support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
arch/arm/boards/animeo_ip/env/config | 2 +-
arch/arm/boards/animeo_ip/init.c | 6 --
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/arch/arm/b
so we can get console by it's device
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
common/console_common.c | 13 +
include/console.h | 2 ++
2 files changed, 15 insertions(+)
diff --git a/common/console_common.c b/common/console_common.c
index d139d1a..24aa63e 1
this will be used to force the update or the start test mode
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
arch/arm/boards/animeo_ip/init.c | 88 ++--
arch/arm/configs/animeo_ip_defconfig | 1 -
2 files changed, 83 insertions(+), 6 deletions(-)
diff
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
drivers/serial/atmel.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/drivers/serial/atmel.c b/drivers/serial/atmel.c
index 89c141e..40945c9 100644
--- a/drivers/serial/atmel.c
+++ b/drivers/serial/atmel.c
so we can set the port in rs485 mode
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
include/console.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/include/console.h b/include/console.h
index 355e259..ef6e193 100644
--- a/include/console.h
+++ b/include/console.h
@@ -28,6
so if we need to do something switch in the board we can fill this function
pointer (as example on Animeo IP shutdown some rs232 & rs485)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
common/startup.c | 4
include/common.h | 1 +
2 files changed, 5 insertions(+)
diff --git a/co
support (2013-09-19 21:15:50 +0800)
Jean-Christophe PLAGNIOL-VILLARD (5):
shutdown: add board call back
console: introduce console_get_by_dev
console: introduce new callback set_mode
atmel_serial: add rs485
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
arch/arm/boards/animeo_ip/init.c | 16
arch/arm/configs/animeo_ip_defconfig | 5 +
2 files changed, 21 insertions(+)
diff --git a/arch/arm/boards/animeo_ip/init.c b/arch/arm/boards/animeo_ip/init.c
index 56b8df2
the format is %08x
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
v2:
improve help description
Best Regards,
J.
commands/crc.c | 20 +++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/commands/crc.c b/commands/crc.c
index a0071b0..ee8dacf 100644
On 09:00 Wed 18 Sep , Sascha Hauer wrote:
> On Tue, Sep 17, 2013 at 09:52:18AM +0200, Jean-Christophe PLAGNIOL-VILLARD
> wrote:
> > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
> > ---
> > common/filetype.c | 3 +++
> > include/filetype.h | 1 +
>
On 09:03 Wed 18 Sep , Sascha Hauer wrote:
> On Tue, Sep 17, 2013 at 09:52:19AM +0200, Jean-Christophe PLAGNIOL-VILLARD
> wrote:
> > Simply do the same as barebox and hope for the best as u-boot does not
> > handle
> > runtime address detection for boot quite often. It
as today qemu does not support phy, it will return always 0x0 to any read
on the mii bus. So the phy_id is 0 and the link is donw.
To have the norwork running on versatilpb & other qenu board for the link up
at 100Mbps.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
drivers/net/smc911
On 07:50 Thu 19 Sep , Jean-Christophe PLAGNIOL-VILLARD wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
ignore this one it'a handle already at driver level
Best Regards,
J.
> ---
> arch/arm/boards/versatile/versatilepb.c | 5 -
> 1 file changed, 4 insertio
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
arch/arm/boards/versatile/versatilepb.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boards/versatile/versatilepb.c
b/arch/arm/boards/versatile/versatilepb.c
index 2eb7473..fa0585d 100644
--- a/arch/arm
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
drivers/net/smc9.c | 22 +-
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a/drivers/net/smc9.c b/drivers/net/smc9.c
index 48183dd..8c7a343 100644
--- a/drivers/net/smc9.c
+++ b/drivers/net
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
common/filetype.c | 3 +++
include/filetype.h | 1 +
2 files changed, 4 insertions(+)
diff --git a/common/filetype.c b/common/filetype.c
index f986ea4..e07b65a 100644
--- a/common/filetype.c
+++ b/common/filetype.c
@@ -51,6 +51,7 @@ static
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
fs/Kconfig | 4 +
fs/Makefile | 1 +
fs/somfy_bpk2.c | 357 +++
include/somfy_bpk2.h | 59 +
4 files changed, 421 insertions(+)
create mode 100644 fs
On 10:48 Mon 16 Sep , Sascha Hauer wrote:
> This adds a simple socfpga specific 'fpga' command to load a firmware
> to the FPGA. For the moment this is enough, but should we get more
> FPGA support it might be a good idea to introduce some generic framework
> and command.
I do not like command
> +static int socfpga_env_init(void)
> +{
> + struct stat s;
> + char *diskdev, *partname;
> + int ret;
> +
> + diskdev = "mmc0";
> +
> + device_detect_by_name(diskdev);
> +
> + partname = asprintf("/dev/%s.1", diskdev);
> +
> + ret = stat(partname, &s);
> +
> + if (
On 10:48 Mon 16 Sep , Sascha Hauer wrote:
> Signed-off-by: Sascha Hauer
> ---
> arch/arm/boards/Makefile | 1 +
> arch/arm/boards/terasic-sockit/Makefile| 2 +
> arch/arm/boards/terasic-sockit/board.c | 37
> arch/arm/boards/terasic-
the format is %08x
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
commands/crc.c | 20 +++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/commands/crc.c b/commands/crc.c
index a0071b0..b7416e1 100644
--- a/commands/crc.c
+++ b/commands/crc.c
@@ -82,6 +82,19
Simply do the same as barebox and hope for the best as u-boot does not handle
runtime address detection for boot quite often. It does only execpt you to
choose as compiling time.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
arch/arm/lib/bootm.c | 13 +
1 file changed, 13
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
common/filetype.c | 3 +++
include/filetype.h | 1 +
2 files changed, 4 insertions(+)
diff --git a/common/filetype.c b/common/filetype.c
index 7507d85..59ea25a 100644
--- a/common/filetype.c
+++ b/common/filetype.c
@@ -35,6 +35,7 @@ static
so we can specify the devname in the board
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
arch/arm/mach-at91/include/mach/board.h | 1 +
drivers/mci/atmel_mci.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/arch/arm/mach-at91/include/mach/board.h
b/arch/arm/mach
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
common/hush.c | 6 ++
common/parser.c | 9 +
include/shell.h | 12
lib/process_escape_sequence.c | 7 +++
4 files changed, 34 insertions(+)
create mode 100644 include
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
arch/arm/boards/animeo_ip/init.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boards/animeo_ip/init.c b/arch/arm/boards/animeo_ip/init.c
index 06d542e..56b8df2 100644
--- a/arch/arm/boards/animeo_ip/init.c
+++ b/arch/arm
From: Fargier Sylvain
FILE object was not updated properly when seeking.
Signed-off-by: Fargier Sylvain
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
fs/fat/fat.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/fat/fat.c b/fs/fat/fat.c
index 871fe4b..15879c4 100644
--- a/fs/fat
Some of the irq can still be on after a reset or power on as the IP are
powered by the backup power. This could lead to an interrupt dead lock
when the kernel boot. So disable them before booting.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
Cc: Nicolas Ferre
---
arch/arm/mach-at91/Makefile
use the same option as linux -O
as example due to a bug in already deployed kernel we must for the VID offset
at 512 even it should be at 256
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
commands/ubi.c | 20
1 file changed, 16 insertions(+), 4 deletions(-)
diff
so we can types var
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
common/globalvar.c | 2 +-
include/globalvar.h | 83 +
2 files changed, 84 insertions(+), 1 deletion(-)
diff --git a/common/globalvar.c b/common/globalvar.c
index
even if the env is broken you will have a password
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
commands/passwd.c | 8 ++---
common/Kconfig | 5 +++
common/Makefile| 20
common/password.c | 94 ++
include
login support (2013-09-17 01:01:08 +0800)
Jean-Christophe PLAGNIOL-VILLARD (5):
globalvar: add globalvar_add_simple_int/bool/enum/ip support
login: add globalvar timeout support
login: disable input console if
so we guarantee that barebox is secured again user interaction
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
commands/login.c| 6 +-
common/console.c| 6 ++
common/console_common.c | 33 +
common/console_simple.c | 9
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
commands/login.c | 18 +-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/commands/login.c b/commands/login.c
index fb6bb35..485def2 100644
--- a/commands/login.c
+++ b/commands/login.c
@@ -20,6 +20,10 @@
#include
501 - 600 of 2814 matches
Mail list logo