![][1] В комментариях к статье [“Прошиваем роутер Upvel UR-313N4G на OpenWRT” ][2] между вашим покорным слугой и уважаемым [Maysoft][3] завязался спор насчет различий в структуре образов uImage и sysupgrade прошивки OpenWRT. Я обещал [Maysoft][4] разобраться в проблеме, и вот перед вами эта статья. Как известно, в каталоге загрузок OpenWRT доступны, по большей части, прошивки двух типов — uImage и sysupgrade, например: openwrt-15.05-rc3-ramips-rt305x-dir-320-b1-initramfs-uImage.bin openwrt-15.05-rc3-ramips-rt305x-dir-320-b1-squashfs-sysupgrade.bin [Официальный FAQ][5] пишет об их различиях весьма скупо:
> What is the difference between the different image formats?
>
>
>
> a factory image is one built for the bootloader flasher or stock software flasher
>
>
>
> a sysupgrade image (previously named trx image) is designed to be flashed from within openwrt itself
>
>
>
> The two have the same content, but a factory image would have extra header information or whatever the platform needs. Generally speaking, the factory image is to be used with the OEM GUI or OEM flashing utilities to convert the device to OpenWrt. After that, use the sysupgrade images.
Согласно документации, содержание образов идентично, за исключением того, что в образе factory присутствуют дополнительные заголовки, чтобы этот образ можно было прошить через Web-интерфейс оригинальной прошивки. [Читать дальше →][6]
[1]:
https://habrastorage.org/files/d90/9e5/26b/d909e526b8034f0bb821806160cc0c32.jpg
[2]:
http://habrahabr.ru/post/264025/
[3]:
http://habrahabr.ru/users/maysoft/
[4]:
http://habrahabr.ru/users/maysoft/
[5]:
http://wiki.openwrt.org/doc/faq/before.installation
[6]:
http://habrahabr.ru/post/264843/#habracut