[PATCH 2/2] boards: Use nv.linux.bootargs.console for setting the console= commandline parameter

2015-02-23 Thread Sascha Hauer
Using a dedicated variable makes it easier to change the console= parameter without affecting other values. Also the linux.bootargs.console variable is already used by common/console.c. Using the same variable in the environment avoids giving duplicate console= twice to the kernel Signed-off-by: S

[PATCH 1/2] OMAP and i.MX boards: do not set console= commandline parameter in environment

2015-02-23 Thread Sascha Hauer
This is not necessary since for OMAP and i.MX the console= parameter is initialized by the serial driver. Signed-off-by: Sascha Hauer Suggested-by: Teresa Gámez --- arch/arm/boards/beagle/env/nv/linux.bootargs.base| 1 - arch/arm/boards/ccxmx51/env/nv/linux.bootargs.base

Re: bareboxenv: console bootargs

2015-02-23 Thread Sascha Hauer
Hi Teresa, On Fri, Feb 20, 2015 at 09:00:20AM +0100, Teresa Gámez wrote: > 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

[PATCH v2 0/3] Socfpga: handoff importer updates + SOCDK support

2015-02-23 Thread Steffen Trumtrar
Hi! This series adds a new script to import and fixup the autogenerated handoff files from Altera Quartus. This is useful for Preloader development. The script is used for importing the files for the Altera SoCDK support. Changes since v1: - fix c&p comment error - add phyfixup

[PATCH v2 2/3] scripts: socfpga: add coccinelle magic

2015-02-23 Thread Steffen Trumtrar
Use coccinelle to cleanup the imported u-boot code some more. This will remove: - debugging macros (TCL_RPT, BFM_STAGE, ALTERA_ASSERT) - empty if/else/for blocks resulting from macro deletion - some unused functions (scc_mgr_xxx) Signed-off-by: Steffen Trumtrar --- script

[PATCH v2 3/3] ARM: socfpga: add Altera SoCFPGA Development Kit support

2015-02-23 Thread Steffen Trumtrar
Add support for the Altera SoCFPGA Development Kit. The setup is based on the GHRD from Altera. Signed-off-by: Steffen Trumtrar --- arch/arm/boards/Makefile | 1 + arch/arm/boards/altera-socdk/Makefile | 2 + arch/arm/boards/altera-socdk/board.c

[PATCH v2 1/3] scripts: add socfpga preloader-files importer

2015-02-23 Thread Steffen Trumtrar
Add script to automatically import and fixup the autogenerated handoff files into the board folder. Signed-off-by: Steffen Trumtrar --- Documentation/boards/socfpga.rst | 10 -- scripts/socfpga_import_preloader | 68 2 files changed, 76 insertions(+),

Re: [PATCH v2 3/3] ARM: socfpga: add Altera SoCFPGA Development Kit support

2015-02-23 Thread Jan Lübbe
On Mo, 2015-02-23 at 10:15 +0100, Steffen Trumtrar wrote: > --- /dev/null > +++ b/arch/arm/boards/altera-socdk/board.c > @@ -0,0 +1,38 @@ > +static int ksz9021rn_phy_fixup(struct phy_device *dev) > +{ > + phy_write(dev, 0x09, 0x0f00); > + > + /* rx skew */ > + phy_write(dev, 0x0b, 0x81

Re: [PATCH] SAMA5D4EK - Now uses the new environment.

2015-02-23 Thread Sascha Hauer
On Sun, Feb 22, 2015 at 10:58:42AM -0700, Doug Brainard wrote: > Bo, > > On Thu, Feb 12, 2015 at 10:52 PM, Bo Shen wrote: > > Hi Doug, > > > > On 02/13/2015 01:27 PM, Doug Brainard wrote: > >> > >> Switched SAMA5D4EK development board to the newer environment method. > >> > >> Improved interface

[PATCH v3] SAMA5D4EK - Now uses the new environment.

2015-02-23 Thread Doug Brainard
This patch switches the SAMA5D4EK development board to the newer environment method. This patch depends on "mtd partition handling updates" patch series from Sascha Hauer Changes since v2: - Modified the NOR partitions to match what is used in u-boot. - Removed the PS1 variable from init, so

Re: [PATCH v3] SAMA5D4EK - Now uses the new environment.

2015-02-23 Thread Sascha Hauer
On Mon, Feb 23, 2015 at 07:57:51AM -0700, Doug Brainard wrote: > This patch switches the SAMA5D4EK development board to the newer environment > method. > > This patch depends on "mtd partition handling updates" patch series from > Sascha Hauer > > Changes since v2: > - Modified the NOR partit

[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 --- arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/spi | 2 +- 1 file changed, 1 insert

[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 --- 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/defaultenv-physom-am335x/b

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

2015-02-23 Thread Teresa Gámez
Signed-off-by: Teresa Gámez --- 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/configs/am335x_defconfi