Snippets
Created by
Robert Poz
last modified
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | root@ubuntu:/usr/local/src/sandbox/oper_utils# strings ../rootfs/usr/bin/stb_custom.bin |grep TECHSTUDIO
4TECHSTUDIO (AlfaBox Key) <info@russiantvcompany.com>
root@ubuntu:/usr/local/src/sandbox/oper_utils# export MAG200_OP_KEY=TECHSTUDIO
root@ubuntu:/usr/local/src/sandbox/oper_utils# ./kernel_sign_254_custom.sh
File vmlinux.sign create - successfully!!!
Image Name: MAG254 SH4 Kernel Linux 2.6.17
Created: Wed Dec 9 12:28:01 2015
Image Type: SuperH Linux Kernel Image (gzip compressed)
Data Size: 3244259 Bytes = 3168.22 kB = 3.09 MB
Load Address: 0x80800000
Entry Point: 0x80801000
You need a passphrase to unlock the secret key for
user: "TECHSTUDIO (AlfaBox Key) <info@russiantvcompany.com>"
2048-bit RSA key, ID 94D96947, created 2014-10-31
File uImzlib_mag254.img create - successfully!!!
root@ubuntu:/usr/local/src/sandbox/oper_utils# cat img_make.profile.mag254 |grep MAG200_OP_KEY
export MAG200_OP_KEY=TECHSTUDIO
root@ubuntu:/usr/local/src/sandbox/oper_utils# cat img_make.profile.mag254
# Kernel's file system
export KERNEL_PATH=./uImzlib_mag254.img
# File name for enviroment variable
export ENV_VARIABLE_PATH=./images/env_mag254.txt
# Userfs
#export USERFS_VERSION=1
#export USERFS_PATH=./images/userfs.img
# File name for SecondBoot
#export SECONDBOOT_PATH=./images/SbootIm_mag254
# File name for Logotype
export LOGOTYPE_PATH=./images/logoAlfa.bmp.gz
export MAG200_OP_KEY=TECHSTUDIO
root@ubuntu:/usr/local/src/sandbox/oper_utils# cat images/env_mag254.txt
bg_color=0x00000000
fg_color=0x00000000
portal1=http://alfaportal.iptvsys.com
language=en
update_url=http://firmware.iptvsys.com/alfabox/254v2/imageupdate
ntpurl=pool.ntp.org
timezone_conf=America/New_York
bootTVsystem=NTSC
tvsystem=NTSC
graphicres=tvsystem_res
input_buffer_size=8000
auto_framerate=disabled
custom_url_hider=true
autoupdate_cond=2
autoupdateURL=http://firmware.iptvsys.com/alfabox/254v2/update_list.txt
loppubKEY=yes
use_portal_dhcp=false
lang_audiotracks=0
subtitles_on=false
front_panel=0
screen_clock=3
ssaverDelay=999999
video_clock=0
betaupdate_cond=0
root@ubuntu:/usr/local/src/sandbox/oper_utils# ./img_make.sh 225 "alfabox_254_v2" ../rootfs MAG254 ./img_make.profile.mag254
Make rootfs image ../rootfs
Append digital signature MAG200_OP_KEY=TECHSTUDIO
You need a passphrase to unlock the secret key for
user: "TECHSTUDIO (AlfaBox Key) <info@russiantvcompany.com>"
2048-bit RSA key, ID 94D96947, created 2014-10-31
gpg: gpg-agent is not available in this session
File ./sumsubfsnone.img.sign create - successfully!!!
gpg (GnuPG) 1.4.16
Copyright (C) 2013 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
Supported algorithms:
Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
File result:./imageupdate
Create section "Kernel size:" and append file ./uImzlib_mag254.img.
Create section "Image size:" and append file ./sumsubfsnone.img.sign.
Create section "Env size:" and append file ./images/env_mag254.txt.
You need a passphrase to unlock the secret key for
user: "TECHSTUDIO (AlfaBox Key) <info@russiantvcompany.com>"
2048-bit RSA key, ID 94D96947, created 2014-10-31
Create section "Logotype size:" and append file ./images/logoAlfa.bmp.gz.
You need a passphrase to unlock the secret key for
user: "TECHSTUDIO (AlfaBox Key) <info@russiantvcompany.com>"
2048-bit RSA key, ID 94D96947, created 2014-10-31
You need a passphrase to unlock the secret key for
user: "TECHSTUDIO (AlfaBox Key) <info@russiantvcompany.com>"
2048-bit RSA key, ID 94D96947, created 2014-10-31
File ./imageupdate create - successfully!!!
root@ubuntu:/usr/local/src/sandbox/oper_utils# md5sum imageupdate
20b7d0be22ab8943dcdfb2338672c460 imageupdate
root@ubuntu:/usr/local/src/sandbox/oper_utils# head imageupdate
STB Model:MAG254
Date:Wed Dec 9 12:30:38 EST 2015
Image Version:225
Image Description:alfabox_254_v2
VerUpdateAPI:2
Kernel size:3354163
Image size:64437191
Env size:576 67791354
Logotype size:7032 67792193
Start data...
|
Comments (0)
You can clone a snippet to your computer for local editing. Learn more.