All of lore.kernel.org
 help / color / mirror / Atom feed
From: derek yuan <derek.yuan@zoho.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: how to add a new platform support with GRUB2
Date: Wed, 15 Apr 2015 08:55:24 +0800	[thread overview]
Message-ID: <14cba908176.ea4ed1f74453.5660789349995532972@zoho.com> (raw)
In-Reply-To: <20150414134913.17a1e206@opensuse.site>

[-- Attachment #1: Type: text/plain, Size: 1587 bytes --]

Thank you so much! Your advice is very helpful to me, I will have a try.

---- On Tue, 14 Apr 2015 18:49:13 +0800 Andrei Borzenkov&lt;arvidjaar@gmail.com&gt; wrote ---- 

В Tue, 14 Apr 2015 17:25:15 +0800
derek yuan &lt;derek.yuan@zoho.com&gt; пишет:

&gt; Hi, all:
&gt; I want to add Loongson3A+RS780E platform to grub, what i have to do? where to begin?
&gt; More information about this platform:
&gt; CPU: loongson3A (mips64el)
&gt; NorthBridge: RS780E
&gt; SourthBridge: SB710
&gt; 
&gt; Right now, grub supported loongson2F+cs5536 platform, loongson2F also the mips64el arch.
&gt; 
&gt; Thank you so much!
&gt; Best regards!
&gt; 
&gt; Derek
&gt; 
&gt; 

There are some comments indicating at least partial Loongson 3A
support. The main question is whether you can determine platform
at run time or not. If yes, just extend existing platform files. If
not, it probably can be implemented by building platform specific
module and selecting it at grub-mkimage/grub-install time.

Looks at loongson directories first

bor@opensuse:~/src/grub&gt; find grub-core include -name loongson 
grub-core/boot/mips/loongson
grub-core/kern/mips/loongson
grub-core/commands/mips/loongson
grub-core/lib/mips/loongson
include/grub/mips/loongson

as well as grub-core/Makefile.core.def (for definitions how they all
are put together) as well as util/mkimage.c (that actually generates
grub image).

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel





[-- Attachment #2: Type: text/html, Size: 2377 bytes --]

  reply	other threads:[~2015-04-15  0:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-14  9:25 how to add a new platform support with GRUB2 derek yuan
2015-04-14 10:49 ` Andrei Borzenkov
2015-04-15  0:55   ` derek yuan [this message]
2015-04-24 15:42 ` Vladimir 'φ-coder/phcoder' Serbinenko

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=14cba908176.ea4ed1f74453.5660789349995532972@zoho.com \
    --to=derek.yuan@zoho.com \
    --cc=grub-devel@gnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.