Re: [PATCH 2/2] pandaboard: Add gpmc_generic_init to board init.

2012-03-03 Thread Belisko Marek
On Fri, Mar 2, 2012 at 9:04 AM, Jan Weitzel  wrote:
> Am Dienstag, den 31.01.2012, 21:51 +0100 schrieb Marek Belisko:
>> We need to setup generic gpmc otherwise kernel panic during boot.
>>
>> Signed-off-by: Marek Belisko 
>> ---
>>  arch/arm/boards/panda/board.c |    3 +++
>>  1 files changed, 3 insertions(+), 0 deletions(-)
>>
>> diff --git a/arch/arm/boards/panda/board.c b/arch/arm/boards/panda/board.c
>> index be3ad77..1c71545 100644
>> --- a/arch/arm/boards/panda/board.c
>> +++ b/arch/arm/boards/panda/board.c
>> @@ -20,6 +20,7 @@
>>  #include 
>>  #include 
>>  #include 
>> +#include 
>>
>>  static int board_revision;
>>
>> @@ -137,6 +138,8 @@ static int panda_devices_init(void)
>>                          IORESOURCE_MEM, NULL);
>>       panda_ehci_init();
>>
>> +     gpmc_generic_init(0x00);
>> +
>
> 3.3.0-rc5 is still not booting without this patch. Using panda_defconfig
> implicitly select CONFIG_OMAP_GPMC.
There was discussion to fix kernel instead fixing barebox:
http://lists.infradead.org/pipermail/barebox/2012-February/005946.html
I don't have time to take a look and post proper fix so still using
that path in barebox.
Sorry.
>
>>       armlinux_set_bootparams((void *)0x8100);
>>       armlinux_set_architecture(MACH_TYPE_OMAP4_PANDA);
>>
>
>

regards,

marek

-- 
as simple and primitive as possible
-
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com

___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


Re: [PATCH 2/2] pandaboard: Add gpmc_generic_init to board init.

2012-03-02 Thread Jan Weitzel
Am Dienstag, den 31.01.2012, 21:51 +0100 schrieb Marek Belisko:
> We need to setup generic gpmc otherwise kernel panic during boot.
> 
> Signed-off-by: Marek Belisko 
> ---
>  arch/arm/boards/panda/board.c |3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/boards/panda/board.c b/arch/arm/boards/panda/board.c
> index be3ad77..1c71545 100644
> --- a/arch/arm/boards/panda/board.c
> +++ b/arch/arm/boards/panda/board.c
> @@ -20,6 +20,7 @@
>  #include 
>  #include 
>  #include 
> +#include 
>  
>  static int board_revision;
>  
> @@ -137,6 +138,8 @@ static int panda_devices_init(void)
>  IORESOURCE_MEM, NULL);
>   panda_ehci_init();
>  
> + gpmc_generic_init(0x00);
> +

3.3.0-rc5 is still not booting without this patch. Using panda_defconfig
implicitly select CONFIG_OMAP_GPMC.

>   armlinux_set_bootparams((void *)0x8100);
>   armlinux_set_architecture(MACH_TYPE_OMAP4_PANDA);
>  



___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


[PATCH 2/2] pandaboard: Add gpmc_generic_init to board init.

2012-01-31 Thread Marek Belisko
We need to setup generic gpmc otherwise kernel panic during boot.

Signed-off-by: Marek Belisko 
---
 arch/arm/boards/panda/board.c |3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boards/panda/board.c b/arch/arm/boards/panda/board.c
index be3ad77..1c71545 100644
--- a/arch/arm/boards/panda/board.c
+++ b/arch/arm/boards/panda/board.c
@@ -20,6 +20,7 @@
 #include 
 #include 
 #include 
+#include 
 
 static int board_revision;
 
@@ -137,6 +138,8 @@ static int panda_devices_init(void)
   IORESOURCE_MEM, NULL);
panda_ehci_init();
 
+   gpmc_generic_init(0x00);
+
armlinux_set_bootparams((void *)0x8100);
armlinux_set_architecture(MACH_TYPE_OMAP4_PANDA);
 
-- 
1.7.5.4


___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox