[PATCH 2/2] mtd: nand_omap_gpmc: Fix ecc check for bch8 romcode

2015-03-30 Thread Teresa Gámez
The bch8 romcode was only checked and corrected for the first 512 bytes of a 2048 byte page. Set interation counter and eccsizes correct for the different bch types. Tested OMAP_ECC_BCH8_CODE_HW and OMAP_ECC_BCH8_CODE_HW_ROMCODE. Reported-by: Gabor Janak g.ja...@agilion.de Signed-off-by: Teresa

[PATCH 1/2] mtd: nand_omap_gpmc: Remove unused code

2015-03-30 Thread Teresa Gámez
The ecc layout structs are not used anywhere. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- drivers/mtd/nand/nand_omap_gpmc.c | 68 --- 1 file changed, 68 deletions(-) diff --git a/drivers/mtd/nand/nand_omap_gpmc.c b/drivers/mtd/nand/nand_omap_gpmc.c

[PATCH] AM335x: MLO image issue

2015-03-23 Thread Teresa Gámez
Hello, we have encountered an issue in the AM335x MLO, which seems to depend on the image size itself. The bootloader hangs up in the decompress_unlzo() function. The decompress_unlzo() function fails with dest len longer than block size and ends up in it's error function in an infinite loop.

[PATCH] lib/lzo: port lzo fix from upstream kernel

2015-03-23 Thread Teresa Gámez
From: Stefan Müller-Klieser s.mueller-klie...@phytec.de This ports commit 72cf90124e87d975d0b from mainline kernel to the barebox. We were experiencing reproducible boot hang ups on one am335x board which depended on the barebox.z size. The MLO was trapped in the decompression code. We found some

[PATCH] ARM: phytec-som-am335x: Remove bootargs-ip from boot scripts

2015-03-12 Thread Teresa Gámez
We do not pass the ip to kernel any more. So remove adding it to bootargs when booting from nand, mmc or spi nor. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/mmc | 2 -- arch/arm/boards/phytec-som-am335x/defaultenv-physom

[PATCH] ARM: Fix nv variable bootargs.base

2015-02-27 Thread Teresa Gámez
Some console parameters where faulty named bootargs.base. Which does not have any effect. Removed them where possible and renamed the others to linux.bootargs.console. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/boards/highbank/env/nv/bootargs.base| 1

Re: [For next PATCH 3/3] ARM: phytec-som-am335x: Update sd-card rootfs to ext4

2015-02-24 Thread Teresa Gámez
Am Mittwoch, den 25.02.2015, 08:22 +0100 schrieb Sascha Hauer: On Tue, Feb 24, 2015 at 08:52:14AM +0100, Teresa Gámez wrote: Update rootfs to ext4. ext3 filesystems are still getting mounted. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/boards/phytec-som-am335x

[For next PATCH] ARM: phytec-som-am335x: Remove mmc rootfstype

2015-02-24 Thread Teresa Gámez
Rootfs type is beeing detected. Removed the rootfstype parameter. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/mmc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boards/phytec-som-am335x

[For next PATCH 1/3] ARM: phytec-som-am335x: Fix rootfs bootargs

2015-02-23 Thread Teresa Gámez
The roofs is mounted from nand when booting from spi. The VID header offset was set fix to 2048. This is not needed any more. Removed it like it was done for nand. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/spi | 2 +- 1 file

[For next PATCH 3/3] ARM: phytec-som-am335x: Update sd-card rootfs to ext4

2015-02-23 Thread Teresa Gámez
Update rootfs to ext4. ext3 filesystems are still getting mounted. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/mmc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boards/phytec-som-am335x

[For next PATCH 2/3] ARM: am335x_defconfig: Add ext4 support

2015-02-23 Thread Teresa Gámez
Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/configs/am335x_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/am335x_defconfig b/arch/arm/configs/am335x_defconfig index 0b8f58d..0db2075 100644 --- a/arch/arm/configs/am335x_defconfig +++ b/arch/arm

bareboxenv: console bootargs

2015-02-20 Thread Teresa Gámez
Hello, I have noticed that the console= bootarg parameter in the latest enviroment is set in the /env/nv/linux.bootargs.base variable. But it is also set over common/console.c in the variable linux.bootargs.console which results here in two console= parameter: commandline: console=ttyO0,115200n8

Re: beagle bone black: problem of boot from eMMC

2015-01-05 Thread Teresa Gámez
Hello Manuel, Am Mittwoch, den 31.12.2014, 14:52 + schrieb manuelcur...@eaton.com: After, I wanted to boot from the the internal eMMC. So after boot from sd card, I mounted the eMMC (mount /dev/mmc1.0) and copied the MLO and barebox.bin in the /mnt/mmc1.0 folder. When I try to boot

Re: [PATCH] net: cpsw: Fix crashes on beaglebone black

2015-01-05 Thread Teresa Gámez
Hello Philippe, Am Samstag, den 27.12.2014, 15:39 +0100 schrieb ledphili...@gmail.com: Hello, The current version (2014.12.0-00116-ge91702b) crashes on the beaglebone black if the ethernet driver is enabled. Here is the trace: barebox 2014.12.0-00116-ge91702b #15 Sat Dec 27 15:30:25

[PATCH] ARM: AM335x: Fix typo in Phytec boards

2014-12-10 Thread Teresa Gámez
Has to be bootsource not boosource. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- .../phytec-phycore-am335x/defaultenv-phycore-am335x/init/bootsource | 6 +++--- .../phytec-phyflex-am335x/defaultenv-phyflex-am335x/init/bootsource | 6 +++--- arch/arm/dts/am335x-phytec-phycore-som-mlo.dts

[PATCH 2/2] ARM: dts: Add missing gpmc setting for phyFLEX-AM335x

2014-12-09 Thread Teresa Gámez
cycle2cycle-diffcsen needs to be enabled. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/dts/am335x-phytec-phyflex.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/am335x-phytec-phyflex.dts b/arch/arm/dts/am335x-phytec-phyflex.dts index c4481f5..6679cf5 100644

[PATCH 1/2] ARM: dts: Add missing gpmc setting for phyCORE-AM335x

2014-12-09 Thread Teresa Gámez
cycle2cycle-diffcsen needs to be enabled. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/dts/am335x-phytec-phycore-som.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/am335x-phytec-phycore-som.dtsi b/arch/arm/dts/am335x-phytec-phycore-som.dtsi index f1bcb8b

Re: [PATCH 1/3] ARM: dts: am335x-phytec-phyflex: Increase kernel partition on SPI NOR

2014-12-09 Thread Teresa Gámez
Hello Sascha, Am Dienstag, den 09.12.2014, 10:13 +0100 schrieb Sascha Hauer: Hi Teresa, On Mon, Dec 08, 2014 at 10:59:49AM +0100, Teresa Gámez wrote: Increase kernel partition to end of SPI NOR. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/dts/am335x-phytec

[PATCH 1/3] ARM: dts: am335x-phytec-phyflex: Increase kernel partition on SPI NOR

2014-12-08 Thread Teresa Gámez
Increase kernel partition to end of SPI NOR. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/dts/am335x-phytec-phyflex.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/am335x-phytec-phyflex.dts b/arch/arm/dts/am335x-phytec-phyflex.dts index c4481f5

[PATCH 3/3] ARM: phytec: am335x: Update enviroment comment

2014-12-08 Thread Teresa Gámez
We do not have a root partition in spi flash any more. Adapt comment. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- .../arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x/boot/spi | 2 +- .../arm/boards/phytec-phyflex-am335x/defaultenv-phyflex-am335x/boot/spi | 2 +- 2 files changed

[PATCH 2/3] ARM: dts: am335x-phytec-phycore-som: Increase kernel partition on SPI NOR

2014-12-08 Thread Teresa Gámez
Increase kernel partition to end of SPI NOR. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/dts/am335x-phytec-phycore-som.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/am335x-phytec-phycore-som.dtsi b/arch/arm/dts/am335x-phytec-phycore

[PATCHv2] ARM: phytec: am335x: Update enviroment comment

2014-12-08 Thread Teresa Gámez
We do not have a root partition in spi flash any more. Adapt comment. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- v2: Fixed typo .../arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x/boot/spi | 2 +- .../arm/boards/phytec-phyflex-am335x/defaultenv-phyflex-am335x/boot/spi | 2

[PATCHv2 2/3] ARM: am335x: Add register of boot devices

2014-11-03 Thread Teresa Gámez
Add support for registering disabled boot devices from oftree. Creating a device tree with all bootable devices disabled, makes it possible to only enable and register the devices needed to load the next stage bootloader. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- v2: - updated of funcion

[PATCHv2 3/3] ARM: am335x: phyCORE-AM335x: Create new dts for MLO

2014-11-03 Thread Teresa Gámez
Use a mlo device tree with all bootable devices disabled. The bootsource is checked in the board file and only the needed device is enabled and registered. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/boards/phytec-phycore-am335x/board.c| 3 +++ arch/arm/boards/phytec-phycore

