[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4678: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4680: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4681: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4682: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
virt2real.ru • Просмотр темы - Работа с голым железом.
Страница 1 из 2

Работа с голым железом.

СообщениеДобавлено: 04 сен 2013, 19:26
Mirmik
Я все думал дождаться и самому посмотреть, но таки не удержался...

Linux - хорошо, но хочется поработать с голым процессором.
Что у виртурилки в плане перепрошивания?

Доступно ли это вообще, к каким проблемам следует готовиться, и главное, чем шить... (Если это вообще возможно...)

Re: Работа с голым железом.

СообщениеДобавлено: 05 сен 2013, 18:54
Shadow
Добрый день!
Есть несколько вариантов.
У этого процессора есть встроенный RBL (Rom boot loader), который позволяет грузиться с SD карты либо c NAND, либо по UART.
Изображение
У нас есть джамер (SA2), в центре платы, который позволяет конфигурировать выбор загрузчика - либо SD карта, либо NAND.
Изображение
Еще есть контактные площадки под компонент 0603 - джампер SA3,
Изображение
замыкание которых позволяет выбрать вариант загрузки через UART.
Мы не стали делать полноценный джампер в силу недостатка места.
То есть при старте процессора управление передается в RBL, который в соответствии с установленными перемычками выбирает тот или иной вариант загрузки.
Здесь
есть пример того, как можно сделать загрузочный образ для SD карты. Кроме того, в составе UBOOT есть TI Flash Utils, которые позволяют организовать механизм загрузки как с SD карты, так и по UART.
После того, как RBL загрузит исполняемый образ он запускается на исполнение и можно работать с "голым" процессором. Никакого Linux и никаких следов других программ.
Альтернативным вариантом является использование JTAG. У нас предусмотрено под него место - разъем снизу платы, но мы его паять не стали, потому что это некоторая экзотика для наших приложений. Есть разные JTAG-и в том числе те, которые позволяют производить пошаговую отладку и в динамике смотреть состояние процессора, но такие инструменты стоят много денег. Если интересно, я могу скинуть несколько ссылок, я в свое время вопрос изучал, но потом за ненадобностью забыл.
Распайка JTAG прилагается.
Изображение

Re: Работа с голым железом.

СообщениеДобавлено: 05 сен 2013, 21:04
Mirmik
Благодарю за подробный ответ.

По поводу JTAG беспокоиться не стоит...
Я эту тему тоже как-то курил...

Re: Работа с голым железом.

СообщениеДобавлено: 04 окт 2013, 20:01
Gol

Re: Работа с голым железом.

СообщениеДобавлено: 04 окт 2013, 21:54
scayn
Может что не так делал, но однажды на S2 ради эксперимента одел джампер. Загрузка успешна прошла с сд-карты, точно так же как и без джампера... Вполне допускаю что за неимением загрузчика в нанде, в2р переключилась на флешку, но все же как то странно.

Re: Работа с голым железом.

СообщениеДобавлено: 04 окт 2013, 22:05
Gol

Re: Работа с голым железом.

СообщениеДобавлено: 05 окт 2013, 01:01
orangeudav

Re: Работа с голым железом.

СообщениеДобавлено: 05 окт 2013, 01:01
Gol

Re: Работа с голым железом.

СообщениеДобавлено: 05 окт 2013, 01:20
Mirmik
Есть еще путь научиться подключать линуксовые драйвера к своей системе... Но пока это теория...

Re: Работа с голым железом.

СообщениеДобавлено: 05 окт 2013, 14:52
Mirmik