From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Yhx5v-0005Y2-DY for mharc-grub-devel@gnu.org; Tue, 14 Apr 2015 05:25:23 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51900) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yhx5s-0005Wj-Nz for grub-devel@gnu.org; Tue, 14 Apr 2015 05:25:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yhx5p-00038U-Hz for grub-devel@gnu.org; Tue, 14 Apr 2015 05:25:20 -0400 Received: from sender1.zohomail.com ([74.201.84.155]:35977) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yhx5p-000384-9D for grub-devel@gnu.org; Tue, 14 Apr 2015 05:25:17 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:message-id:subject:mime-version:content-type:user-agent; b=RiEBRB1/cdmSXQKNIjcTnj81aE45uCzaJ3uVyjbUEMNfIYdFW+RzM7ia1e66/oLkRsS08fVBoxgw JlB5Yk+mCYSQVbNtnTQ/EM0tpZycd9PzEmtQxE8h9JIRxurjBZgS Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1429003515114268.44282655282393; Tue, 14 Apr 2015 02:25:15 -0700 (PDT) Date: Tue, 14 Apr 2015 17:25:15 +0800 From: derek yuan To: Message-ID: <14cb730d712.f8ac2b86186308.8072696517472569126@zoho.com> Subject: how to add a new platform support with GRUB2 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_252495_2124617163.1429003515069" X-Priority: Normal User-Agent: Zoho Mail X-Mailer: Zoho Mail X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-Received-From: 74.201.84.155 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Apr 2015 09:25:21 -0000 ------=_Part_252495_2124617163.1429003515069 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Hi, all: I want to add Loongson3A+RS780E platform to grub, what i have to do? where to begin? More information about this platform: CPU: loongson3A (mips64el) NorthBridge: RS780E SourthBridge: SB710 Right now, grub supported loongson2F+cs5536 platform, loongson2F also the mips64el arch. Thank you so much! Best regards! Derek ------=_Part_252495_2124617163.1429003515069 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: 7bit
Hi, all:
    I want to add Loongson3A+RS780E platform to grub, what i have to do? where to begin?
    More information about this platform:
    CPU: loongson3A (mips64el)
    NorthBridge: RS780E
    SourthBridge: SB710

    Right now, grub supported loongson2F+cs5536 platform, loongson2F also the mips64el arch.

Thank you so much!
Best regards!

Derek

