wiki:usomiq-ubuntu
Различия
Показаны различия между двумя версиями страницы.
Предыдущая версия справа и слеваПредыдущая версияСледующая версия | Предыдущая версияСледующая версияСледующая версия справа и слева | ||
wiki:usomiq-ubuntu [2014/03/20 10:36] – [Setup microSD card] maxx | wiki:usomiq-ubuntu [2017/09/21 16:27] – maxx | ||
---|---|---|---|
Строка 43: | Строка 43: | ||
Добавьте поддержку uSomIQ в u-boot | Добавьте поддержку uSomIQ в u-boot | ||
< | < | ||
- | wget http:// | + | wget http:// |
- | patch -p1 < add-usomiq-to-uboot.patch | + | patch -p1 < u-boot-2013.07-usomiq.patch |
</ | </ | ||
Строка 58: | Строка 58: | ||
< | < | ||
- | git clone git:// | + | git clone git:// |
cd linux-dev/ | cd linux-dev/ | ||
git checkout origin/ | git checkout origin/ | ||
Строка 65: | Строка 65: | ||
Добавьте поддержку uSomIQ в ядре | Добавьте поддержку uSomIQ в ядре | ||
< | < | ||
- | wget http:// | + | wget http:// |
- | patch -p1 < add-usomiq-to-nelson-scripts.patch | + | patch -p1 < add-usomiq-rcn-v3.2.patch |
</ | </ | ||
Строка 81: | Строка 81: | ||
[[http:// | [[http:// | ||
- | ====== | + | ====== |
===== Debian 7.0.0 (Wheezy) Root File System ===== | ===== Debian 7.0.0 (Wheezy) Root File System ===== | ||
- | This file system is very small and can be installed to the NAND flash on uSomIQ. It is not that small like Angstrom minimal distribution | + | Это файловая система достаточно компактная |
- | Default User: debian | + | Идентификация пользователя:\\ |
- | Password: temppwd | + | login: root\\ |
- | + | Password: root\\ | |
- | Root User: root | + | |
- | Root Password: root | + | |
< | < | ||
- | wget -c https:// | + | wget -c https:// |
</ | </ | ||
- | verify the image with: | + | Распакуйте архив: |
< | < | ||
- | md5sum debian-7.1-minimal-armhf-2013-08-25.tar.xz | + | tar xJf debian-7.8-minimal-armhf-2015-01-20.tar.xz |
- | 63e68e96b21cefeae9e4ecbf0568fd26 | + | |
</ | </ | ||
- | Extract Image: | + | Теперь у вас есть директория с tar-архивом, |
- | < | + | ===== Ubuntu |
- | tar xJf debian-7.1-minimal-armhf-2013-08-25.tar.xz | + | |
- | </ | + | |
- | Now you have a directory with the archived | + | |
- | + | ||
- | ===== Ubuntu | + | |
Default User: ubuntu | Default User: ubuntu | ||
Строка 112: | Строка 104: | ||
< | < | ||
- | wget -c https:// | + | wget -c https:// |
</ | </ | ||
- | verify the image with: | + | Распакуйте архив: |
< | < | ||
- | md5sum | + | tar xJf ubuntu-14.04.1-minimal-armhf-2015-01-20.tar.xz |
- | 4bbf7944d43ba5f4fbb5a86232b57d58 | + | |
</ | </ | ||
- | Extract Image: | + | Теперь у вас есть директория с tar-архивом, |
- | < | + | |
- | tar xJf ubuntu-13.04-minimal-armhf-2013-08-25.tar.xz | + | |
- | </ | + | |
- | Now you have a directory with the archived | + | |
- | ===== Root File System for NAND ===== | + | ===== Файловая система для |
- | A Root File System around 64Mb in size, for flash applications. | + | Размер файловой системы около 64МБ, подходит для установки в NAND флеш |
**Debian 7 (small flash)** | **Debian 7 (small flash)** | ||
Строка 133: | Строка 120: | ||
| root | root | | | root | root | | ||
- | Download: | + | Скачайте архив: |
< | < | ||
- | wget -c https:// | + | wget -c https:// |
</ | </ | ||
- | Verify: | + | Распакуйте архив: |
- | < | + | |
- | md5sum debian-7.1-bare-armhf-2013-08-25.tar.xz | + | |
- | 276f2b77c1de379e5923f1f97b1f7853 debian-7.1-bare-armhf-2013-08-25.tar.xz | + | |
- | </ | + | |
- | Extract: | + | |
< | < | ||
- | tar xJf debian-7.1-bare-armhf-2013-08-25.tar.xz | + | tar xJf debian-7.8-bare-armhf-2015-01-20.tar.xz |
</ | </ | ||
+ | Теперь у вас есть директория с tar-архивом, | ||
====== Установка Ubuntu/ | ====== Установка Ubuntu/ | ||
===== На SD карту ===== | ===== На SD карту ===== | ||
Строка 205: | Строка 188: | ||
</ | </ | ||
- | ==== Mount Partitions | + | ==== Монтирование карты |
- | *Note: On most systems these partitions will be auto-mounted...* | + | **На большинстве операционных систем монтирование происходит автоматически** |
< | < | ||
Строка 213: | Строка 196: | ||
sudo mkdir -p / | sudo mkdir -p / | ||
- | DISK=/ | ||
- | sudo mount ${DISK}p1 / | ||
- | sudo mount ${DISK}p2 / | ||
- | |||
- | (or) | ||
- | |||
- | DISK=/ | ||
sudo mount ${DISK}1 / | sudo mount ${DISK}1 / | ||
sudo mount ${DISK}2 / | sudo mount ${DISK}2 / | ||
</ | </ | ||
- | ==== Install Bootloaders | + | ==== Запись загрузчика |
- | Copy MLO/ | + | Скопируйте |
< | < | ||
sudo cp -v ./ | sudo cp -v ./ | ||
Строка 341: | Строка 317: | ||
===== Установка Debian на NAND ===== | ===== Установка Debian на NAND ===== | ||
- | Here you will learn how install | + | Здесь описано как установить |
- | 1) Install | + | 1) установите |
- | 2) Download and extract a small Debian | + | 2) Скачайте файловую систему |
+ | < | ||
+ | wget https:// | ||
+ | </ | ||
+ | Распакуйте этот архив и получите директорию с архивом файловой системы и файл с паролем для пользователя. Файл с архивом файловой системы поместите на карту. | ||
- | You will have an archive debian-7.1-bare-armhf-2013-08-25.tar after extracting. Place this archive to the SD card with OS installed in the previous step. | + | 3) загрузите плату до u-boot и выполните следующие команды: |
- | 3) Boot the board with the SD card to u-boot and issue the following commands: | + | Запись MLO |
< | < | ||
nand erase.chip | nand erase.chip | ||
mmc rescan | mmc rescan | ||
- | fatload | + | load mmc 0 ${loadaddr} |
- | nand write 0x81600000 0 20000 | + | nand write ${loadaddr} SPL |
- | nand write 0x81600000 20000 20000 | + | nand write ${loadaddr} SPL.backup1 |
- | nand write 0x81600000 40000 20000 | + | |
</ | </ | ||
- | Load the u-boot image u-boot.img | + | |
+ | Запись файла | ||
< | < | ||
- | fatload | + | load mmc 0 ${loadaddr} |
- | nand write 0x81600000 80000 57d74 # <- this is the actual size of the u-boot.img file in Hex | + | nand write ${loadaddr} |
</ | </ | ||
- | Load the kernel image zImage to NAND. Note that we use the actual size of the zImage file in Hex. If your file has a different size then update this number | + | |
+ | Запись файла ядра | ||
< | < | ||
run loaduimage | run loaduimage | ||
- | nand write ${loadaddr} | + | nand write ${loadaddr} |
</ | </ | ||
- | 4) Boot farther to OS | + | 4) Далее загрузите ОС |
- | 5) Prepare a UBIFS partition | + | 5) Подготовка раздела |
- | For more information visit: [[http:// | + | Подробная информация доступна здесь: [[http:// |
- | Preparing | + | Обратите внимание на параметр " |
< | < | ||
ubiformat /dev/mtd7 -s 2048 -O 2048 | ubiformat /dev/mtd7 -s 2048 -O 2048 | ||
Строка 383: | Строка 364: | ||
</ | </ | ||
- | 6) Install the file system to the UBIFS-partiotion | + | 6) Запись файловой системы |
< | < | ||
cd /mnt | cd /mnt | ||
- | tar xf <path to image>/ | + | tar xf <path to image>/ |
sync | sync | ||
</ | </ | ||
- | 7) Enable the Serial login | + | 7) Разрешите доступ через консоль |
- | + | ||
- | Edit the file / | + | |
- | 8) Enable Network | + | Отредактируйте / |
- | Edit the file / | + | 8) Включение сети |
- | 9) Remove the SD card and reboot the board | + | Отредактируйте / |
====== FAQ ====== | ====== FAQ ====== | ||
wiki/usomiq-ubuntu.txt · Последнее изменение: 2020/04/16 19:07 — maxx