[PATCHv2 1/3] of: Add of_device_enable_and_register functions

2014-11-03 Thread Teresa Gámez
Function to enable and register a disabled device. The devices can be registered using the device node with of_device_enable_and_register() or with the device node name/path by using the of_device_enable_and_register_by_name() function. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- v2

[For next PATCH] boards: defaultenv: Fix nand bootargs for AM335x boards.

2014-10-31 Thread Teresa Gámez
Update nand bootargs for phyFLEX-AM335x and phyCORE-AM335x to support modern kernels. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- .../boards/phytec-phycore-am335x/defaultenv-phycore-am335x/boot/nand| 2 +- .../boards/phytec-phyflex-am335x/defaultenv-phyflex-am335x/boot/nand| 2

[For next PATCH 1/3] of: Add of_register_disabled_device functions

2014-10-30 Thread Teresa Gámez
Function to enable and register a disabled device. The devices can be registered using the device node with of_register_disabled_device() or with the device node name/path by using the of_register_disabled_device_by_name() function. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- drivers

[For next PATCH 2/3] ARM: am335x: Add register of boot devices

2014-10-30 Thread Teresa Gámez
Add support for registering disabled boot devices from oftree. Creating a device tree with all bootable devices disabled, makes it possible to only enable and register the devices needed to load the next stage bootloader. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/mach-omap

[For next PATCH 3/3] ARM: am335x: phyCORE-AM335x: Create new dts for MLO

2014-10-30 Thread Teresa Gámez
Use a mlo device tree with all bootable devices disabled. The bootsource is checked in the board file and only the needed device is enabled and registered. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/boards/phytec-phycore-am335x/board.c| 3 +++ arch/arm/boards/phytec-phycore

[PATCH 1/6] ARM: defconfig: Enable of_display_timings in am335x_defconfig

2014-10-10 Thread Teresa Gámez
Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/configs/am335x_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/am335x_defconfig b/arch/arm/configs/am335x_defconfig index 6ef9c83..7dcfaed 100644 --- a/arch/arm/configs/am335x_defconfig +++ b/arch/arm

[PATCH 2/6] net: cpsw: Fix probe for one port ethernet

2014-10-10 Thread Teresa Gámez
If only one port is pinned out, probe fails as the second port phy_id is not found. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- drivers/net/cpsw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/cpsw.c b/drivers/net/cpsw.c index 167b2dd..9c8cff3 100644

[PATCH 3/6] phyCORE-AM335x: Update default enviroment

2014-10-10 Thread Teresa Gámez
- Set default bootsource to the $boosource variable - Pass ip to kernel on all boot options - mount rootfs rw Signed-off-by: Teresa Gámez t.ga...@phytec.de --- .../phytec-phycore-am335x/defaultenv-phycore-am335x/boot/mmc | 7 +-- .../phytec-phycore-am335x/defaultenv-phycore-am335x/boot

[PATCH 4/6] phyCORE-AM335x: Strip down device tree

2014-10-10 Thread Teresa Gámez
and the second ethernet slave. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/dts/am335x-phytec-phycore.dts | 41 +- 1 file changed, 1 insertion(+), 40 deletions(-) diff --git a/arch/arm/dts/am335x-phytec-phycore.dts b/arch/arm/dts/am335x-phytec-phycore.dts

[PATCH 6/6] phyCORE-AM335x: Add barebox image without SPI NOR

2014-10-10 Thread Teresa Gámez
Boards like phyBOARD-WEGA RDK have an phyCORE-AM335x connected with no SPI NOR flash. Added dts to support this. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/boards/phytec-phycore-am335x/lowlevel.c | 10 ++ arch/arm/dts/Makefile | 2 +- arch

[PATCH 5/6] ARM: dts: split phyCORE-AM335x device tree

2014-10-10 Thread Teresa Gámez
To support different module variants, split the phyCORE dts in dts and dtsi. Configurable parts which are supported by barebox are spi nor flash and i2c eeprom. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/boards/phytec-phycore-am335x/board.c| 4 +- arch/arm/boards/phytec

[PATCH 4/4] pfla03: add to am335x_defconfig

2014-10-07 Thread Teresa Gámez
From: Stefan Müller-Klieser s.mueller-klie...@phytec.de Signed-off-by: Stefan Müller-Klieser s.mueller-klie...@phytec.de --- arch/arm/configs/am335x_defconfig | 1 + arch/arm/configs/am335x_mlo_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/configs/am335x_defconfig

