ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Sheplyakov <asheplyakov@basealt.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] grub FDT patch (grub versus Baikal-M)
Date: Fri, 3 Apr 2020 15:09:20 +0400
Message-ID: <20200403110920.GA24596@alexnuc> (raw)
In-Reply-To: <5c60ae77-0769-7768-41c3-e6832a5dd29e@ya.ru>

On Wed, Apr 01, 2020 at 02:32:11PM +0700, Антон Мидюков wrote:
> 31.03.2020 22:58, Aleksey Novodvorsky пишет:
> > вт, 31 мар. 2020 г., 18:51 Alexey Sheplyakov <asheplyakov@basealt.ru>:
> > 
> > > On Tue, Mar 31, 2020 at 07:35:12PM +0400, Alexey Sheplyakov wrote:
> > > > On Tue, Mar 31, 2020 at 09:03:28PM +0700, Антон Мидюков wrote:
> > > > 
> > > > > По конкретике. Зачаток поддержки devicetree в конфиге был вот в этом
> > > патче:
> > > > > 
> > > http://git.altlinux.org/gears/g/grub.git?p=grub.git;a=blob;f=grub-2.02-sb-0005-Make-10_linux-work-with-our-changes-for-linux16-and-.patch;h=11b6e2b0259709e1c4c78701163d61eb6b5517a6;hb=2dfa3c486dea760b421124dcae735674f204f9da
> > > > > Если бы этого зачатка не было, я бы и не развил эту идею. Патч то этот
> > > > > апстримный?
> > > > Нет, это патч из RHEL 7.1:
> > > > 
> > > > 
> > > https://github.com/rhboot/grub2/commit/024e7b139cc65bc945ace4c1b3bd0547d07b7314
> > > 
> > > А в RHEL 8 его переделали аналогично обсуждаемому патчу:
> > > 
> > > 
> > > https://github.com/rhboot/grub2/commit/2e702754c5dc8e0858fb16797a396411ebfb22e0
> > Мне кажется, что использовать патч RHEL 8  не зазорно.
> Если он даёт желаемое поведение, можно использовать и его.

У RHEL немного другие соглашения о том, куда устанавливать dtb файлы:
/boot/dtb-`uname -r`. У нас: /lib/devicetree/dtb-`uname -r`, и симлинк
/boot/dtb на самую свежую версию (по аналогии с /boot/vmlinuz).

Потому RHEL патч все равно надо адаптировать, и в итоге получается такой
же патч (с точностью до имени переменной), как и предложенный ранее
http://git.altlinux.org/tasks/243217/gears/1200/git?p=git;a=blob;f=grub-2.02-support-GRUB_FDT_LINUX.patch;h=575c664e265219297a980650ef747f8a63037653;hb=5741e6cdb26580ecc366cc6ec8c4f7d07f400e8e





  reply	other threads:[~2020-04-03 11:09 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-31  9:44 Alexey Sheplyakov
2020-03-31 12:33 ` Anton Farygin
2020-03-31 13:15     ` Anton Farygin
2020-03-31 14:03       ` Антон Мидюков
2020-03-31 14:09         ` Антон Мидюков
2020-03-31 14:27         ` Anton Farygin
2020-03-31 15:32         ` Alexey Sheplyakov
2020-04-01 10:31           ` Sergey Bolshakov
2020-04-01 10:39             ` Антон Мидюков
2020-03-31 15:35         ` Alexey Sheplyakov
2020-03-31 15:51           ` Alexey Sheplyakov
2020-03-31 18:47               ` Dmitry V. Levin
2020-04-01  7:32               ` Антон Мидюков
2020-04-03 11:09                 ` Alexey Sheplyakov [this message]
2020-04-03 11:33                   ` Alexey Sheplyakov
2020-04-07 11:55                       ` Evgeny Sinelnikov
2020-04-08  3:54                         ` Антон Мидюков
2020-04-09 15:52                           ` Sergey Bolshakov

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=20200403110920.GA24596@alexnuc \
    --to=asheplyakov@basealt.ru \
    --cc=devel@lists.altlinux.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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git