mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Belisko Marek <marek.belisko@gmail.com>
To: J.Weitzel@phytec.de
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 2/2] pandaboard: Add gpmc_generic_init to board init.
Date: Sat, 3 Mar 2012 13:11:15 +0100	[thread overview]
Message-ID: <CAAfyv36_n=mM+K2m_SQt_St_2+LhEUAcwXBG0LCU6pXz6KFGLw@mail.gmail.com> (raw)
In-Reply-To: <1330675480.3149.4.camel@lws-weitzel>

On Fri, Mar 2, 2012 at 9:04 AM, Jan Weitzel <J.Weitzel@phytec.de> 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 <marek.belisko@open-nandra.com>
>> ---
>>  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 <mach/gpio.h>
>>  #include <environment.h>
>>  #include <mach/xload.h>
>> +#include <mach/gpmc.h>
>>
>>  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 *)0x80000100);
>>       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

  reply	other threads:[~2012-03-03 12:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-31 20:51 [PATCH 1/2] omap: Remove OMAP_GPMC prompt and usage Marek Belisko
2012-01-31 20:51 ` [PATCH 2/2] pandaboard: Add gpmc_generic_init to board init Marek Belisko
2012-03-02  8:04   ` Jan Weitzel
2012-03-03 12:11     ` Belisko Marek [this message]
2012-02-01  9:32 ` [PATCH 1/2] omap: Remove OMAP_GPMC prompt and usage Premi, Sanjeev
2012-02-01 10:16   ` Belisko Marek
2012-02-01 11:05     ` Premi, Sanjeev
2012-02-01 11:09       ` Belisko Marek
2012-02-01 13:52         ` Premi, Sanjeev
2012-02-01 13:51       ` Sascha Hauer
2012-02-01 14:10         ` Premi, Sanjeev
2012-02-07 20:22           ` Belisko Marek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAfyv36_n=mM+K2m_SQt_St_2+LhEUAcwXBG0LCU6pXz6KFGLw@mail.gmail.com' \
    --to=marek.belisko@gmail.com \
    --cc=J.Weitzel@phytec.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox