Re: [USB BOOT] Help needed

2017-02-13 Thread Vicente Bergas
On Mon, Feb 13, 2017 at 9:25 AM, Sascha Hauer wrote: > Hi Vincente, > > On Sat, Feb 11, 2017 at 02:50:12PM +0100, Vicente Bergas wrote: >> Hello >> >> Background on the issue >> ### >> >> Some time ago functionality was add

[USB BOOT] Help needed

2017-02-11 Thread Vicente Bergas
Hello Background on the issue ### Some time ago functionality was added to enable OMAP4 to boot over USB: https://git.pengutronix.de/cgit/barebox/commit/?id=6b4dc4d4f128bd22df4d022ad37285ce4858e1e8 That implementation uses the usb library stored in the OMAP4 ROM. The use of th

Re: scripts/checkpatch.pl is deprecated

2017-01-16 Thread Vicente Bergas
On Mon, Jan 16, 2017 at 8:36 AM, Sascha Hauer wrote: > On Sun, Jan 15, 2017 at 08:42:42PM +0100, Vicente Bergas wrote: >> On Thu, Jan 12, 2017 at 11:27 AM, Ian Abbott wrote: >> > On 11/01/17 20:07, Uwe Kleine-König wrote: >> >> >> >> On Wed, Jan 11, 2017

Re: scripts/checkpatch.pl is deprecated

2017-01-15 Thread Vicente Bergas
On Thu, Jan 12, 2017 at 11:27 AM, Ian Abbott wrote: > On 11/01/17 20:07, Uwe Kleine-König wrote: >> >> On Wed, Jan 11, 2017 at 08:35:11PM +0100, Vicente Bergas wrote: >>> >>> Hello, >>> when using scripts/checkpatch.pl it may report: >>> Unesca

Re: scripts/checkpatch.pl is deprecated

2017-01-15 Thread Vicente Bergas
On Thu, Jan 12, 2017 at 11:27 AM, Ian Abbott wrote: > On 11/01/17 20:07, Uwe Kleine-König wrote: >> >> On Wed, Jan 11, 2017 at 08:35:11PM +0100, Vicente Bergas wrote: >>> >>> Hello, >>> when using scripts/checkpatch.pl it may report: >>> Unesca

scripts/checkpatch.pl is deprecated

