12 063
правки
(Новая страница: «This manual describes how to build bootstream to boot Linux from USB Mass Storage Gadget. In this case, the contents of the SD-card becomes available via USB as a…») |
(Новая страница: «The structure of the bootstream: * '''U-Boot SPL''' - primary boot loader performs initial initialization * '''U-Boot''' - the boot loader itself, runs Linux * Th…») |
||
Строка 2: | Строка 2: | ||
This manual describes how to build bootstream to boot Linux from USB Mass Storage Gadget. In this case, the contents of the SD-card becomes available via USB as a normal USB flash drive. | This manual describes how to build bootstream to boot Linux from USB Mass Storage Gadget. In this case, the contents of the SD-card becomes available via USB as a normal USB flash drive. | ||
The structure of the bootstream: | |||
* '''U-Boot SPL''' - | * '''U-Boot SPL''' - primary boot loader performs initial initialization | ||
* '''U-Boot''' - | * '''U-Boot''' - the boot loader itself, runs Linux | ||
* | * The Linux kernel image consists of several parts | ||
** '''zImage''' - | ** '''zImage''' - kernel | ||
** '''initramfs''' - | ** '''initramfs''' - file system with modules to support USB gadget, is included in '''zImage''' | ||
** '''DTB''' - | ** '''DTB''' - nformation about the periphery required for the kernel to work. Is appended to the end of the '''zImage''', ''CONFIG_ARM_APPENDED_DTB'' option should be enabled | ||
[https://github.com/contactless/wirenboard/tree/https://github.com/contactless/wirenboard/blob/master/contrib/u-boot/wb5_usbfw.sb Скачать готовый bootstream] | [https://github.com/contactless/wirenboard/tree/https://github.com/contactless/wirenboard/blob/master/contrib/u-boot/wb5_usbfw.sb Скачать готовый bootstream] |
правки