[PATCH 0/4] Add phyFLEX-AM335x support

2014-10-07 Thread Teresa Gámez
This patchset adds phyFLEX-AM335x support. This is based on Jan's work and was rewitten for device tree and multi image support by Stefan. I cleaned up the code and rebased it to master. Teresa Jan Weitzel (2): net: cpsw: Allow gigabit connection net: micrel: Add ksz8081 support Stefan

[PATCH 1/4] net: cpsw: Allow gigabit connection

2014-10-07 Thread Teresa Gámez
From: Jan Weitzel j.weit...@phytec.de Signed-off-by: Jan Weitzel j.weit...@phytec.de --- drivers/net/cpsw.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/cpsw.c b/drivers/net/cpsw.c index 167b2dd..50890c4 100644 --- a/drivers/net/cpsw.c +++

[PATCH 2/4] net: micrel: Add ksz8081 support

2014-10-07 Thread Teresa Gámez
From: Jan Weitzel j.weit...@phytec.de Signed-off-by: Jan Weitzel j.weit...@phytec.de --- drivers/net/phy/micrel.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c index 88c64e5..866391c 100644 ---

[PATCH 3/4] boards: Add phytec-phyflex-am335x

2014-10-07 Thread Teresa Gámez
From: Stefan Müller-Klieser s.mueller-klie...@phytec.de Add support for PHYTEC's phyFLEX-AM335x. Signed-off-by: Stefan Müller-Klieser s.mueller-klie...@phytec.de [clean ups] Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/boards/Makefile | 1 + arch/arm

[PATCHv3 3/5] of: base: Add of_parse_phandle_from

2014-09-30 Thread Teresa Gámez
Added of_parse_phandle_from() to be able to use external root nodes. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- drivers/of/base.c | 28 include/of.h | 11 +++ 2 files changed, 35 insertions(+), 4 deletions(-) diff --git a/drivers/of/base.c b

[PATCHv3 1/5] of: base: Add for_each_node_by_name_from

2014-09-30 Thread Teresa Gámez
Added for_each_node_by_name_from() to be able to pass external root node. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- include/of.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/of.h b/include/of.h index e6993fd..cd2bfe0 100644 --- a/include/of.h +++ b/include/of.h

[PATCHv3 4/5] of: Added of_set_property_to_child_phandle

2014-09-30 Thread Teresa Gámez
Set a property to a phandle of a child node. This may be used for selections like display-timings. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- drivers/of/base.c | 21 + include/of.h | 1 + 2 files changed, 22 insertions(+) diff --git a/drivers/of/base.c b/drivers

[PATCHv3 5/5] commands: add of_display_timings

2014-09-30 Thread Teresa Gámez
A lot of boards use display-timings nodes to define the timings of one or more displays. This command makes it possible to list and select displays which are defined in a device tree. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- Changes v3: - removed overwriting of root node - using now

[PATCHv3 2/5] of: base: Add of_find_node_by_phandle_from

2014-09-30 Thread Teresa Gámez
Added of_find_node_by_phandle_from() to find nodes by phandle with a given root node. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- drivers/of/base.c | 28 include/of.h | 8 2 files changed, 32 insertions(+), 4 deletions(-) diff --git a/drivers

[PATCHv2] commands: add of_display_timings

2014-09-26 Thread Teresa Gámez
A lot of boards use display-timings nodes to define the timings of one or more displays. This command makes it possible to list and select displays which are defined in a device tree. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- Changes v2: - removed cast - added free(ftd) - freed root

[PATCH] read_file_2: Fix return value

2014-09-24 Thread Teresa Gámez
Set return value correct in error case. This prevents barebox from crashing in some conditions. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- lib/libfile.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/lib/libfile.c b/lib/libfile.c index c6fb6d7..c626e2f 100644

[PATCH 1/2] of: Added of_set_property_to_child_phandle

2014-09-24 Thread Teresa Gámez
Set a property to a phandle of a child node. This may be used for selections like display-timings. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- drivers/of/base.c | 21 + include/of.h |1 + 2 files changed, 22 insertions(+), 0 deletions(-) diff --git a/drivers

[PATCH 2/2] commands: add of_display_timings

2014-09-24 Thread Teresa Gámez
A lot of boards use display-timings nodes to define the timings of one or more displays. This command makes it possible to list and select displays which are defined in a device tree. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- commands/Kconfig | 15 commands/Makefile

[PATCH] commands: of_dump: Fix return value