2017-01-11 Thread Vicente Bergas
Hello, when using scripts/checkpatch.pl it may report: Unescaped left brace in regex is deprecated, passed through in regex at scripts/checkpatch.pl line 2267. This error is shown if a patch contains a left brace with no preceding space like in: if(condition){ Should the script be fixed or

[PATCH] scripts/omap4_usbboot: use libusb

2017-01-11 Thread Vicente Bergas
Signed-off-by: Vicente Bergas --- scripts/.gitignore | 1 + scripts/Makefile| 4 +- scripts/{omap4_usbboot => }/omap4_usbboot.c | 78 -- scripts/omap4_usbboot/.gitignore| 1 - scripts/omap4_usbboot/Makef

[PATCH 1/1] [PATCH] fix ARMv8 interference with ARMv7

2016-08-08 Thread Vicente Bergas
CONFIG_CPU_V8 is checked against 'y' and 'n', but the case when the variable is unset is not considered. This patch only checks the variable against a single value 'y' so the logic is always coherent even when the variable is unset. Signed-off-by: Vicente Ber

[PATCH 1/2] detect_fs: use device instead of file

2015-10-01 Thread Vicente Bergas
detect_fs would usually mount a device on a directory, so, use a device-specific type detection. Signed-off-by: Vicente Bergas --- common/filetype.c | 37 +++ fs/fs.c| 2 +- include/filetype.h | 1 + 3 files changed, 41 insertions(+), 1

[PATCH 0/2] second version for "be more flexible when searching for second stage"

2015-10-01 Thread Vicente Bergas
Hello, as suggested I've improved the filesystem-type detection, but, as am not familiar with barebox internals was fumbling a bit and the resulting cdev_detect_type is a version of file_name_detect_type. During testing it autodetected MBR+FAT and MBR+EXT4 correctly. Regards, Vicente. Vi

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

2015-10-01 Thread Vicente Bergas
formatted filesystem is it to be a standard linux filesystem, which contains boot-related files in /boot. So, when searching for the second stage bootloader, try /boot/barebox.bin after not finding it in /barebox.bin Signed-off-by: Vicente Bergas --- arch/arm/mach-omap/xload.c | 4 +++- 1 file

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

2015-09-27 Thread Vicente Bergas
formatted filesystem is it to be a standard linux filesystem, which contains boot-related files in /boot. So, when searching for the second stage bootloader, try /boot/barebox.bin after not finding it in /barebox.bin Signed-off-by: Vicente Bergas --- arch/arm/mach-omap/xload.c | 4 1 file

[PATCH 0/3] ArchosG9 updates.

2015-09-25 Thread Vicente Bergas
ht that it would be better to share it. By the way, while checking the patches with "scripts/checkpatch.pl" the script itself reported several 'Unescaped left brace in regex is deprecated' warnings. The perl version is v5.22.0. Regards, Vicente. Vicente Bergas (3): archosg

[PATCH 2/3] archosg9: Use defaultenv-2-menu

2015-09-25 Thread Vicente Bergas
Signed-off-by: Vicente Bergas --- arch/arm/boards/archosg9/env/bin/init | 28 -- arch/arm/boards/archosg9/env/init/automount| 28 -- arch/arm/boards/archosg9/env/init/automount2 | 7 ++ .../boards/archosg9/env/menu/11-boot

[PATCH 1/3] archosg9: re-generate defconfigs with "make savedefconfig"

2015-09-25 Thread Vicente Bergas
Signed-off-by: Vicente Bergas --- arch/arm/configs/archosg9_defconfig | 60 +++ arch/arm/configs/archosg9_xload_defconfig | 4 --- 2 files changed, 28 insertions(+), 36 deletions(-) diff --git a/arch/arm/configs/archosg9_defconfig b/arch/arm/configs

[PATCH 3/3] archosg9: add display

2015-09-25 Thread Vicente Bergas
Signed-off-by: Vicente Bergas --- arch/arm/boards/archosg9/board.c | 111 --- arch/arm/boards/archosg9/env/init/splash | 5 ++ arch/arm/boards/archosg9/mux.c | 20 +++--- arch/arm/configs/archosg9_defconfig | 7 +- 4 files changed, 123

[PATCH] OMAP4_USBboot: Change output text formatting

2014-03-22 Thread Vicente Bergas
The basic console used for USBboot has two different formattings, one for text coming from the host and another for text coming from the target. This change makes both formattings readable regardless of the console background color. Signed-off-by: Vicente Bergas --- scripts/omap4_usbboot

[PATCH 1/2] OMAP4: fix writel data/address swap regression

2013-11-23 Thread Vicente Bergas
--- arch/arm/mach-omap/omap4_clock.c | 176 +++ 1 file changed, 88 insertions(+), 88 deletions(-) diff --git a/arch/arm/mach-omap/omap4_clock.c b/arch/arm/mach-omap/omap4_clock.c index 268f7c1..72f72a1 100644 --- a/arch/arm/mach-omap/omap4_clock.c +++ b/arch/ar

[PATCH 2/2] OMAP4: fix omap4_bootsource regression

2013-11-23 Thread Vicente Bergas
--- arch/arm/mach-omap/omap4_generic.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-omap/omap4_generic.c b/arch/arm/mach-omap/omap4_generic.c index 64b0024..6da5cae 100644 --- a/arch/arm/mach-omap/omap4_generic.c +++ b/arch/arm/mach-omap/omap4_gener

[PATCH] omap4 regression: set correct boot source

2013-04-16 Thread Vicente Bergas
Signed-off-by: Vicente Bergas --- arch/arm/mach-omap/omap4_generic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-omap/omap4_generic.c b/arch/arm/mach-omap/omap4_generic.c index b33ed60..3d6ec25 100644 --- a/arch/arm/mach-omap/omap4_generic.c +++ b

[PATCH] OMAP4: add command to select next boot device priority

2013-04-09 Thread Vicente Bergas
On OMAP4 SoC there is a SAR memory region (Save & Rescue) where the ROM code reads the device to boot from. This patch adds a way to set this. Signed-off-by: Vicente Bergas --- arch/arm/mach-omap/Kconfig | 7 +++ arch/arm/mach-omap/Makefile | 1 +

[PATCH] ArchosG9: add keyboard input and new reset menu entries (v4)

2013-04-09 Thread Vicente Bergas
Same as v3, but_boot order command is now wholly contained in arch/arm/mach-omap Vicente Bergas (1): OMAP4: add command to select next boot device priority arch/arm/mach-omap/Kconfig | 7 +++ arch/arm/mach-omap/Makefile | 1 + arch/arm/mach-omap

[PATCH] ArchosG9: add keyboard input and new reset menu entries (v3)

2013-04-05 Thread Vicente Bergas
This is the third version of this patch series. It only includes the only unapplied patch with all modifications from feedback, thanks Sascha. Vicente Bergas (1): OMAP4: add command to select next boot device priority arch/arm/mach-omap/Makefile | 1 + arch/arm/mach-omap

[PATCH] OMAP4: add command to select next boot device priority

2013-04-05 Thread Vicente Bergas
On OMAP4 SoC there is a SAR memory region (Save & Rescue) where the ROM code reads the device to boot from. This patch adds a way to set this. Signed-off-by: Vicente Bergas --- arch/arm/mach-omap/Makefile | 1 + arch/arm/mach-omap/boot_order.c

[PATCH 5/6] ArchosG9: add keyboard input and new reset menu entries

2013-03-16 Thread Vicente Bergas
The number of "#if" has been reduced to have less obfuscation, now have the three keys or have none of them Signed-off-by: Vicente Bergas --- arch/arm/boards/archosg9/board.c | 22 ++ arch/arm/boards/archosg9/env/bin/init

[PATCH 3/6] gpio_keys: detect keys pressed before booting

2013-03-16 Thread Vicente Bergas
If a key is pressed but not released before booting and the key is connected to an active low gpio it's not detected. This patch solves that. Signed-off-by: Vicente Bergas --- drivers/input/gpio_keys.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/input/gpio_keys.c b/dr

[PATCH 2/6] ArchosG9: zero all features before setting them

2013-03-16 Thread Vicente Bergas
Signed-off-by: Vicente Bergas --- arch/arm/boards/archosg9/archos_features.c | 58 +- 1 file changed, 16 insertions(+), 42 deletions(-) diff --git a/arch/arm/boards/archosg9/archos_features.c b/arch/arm/boards/archosg9/archos_features.c index 5d93403..b396734

[PATCH 1/6] OMAP4: check for usb availability at device registration

2013-03-16 Thread Vicente Bergas
this way serial-over-usb driver is registered always, but the device is only registered when booting from usb. Signed-off-by: Vicente Bergas --- arch/arm/boards/archosg9/board.c | 6 +- drivers/serial/serial_omap4_usbboot.c | 2 -- 2 files changed, 5 insertions(+), 3 deletions(-) diff

[PATCH 6/6] menu: avoid errors when building submenus

2013-03-16 Thread Vicente Bergas
This patch is not intended to be applied because has already been rejected. It's here only for completeness as the only solution available nowadays for the problem it solves. Signed-off-by: Vicente Bergas --- arch/arm/boards/archosg9/env/boot/sd-card-android | 2 +- arch/arm/b

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

2013-03-16 Thread Vicente Bergas
This is the second version of this patch series, it includes all feedback received which is greatly appreciated. Vicente Bergas (6): OMAP4: check for usb availability at device registration ArchosG9: zero all features before setting them gpio_keys: detect keys pressed before booting

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

2013-03-16 Thread Vicente Bergas
On OMAP4 SoC there is a SAR memory region (Save & Rescue) where the ROM code reads the device to boot from. This patch adds a way to set this. Signed-off-by: Vicente Bergas --- arch/arm/mach-omap/include/mach/omap4-silicon.h | 20 +++ arch/arm/mach-omap/omap4_generic.c

[PATCH 2/4] twl6030: add power button as an input key

2013-03-11 Thread Vicente Bergas
Done as suggested. Thanks for the suggestion. Signed-off-by: Vicente Bergas --- drivers/input/Kconfig | 7 +++ drivers/input/Makefile | 1 + drivers/input/twl6030_pwrbtn.c | 112 + include/twl6030_pwrbtn.h | 9 4 files

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

2013-03-11 Thread Vicente Bergas
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 burden of executing always the same two commands. Signed-off-by: Vicente Bergas --- arch/arm/mach-omap/include/mach/omap4-silicon.h | 20

[PATCH 8/9] archos: add atag appender for all features

2013-03-11 Thread Vicente Bergas
h leaves the same features, which are required, but still has the changes for zeroing each feature before setting it. Signed-off-by: Vicente Bergas --- arch/arm/boards/archosg9/archos_features.c | 58 +- 1 file changed, 16 insertions(+), 42 deletions(-) diff --git

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

2013-03-10 Thread Vicente Bergas
The first three patches are generic. The last patch in this series depends on: "[PATCH 0/9] Add support for booting ArchosG9 from sd-card" Vicente Bergas (4): gpio_keys: detect keys pressed before booting. twl6030: add power button as an input key OMAP4: add command to select

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

2013-03-10 Thread Vicente Bergas
Signed-off-by: Vicente Bergas --- arch/arm/boards/archosg9/board.c | 25 +++ arch/arm/boards/archosg9/env/bin/init | 28 ++ arch/arm/boards/archosg9/env/boot/usb-android | 2 +- arch/arm/boards/archosg9/env/boot/usb-linux | 2

[PATCH 2/4] twl6030: add power button as an input key

2013-03-10 Thread Vicente Bergas
Signed-off-by: Vicente Bergas --- drivers/input/Kconfig | 7 drivers/input/Makefile | 1 + drivers/input/twl6030_pwrbtn.c | 95 ++ include/twl6030_pwrbtn.h | 23 ++ 4 files changed, 126 insertions(+) create mode

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

2013-03-10 Thread Vicente Bergas
On OMAP4 SoC there is a SAR memory region (Save & Rescue) where the ROM code reads the device to boot from. This patch adds a way to set this. Signed-off-by: Vicente Bergas --- arch/arm/mach-omap/include/mach/omap4-silicon.h | 20 ++ arch/arm/mach-omap/omap4_generic.c

[PATCH 1/4] gpio_keys: detect keys pressed before booting.

2013-03-10 Thread Vicente Bergas
If a key is pressed but not released before booting and the key is connected to an active low gpio it's not detected. This patch solves that. Signed-off-by: Vicente Bergas --- drivers/input/gpio_keys.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/input/gpio_keys.c b/dr

[PATCH 9/9] archosg9: enable booting from sd-card

2013-03-09 Thread Vicente Bergas
Signed-off-by: Vicente Bergas --- arch/arm/boards/archosg9/board.c | 1 - arch/arm/boards/archosg9/env/boot/sd-card-android | 11 arch/arm/boards/archosg9/env/boot/sd-card-linux | 17 ++ arch/arm/boards/archosg9/env/boot/usb-android | 11 arch/arm/boards

[PATCH 8/9] archos: add atag appender for all features

2013-03-09 Thread Vicente Bergas
Signed-off-by: Vicente Bergas --- arch/arm/boards/archosg9/archos_features.c | 414 ++--- arch/arm/boards/archosg9/archos_features.h | 39 +++ 2 files changed, 412 insertions(+), 41 deletions(-) diff --git a/arch/arm/boards/archosg9/archos_features.c b/arch/arm/boards

[PATCH 7/9] menu: avoid errors when building submenus

2013-03-09 Thread Vicente Bergas
boot-menu-add-entry should not add menu entries to non-existent menus to solve the issue a new parameter is passed indicating the current menu Signed-off-by: Vicente Bergas --- arch/arm/boards/at91sam9m10ihd/env/boot/android | 2 +- arch/arm/boards/at91sam9m10ihd/env/boot/mmc

[PATCH 0/9] Add support for booting ArchosG9 from sd-card

2013-03-09 Thread Vicente Bergas
This patch series ends up adding sd-card booting support to archosg9 boards. First 8 patches are improvements and minor fixes found during the process. Vicente Bergas (9): defaultenv-2: don't load nonexistent file omap4_romusb: rename omap4_usbboot_pdata to omap4_usbboot_data omap

[PATCH 5/9] panda: remove unused configuration items

2013-03-09 Thread Vicente Bergas
Signed-off-by: Vicente Bergas --- arch/arm/configs/panda_xload_defconfig | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/configs/panda_xload_defconfig b/arch/arm/configs/panda_xload_defconfig index 1ed20a1..5cedcff 100644 --- a/arch/arm/configs/panda_xload_defconfig +++ b/arch

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

2013-03-09 Thread Vicente Bergas
some sort of UART setup has to be done in order to use PUTC_LL Signed-off-by: Vicente Bergas --- arch/arm/mach-omap/include/mach/debug_ll.h | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/mach-omap/include/mach/debug_ll.h b/arch/arm/mach-omap/include/mach

[PATCH 3/9] omap_uart: rename OMAP3EVM_UARTx to OMAP_UARTx

2013-03-09 Thread Vicente Bergas
use a more generic UART selection on OMAP so it can be extended to other OMAPs Signed-off-by: Vicente Bergas --- arch/arm/boards/omap3evm/board.c | 4 ++-- arch/arm/boards/omap3evm/lowlevel.c| 4 ++-- arch/arm/mach-omap/Kconfig | 11 ++- arch/arm

[PATCH 6/9] omap4_romusb: allow adding usb-serial when not booting from usb

2013-03-09 Thread Vicente Bergas
Signed-off-by: Vicente Bergas --- arch/arm/mach-omap/include/mach/omap4_rom_usb.h | 3 +++ arch/arm/mach-omap/omap4_rom_usb.c | 23 +++ drivers/serial/serial_omap4_usbboot.c | 2 ++ 3 files changed, 16 insertions(+), 12 deletions(-) diff --git a

[PATCH 2/9] omap4_romusb: rename omap4_usbboot_pdata to omap4_usbboot_data

2013-03-09 Thread Vicente Bergas
omap4_usbboot_pdata is not a pointer, so remove the "p" Signed-off-by: Vicente Bergas --- arch/arm/mach-omap/omap4_rom_usb.c | 72 +++--- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/arch/arm/mach-omap/omap4_rom_usb.c b/arch/arm

[PATCH 1/9] defaultenv-2: don't load nonexistent file

2013-03-09 Thread Vicente Bergas
Signed-off-by: Vicente Bergas --- defaultenv-2/base/bin/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaultenv-2/base/bin/init b/defaultenv-2/base/bin/init index e4a7fee..6a658d1 100644 --- a/defaultenv-2/base/bin/init +++ b/defaultenv-2/base/bin/init @@ -13,7 +13,7

[PATCH] OMAP4 USB BOOT: remove double line endings

2013-02-24 Thread Vicente Bergas
>From previous patch that replaced printf with puts: puts adds it's own line ending, so do not append it manually Signed-off-by: Vicente Bergas --- scripts/omap4_usbboot.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/omap4_usbboot.c b/scripts/omap4_u

[PATCH 2/2] DeviceTree: add support for initrd in the DT

2013-02-11 Thread Vicente Bergas
Add the initrd start and end address to the DT, code comes from u-boot. Signed-off-by: Vicente Bergas --- arch/arm/lib/armlinux.c | 2 ++ common/oftree.c | 66 + include/of.h| 8 ++ 3 files changed, 76 insertions(+) diff

[PATCH 1/2] ArchosG9: solve regression in second stage lowlevel init

2013-02-11 Thread Vicente Bergas
On ArchosG9 the second stage low-level init was the fallback default. Now that the low-level init is forcibly enabled it has to be skipped when already executed from first stage. Signed-off-by: Vicente Bergas --- arch/arm/boards/archosg9/lowlevel.c | 7 +-- 1 file changed, 5 insertions

[PATCH 0/2] Summary of last patches submitted

2013-02-11 Thread Vicente Bergas
ed and only provides generic support, nothing related to the tablet. The patches also include the changes reflecting the received feedback, thanks! Vicente Bergas (2): ArchosG9: solve regression in second stage lowlevel init DeviceTree: add support for initrd in the DT arch/arm/boards/arch

[PATCH 1/2] DeviceTree: add support for initrd in the DT

2013-02-10 Thread Vicente Bergas
Add the initrd start and end address to the DT, code comes from u-boot. Signed-off-by: Vicente Bergas --- arch/arm/lib/armlinux.c | 2 ++ common/oftree.c | 66 + include/of.h| 1 + 3 files changed, 69 insertions(+) diff

[PATCH 0/2] DeviceTree: add support for initrd in the DT

2013-02-10 Thread Vicente Bergas
it before submitting and it works fine. Thank you for your comments. Regards, Vicente. Vicente Bergas (2): DeviceTree: add support for initrd in the DT ArchosG9: boot linux kernel with DT arch/arm/boards/archosg9/env/config | 1 + arch/arm/configs/archosg9_defconfig

[PATCH 2/2] ArchosG9: boot linux kernel with DT

2013-02-10 Thread Vicente Bergas
Provide a device tree to the OS. Signed-off-by: Vicente Bergas --- arch/arm/boards/archosg9/env/config | 1 + arch/arm/configs/archosg9_defconfig | 4 arch/arm/configs/archosg9_xload_defconfig | 1 + 3 files changed, 6 insertions(+) diff --git a/arch/arm/boards/archosg9/env

[PATCH] DeviceTree: add support for initrd in the DT

2013-02-10 Thread Vicente Bergas
Add the initrd start and end address to the DT, code comes from u-boot. Use this addition on the ArchosG9 board as an example. Signed-off-by: Vicente Bergas --- arch/arm/boards/archosg9/env/config | 1 + arch/arm/configs/archosg9_defconfig | 4 ++ arch/arm/configs

[PATCH] ArchosG9: solve regression in second stage lowlevel init

2013-02-09 Thread Vicente Bergas
On ArchosG9 the second stage low-level init was the fallback default. Now that the low-level init is forcibly enabled it has to be skipped when already executed from first stage. Signed-off-by: Vicente Bergas --- arch/arm/boards/archosg9/lowlevel.c | 7 +-- 1 file changed, 5 insertions

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

2013-01-19 Thread Vicente Bergas
ed to atag_appender it's not a function, it's a pointer to a function. Can it have a prototype other than it's own declaration? All non-related changes has been dropped. They were checkpatch.pl warnings unrelated to this patch. Regards, Vicente. Signed-off-by: Vicente Bergas -

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

2013-01-17 Thread Vicente Bergas
equest for inclusion The feedback is always appreciated. Regarding inclusion, I know this is a very Archos specific patch, so I'll understand if it's rejected. Vicente Bergas (1): feature_list: a way to pass hardware info to the kernel arch/arm/Kconfig | 12 + arch

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

2013-01-17 Thread Vicente Bergas
The feature list is a non-standard alternative to the device tree to pass the hardware description to the kernel. This is the way used by Archos on it's android kernel, so it's required to boot such a kernel. Signed-off-by: Vicente Bergas --- arch/arm/Kconfig

[PATCH 3/3] ARCHOS: use manufacturer values for pad_conf and reorder initialization

2013-01-16 Thread Vicente Bergas
Signed-off-by: Vicente Bergas --- arch/arm/boards/archosg9/board.c| 1 + arch/arm/boards/archosg9/lowlevel.c | 18 +- arch/arm/boards/archosg9/mux.c | 654 +--- 3 files changed, 244 insertions(+), 429 deletions(-) diff --git a/arch/arm/boards

[PATCH 1/3] OMAP4: use OPPs recommended in datasheet

2013-01-16 Thread Vicente Bergas
Signed-off-by: Vicente Bergas --- arch/arm/mach-omap/include/mach/omap4-clock.h | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-omap/include/mach/omap4-clock.h b/arch/arm/mach-omap/include/mach/omap4-clock.h index 469c716..8f49aa3 100644 --- a

[PATCH 0/3] improvements in: omap4 OPP, omap4 usb booting and archosg9

2013-01-16 Thread Vicente Bergas
archos g9 tablet reorder initialization: first voltages then clocks Vicente Bergas (3): OMAP4: use OPPs recommended in datasheet OMAP4_USB: more stable communications ARCHOS: use manufacturer values for pad_conf and reorder initialization arch/arm/boards/archosg9/board.c | 1

[PATCH 2/3] OMAP4_USB: more stable communications

2013-01-16 Thread Vicente Bergas
Signed-off-by: Vicente Bergas --- scripts/omap4_usbboot.c | 68 ++--- scripts/usb_linux.c | 4 +-- 2 files changed, 44 insertions(+), 28 deletions(-) diff --git a/scripts/omap4_usbboot.c b/scripts/omap4_usbboot.c index a276c29..9d8e2a6 100644

[PATCH 2/2] archosg9: improve configuration

2012-11-23 Thread Vicente Bergas
Signed-off-by: Vicente Bergas --- arch/arm/boards/archosg9/env/config | 4 +++- arch/arm/boards/archosg9/env/init/usbboot | 9 + arch/arm/configs/archosg9_defconfig | 2 +- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/arch/arm/boards/archosg9/env/config b

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

2012-11-23 Thread Vicente Bergas
The option of reading the file at once was discarded because the option of increasing the buffer size provided almost the same benefit. Signed-off-by: Vicente Bergas --- common/uimage.c | 24 1 file changed, 24 deletions(-) diff --git a/common/uimage.c b/common

[PATCH 0/2] Some corrections on archosG9

2012-11-23 Thread Vicente Bergas
t checking before. The other change is just the inverse: a submitted patch that was not applied. Vicente Bergas (2): uimage: fix misunderstanding in common/uimage.c archosg9: improve configuration arch/arm/boards/archosg9/env/config | 4 +++- arch/arm/boards/archosg9/env/init/us

[PATCH 6/6] OMAP4: clean voltage switch

2012-10-18 Thread Vicente Bergas
012-March/119150.html Signed-off-by: Vicente Bergas --- arch/arm/boards/archosg9/mux.c | 9 + arch/arm/mach-omap/include/mach/omap4-clock.h | 2 +- arch/arm/mach-omap/include/mach/omap4-silicon.h | 2 +- arch/arm/mach-omap/omap4_clock.c| 37 +++

[PATCH 6/6] OMAP4: clean voltage switch

2012-10-15 Thread Vicente Bergas
012-March/119150.html Signed-off-by: Vicente Bergas --- arch/arm/boards/archosg9/mux.c | 9 + arch/arm/mach-omap/include/mach/omap4-clock.h | 2 +- arch/arm/mach-omap/include/mach/omap4-silicon.h | 2 +- arch/arm/mach-omap/omap4_clock.c| 37 +++

[PATCH 6/6] OMAP4: clean voltage switch

2012-10-14 Thread Vicente Bergas
Modified voltage setting to do a clean switch. See: http://lists.denx.de/pipermail/u-boot/2012-March/119149.html Also changed vdd_mpu and VCORE2 to 1.2 volt as in u-boot. Signed-off-by: Vicente Bergas --- arch/arm/boards/archosg9/mux.c | 9 + arch/arm/mach-omap/include

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

2012-10-14 Thread Vicente Bergas
, remaining PSR bits renamed to match the linux ones disable interrupts at barebox exit speed up initrd transfer cleaner voltage switching For the "OMAP4: clean voltage switch" patch I'm not sure if the changes are compatible with other boards. Vicente Bergas (6): ArchosG9:

[PATCH 4/6] UIMAGE: improve transfer speed

2012-10-14 Thread Vicente Bergas
Signed-off-by: Vicente Bergas --- common/uimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/uimage.c b/common/uimage.c index c72db41..b58dff1 100644 --- a/common/uimage.c +++ b/common/uimage.c @@ -373,7 +373,7 @@ static int uimage_sdram_flush(void *buf, unsigned

[PATCH 2/6] ARM: add rename PSR bits to match linux names

2012-10-14 Thread Vicente Bergas
Signed-off-by: Vicente Bergas --- arch/arm/cpu/exceptions.S | 1 - arch/arm/cpu/interrupts.c | 6 ++--- arch/arm/include/asm/ptrace.h | 55 +++ 3 files changed, 33 insertions(+), 29 deletions(-) diff --git a/arch/arm/cpu/exceptions.S b/arch/arm

[PATCH 5/6] ARM: use arm setup stack function on archosg9

2012-10-14 Thread Vicente Bergas
Signed-off-by: Vicente Bergas --- arch/arm/boards/archosg9/lowlevel.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/arm/boards/archosg9/lowlevel.c b/arch/arm/boards/archosg9/lowlevel.c index fa5be1d..d0506bb 100644 --- a/arch/arm/boards/archosg9/lowlevel.c +++ b

[PATCH 3/6] ARM: ensure irqs are disabled at barebox exit

2012-10-14 Thread Vicente Bergas
Signed-off-by: Vicente Bergas --- arch/arm/cpu/cpu.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/cpu/cpu.c b/arch/arm/cpu/cpu.c index 51da3b5..4cf4efa 100644 --- a/arch/arm/cpu/cpu.c +++ b/arch/arm/cpu/cpu.c @@ -31,6 +31,7 @@ #include #include #include

[PATCH 1/6] ArchosG9: changed serial port and env

2012-10-14 Thread Vicente Bergas
Signed-off-by: Vicente Bergas --- arch/arm/boards/archosg9/env/config | 4 +++- arch/arm/boards/archosg9/env/init/usbboot | 9 + arch/arm/configs/archosg9_defconfig | 2 +- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/arch/arm/boards/archosg9/env/config b