Wiren Board 5: Build an image to download in USB Mass-Storage mode/en: различия между версиями

Новая страница: «* Get u-Boot sources from git. You need a ''wb_v2015.07'' branch <nowiki> $ cd .. $ git clone https://github.com/contactless/u-boot.git $ cd u-boot $ git checkou…»
(Новая страница: «== Building U-Boot ==»)
(Новая страница: «* Get u-Boot sources from git. You need a ''wb_v2015.07'' branch <nowiki> $ cd .. $ git clone https://github.com/contactless/u-boot.git $ cd u-boot $ git checkou…»)
Строка 38: Строка 38:
== Building U-Boot ==
== Building U-Boot ==


* Получить исходники U-Boot из git. Нужна ветка ''wb_v2015.07''
* Get u-Boot sources from git. You need a ''wb_v2015.07'' branch
  <nowiki>
  <nowiki>
$ cd ..
$ cd ..
Строка 44: Строка 44:
$ cd u-boot
$ cd u-boot
$ git checkout wb_v2015.07</nowiki>
$ git checkout wb_v2015.07</nowiki>
* Задать конфиг U-Boot
* Set u-Boot config
  <nowiki>$ make mx28_wirenboard5_usbgadget_defconfig</nowiki>
  <nowiki>$ make mx28_wirenboard5_usbgadget_defconfig</nowiki>
* Скопировать ранее собранный образ '''[[Special:MyLanguage/kernel+initramfs]+DTB]''' в директорию U-Boot
* Copy a previously collected image of '''[[kernel+initramfs]+DTB]''' to the U-Boot folder
  $ cp ../linux/zImage-imx28-evk ./zImage
  $ cp ../linux/zImage-imx28-evk ./zImage
* Собрать совмещенный образ '''[U-Boot+[[kernel+initramfs]+DTB|kernel+initramfs]+DTB]''' в директорию U-Boot
* Build a combined image '''[U-Boot+[[kernel+initramfs]+DTB|kernel+initramfs]+DTB]''' into U-Boot folder
  $ cp ../linux/zImage-imx28-evk ./zImage
  $ cp ../linux/zImage-imx28-evk ./zImage
* Собрать совмещенный образ '''[U-Boot+[[kernel+initramfs]+DTB]]''', пригодный для загрузки по USB (bootstream)
* Build a combined '''[U-Boot+[[kernel+initramfs]+DTB]]''' image suitable for booting to USB (bootstream)
  <nowiki>$ CROSS_COMPILE='arm-linux-gnueabi-' make -j4 u-boot.sb</nowiki>
  <nowiki>$ CROSS_COMPILE='arm-linux-gnueabi-' make -j4 u-boot.sb</nowiki>


12 063

правки