2014-09-11 Thread Teresa Gámez
In an error case the return value is set nicely but 0 is always beeing returned. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- commands/of_dump.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/of_dump.c b/commands/of_dump.c index 1222ebf..513a4b8 100644

[PATCH] defaultenv: Reorder overlay append order

2014-09-10 Thread Teresa Gámez
and not the other way around. Made sure that external enviroment is always added last. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- defaultenv/defaultenv.c | 16 ++-- 1 files changed, 14 insertions(+), 2 deletions(-) diff --git a/defaultenv/defaultenv.c b/defaultenv/defaultenv.c index

[PATCH v2] ARM: phyCORE-AM335x: Update partition table

2014-09-05 Thread Teresa Gámez
Added device tree partition and made rootfs partition variable size depending on nand flash size. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- v2: - fixed root partition start arch/arm/dts/am335x-phytec-phycore.dts | 22 ++ 1 files changed, 18 insertions(+), 4

[PATCH 4/5] ARM: phyCORE-AM335x: Add support for 2x512MB RAM

2014-09-04 Thread Teresa Gámez
Added settings for 1GB RAM option. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/boards/phytec-phycore-am335x/lowlevel.c | 25 ++ images/Makefile.am33xx |4 +++ 2 files changed, 29 insertions(+), 0 deletions(-) diff --git a/arch

[PATCH 2/5] ARM: phyCORE-AM335x: Update RAM Timings

2014-09-04 Thread Teresa Gámez
Increased the RAM frequency to 400MHz. Recalculation of the RAM timing values was needed. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/boards/phytec-phycore-am335x/lowlevel.c | 70 +++--- 1 files changed, 35 insertions(+), 35 deletions(-) diff --git a/arch/arm

[PATCH 5/5] ARM: phyCORE-AM335x: Update partition table

2014-09-04 Thread Teresa Gámez
Added device tree partition and made rootfs partition variable size depending on nand flash size. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/dts/am335x-phytec-phycore.dts | 22 ++ 1 files changed, 18 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts

[PATCH 3/5] ARM: phyCORE-AM335x: Fixup RAM setting naming

2014-09-04 Thread Teresa Gámez
Naming is confusing and wrong. Fixed it up. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/boards/phytec-phycore-am335x/lowlevel.c | 30 +++--- images/Makefile.am33xx | 18 ++-- 2 files changed, 24 insertions(+), 24 deletions

[PATCH 1/5] ARM: phyCORE-AM335x: Updated SPI NOR dts entries

2014-09-04 Thread Teresa Gámez
Updated the SPI NOR flash entries. NOR flash got detected but did not work. - Updated muxing - Fixed frequency - Fixed CS - Removed first compatible entry (the flashes used is changing frequently) Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/dts/am335x-phytec-phycore.dts | 14

[PATCH] ARM: am335x Phytec phyCORE: Enable ethernet

2014-07-09 Thread Teresa Gámez
With an update of the am33xx.dtsi (commit 9313920df6) the mdio and mac nodes are not enabled on default any more. Enable them explicit in the board dts now. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/dts/am335x-phytec-phycore.dts |2 ++ 1 files changed, 2 insertions(+), 0

[PATCHv2] mci: omap: Fix default value of mci.f_max

2013-10-02 Thread Teresa Gámez
With commit c2ef47887 mci.f_max default value is only set when pdata is available. Fix this with always setting the mci.f_max default value and overrite it when pdata available. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- changes in v2: - set default value always and overwrite it when

[PATCH] arm: Update mach-types

2013-09-27 Thread Teresa Gámez
Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/tools/mach-types | 585 - 1 files changed, 580 insertions(+), 5 deletions(-) diff --git a/arch/arm/tools/mach-types b/arch/arm/tools/mach-types index 325513f..01bc7aa 100644 --- a/arch/arm

[PATCH] mci: omap: Fix default value of mci.f_max

2013-09-27 Thread Teresa Gámez
Set default value of mci.f_max even when no pdata is available. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- drivers/mci/omap_hsmmc.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mci/omap_hsmmc.c b/drivers/mci/omap_hsmmc.c index a2cd3fe..f63697f 100644

[PATCH] PCM051: Fix muxing of MMC0 CD

2013-09-02 Thread Teresa Gámez
Card detect should be rather muxed as gpio then mmc0_sdcd, as driver does not support this. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/boards/pcm051/mux.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/boards/pcm051/mux.c b/arch/arm/boards

[PATCH for next] PCM051: Fixup DDRPLL

2013-08-29 Thread Teresa Gámez
The correct DDRPLL for PCM051 is 303MHz. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- As the board runs also fine with 266MHz. There is no need to fix it in master. arch/arm/boards/pcm051/lowlevel.c |2 +- arch/arm/mach-omap/include/mach/am33xx-clock.h |1 + 2 files

[PATCH] ARM: OMAP: PCM051: Remove spi platform data

2013-08-26 Thread Teresa Gámez
SPI NOR flash can be detected by driver so no platform data is necessary. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/boards/pcm051/board.c |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/arch/arm/boards/pcm051/board.c b/arch/arm/boards/pcm051/board.c

[PATCH 3/3 for next] beaglebone: Clean up lowlevel code

2013-08-23 Thread Teresa Gámez
Using here now the initialisiation functions in am33xx_generic. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- I'm not able to test this as I do not have a beaglebone. But I do have oritened on the u-boot code which does not seem to differ between ddr2 and ddr3 initalisation functions. How bad

[PATCH 1/3 for next] AM33xx: Cleanup of lowlevel code

2013-08-23 Thread Teresa Gámez
There is a lot of duplicate lowlevel code between the am33xx boards. Move this code to am33xx_generic and create structs for sdram settings. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/mach-omap/am33xx_generic.c | 166 ++ arch/arm/mach-omap

[PATCH 2/3 for next] PCM051: Clean up lowlevel code

2013-08-23 Thread Teresa Gámez
Use now the initialisation functions from am33xx_generic. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/boards/pcm051/lowlevel.c | 206 +++-- 1 files changed, 36 insertions(+), 170 deletions(-) diff --git a/arch/arm/boards/pcm051/lowlevel.c b/arch

[PATCH] AM33xx: Make OSC frequency board depended

2013-08-20 Thread Teresa Gámez
The oscillator frequency varies on different AM33xx boards. Pass the osc frequency from lowlevel board code to set the correct one on every board. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/boards/beaglebone/lowlevel.c |2 +- arch/arm/boards/pcm051/lowlevel.c

[RFCv2 PATCH 2/2] OMAP: Add option to use environment from MMC

2013-04-02 Thread Teresa Gámez
Make loading environment from MMC generic for all OMAP. Tested on AM335x, OMAP4. Signed-off-by: Teresa Gámez t.ga...@phytec.de Tested-by: Jan Weitzel j.weit...@phytec.de --- v2: - removed environment code also from beaglebone arch/arm/boards/beaglebone/board.c| 32

[RFC PATCH 2/2] OMAP: Add option to use enviroment from MMC

2013-03-26 Thread Teresa Gámez
Make loading enviroment from MMC generic for all OMAP. Tested on AM335x, OMAP4. Signed-off-by: Teresa Gámez t.ga...@phytec.de Tested-by: Jan Weitzel j.weit...@phytec.de --- arch/arm/boards/panda/board.c | 30 --- arch/arm/mach-omap/include/mach/generic.h

[RFC PATCH 1/2] OMAP: Move bootsource functions

2013-03-26 Thread Teresa Gámez
The bootsource functions are not specific to the first stage bootloader. They may also be used for detecting the bootsource to decide where to load the enviroment from. Also clean up includes in board files. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/boards/beagle/board.c

[RFC PATCH 2/2] AM33XX: pcm051: Create custom mux file

2013-03-12 Thread Teresa Gámez
The pcm051 has no MMC WP pin. This pin is used for a gpio and needs to be muxed different. Created a custom mux file for this case. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/boards/pcm051/Makefile |2 +- arch/arm/boards/pcm051/board.c |4 +++- arch/arm/boards/pcm051

[RFC PATCH 1/2] AM33XX: Move muxing defines to header file

2013-03-12 Thread Teresa Gámez
The muxing in the am33xx_mux.c file is not generic as the muxing setup does not fit for every board. Move the structs and functions to the mach/am33xx-mux.h so board dependend mux setups can be created. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/boards/beaglebone/board.c

[PATCHv2 1/6] ARM AM33XX: Add mmc0 pin mux function

2012-12-20 Thread Teresa Gámez
Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/mach-omap/am33xx_mux.c |5 + arch/arm/mach-omap/include/mach/am33xx-mux.h |1 + 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap/am33xx_mux.c b/arch/arm/mach-omap/am33xx_mux.c

[PATCHv2 3/6] ARM OMAP: Apply RAM device register functions to boards

2012-12-20 Thread Teresa Gámez
Apply RAM and SRAM register functions to all OMAP boards. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/boards/archosg9/board.c |2 +- arch/arm/boards/beagle/board.c|2 +- arch/arm/boards/beaglebone/board.c|2 +- arch/arm/boards/omap343xdsp

