mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Fabio Porcedda <fabio.porcedda@gmail.com>
To: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH v3] ARM: at91: Add Telit EVK-PRO3 board support
Date: Fri, 25 Jan 2013 11:49:31 +0100	[thread overview]
Message-ID: <CAHkwnC-QJmzy1i2J185Te-nQe=qsmCEu3c8Gdzokg6hsegi7HA@mail.gmail.com> (raw)
In-Reply-To: <20130124155152.GW26329@game.jcrosoft.org>

On Thu, Jan 24, 2013 at 4:51 PM, Jean-Christophe PLAGNIOL-VILLARD
<plagnioj@jcrosoft.com> wrote:
>> diff --git a/arch/arm/boards/telit-evk-pro3/init.c b/arch/arm/boards/telit-evk-pro3/init.c
>> new file mode 100644
>> index 0000000..06e6508
>> --- /dev/null
>> +++ b/arch/arm/boards/telit-evk-pro3/init.c
>> @@ -0,0 +1,178 @@
>> +/*
>> + * Copyright (C) 2007 Sascha Hauer, Pengutronix
>> + * Copyright (C) 2013 Fabio Porcedda <fabio.porcedda@gmail.com>, Telit
>> + *
>> + * This program is free software; you can redistribute it and/or
>> + * modify it under the terms of the GNU General Public License as
>> + * published by the Free Software Foundation; either version 2 of
>> + * the License, or (at your option) any later version.
>> + *
>> + * This program is distributed in the hope that it will be useful,
>> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
>> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>> + * GNU General Public License for more details.
>> + */
>> +
>> +#include <asm/armlinux.h>
>> +#include <common.h>
>> +#include <gpio.h>
>> +#include <init.h>
>> +#include <linux/clk.h>
>> +#include <mach/at91_rstc.h>
>> +#include <mach/at91sam9_smc.h>
>> +#include <mach/board.h>
>> +#include <mach/io.h>
>> +#include <nand.h>
>> +
>> +#define BOOTSTRAP_SIZE 0xC0000
> this is really wired
>
> on 9260 you have anly 4KiB of sram so you bootstrap will be 4KiB MAX
>
> and as on 9260 the ROM code does not manage the bbt or even ECC correction
>
> you just need to reserve the first block of the NAND for it


You are right, but right now I can only use the Telit Official Bootstrap binary,
so I must use that address because is the address used by the original
bootstrap binary.

To be able to use another address I want to port the Barebox AT91
Bootstrap or AT91Bootstrap.
Do you think is difficult to add support to the at91sam9260ek for
Barebox AT91 Bootstrap?

> except this
>
> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
>
> Best Regards,
> J.

Best regards and thanks for reviewing.
--
Fabio Porcedda

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

  reply	other threads:[~2013-01-25 10:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-24 14:42 Fabio Porcedda
2013-01-24 15:51 ` Jean-Christophe PLAGNIOL-VILLARD
2013-01-25 10:49   ` Fabio Porcedda [this message]
2013-01-25 11:47     ` Jean-Christophe PLAGNIOL-VILLARD
2013-01-25 12:30       ` Fabio Porcedda
2013-01-24 15:53 ` Jean-Christophe PLAGNIOL-VILLARD
2013-01-25 10:40   ` Fabio Porcedda

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='CAHkwnC-QJmzy1i2J185Te-nQe=qsmCEu3c8Gdzokg6hsegi7HA@mail.gmail.com' \
    --to=fabio.porcedda@gmail.com \
    --cc=barebox@lists.infradead.org \
    --cc=plagnioj@jcrosoft.com \
    /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