Single-board computer software development discussions
 help / color / mirror / Atom feed
From: "Антон Мидюков" <midyukov-anton@ya.ru>
To: devel-sbc@lists.altlinux.org
Subject: Re: [devel-sbc] regular-server.iso для Raspberry Pi 3 (4)
Date: Wed, 19 Feb 2020 20:07:58 +0700
Message-ID: <09f3a8b9-a85a-80ff-31b4-9d0e12e132ce@ya.ru> (raw)
In-Reply-To: <83f5b7a8-d830-79c4-fe8a-dd129842df44@ya.ru>

17.02.2020 16:04, Антон Мидюков пишет:
> 17.02.2020 15:49, Alexey V. Vissarionov пишет:
>> On 2020-02-17 15:46:55 +0700, Антон Мидюков wrote:
>>
>>   >>> Также было бы здорово, чтобы можно было подключить RTC
>>   >> Можно, разрешаю. Если что, у меня DS1338 работает после
>>   >> echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-1/new_device
>>   >>> и их EFI увидело.
>>   >> Зачем?
>>   > Затем, чтобы не нужно было делать в ОС:
>>   > echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-1/new_device
>>
>> ГВ: dtoverlay=i2c-rtc,ds1307
>
> При загрузке в режиме EFI, сколько я не пробовал вписывать в 
> config.txt dtoverlay=такой-то, или прописывать другой dtb, в 
> загруженной ОС devicetree не менялось.
>
Выяснил, что это я сам себе создал проблему на ровном месте. В Readme 
написано же:

Seems to be completely discarded by GPU when booting with a custom
device tree. - GPU-passed hardware configuration.

А я на это не обратил внимание. Так что необходимо под каждую плату 
собирать свой EFI с dtb под неё, и тогда можно использовать оверлеи. 
Т.е. удаляем из config.txt:

device_tree_address=0x20000
device_tree_end=0x30000
device_tree=bcm2711-rpi-4-b.dtb

И добавляем:

dtoverlay=vc4-fkms-v3d
gpu_mem=128
disable_overscan=1
ignore_lcd=1
display_default_lcd=0
hdmi_force_hotplug=1
max_frambuffers=2
framebuffer_priority=2

Опции взяты из:

https://www.altlinux.org/Ports/aarch64/Raspberry_Pi4#Процесс_загрузки

Только размер памяти 128 МБ поставил. По крайней мере, переключение в 
нормальный графический режим происходит и на RPi4 и на RPi3. Одной 
проблемой меньше.

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



  parent reply	other threads:[~2020-02-19 13:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-14 16:55 Антон Мидюков
2020-02-17  7:46 ` Alexey V. Vissarionov
2020-02-17  7:55   ` Антон Мидюков
2020-02-17  8:07     ` Nikolai Kostrigin
2020-02-17  8:12       ` Антон Мидюков
2020-02-17  8:25         ` Alexey V. Vissarionov
2020-02-17  8:46           ` Антон Мидюков
2020-02-17  8:49             ` Alexey V. Vissarionov
2020-02-17  9:04               ` Антон Мидюков
2020-02-17  9:19                 ` Alexey V. Vissarionov
2020-02-19 13:07                 ` Антон Мидюков [this message]
2020-02-19 17:13                   ` Антон Мидюков
2020-02-17  8:19       ` Alexey V. Vissarionov
2020-03-03  8:44 ` Pavel Isopenko
2020-03-03  8:59   ` Антон Мидюков

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=09f3a8b9-a85a-80ff-31b4-9d0e12e132ce@ya.ru \
    --to=midyukov-anton@ya.ru \
    --cc=devel-sbc@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

Single-board computer software development discussions

This inbox may be cloned and mirrored by anyone:

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

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


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