[PATCHv2 0/6] Add PCM051 support

2012-12-20 Thread Teresa Gámez
This is rebased on the new AM33XX patch stack of Jan Luebbe. It adds phyCORE-AM335x (pcm051) support. Added also device register functions for SRAM, RAM and EHCI. Teresa Gámez (6): ARM AM33XX: Add mmc0 pin mux function ARM OMAP: Add SRAM and DRAM to device register functions ARM OMAP: Apply

[PATCHv2 4/6] ARM OMAP: Add EHCI to device register functions

2012-12-20 Thread Teresa Gámez
Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/mach-omap/include/mach/omap3-devices.h |6 ++ arch/arm/mach-omap/include/mach/omap4-devices.h |6 ++ arch/arm/mach-omap/include/mach/omap4-silicon.h |3 +++ 3 files changed, 15 insertions(+), 0 deletions(-) diff

[PATCHv2 2/6] ARM OMAP: Add SRAM and DRAM to device register functions

2012-12-20 Thread Teresa Gámez
Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/mach-omap/include/mach/devices.h |4 arch/arm/mach-omap/include/mach/omap3-devices.h |6 ++ arch/arm/mach-omap/include/mach/omap4-devices.h |5 + arch/arm/mach-omap/include/mach/omap4-silicon.h |2

[PATCHv2 5/6] ARM OMAP: Apply EHCI device register functions

2012-12-20 Thread Teresa Gámez
Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/boards/beagle/board.c |3 +-- arch/arm/boards/panda/board.c |3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/boards/beagle/board.c b/arch/arm/boards/beagle/board.c index e0e1da6..88096bb 100644

[PATCHv2 6/6] pcm051: Add inital support

2012-12-20 Thread Teresa Gámez
Added initial support for Phytec phyCORE-AM335x. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/Makefile |1 + arch/arm/boards/pcm051/Makefile|1 + arch/arm/boards/pcm051/board.c | 64 arch/arm/boards/pcm051

Re: [PATCH 18/19] arm: beaglebone: add first-stage support for AM335x and board

2012-12-19 Thread Teresa Gámez
Hello Jan, On Tue, 18. Dec 15:22, Jan Luebbe wrote: Signed-off-by: Jan Luebbe j...@pengutronix.de Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- [...] diff --git a/arch/arm/boards/beaglebone/board.c b/arch/arm/boards/beaglebone/board.c new file mode 100644 index

v2012.12.0: pcm049 is broken

2012-12-18 Thread Teresa Gámez
Hello, since commit 1dbfd5ed82fd2b6b0ba6df98e2e23aaf3cd1a197 ARM: Support multiple ARM architectures the MLO of pcm049 doesn't start up. It seems to be a problem with thumb-2. When I disable thumb-2 and shrink the image with also disabling mtd support, the MLO works again. And mtd is not the

Re: [PATCH 13/14] arm: beaglebone: add first-stage support for AM335x and board

2012-12-18 Thread Teresa Gámez
Hello Jan, thank you on continue to work on am33xx. Sadly I do not have a beaglebone and my board has ddr3 ram so I wasn't able to test the first stage support. I have a small note below. On Thu, 13. Dec 17:30, Jan Luebbe wrote: Signed-off-by: Jan Luebbe j...@pengutronix.de ---

[PATCH 2/7] ARM OMAP4: Add EHCI base define

2012-12-18 Thread Teresa Gámez
Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/mach-omap/include/mach/omap4-silicon.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap/include/mach/omap4-silicon.h b/arch/arm/mach-omap/include/mach/omap4-silicon.h index 1d236f2..a5cc221

[PATCH 1/7] ARM OMAP4: Add SRAM base define

2012-12-18 Thread Teresa Gámez
Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/mach-omap/include/mach/omap4-silicon.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap/include/mach/omap4-silicon.h b/arch/arm/mach-omap/include/mach/omap4-silicon.h index 5755856..1d236f2

[PATCH 6/7] ARM AM33XX: Add mmc0 pin mux function

2012-12-18 Thread Teresa Gámez
Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/mach-omap/am33xx_mux.c |5 + arch/arm/mach-omap/include/mach/am33xx-mux.h |1 + 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap/am33xx_mux.c b/arch/arm/mach-omap/am33xx_mux.c

[PATCH 4/7] ARM OMAP: Create device file

2012-12-18 Thread Teresa Gámez
Created wrapper to add omap devices. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/mach-omap/Makefile |4 +- arch/arm/mach-omap/devices.c | 69 +++ arch/arm/mach-omap/include/mach/am33xx-devices.h | 36 ++ arch

