From: "Дмитрий Терехин" <jqt4@basealt.ru>
To: Single-board computer software development discussions
<devel-sbc@lists.altlinux.org>
Subject: Re: [devel-sbc] Сборка для Raspberry Pi 4 на стабильной ветке p9 с брендингом Workstation 9
Date: Wed, 04 Dec 2019 16:20:38 +0300
Message-ID: <3404591575465638@sas1-55829ddbd171.qloud-c.yandex.net> (raw)
In-Reply-To: <20191204095840.ou3t62kylqw4322x@titan.localdomain>
04.12.2019, 12:58, "Ivan A. Melnikov" <iv@altlinux.org>:
> On Wed, Dec 04, 2019 at 12:51:46PM +0300, Дмитрий Терехин wrote:
>> Здравствуйте!
>>
>> 03.12.2019, 07:38, "Aleksey Novodvorsky" <aen@basealt.ru>:
>> > вт, 3 дек. 2019 г., 7:20 Антон Мидюков <midyukov-anton@ya.ru>:
>> >> 03.12.2019 11:13, Aleksey Novodvorsky пишет:
>> >>> [...]
>> >>>
>> >>> Из известных на сегодня осталась проблема с перезагрузкой, так?
>> >>
>> >> 1. Перезагрузкой и выключением. Ждущий режим также нужно выключать при
>> >> сборке (на уровне systemd).
>> >>
>> >> 2. Не работает клавиатурный ввод при загрузке u-boot. Поэтому выбрать
>> >> ядро можно только через консоль последовательного порта.
>> > Помнится, читал, что у кого-то появлялся ввод при загрузке после отсоединения и присоединения клавиатуры.
>> > Но я пока не дошел до почты, где лежит мой комплект rрi4, сам не проверю.
>>
>> Вчера попробовал так сделать - не получилось.
>> Попробовал то, что написано в [1] и [2] :
>>
>> Добавил в rpi_4_defconfig
>> CONFIG_USB=y
>> CONFIG_DM_USB=y
>> CONFIG_USB_DWC2=y
>> CONFIG_USB_KEYBOARD=y
>> CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP=y
>> и пересобрал u-boot. Поставил на rpi4
>> Подал команду:
>>
>> U-Boot> usb start
>> Unknown command 'usb' - try 'help'
>>
>> Команды usb действительно нет.
>> К сожалению, я не знаю, как добавить эту команду в u-boot для rpi4
>>
>> Если кто-то знает - подскажите, пожалуйста.
>
> CONFIG_CMD_USB?
Спасибо!
Добавил в rpi_4_defconfig
CONFIG_CMD_USB=y
CONFIG_USB_UHCI=y
и команда usb появилась.
Однако, подключить клавиатуру это не помогло -
обнаруживается только некий USB hub:
U-Boot> usb info
1: Hub, USB Revision 1.10
- U-Boot Root Hub
- Class: Hub
- PacketSize: 8 Configurations: 1
- Vendor: 0x0000 Product 0x0000 Version 0.0
Configuration: 1
- Interfaces: 1 Self Powered 0mA
Interface: 0
- Alternate Setting 0, Endpoints: 1
- Class Hub
- Endpoint 1 In Interrupt MaxPacket 2 Interval 255ms
Подключение по USB внешних устройств ни на что не влияет.
Если кто-то знает куда копать дальше - подскажите, пожалуйста.
С уважением
Дмитрий Терёхин
> --
> wbr,
> iv m.
> _______________________________________________
> devel-sbc mailing list
> devel-sbc@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel-sbc
prev parent reply other threads:[~2019-12-04 13:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-19 9:05 Дмитрий Терехин
2019-10-21 19:04 ` Evgeny Sinelnikov
2019-11-11 14:19 ` Дмитрий Терехин
2019-12-02 10:48 ` Дмитрий Терехин
2019-12-02 20:07 ` Aleksey Novodvorsky
2019-12-03 3:58 ` Alexey V. Vissarionov
2019-12-03 4:10 ` Антон Мидюков
2019-12-04 13:03 ` Alexey V. Vissarionov
2019-12-03 4:20 ` Антон Мидюков
2019-12-04 9:51 ` Дмитрий Терехин
2019-12-04 9:58 ` Ivan A. Melnikov
2019-12-04 13:20 ` Дмитрий Терехин [this message]
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=3404591575465638@sas1-55829ddbd171.qloud-c.yandex.net \
--to=jqt4@basealt.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