ALT Linux Distributions development
 help / color / mirror / Atom feed
From: "Антон Мидюков" <midyukov-anton@ya.ru>
To: devel-distro@lists.altlinux.org
Subject: Re: [devel-distro] What Raspberry Pi 4 kernel
Date: Thu, 3 Dec 2020 16:38:23 +0700
Message-ID: <b303836f-65f5-8428-ebf1-cb0524599d25@ya.ru> (raw)
In-Reply-To: <2479254.8hzESeGDPO@zerg.malta.altlinux.ru>

03.12.2020 15:30, Sergey V Turchin пишет:
> Привет всем!
>
> А какое ядро использовать для Raspberry Pi 4?
>
> А то я добавил use/arm-rpi4/kernel, а mkimage мне сказал:
> ** CONFIG_OVERLAY_FS available
> ** CONFIG_SQUASHFS available
> ** CONFIG_EFI available
> ** CONFIG_EFI_PARTITION available
> ** error: stage1 kernel must have EFI_VARS support
> mki-scripts: /tmp/.private/zerg/mkimage-profiles.build.vzjo269/stage1/
> scripts.d/03-test-kernel: unable to run script.
>
iso-образ нет необходимости собирать со спец ядром. На edk2 даже ядро 
std-def грузится. Но, что на u-boot/efi, что на edk2, rpi-ядро тоже не 
работает полноценно. Так что смысла особого нет.

Специальное rpi-ядро полноценно работает только через загрузку rpi-шным 
firmware. Поэтому нужно собирать vm/такой-то.img с добавлением фичи 
use/arm-rpi4. Как это делали для Workstation, Education, Simply.

Фича arm-rpi4 не заточена для сборки iso.

Если хочется собрать iso с ядром rpi, то нужно сделать:

@$(call set,KFLAVOURS,rpi-def)

или

@$(call set,KFLAVOURS,rpi-un)

Отдельные настройки, которые делаются в скриптах фичи, нужно будет 
превратить в пакет installer-features-rpi. Но, как я писал выше, смысла 
в отдельном iso с ядром rpi не вижу.

-- 
С уважением, Антон Мидюков <antohami@altlinux.org>



  parent reply	other threads:[~2020-12-03  9:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-03  8:30 Sergey V Turchin
2020-12-03  8:51   ` Sergey V Turchin
2020-12-03  9:04       ` Sergey V Turchin
2020-12-03  9:08   ` Sergey Bolshakov
2020-12-03  9:38 ` Антон Мидюков [this message]
2020-12-03  9:58   ` Sergey V Turchin
2020-12-03 10:22     ` Антон Мидюков
2020-12-03 11:02       ` Дмитрий Терехин
2020-12-03 10:20   ` Дмитрий Терехин
2020-12-03 10:30     ` Sergey V Turchin
2020-12-03 10:26   ` Sergey V Turchin
2020-12-03 10:41     ` Антон Мидюков
2020-12-03 11:16       ` Sergey V Turchin
2020-12-03 11:06     ` Дмитрий Терехин
2020-12-03 11:13       ` Антон Мидюков

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=b303836f-65f5-8428-ebf1-cb0524599d25@ya.ru \
    --to=midyukov-anton@ya.ru \
    --cc=devel-distro@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 Distributions development

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-distro/0 devel-distro/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-distro devel-distro/ http://lore.altlinux.org/devel-distro \
		devel-distro@lists.altlinux.org devel-distro@lists.altlinux.ru devel-distro@lists.altlinux.com
	public-inbox-index devel-distro

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


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