12 063
правки
(Новая страница: «== 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 == | ||
* | * 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> | ||
* | * Set u-Boot config | ||
<nowiki>$ make mx28_wirenboard5_usbgadget_defconfig</nowiki> | <nowiki>$ make mx28_wirenboard5_usbgadget_defconfig</nowiki> | ||
* | * 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 | ||
* | * 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 | ||
* | * 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> | ||
правки