Сборка publuc imageupdate

343 views
Skip to first unread message

iamdardanella

unread,
Oct 31, 2013, 4:51:23 AM10/31/13
to stalker-m...@googlegroups.com
Доброго дня,

Несколько дней не могу собрать прошивку, цель - собрать образ с настройками провайдера (адрес портала, ntp сервер, логотип).

Мои действия:

mkdir /root/tmp

cd /root/tmp


tar -xzf operators_utils_new_mag200_mag250.tar.gz

cd operators_utils_new_mag200_mag250/images/


cd ../

gpg --import stb_secbin.key

export MAG200_OP_KEY=STB_PUBLIC

./kernel_sign_250.sh

все создается:

File vmlinux.sign create - successfully!!!
Image Name:   MAG250 SH4 Kernel Linux 2.6.17
Created:      Thu Oct 31 10:11:40 2013
Image Type:   SuperH Linux Kernel Image (gzip compressed)
Data Size:    2542564 Bytes = 2482.97 kB = 2.42 MB
Load Address: 0x80800000
Entry Point:  0x80801000
File uImzlib_mag250.img create - successfully!!!

Сам imageupdate собираю так:

./img_make.sh 220 "My_first_firmware" ./rootfs-0.2.14r8 MAG250 ./img_make.profile.mag250

Прошивка успешно создается:

Make rootfs image ./rootfs-0.2.14r8
Append digital signature MAG200_OP_KEY=STB_PUBLIC
File ./sumsubfsnone.img.sign create - successfully!!!
gpg (GnuPG) 1.4.11
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Поддерживаются следующие алгоритмы:
С открытым ключом: RSA, RSA-E, RSA-S, ELG-E, DSA
Симметричные шифры: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128,
                                     CAMELLIA192, CAMELLIA256
Хэш-функции: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Алгоритмы сжатия: Без сжатия, ZIP, ZLIB, BZIP2
File result:./imageupdate
Create section "Kernel size:" and append file ./uImzlib_mag250.img.
Create section "Image  size:" and append file ./sumsubfsnone.img.sign.
Create section "Env size:" and append file ./images/env_mag250.txt.
Create section "Userfs size:" and append file ./images/userfs.img.
Create section "SecondBoot size:" and append file ./images/SbootIm_mag250.
File ./imageupdate create - successfully!!!

Файлик создается, размер: 56235Kb

При попытке обновиться с флешки с внутреннего портала, определяется прошивка (описание, дата создания, номер). Но при обновлении получаю ошибку:

Wrong signature (неправильная сигнатура)

В чем может быть проблема? Заранее спасибо

Aleksey Zhurbitsky

unread,
Oct 31, 2013, 9:10:20 AM10/31/13
to stalker-m...@googlegroups.com
Попробуйте обратиться в техподдержку sup...@infomir.eu
Reply all
Reply to author
Forward
0 new messages