mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Antony Pavlov <antonynpavlov@gmail.com>
To: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 3/4] MIPS: add qemu malta board support to barebox
Date: Thu, 30 Jun 2011 14:34:56 +0400	[thread overview]
Message-ID: <BANLkTinq1ZmPMiGYPYVrj0zkeHg9PyZ4+g@mail.gmail.com> (raw)
In-Reply-To: <20110630093846.GQ17355@game.jcrosoft.org>

On 30/06/2011, Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> wrote:
>> + * GNU General Public License for more details.
>> + *
>> + * You should have received a copy of the GNU General Public License
>> + * along with this program; if not, write to the Free Software
>> + * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
>> + * MA 02111-1307 USA
>> + *
>> + */
>> +
>> +#include <common.h>
>> +#include <types.h>
>> +#include <driver.h>
>> +#include <init.h>
>> +#include <ns16550.h>
>> +#include <mach/hardware.h>
>> +#include <asm/io.h>
>> +
>> +/** to work with the 8250 UART driver implementation we need this
>> function */
>> +static unsigned int malta_uart_read(unsigned long base, unsigned char
>> reg_idx)
>> +{
>> +	return readb((char *)base + reg_idx);
>> +}
>> +
>> +/** to work with the 8250 UART driver implementation we need this
>> function */
>> +static void malta_uart_write(unsigned int val, unsigned long base,
>> unsigned char reg_idx)
>> +{
>> +	writeb(val, (char *)base + reg_idx);
>> +}
>> +
>> +static struct NS16550_plat serial_plat = {
>> +       .clock = 1843200, /* no matter */
> I check the kernel and they use 3686400
>
> furture more there is no qemu-malta as the malta is a real hw
> emulation even on qemu

Honesty is the best policy.

I have no real malta board, but I have qemu-malta pseudo-board.
I can test barebox on the emulator, but I can't give a warranty that
barebox will work on real malta board.

The MIPS Malta is a reconfigurable device
(http://www.linux-mips.org/wiki/Mips_Malta).
It can be used with very different core cards.

So, I have separated qemu-malta barebox board directory, and nobody
can imagine to run it on real malta board.
But if I have malta barebox board directory, anybody can be misled.

-- 
Best regards,
  Antony Pavlov

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

  reply	other threads:[~2011-06-30 10:37 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-29  3:24 [PATCH 1/4] Add MIPS arch " Antony Pavlov
2011-06-29  3:24 ` [PATCH 2/4] MIPS: add Malta machine " Antony Pavlov
2011-06-30  3:02   ` Jean-Christophe PLAGNIOL-VILLARD
2011-07-02 14:41   ` Shinya Kuribayashi
2011-07-02 16:45     ` Jean-Christophe PLAGNIOL-VILLARD
2011-07-03 20:44       ` Antony Pavlov
2011-07-04  5:11         ` Jean-Christophe PLAGNIOL-VILLARD
2011-07-04  8:54       ` Antony Pavlov
2011-07-04  8:52         ` Jean-Christophe PLAGNIOL-VILLARD
2011-07-03 20:50     ` Antony Pavlov
2011-06-29  3:24 ` [PATCH 3/4] MIPS: add qemu malta board " Antony Pavlov
2011-06-30  2:58   ` Jean-Christophe PLAGNIOL-VILLARD
2011-06-30  9:12     ` Antony Pavlov
2011-06-30  9:38   ` Jean-Christophe PLAGNIOL-VILLARD
2011-06-30 10:34     ` Antony Pavlov [this message]
2011-06-29  3:24 ` [PATCH 4/4] MISP: add documentation template Antony Pavlov
2011-06-29  5:40 ` [PATCH 1/4] Add MIPS arch support to barebox Jean-Christophe PLAGNIOL-VILLARD
2011-06-29  7:53   ` Antony Pavlov
2011-06-30  2:52 ` Jean-Christophe PLAGNIOL-VILLARD
2011-06-30  7:12   ` Franck JULLIEN
2011-06-30  9:18     ` Jean-Christophe PLAGNIOL-VILLARD
2011-06-30  9:13   ` Antony Pavlov
2011-07-02 13:47 ` Shinya Kuribayashi
2011-07-02 16:46   ` Jean-Christophe PLAGNIOL-VILLARD
2011-07-03 20:40   ` Antony Pavlov

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=BANLkTinq1ZmPMiGYPYVrj0zkeHg9PyZ4+g@mail.gmail.com \
    --to=antonynpavlov@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