Re: [PATCH] xload: be more flexible when searching for second stage bootloader.

2015-09-30 Thread vj
On Wed, Sep 30, 2015 at 8:19 AM, Sascha Hauer <s.ha...@pengutronix.de> wrote: > On Tue, Sep 29, 2015 at 08:06:35PM +0100, vj wrote: >> On Tue, Sep 29, 2015 at 8:05 AM, Sascha Hauer <s.ha...@pengutronix.de> wrote: >> > On Sun, Sep 27, 2015 at 03:08:51PM +0100, Vicen

Re: [PATCH] xload: be more flexible when searching for second stage bootloader.

2015-09-29 Thread vj
On Tue, Sep 29, 2015 at 8:05 AM, Sascha Hauer wrote: > On Sun, Sep 27, 2015 at 03:08:51PM +0100, Vicente Bergas wrote: >> A first stage bootloader can read fat and ext4 filesystems, and >> even both can be compiled-in at the same time. >> But then xload has a hardcoded fat

Re: [PATCH 0/6] ArchosG9: add keyboard input and new reset menu entries (v2)

2013-03-25 Thread vj
On Mon, Mar 25, 2013 at 10:39 AM, Sascha Hauer s.ha...@pengutronix.de wrote: On Sat, Mar 16, 2013 at 11:59:36PM +0100, Vicente Bergas wrote: This is the second version of this patch series, it includes all feedback received which is greatly appreciated. Vicente Bergas (6): OMAP4: check

Re: [PATCH 3/4] OMAP4: add command to select next boot device priority

2013-03-12 Thread vj
On Tue, Mar 12, 2013 at 6:51 PM, Sascha Hauer s.ha...@pengutronix.de wrote: On Tue, Mar 12, 2013 at 01:01:24AM +0100, Vicente Bergas wrote: getopt: done as suggested bootsrc: done as suggested IMO this command will be used 99% of the times followed by a reset. The -r option will avoid the

Re: [PATCH 3/4] OMAP4: add command to select next boot device priority

2013-03-12 Thread vj
On Tue, Mar 12, 2013 at 10:20 PM, Sascha Hauer s.ha...@pengutronix.de wrote: On Tue, Mar 12, 2013 at 09:20:11PM +0100, vj wrote: On Tue, Mar 12, 2013 at 6:51 PM, Sascha Hauer s.ha...@pengutronix.de wrote: On Tue, Mar 12, 2013 at 01:01:24AM +0100, Vicente Bergas wrote: getopt: done

Re: [PATCH 4/4] ArchosG9: add keyboard input and new reset menu entries

2013-03-11 Thread vj
On Mon, Mar 11, 2013 at 10:45 PM, Sascha Hauer s.ha...@pengutronix.de wrote: On Mon, Mar 11, 2013 at 12:36:07AM +0100, Vicente Bergas wrote: Signed-off-by: Vicente Bergas vice...@gmail.com --- arch/arm/boards/archosg9/board.c | 25 +++

Re: [PATCH 4/9] omap_uart: add low level port serial initialization

2013-03-10 Thread vj
On Sun, Mar 10, 2013 at 11:35 PM, Sascha Hauer s.ha...@pengutronix.de wrote: On Sun, Mar 10, 2013 at 11:16:00PM +0100, vj wrote: On Sun, Mar 10, 2013 at 2:16 PM, Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: On 00:19 Sun 10 Mar , Vicente Bergas wrote: some sort of UART

Question about OMAP4 boot priorities

2013-03-10 Thread vj
Hello, I'm experimenting with a tablet with an OMAP4460 SoC. It's not a development board with easy access to the sys_boot pins. It's factory defaults for sys_boot is 0x36 which defines a boot priority as follows: 1:MMC2(1) 2:USB(1) 3:UART 4:MMC1 scholbert from xda-developers identified some

Re: [PATCH] feature_list: a way to pass hardware info to the kernel

2013-01-23 Thread vj
On Wed, Jan 23, 2013 at 9:51 PM, Sascha Hauer s.ha...@pengutronix.de wrote: On Sat, Jan 19, 2013 at 06:23:27PM +0100, Vicente Bergas wrote: Hi Sascha, I've made the changes you suggested in this resent patch. Everything related to custom ATAGs has been moved to the board directory. The

Re: [PATCH 1/2] uimage: fix misunderstanding in common/uimage.c

2012-11-24 Thread vj
On Sat, Nov 24, 2012 at 9:45 AM, Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: On 04:24 Sat 24 Nov , Vicente Bergas wrote: The option of reading the file at once was discarded because the option of increasing the buffer size provided almost the same benefit. nack this is

Re: [PATCH 6/6] OMAP4: clean voltage switch

2012-10-20 Thread vj
On Fri, Oct 19, 2012 at 12:43 PM, Jan Weitzel j.weit...@phytec.de wrote: Am Freitag, den 19.10.2012, 00:30 +0200 schrieb Vicente Bergas: OMAP4 requires that parent domains scale ahead of dependent domains. This is due to the restrictions in timing closure. To ensure a consistent behavior

Re: [PATCH 14/14] Add support for Archos G9 tablet

2012-10-20 Thread vj
On Fri, Oct 19, 2012 at 1:10 PM, Jan Weitzel j.weit...@phytec.de wrote: diff --git a/arch/arm/boards/archosg9/lowlevel.c b/arch/arm/boards/archosg9/lowlevel.c new file mode 100644 index 000..fa5be1d --- /dev/null +++ b/arch/arm/boards/archosg9/lowlevel.c @@ -0,0 +1,79 @@ +/* + * This

Re: [PATCH 0/6] archosg9: improve support for tablet

2012-10-18 Thread vj
On Mon, Oct 15, 2012 at 9:27 AM, Sascha Hauer s.ha...@pengutronix.de wrote: Hi vj, On Mon, Oct 15, 2012 at 02:22:34AM +0200, Vicente Bergas wrote: This patch series solves/improves/implements: ttyOxxx are 0 based, so change ttyO1 to ttyO0 change speed to 115200, there are some issues

Re: [PATCH 0/5] archosg9: improve support for tablet

2012-10-13 Thread vj
On Sat, Oct 13, 2012 at 4:19 PM, Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: HI, can you use your REAL NAME please Best Regards, J. This project is my first time I'm using git to send e-mails. The first e-mails were sent (as default) with my nickname (vj). Then I

Re: [PATCH 00/14] archosg9: add support for tablet

2012-10-11 Thread vj
On Wed, Oct 10, 2012 at 11:32 AM, Sascha Hauer s.ha...@pengutronix.de wrote: On Wed, Oct 10, 2012 at 10:57:12AM +0200, vj wrote: On Wed, Oct 10, 2012 at 9:40 AM, Sascha Hauer s.ha...@pengutronix.de wrote: On Tue, Oct 09, 2012 at 12:55:10AM +0200, Vicente wrote: This patch series is the same

Re: [PATCH 2/3] ARM OMAP: Remove usage of gpio lib calls in lowlevel code

2012-10-09 Thread vj
On Tue, Oct 9, 2012 at 11:53 AM, Teresa Gámez t.ga...@phytec.de wrote: As the gpio functions are not available at this point, set the gpio manually. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/mach-omap/omap4_generic.c | 29 +++-- 1 files changed, 27

Re: [PATCH 06/13] bootm: close open files

2012-10-08 Thread vj
On Mon, Oct 8, 2012 at 10:18 PM, Sascha Hauer s.ha...@pengutronix.de wrote: On Mon, Oct 08, 2012 at 12:01:20AM +0200, Vicente wrote: Signed-off-by: Vicente vice...@gmail.com --- arch/arm/lib/bootm.c | 4 +++- commands/bootm.c | 6 +- 2 files changed, 8 insertions(+), 2 deletions(-)

Re: [PATCH 00/11] archosg9: add support for tablet, third round

2012-10-07 Thread vj
On Sun, Oct 7, 2012 at 12:34 PM, Sascha Hauer s.ha...@pengutronix.de wrote: Hi vj, On Sat, Oct 06, 2012 at 12:33:02AM +0200, vj wrote: Hello, here is the third round of patches including most of the modifications suggested by your comments, which are greatly appreciated. one

Re: [PATCH 10/11] mach-types: add ID for Archos G9 tablet

2012-10-07 Thread vj
On Sun, Oct 7, 2012 at 2:16 PM, Sascha Hauer s.ha...@pengutronix.de wrote: On Sun, Oct 07, 2012 at 02:07:28PM +0200, vj wrote: On Sun, Oct 7, 2012 at 12:30 PM, Sascha Hauer s.ha...@pengutronix.dewrote: Please no manual updates to this file, they will be overwritten once the next update from

[PATCH 04/11] ARM: ensure irqs are disabled

2012-10-05 Thread vj
Signed-off-by: vj vice...@gmail.com --- arch/arm/cpu/cpu.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/cpu/cpu.c b/arch/arm/cpu/cpu.c index 87ba877..45c3a90 100644 --- a/arch/arm/cpu/cpu.c +++ b/arch/arm/cpu/cpu.c @@ -85,6 +85,12 @@ void arch_shutdown(void

[PATCH 02/11] twl6030: add debug info

2012-10-05 Thread vj
Signed-off-by: vj vice...@gmail.com --- drivers/mfd/twl6030.c | 20 include/mfd/twl6030.h | 8 2 files changed, 28 insertions(+) diff --git a/drivers/mfd/twl6030.c b/drivers/mfd/twl6030.c index 01728fd..87ee232 100644 --- a/drivers/mfd/twl6030.c +++ b/drivers/mfd

[PATCH 01/11] regression: reset can not return

2012-10-05 Thread vj
Signed-off-by: vj vice...@gmail.com --- arch/arm/boards/friendlyarm-tiny210/lowlevel.c | 2 +- arch/arm/boards/panda/lowlevel.c | 2 +- arch/arm/boards/pcm049/lowlevel.c | 2 +- arch/arm/boards/phycard-a-xl2/lowlevel.c | 2 +- 4 files changed, 4 insertions(+), 4

[PATCH 00/11] archosg9: add support for tablet, third round

2012-10-05 Thread vj
at faf7b7af6e51a33b88453821d792c89a84f72b1d ARM: give boards control of the reset entry point Regards, Vicente. vj (11): regression: reset can not return twl6030: add debug info omap4: add/rename definitions to match datasheet ARM: ensure irqs are disabled omap: revert gpiolib

[PATCH 03/11] omap4: add/rename definitions to match datasheet

2012-10-05 Thread vj
Signed-off-by: vj vice...@gmail.com --- arch/arm/boards/panda/mux.c | 52 arch/arm/boards/pcm049/mux.c| 44 +++--- arch/arm/boards/phycard-a-xl2/mux.c | 46 +++--- arch/arm/mach-omap/include/mach/omap4-mux.h

[PATCH 09/11] omap4: add support for loading second stage from usb

2012-10-05 Thread vj
Signed-off-by: vj vice...@gmail.com --- arch/arm/mach-omap/xload.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/mach-omap/xload.c b/arch/arm/mach-omap/xload.c index 9fa8221..240d3ff 100644 --- a/arch/arm/mach-omap/xload.c +++ b/arch/arm/mach-omap

[PATCH 06/11] omap4: add support for booting an omap4 from usb.

2012-10-05 Thread vj
Signed-off-by: vj vice...@gmail.com --- Documentation/oamp4_usb_booting.txt | 27 ++ arch/arm/mach-omap/Kconfig | 9 + arch/arm/mach-omap/Makefile | 1 + arch/arm/mach-omap/include/mach/omap4_rom_usb.h | 142 arch/arm/mach-omap

[PATCH 10/11] mach-types: add ID for Archos G9 tablet

2012-10-05 Thread vj
Signed-off-by: vj vice...@gmail.com --- arch/arm/tools/mach-types | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/tools/mach-types b/arch/arm/tools/mach-types index 325513f..a21da3b 100644 --- a/arch/arm/tools/mach-types +++ b/arch/arm/tools/mach-types @@ -4148,3 +4148,4

Re: [PATCH 6/9] omap4: add usb boot support

2012-09-30 Thread vj
: On 30 September 2012 06:50, vj vice...@gmail.com wrote: --- arch/arm/cpu/cpu.c | 1 + arch/arm/mach-omap/Kconfig | 7 + arch/arm/mach-omap/Makefile | 1 + arch/arm/mach-omap/include/mach/omap4_rom_usb.h

Re: [PATCH 6/9] omap4: add usb boot support

2012-09-30 Thread vj
About the need more explanation here, see: lists.infradead.org/pipermail/barebox/2012-September/009865.html omap_vector_init is disabled because it breaks usb booting. Seems to be differences between u-boot and barebox. I don't know which behaviour is the correct, but by now disable it as in

Re: [PATCH 6/9] omap4: add usb boot support

2012-09-30 Thread vj
About the can you put a device driver for this: omap4_usbboot_puts is used in the device driver serial_omap4_usbboot and omap4_usbbootfs or are you meaning to put the whole code for usb communications in a driver? ___ barebox mailing list

Re: [PATCH 6/9] omap4: add usb boot support

2012-09-30 Thread vj
it requires interrupts enabled. Regards, Vicente. On Sun, Sep 30, 2012 at 5:29 PM, Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: On 17:02 Sun 30 Sep , vj wrote: In fact the interrupts get enabled at omap4_usbboot_open, it's required for usb transfers

[PATCH 2/9] mmc_omap: improve error message

2012-09-29 Thread vj
--- drivers/mci/omap_hsmmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mci/omap_hsmmc.c b/drivers/mci/omap_hsmmc.c index e0b245b..e6f4e47 100644 --- a/drivers/mci/omap_hsmmc.c +++ b/drivers/mci/omap_hsmmc.c @@ -238,7 +238,7 @@ static int mmc_init_setup(struct

[PATCH 5/9] add gitignore file

2012-09-29 Thread vj
--- scripts/kconfig/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/kconfig/.gitignore b/scripts/kconfig/.gitignore index 624f650..9cd5120 100644 --- a/scripts/kconfig/.gitignore +++ b/scripts/kconfig/.gitignore @@ -3,6 +3,7 @@ # config* lex.*.c +*.lex.c *.tab.c

[PATCH 4/9] twl6030: add debug info

2012-09-29 Thread vj
--- drivers/mfd/twl6030.c | 22 ++ include/mfd/twl6030.h | 8 2 files changed, 30 insertions(+) diff --git a/drivers/mfd/twl6030.c b/drivers/mfd/twl6030.c index 7ecfed8..b8b0418 100644 --- a/drivers/mfd/twl6030.c +++ b/drivers/mfd/twl6030.c @@ -39,6 +39,28 @@ static

[PATCH 0/9] archosg9: add support for tablet, second round

2012-09-29 Thread vj
reopens the usb port and that works. 2.- The usb scripts have been splitted in several files. vj (9): ARM: set rev instead of returning it mmc_omap: improve error message omap4: add/rename definitions to match datasheet twl6030: add debug info add gitignore file omap4: add usb boot

[PATCH 7/9] omap4: add serial communications over usb boot

2012-09-29 Thread vj
--- drivers/serial/Kconfig| 7 +++ drivers/serial/Makefile | 1 + drivers/serial/serial_omap4_usbboot.c | 87 +++ 3 files changed, 95 insertions(+) create mode 100644 drivers/serial/serial_omap4_usbboot.c diff --git

[PATCH 3/9] omap4: add/rename definitions to match datasheet

2012-09-29 Thread vj
--- arch/arm/boards/panda/mux.c | 52 +-- arch/arm/boards/pcm049/mux.c| 44 +-- arch/arm/boards/phycard-a-xl2/mux.c | 46 +-- arch/arm/mach-omap/include/mach/omap4-mux.h | 486 +---

[PATCH 8/9] omap4: add filesystem support over usb boot

2012-09-29 Thread vj
--- arch/arm/mach-omap/xload.c | 26 ++ fs/Kconfig | 5 + fs/Makefile| 1 + fs/omap4_usbbootfs.c | 223 + 4 files changed, 255 insertions(+) create mode 100644 fs/omap4_usbbootfs.c diff --git

[PATCH 1/9] ARM: set rev instead of returning it

2012-09-29 Thread vj
--- arch/arm/lib/armlinux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/lib/armlinux.c b/arch/arm/lib/armlinux.c index 191274e..74d59a9 100644 --- a/arch/arm/lib/armlinux.c +++ b/arch/arm/lib/armlinux.c @@ -80,7 +80,7 @@ void armlinux_set_revision(unsigned int

Re: [PATCH 4/7] Add USB booting capabilities to OMAP

2012-09-27 Thread vj
, 2012 at 9:45 AM, Sascha Hauer s.ha...@pengutronix.dewrote: On Wed, Sep 26, 2012 at 12:59:51AM +0200, vj wrote: --- arch/arm/cpu/cpu.c | 1 + arch/arm/lib/barebox.lds.S | 10 + arch/arm/mach-omap/Kconfig | 21

[PATCH 0/7] [RFC][PATCH] archosg9: add support for tablet

2012-09-25 Thread vj
the patch should be tested with other boards to check it does not breaks something. vj (7): Improved an error message and solved a minor bug added debug info for twl6030 OMAP specific changes Add USB booting capabilities to OMAP add console support over the same USB used for booting add

[PATCH 1/7] Improved an error message and solved a minor bug

2012-09-25 Thread vj
--- arch/arm/lib/armlinux.c | 2 +- drivers/mci/omap_hsmmc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/lib/armlinux.c b/arch/arm/lib/armlinux.c index 191274e..74d59a9 100644 --- a/arch/arm/lib/armlinux.c +++ b/arch/arm/lib/armlinux.c @@ -80,7 +80,7 @@ void

[PATCH 2/7] added debug info for twl6030

2012-09-25 Thread vj
--- drivers/mfd/twl6030.c | 13 + include/mfd/twl6030.h | 8 2 files changed, 21 insertions(+) diff --git a/drivers/mfd/twl6030.c b/drivers/mfd/twl6030.c index 7ecfed8..a2d16a1 100644 --- a/drivers/mfd/twl6030.c +++ b/drivers/mfd/twl6030.c @@ -39,6 +39,19 @@ static int

[PATCH 3/7] OMAP specific changes

2012-09-25 Thread vj
mux: added definitions with the same names as in the datasheet added two new definitions changed PAD definitions to have the same names in the datasheet changed value for jtag_tck to match the one on the datasheet added base addresses and usb bootsrc ---

[PATCH 5/7] add console support over the same USB used for booting

2012-09-25 Thread vj
--- drivers/serial/Kconfig | 7 + drivers/serial/Makefile | 1 + drivers/serial/serial_usb.c | 64 + 3 files changed, 72 insertions(+) create mode 100644 drivers/serial/serial_usb.c diff --git a/drivers/serial/Kconfig

[PATCH 6/7] add filesystem support over the same USB used for booting

2012-09-25 Thread vj
--- fs/Kconfig | 5 ++ fs/Makefile| 1 + fs/usbbootfs.c | 195 + 3 files changed, 201 insertions(+) create mode 100644 fs/usbbootfs.c diff --git a/fs/Kconfig b/fs/Kconfig index 4c66543..1b89aec 100644 --- a/fs/Kconfig +++

[PATCH 7/7] Add support for Archos G9 tablet

2012-09-25 Thread vj
--- arch/arm/Makefile | 1 + arch/arm/boards/archosg9/Makefile | 1 + arch/arm/boards/archosg9/board.c | 58 arch/arm/boards/archosg9/env/bin/init | 18 +++ arch/arm/boards/archosg9/env/config | 2 +

[PATCH 4/7] Add USB booting capabilities to OMAP

2012-09-25 Thread vj
--- arch/arm/cpu/cpu.c | 1 + arch/arm/lib/barebox.lds.S | 10 + arch/arm/mach-omap/Kconfig | 21 + arch/arm/mach-omap/Makefile | 1 + arch/arm/mach-omap/include/mach/omap4_rom_usb.h | 146 +

[RFC][PATCH] archosg9: add support for tablet

2012-09-24 Thread vj
Hello, this is my first contribution, so I'm basically requesting for comments. The attached patch adds support for Archos G9 tablet wich uses an OMAP4460 cpu. The tablet by default only boots from internal flash, so to test barebox on it a hardware tweak is required: change the sys_boot