------=_Part_252495_2124617163.1429003515069-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YhyPt-0003RL-IY for mharc-grub-devel@gnu.org; Tue, 14 Apr 2015 06:50:05 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55984) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhyPO-0003ND-58 for grub-devel@gnu.org; Tue, 14 Apr 2015 06:50:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YhyP6-0001HJ-Rp for grub-devel@gnu.org; Tue, 14 Apr 2015 06:49:34 -0400 Received: from mail-lb0-x22d.google.com ([2a00:1450:4010:c04::22d]:33670) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhyP6-0001Gk-FV for grub-devel@gnu.org; Tue, 14 Apr 2015 06:49:16 -0400 Received: by lbbzk7 with SMTP id zk7so4825096lbb.0 for ; Tue, 14 Apr 2015 03:49:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=7DVnznFciAIRU5vqhcqk66DB50sPG+pDo+nybkDU1NY=; b=JFJPqakWRER+q9ePzWissvAGb4Ip9qbHiDGvxaN47yzFe4VmA93TFsVioZfQOIPs1i rkXmMnMAliSKIa06E3p7vr0z0htWt5xx/DIo2vk3bzd7vw6Iux+90G1hQBmrqF1OV02J 0LKJ5UbW99eL1e15aXSfIrZN3owGBJ3hNQID2ZBHN/p+LS1t6wRDAeQlLqQCDCCJ2SSM rLuWcZS3DuXTxFSNpTrRnf706Tcqfqw7ZPN+LLFTO1XwgFKlPPN0hB3T+Z5n89rDOKSI XuS/WoH8gterCWJchkVMpd6+uywJ+meFjeUB7rp3Y3wmnM/XzQ8QxJE0QegSemIFSfzk ZdOA== X-Received: by 10.152.5.170 with SMTP id t10mr17480080lat.43.1429008555663; Tue, 14 Apr 2015 03:49:15 -0700 (PDT) Received: from opensuse.site (ppp91-76-14-38.pppoe.mtu-net.ru. [91.76.14.38]) by mx.google.com with ESMTPSA id uj9sm143045lbb.38.2015.04.14.03.49.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Apr 2015 03:49:14 -0700 (PDT) Date: Tue, 14 Apr 2015 13:49:13 +0300 From: Andrei Borzenkov To: derek yuan Subject: Re: how to add a new platform support with GRUB2 Message-ID: <20150414134913.17a1e206@opensuse.site> In-Reply-To: <14cb730d712.f8ac2b86186308.8072696517472569126@zoho.com> References: <14cb730d712.f8ac2b86186308.8072696517472569126@zoho.com> X-Mailer: Claws Mail 3.11.0 (GTK+ 2.24.27; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::22d Cc: grub-devel@gnu.org X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Apr 2015 10:50:04 -0000 =D0=92 Tue, 14 Apr 2015 17:25:15 +0800 derek yuan =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > Hi, all: > I want to add Loongson3A+RS780E platform to grub, what i have to do? = where to begin? > More information about this platform: > CPU: loongson3A (mips64el) > NorthBridge: RS780E > SourthBridge: SB710 >=20 > Right now, grub supported loongson2F+cs5536 platform, loongson2F also= the mips64el arch. >=20 > Thank you so much! > Best regards! >=20 > Derek >=20 >=20 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> find grub-core include -name loongson=20 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). From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YiBc6-0004cZ-GP for mharc-grub-devel@gnu.org; Tue, 14 Apr 2015 20:55:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiBc3-0004cH-TQ for grub-devel@gnu.org; Tue, 14 Apr 2015 20:55:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YiBbz-0000ZV-QT for grub-devel@gnu.org; Tue, 14 Apr 2015 20:55:31 -0400 Received: from sender1.zohomail.com ([74.201.84.155]:35237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiBbz-0000YE-Hi for grub-devel@gnu.org; Tue, 14 Apr 2015 20:55:27 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:message-id:in-reply-to:references:subject:mime-version:content-type:user-agent; b=NXr5ditZ5PuFDtBNOnVyTeTK3UW3SSCrCQEzFknLVl6+sHq94GiklCKXuAwy/fXkaHtwELs5pxEp brqD5z9cpVz0/21ze3rojOt08hkjBf0zKGse6Ysv7e2L1Nz3GAum Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1429059324926700.0901850795884; Tue, 14 Apr 2015 17:55:24 -0700 (PDT) Date: Wed, 15 Apr 2015 08:55:24 +0800 From: derek yuan To: The development of GNU GRUB Message-ID: <14cba908176.ea4ed1f74453.5660789349995532972@zoho.com> In-Reply-To: <20150414134913.17a1e206@opensuse.site> References: <14cb730d712.f8ac2b86186308.8072696517472569126@zoho.com> <20150414134913.17a1e206@opensuse.site> Subject: Re: how to add a new platform support with GRUB2 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6194_1567006747.1429059324874" X-Priority: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-Received-From: 74.201.84.155 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Apr 2015 00:55:33 -0000 ------=_Part_6194_1567006747.1429059324874 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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<arvidjaar@gmail= .com> wrote ----=20 =D0=92 Tue, 14 Apr 2015 17:25:15 +0800 derek yuan <derek.yuan@zoho.com> =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > Hi, all: > I want to add Loongson3A+RS780E platform to grub, what i have to do? w= here to begin? > More information about this platform: > CPU: loongson3A (mips64el) > NorthBridge: RS780E > SourthBridge: SB710 >=20 > Right now, grub supported loongson2F+cs5536 platform, loongson2F also = the mips64el arch. >=20 > Thank you so much! > Best regards! >=20 > Derek >=20 >=20 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> find grub-core include -name loongson=20 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 ------=_Part_6194_1567006747.1429059324874 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =
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<arvidjaar@gmail.com>= wrote ----
=D0=92 Tue, 14 Apr 2015 17:25:15 +0800=
derek yuan <derek.yuan@zoho.com> =D0= =BF=D0=B8=D1=88=D0=B5=D1=82:

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

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 y= es, just extend existing platform files. If
not, it probably can be impl= emented by building platform specific
module and selecting it at grub-mk= image/grub-install time.

Looks at loongson directories first

= bor@opensuse:~/src/grub> find grub-core include -name loongson
grub-= core/boot/mips/loongson
grub-core/kern/mips/loongson
grub-core/comman= ds/mips/loongson
grub-core/lib/mips/loongson
include/grub/mips/loongs= on

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.orghttps://lists.gnu.org/mailman/listinfo/grub-devel


------=_Part_6194_1567006747.1429059324874-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Ylfkp-0006XV-FP for mharc-grub-devel@gnu.org; Fri, 24 Apr 2015 11:42:59 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43952) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ylfkm-0006WQ-Ie for grub-devel@gnu.org; Fri, 24 Apr 2015 11:42:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ylfki-0005ra-Fj for grub-devel@gnu.org; Fri, 24 Apr 2015 11:42:56 -0400 Received: from mail-wg0-x230.google.com ([2a00:1450:400c:c00::230]:35432) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ylfki-0005rB-8b for grub-devel@gnu.org; Fri, 24 Apr 2015 11:42:52 -0400 Received: by wgyo15 with SMTP id o15so54922305wgy.2 for ; Fri, 24 Apr 2015 08:42:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=Hkh8Bg/2btsxn+EwguvNxgBaTY/8OjW7dvSvQ1Wj9uU=; b=LICKyxxcYElgz+M0iWUnWCKbodw3IkRsK7rlWmPjNhQYbPz78Sd9uFwOv4YsU+nbym AI36B/i03mIFgvdfzdSKcA5xQMpuG4gqn/RIhJrgJHj4sSwABzdKw9NEAqE3Ss0Fsfnv kMZ7A1g8TLKLZMXQqbsIg/TEuskn/IfKe1ZDjsz8GuODuFHOaixbXliWfrhC/nrbqKEV 6PCZZbziFD5KaVM/GjONM5BZTWP6njKanDZkqvHQ2KHiVL3zwHcMhQatCRLsJus05O+v iGj1a4NW2KmRO4GqMGQ8zDltpL/2+ERx0Ea7KVo7t5Vu0hnDhRv41EdxywHFDDtD7QCR InUg== X-Received: by 10.194.78.12 with SMTP id x12mr16426482wjw.112.1429890171610; Fri, 24 Apr 2015 08:42:51 -0700 (PDT) Received: from ?IPv6:2620:0:105f:fd00:863a:4bff:fe50:abc4? ([2620:0:105f:fd00:863a:4bff:fe50:abc4]) by mx.google.com with ESMTPSA id bi3sm4116144wib.5.2015.04.24.08.42.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Apr 2015 08:42:50 -0700 (PDT) Message-ID: <553A647A.5020609@gmail.com> Date: Fri, 24 Apr 2015 17:42:50 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.6.0 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: how to add a new platform support with GRUB2 References: <14cb730d712.f8ac2b86186308.8072696517472569126@zoho.com> In-Reply-To: <14cb730d712.f8ac2b86186308.8072696517472569126@zoho.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="IpbaLqIf6xCcdVjLEOf9RT5oqAeL7AuvQ" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::230 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Apr 2015 15:42:57 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --IpbaLqIf6xCcdVjLEOf9RT5oqAeL7AuvQ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 14.04.2015 11:25, derek yuan wrote: > Hi, all: > I want to add Loongson3A+RS780E platform to grub, what i have to do= ? > where to begin? > More information about this platform: > CPU: loongson3A (mips64el) > NorthBridge: RS780E > SourthBridge: SB710 >=20 > Right now, grub supported loongson2F+cs5536 platform, loongson2F > also the mips64el arch. >=20 loongson 3A partially works in my prototype. It's mainly down to squashing some critical bugs before it can be called a support. > Thank you so much! > Best regards! >=20 > Derek >=20 >=20 >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 --IpbaLqIf6xCcdVjLEOf9RT5oqAeL7AuvQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iF4EAREKAAYFAlU6ZHoACgkQmBXlbbo5nOsTQwD+KBuHpojJ18WJ4dlbOV0G7LOm in5GHHgIjnjmLGetKe8BAI4i+0JVjytDENqS6k+lKJxCApWvKS9ckosm1xxgv6+7 =wj68 -----END PGP SIGNATURE----- --IpbaLqIf6xCcdVjLEOf9RT5oqAeL7AuvQ--