[PATCH 2/5] bootsource: create arch independent bootsource framework

2013-04-02 Thread Sascha Hauer
From: Marc Kleine-Budde This patch seperates the imx independent from the arch independent code. The following functions and enums are renamed: - imx_bootsource() -> bootsource_get() - imx_set_bootsource() -> bootsource_set() - enum imx_bootsource -> enum bootsource Signed-off-by: Marc Kleine-B

[PATCH 5/5] ARM: i.MX53: Add bootsource instance information

2013-04-02 Thread Sascha Hauer
The i.MX53 has the bootsource instance information stored in SBMR[21:22], expose it to the environment. Signed-off-by: Sascha Hauer --- arch/arm/mach-imx/boot.c | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-imx/boot.c b/arch/arm/mach-imx/bo

[PATCH 4/5] bootsource: add support for bootsource instance information

2013-04-02 Thread Sascha Hauer
From: Marc Kleine-Budde Add a C interface to set and get the bootsource instance: int bootsource_get_instance(void); void bootsource_set_instance(int instance); Also export the shell variable "barebox_loc_instance". Signed-off-by: Marc Kleine-Budde Signed-off-by: Sascha Hauer --- co

[PATCH] bootsource

2013-04-02 Thread Sascha Hauer
This is a series based on earlier work by Marc. It creates an arch independent framework for storing/retrieving the bootsource. Changes to Marcs version are: - rename (currently i.MX specific) barebox_loc environment variable to 'bootsource' - initialize the bootsource instance to unknown (-1) i

[PATCH 3/5] bootsource: use initcall to export bootsource location to environment

2013-04-02 Thread Sascha Hauer
From: Marc Kleine-Budde This way the bootsource is exported to the environment, even if unknown. Signed-off-by: Marc Kleine-Budde Signed-off-by: Sascha Hauer --- common/bootsource.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/common/bootsource.c b/common/bo

[PATCH 1/5] ARM: i.MX: rename barebox_loc to bootsource

2013-04-02 Thread Sascha Hauer
Rename the barebox_loc environment variable to bootsource, since - barebox_loc is a mixture between abbriviation and fulltext which is not nice - technically it describes the source the SoC has booted from. This is not necessarily barebox but could also be some other first stage loader. Signed-o

[PATCH 2/2] mci-core: fix coding style

2013-04-02 Thread Hubert Feurstein
Signed-off-by: Hubert Feurstein --- drivers/mci/mci-core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mci/mci-core.c b/drivers/mci/mci-core.c index 49612de..c8598c2 100644 --- a/drivers/mci/mci-core.c +++ b/drivers/mci/mci-core.c @@ -894,8 +894,9 @@ static int m

[PATCH 1/2] mci-core: use dev_* for messages

2013-04-02 Thread Hubert Feurstein
Signed-off-by: Hubert Feurstein --- drivers/mci/mci-core.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/mci/mci-core.c b/drivers/mci/mci-core.c index a269aee..49612de 100644 --- a/drivers/mci/mci-core.c +++ b/drivers/mci/mci-core.c @@ -430,8 +430,10 @@

Re: [PATCH v3 02/10] tegra: define TEGRA20 arch type

2013-04-02 Thread Antony Pavlov
On 02/04/2013, Lucas Stach wrote: > Tegra is not a single arch type, but a collection of different > generations. Define TEGAR20 arch type to differentiate between the > generations. Switch to ARMv7 cpu type for all Tegras. > Actually you introduce at least four __INDEPENDENT___ changes in this p

[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 Tested-by: Jan Weitzel --- v2: - removed environment code also from beaglebone arch/arm/boards/beaglebone/board.c| 32 arch/arm/boards/pa

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

2013-04-02 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 environment from. Also clean up includes in board files. Signed-off-by: Teresa Gámez --- arch/arm/boards/beagle/board.c|1 - ar

Re: [PATCH v3 03/10] tegra: switch to DT only

2013-04-02 Thread Jean-Christophe PLAGNIOL-VILLARD
On 08:19 Tue 02 Apr , Lucas Stach wrote: > We will follow the Linux kernel and go devicetree only for Tegra. This > doesn't prevent specific code for certain boards, but always requires a > valid DTB for all boards. > > Also regenerate the AC100 defconfig to reflect this change. > > Signed-of

Re: Problems with the Load a new kernel image

2013-04-02 Thread Jan Lübbe
On Tue, 2013-04-02 at 09:41 +0200, "Breixo López García" wrote: > malloc space: 0x80b0 -> 0x80ff (size 5 MB) > > stack space: 0x80af8000 -> 0x80b0 (size 32 kB) > > running /env/bin/init...

[PATCH v2] commands/tftp: use debug() for debug output

2013-04-02 Thread Hubert Feurstein
Signed-off-by: Hubert Feurstein --- commands/tftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/tftp.c b/commands/tftp.c index 558b0ac..c83d174 100644 --- a/commands/tftp.c +++ b/commands/tftp.c @@ -76,7 +76,7 @@ static int do_tftpb(int argc, char *argv[])

Problems with the Load a new kernel image

2013-04-02 Thread Breixo López García
Hy Community,   I have been trying to boot in the phyCORE-AM335x board the preempt_rt kernel from OSELAS (https://www.osadl.org/Profile-of-system-in-rack-7-slot-5.qa-profile-r7s5.0.html#kernel).   I can compile the kernel propertly but when I do the boot Issue appears in the Target console:  

Re: [PATCH] Implement ALTERNATE memory layout.

2013-04-02 Thread Sascha Hauer
Hi Krzysztof, The following patch from Jan is probably what you're looking for. Sascha 8<--- On AM335x a barebox MLO is placed at the base of the usable SRAM range. When running without SDRAM, we should be able to pass the SRAM range to ba

Re: [PATCH] fb: calculate resource end

2013-04-02 Thread Sascha Hauer
On Thu, Mar 28, 2013 at 11:19:50AM +0100, Jan Weitzel wrote: > commit 5f03074 changed storing struct resource end insted of size. > Fix calculation of end in fb > > Signed-off-by: Jan Weitzel Applied, thanks Sascha > --- > drivers/video/fb.c |4 ++-- > 1 files changed, 2 insertions(+), 2