[PATCH 0/7] Adding pcm051 support

2012-12-18 Thread Teresa Gámez
This patch stack is based on top of the patch series AM33XX support by Jan Luebbe. It includes the wrapper for adding omap devices and pcm051 support. Teresa Gámez (7): ARM OMAP4: Add SRAM base define ARM OMAP4: Add EHCI base define ARM AM33XX: Add MMC Bases ARM OMAP: Create device file

[PATCH 7/7] pcm051: Add inital support

2012-12-18 Thread Teresa Gámez
Added initial support for Phytec phyCORE-AM335x. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/Makefile |1 + arch/arm/boards/pcm051/Makefile|1 + arch/arm/boards/pcm051/board.c | 64 arch/arm/boards/pcm051

[PATCH] ARM OMAP: Enable gpio output

2012-10-18 Thread Teresa Gámez
Enable output instead of disabling it. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/mach-omap/omap4_generic.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap/omap4_generic.c b/arch/arm/mach-omap/omap4_generic.c index 76134f2..d7771bf

[PATCH] mtd ARM OMAP: Fix compile errors

2012-10-17 Thread Teresa Gámez
Fix compile errors in latest next, caused by commit 56b92e5187692f0ca28a13f0a5993ea66c99b60a mtd: add parent support Signed-off-by: Teresa Gámez t.ga...@phytec.de --- drivers/mtd/nand/nand_omap_gpmc.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand

[PATCH 1/2] ARM OMAP: Create device file

2012-10-11 Thread Teresa Gámez
Created wrapper to add omap devices. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/mach-omap/Makefile |4 +- arch/arm/mach-omap/devices.c | 65 + arch/arm/mach-omap/include/mach/devices.h | 24 +++ 3 files

[PATCH 2/2] ARM OMAP: Use wrapper in board files

2012-10-11 Thread Teresa Gámez
Use the omap wrappers in board files instead of add_generic_device(). Compile tested every affected board. Tested on pcm049. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/boards/beagle/board.c| 17 + arch/arm/boards/omap343xdsp/board.c | 12

[PATCH 1/3] ARM OMAP: gpiolib fix chip.base

2012-10-09 Thread Teresa Gámez
Signed-off-by: Teresa Gámez t.ga...@phytec.de --- @ Vicente: Please check if the patches fix your problem arch/arm/mach-omap/gpio.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap/gpio.c b/arch/arm/mach-omap/gpio.c index 376e9a7..49ffbda 100644

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

2012-10-09 Thread Teresa Gámez
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 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap

[PATCHv2 0/2] Add ARCH for AM33xx and phyCORE-AM335x support

2012-09-25 Thread Teresa Gámez
This series is based on next-stable tag and tested with Jan Lübbes patch: Makefile: add target to produce a SPL compatible uImage v2: - added generated defconfig - removed global.boot.default and added boot.d/01 symlink - created dmtimer0 header - removed unnecessary cleanup - use gpiolib Teresa

[PATCHv2 1/2] ARM OMAP AM33XX: create new ARCH for AM33xx

2012-09-25 Thread Teresa Gámez
Created ARCH for AM33xx boards as second stage bootloader. This includes: - Added dmtimer0 - Created basic header files - Added MMC support for ARCH_AM33XX - Added reset function Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/mach-omap/Kconfig | 11 arch

[PATCHv2 2/2] pcm051: Add inital support

2012-09-25 Thread Teresa Gámez
Added initial support for Phytec phyCORE-AM335x. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/Makefile |1 + arch/arm/boards/pcm051/Makefile |1 + arch/arm/boards/pcm051/board.c| 72 + arch

[PATCH 2/2] ARM OMAP: switch to gpiolib support

2012-09-24 Thread Teresa Gámez
Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/Kconfig |1 + arch/arm/mach-omap/gpio.c | 171 --- arch/arm/mach-omap/omap3_generic.c | 19 arch/arm/mach-omap/omap4_generic.c | 19 4 files changed, 117

[PATCH 1/3] Add support for creating barebox.img file.

2012-09-20 Thread Teresa Gámez
The AM335x U-boot SPL expects to load a u-boot image when booting from SD-Card. Based on code of Jan Luebbe j...@pengutronix.de Signed-off-by: Teresa Gámez t.ga...@phytec.de --- .gitignore |1 + Makefile |5 + 2 files changed, 6 insertions(+), 0 deletions(-) diff --git

  1   2   >