Posts by Portisch

    perex
    only the OTA firmware have a additional 16 byte header.
    The standard download idl4k.bin does not have this header and is the same like the compiled uImage.gz.

    A function to upgrade a satip-axe firmware over web would be nice.
    A downgrade to the orignal firmware have to be done by USB or RS232 im my case.

    Additional: lighttpd would be nice.
    I use the R1 as o*s*am server with usb serial adapter and lighttpd as webserver.

    EDIT:
    And about replacing the axe_fe.ko:
    This would be a lot of work. The kernel module isn't used much for the main app.
    But it used by other kernel modules.

    The module include functions like this:

    Display Spoiler

    demod900_setup
    demod_calculate_sat_bitrate
    demod_calculate_ter_bitrate
    demod_i2c_burst_write
    demod_i2c_double_write
    demod_i2c_prepare_address
    demod_i2c_read
    demod_i2c_single_write
    demod_i2c_single_write_ui16
    demod_init_from_list
    demod_set_i2c_bypass_cmd
    fast_init
    fe_fops
    fe_ioctl
    fe_map_dvb*api_to_fta
    fe_map_fta_to_dvb*api
    fe_open
    fe_poll
    fe_read
    fe_release
    fe_set_lnb
    fe_setup
    fe_start_thread
    fe_stop_thread
    fe_stop_tsoutput
    fe_thread_params
    fe_tune
    fe_write

    and much more...

    But it doesn't include any STAPI SDK function. So may they will share the source?


    EDIT2:
    I just tried to compile the satip-axe firmware:

    Code
    #make -C apps/dropbear-2015.67 PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp"
    wget --no-verbose -O apps/dropbear-2015.67.tar.bz2 https://matt.ucc.asn.au/dropbear/dropbear-2015.67.tar.bz2
    FEHLER: Kann das Zertifikat von »matt.ucc.asn.au« nicht prüfen, ausgestellt von.....
    ....
    Verwenden Sie »--no-check-certificate«, um zu dem Server »matt.ucc.asn.au« eine nicht gesicherte Verbindung aufzubauen.
    make: *** [apps/dropbear-2015.67/configure] Error 5

    EDIT3:
    On the first run the files are getting downloaded (like dropbear-2015.67.tar.bz2) and than the error above occurs.
    On the second run the file exists and the compiling is working, stopping at the next download...

    Is it possible to flash a new firmware over web interface with this new firmware?
    If not I have to flash the firmware over RS232 what takes ~2h.

    On my R1 the upper USB port is defekt.
    Be careful by using this port! It doesn't have any electrical protection.
    The data lines D+ and D- are going direct into the CPU.
    Touch at first the case of the device before pluging in an USB device to this port.

    And yes: using the hardware secure processor isn't possible without the kernel driver.
    I don't understand why they didn't include the driver in the firmware!
    A internal smart card reader is prepared for assembling. So the CPU have to be usable to do hardware descrambling:
    Photo R1

    thx for this new firmware!

    Zu dem Thema "modifizieren":

    Ich arbeite nun schon einige Zeit daran der originalen s2i.bin App eine o-cam Schnittstelle für die Entschlüsselung zu verpassen.
    Prinzipel läuft es, aber nun stehe ich vor einer Frage ob die Entschlüsselung der TS Pakete über Software auf dieser CPU überhaupt möglich ist.

    Bis jetzt ist fertig:
    Erkenung eines Kanalwechsels und Speicherung der PMT Daten die o-cam benötigt.
    Filter für ECM setzen und Daten an o-cam schicken.
    Die fertigen cw von o-cam empfangen..

    Der nächste Schritt ist die Entschlüsselung der Pakete:

    Es wird für jeden TV Kanal die FFdecsa verwendet. Jetzt habe ich FFdecsa_test mal probiert mit PARALLEL_32_INT:

    Code
    speed=18.325104 Mbit/s 
    speed=12449.119412 pkts/s


    Das scheint mir das maximum für diese CPU zu sein.

    Das ist nicht sehr berauschend wenn man bedenkt das HD Kanäle derzeit so ca. 10-15MBit/s haben.

    Es wird die "read" Funktion per LD_PRELOAD abgefangen.
    Mein Plan ist hier die Daten (es werden je 7 TS Pakete alle 100ms von der App gelesen) zu bearbeiten.

    Laut dem Speed von dem FFdecsa_test sollte die Etnschlüsselung bei ca. 12449 Pakete/s der 7 Pakete also ca. 0,6ms dauern.

    Ist das richtig so?
    Macht eine Weiterarbeit Sinn??

    Ich bin nun eigentlich mit dem ganzen durch!

    Es geht recht einfach sich einen Stream vom Tuner zu holen. Das ganze DVB-API Demux Zeug kann man sich sparen.
    Man gibt dem axe_dmxts.ko einfach die gewünschte PID und man erhält die TS-Pakete.

    Init:


    Parameter: Standard FE_GET_INFO & FE_SET_VOLTAGE

    Frontend Thread Reset:

    Code
    28.10.2014-18:01:31 : _IO, Size: 0, 0x6F, 0x5D, FD: 46 (/dev/axe/frontend-0): axe_fe - FRONTEND_RESET: value: 0x54


    Parameter: uint8
    Solange noch ein Tuner frei ist, ist der value 0x54. Sobald alle 4 Tuner belegt sind und noch ein Kanal eingestellt werden soll ist es 0x0A.
    Hat wahrscheinlich etwas mit Reset Complete/Fast zu tun. Genaueres kann ich nicht sagen.

    Frontend Thread Start:

    Code
    28.10.2014-17:54:52 : _IOW, Size: 1, 0x6F, 0x61, FD: 46 (/dev/axe/frontend-0): axe_fe - FRONTEND_THREAD_UP 
    28.10.2014-17:54:52 : FRONTEND_THREAD_UP: Start frontend tuner thread: 2 - Horizontal/Low


    Parameter: Pointer of uint8

    Set Tuner Parameter:


    Parameter: Standard FE_SET_PROPERTY

    Öffnen und setzen einer PID beim Demuxer:

    Code
    28.10.2014-17:54:52 : fopen64() file: /dev/axe/demuxts-0, mode: rb, FD: 50 
    28.10.2014-17:54:52 : _IOW, Size: 2, 0x6F, 0x01, 0x307ba49c, FD: 50 (/dev/axe/demuxts-0): axe_dmxts - STAPI: SlotAllocate, SlotLinkToBuffer, SlotSetPid 
    28.10.2014-17:54:52 : DEMUXTS: Set Slot for PID: 0x0000


    Parameter: Pointer to uint16

    Nun könnte man mit read() schon TS Pakete abholen...

    Code
    28.10.2014-17:54:52 : read() file: /dev/axe/demuxts-0, FD: 50, buffer: 0x5cc284, read bytes: 1316, got 1316 bytes


    Parameter: Pointer to Buffer, Size 7 * 188 = 1316 Bytes.
    Es werden also immer 7 TS Pakete abgeholt.

    Entfernen von PID beim Demuxer:

    Code
    28.10.2014-17:54:52 : _IOW, Size: 2, 0x6F, 0x02, 0x307ba47c, FD: 50 (/dev/axe/demuxts-0): axe_dmxts - STAPI: SlotClearPid, SlotUnLink, SlotDeallocate 
    28.10.2014-17:54:52 : DEMUXTS: Clear Slot for PID: 0x0000


    Parameter: Pointer to uint16

    FE_EVENT:

    Code
    28.10.2014-17:54:52 : _IOR, Size: 40, 0x6F, 0x4E, FD: 46 (/dev/axe/frontend-0): axe_fe - FE_GET_EVENT 
    28.10.2014-17:54:52 : FE_GET_EVENT: Status: 0, Frequency: 0x001A2750 (1714000), inversion: 2 - INVERSION_AUTO


    Parameter: Standard FE_EVENT

    FE_READ_SIGNAL_STRENGTH:

    Code
    28.10.2014-17:54:52 : _IOR, Size: 2, 0x6F, 0x47, FD: 46 (/dev/axe/frontend-0): axe_fe - FE_READ_SIGNAL_STRENGTH 
    28.10.2014-17:54:52 : FE_READ_SIGNAL_STRENGTH: 0x46F9


    Parameter: Standard FE_READ_SIGNAL_STRENGTH

    FE_READ_SNR:

    Code
    28.10.2014-17:54:52 : _IOR, Size: 2, 0x6F, 0x48, FD: 46 (/dev/axe/frontend-0): axe_fe - FE_READ_SNR 
    28.10.2014-17:54:52 : FE_READ_SNR: 0xE784


    Parameter: Standard FE_READ_SNR

    FE_READ_BER:

    Code
    28.10.2014-17:54:52 : _IOR, Size: 4, 0x6F, 0x46, FD: 46 (/dev/axe/frontend-0): axe_fe - FE_READ_BER 
    28.10.2014-17:54:52 : FE_READ_BER: 0x0000


    Parameter: Standard FE_READ_BER

    Dann eine komplett AXE eigene Status Funktion:
    Sie wird nur benutzt um den Tunerstatus abzufragen.
    Vielleicht auch dazu um bei einem zusätzliche Kanal den Tuner zu finden der bereits auf den Transponder eingestellt ist...

    Code
    28.10.2014-17:54:52 : _IOR, Size: 56, 0x6F, 0x60, FD: 46 (/dev/axe/frontend-0): axe_fe - FRONTEND_STATUS 
    28.10.2014-17:54:52 : FRONTEND_STATUS: val0 0x00000000, val1 0x00000001 
    28.10.2014-17:54:52 : FRONTEND_STATUS: val2 0x00000001, Modulation: 9 - PSK_8 
    28.10.2014-17:54:52 : FRONTEND_STATUS: val4 0x00000000, Frequency 0x001A2750 (1714000) 
    28.10.2014-17:54:52 : FRONTEND_STATUS: val6 0xFFFFFD44 (-700), val7 0x0000ABE0 
    28.10.2014-17:54:52 : FRONTEND_STATUS: Symbolrate 22000, val9 0x00000002 
    28.10.2014-17:54:52 : FRONTEND_STATUS: Coderate: 2 - FEC_2_3, RollOff 0.35 
    28.10.2014-17:54:52 : FRONTEND_STATUS: val12 0x00000001, val13 0x00000000


    Parameter: Pointer to struct of 14 * uint32.

    Alle Werte habe ich noch nicht aufgeschlüsselt. val1 ist wahrscheinlich noch "Kanal eingestellt == 1".

    Um nun den Kanal zu schließen:
    Alle PIDs mit Clear PID abräumen.

    Dann den Demuxer schließen:

    Code
    28.10.2014-17:55:04 : close() file: /dev/axe/demuxts-0, FD: 50

    Das war's!

    Nach dem SAT>IP Timeout von 60s schickt die Anwendung noch den Tunerthread zum Schlafen und dreht die LNB Spannung ab:

    Code
    28.10.2014-17:56:04 : _IO, Size: 0, 0x6F, 0x5D, FD: 46 (/dev/axe/frontend-0): axe_fe - FRONTEND_RESET: value: 0x54 
    28.10.2014-17:56:04 : _IOW, Size: 4, 0x6F, 0x5B, FD: 46 (/dev/axe/frontend-0): axe_fe - FRONTEND_SET_STANDBY: value: 0xFFFFFFFF (-1) 
    28.10.2014-17:56:04 : _IO, Size: 0, 0x6F, 0x43, FD: 46 (/dev/axe/frontend-0): axe_fe - FE_SET_VOLTAGE 
    28.10.2014-17:56:04 : FE_SET_VOLTAGE: 2 
    28.10.2014-17:56:04 : _IO, Size: 0, 0x6F, 0x43, FD: 47 (/dev/axe/frontend-1): axe_fe - FE_SET_VOLTAGE 
    28.10.2014-17:56:04 : FE_SET_VOLTAGE: 2 
    28.10.2014-17:56:04 : _IO, Size: 0, 0x6F, 0x43, FD: 48 (/dev/axe/frontend-2): axe_fe - FE_SET_VOLTAGE 
    28.10.2014-17:56:04 : FE_SET_VOLTAGE: 2 
    28.10.2014-17:56:04 : _IO, Size: 0, 0x6F, 0x43, FD: 49 (/dev/axe/frontend-3): axe_fe - FE_SET_VOLTAGE 
    28.10.2014-17:56:04 : FE_SET_VOLTAGE: 2


    FRONTEND_SET_STANDBY: Parameter: uint32

    Nun sollte es recht einfach sein eine eigene Anwendung für die idl4k Firmware zu erstellen.
    Da es durch die AXE Treiber recht einfach ist, ist vdr fast schon overkill.
    Besser wäre wahrscheinlich eine eigene SAT>IP Anwendung.

    Ich selber werde mich eher darauf konzentrieren ein DVB-API Plugin dafür zu entwickeln.

    Anbei noch ein paar Logs mit Kanalwechsel usw.

    mfg

    Also ich bin hier schon ein ganzes Stück weiter.
    Prinzipel läuft es so ab:
    Man tuned den Kanal per axe_fe.ko.
    Dann gibt man den axe_dmxts.ko die gewünschten PIDs per add/remove.

    Der axe_dmxts.ko hat dann einen 7*188 Byte Puffer für die TS Pakete.
    Das entspricht der SAT>IP Spec.

    Das "axe_fe.ko - frontend thread up" ist einfach nur die Frontend Nummer 0 bis 3.
    Das "axe_fe.ko - fe_map_fta_to_dvbapi" ist nur eine Status Abfrage vom aktuellen Thread ob der Kanal eingestellt wurde usw.


    Jedoch finde ich nicht raus wie sich die s2i.bin nun die Daten von diesem Puffer holt.
    Jeden Fall nicht per ioctl Kommand, oder ich übersehe da was.

    Wie funktioniert das bei normaler DVB API?

    Wie holt sich vdr die TS Daten vom Treiber?
    Kann mir da jemand einen Tipp geben wo ich da im vdr Source nachsehen muss!?

    Ich habe hier mal etwas weiter geforscht!

    Und zwar habe ich einen ioctl Dumper per LD_PRELOAD bei der s2i.bin reingehängt.
    Das scheint der Ablauf beim Tunen eines Kanals zu sein:

    Display Spoiler

    01.01.2000-00:00:17 : 0x6F, 0x43: axe_fe.ko - FE_SET_VOLTAGE
    01.01.2000-00:00:17 : 0x6F, 0x3D: axe_fe.ko - FE_GET_INFO
    01.01.2000-00:00:17 : 0x6F, 0x43: axe_fe.ko - FE_SET_VOLTAGE
    01.01.2000-00:00:17 : 0x6F, 0x3D: axe_fe.ko - FE_GET_INFO
    01.01.2000-00:00:17 : 0x6F, 0x43: axe_fe.ko - FE_SET_VOLTAGE
    01.01.2000-00:00:17 : 0x6F, 0x3D: axe_fe.ko - FE_GET_INFO
    01.01.2000-00:00:17 : 0x6F, 0x43: axe_fe.ko - FE_SET_VOLTAGE
    01.01.2000-00:00:17 : 0x6F, 0x5D, fd: 84: axe_fe.ko - frontend reset: value: 0x2F
    01.01.2000-00:00:17 : 0x6F, 0x61, 0x2af3c9a3, fd: 47: axe_fe.ko - frontend thread up
    01.01.2000-00:00:17 : Pointer Data before: 02C43A41005CFAFFFF010000002C594F0082CAF32A0840580028CEF32A484058001626000068290000060000000000000000000000844058000700000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    01.01.2000-00:00:17 : Data at pointer 0x2af3ca82: 1A00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800
    01.01.2000-00:00:17 : Data at pointer 0x2af3ce28: 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007000000E0C9F32AC23F410058030000004058002C594F00B80000004440580000000000903F5800244041002C594F002841B842F41241002C594F00B4CEF32A240B0000903F5800
    01.01.2000-00:00:17 : 0x6F, 0x52, fd: 47: axe_fe.ko - FE_SET_PROPERTY
    01.01.2000-00:00:17 : FE_SET_PROPERTY: num: 7, props: 0x2af3c9e0
    01.01.2000-00:00:17 : FE_SET_PROPERTY: props[0]: 0x00000002
    01.01.2000-00:00:17 : FE_SET_PROPERTY: props[1]: 0x00000011
    01.01.2000-00:00:17 : FE_SET_PROPERTY: props[2]: 0x00000003
    01.01.2000-00:00:17 : FE_SET_PROPERTY: props[3]: 0x00000006
    01.01.2000-00:00:17 : FE_SET_PROPERTY: props[4]: 0x00000008
    01.01.2000-00:00:17 : FE_SET_PROPERTY: props[5]: 0x00000009
    01.01.2000-00:00:17 : FE_SET_PROPERTY: props[6]: 0x00000001
    01.01.2000-00:00:17 : 0x6F, 0x01, 0x308fe49c: axe_dmxts.ko - STPTI_SlotAllocate, STPTI_SlotLinkToBuffer, STPTI_SlotSetPid
    01.01.2000-00:00:17 : Set Slot for PID: 0x0000, fd: 51
    01.01.2000-00:00:17 : 0x6F, 0x02, 0x308fe47c: axe_dmxts.ko - STPTI_SlotClearPid, STPTI_SlotUnLink, STPTI_SlotDeallocate
    01.01.2000-00:00:17 : Clear Slot for PID: 0x0000, fd: 51
    01.01.2000-00:00:17 : 0x6F, 0x01, 0x308fe47c: axe_dmxts.ko - STPTI_SlotAllocate, STPTI_SlotLinkToBuffer, STPTI_SlotSetPid
    01.01.2000-00:00:17 : Set Slot for PID: 0x0012, fd: 51
    01.01.2000-00:00:17 : 0x6F, 0x01, 0x308fe47c: axe_dmxts.ko - STPTI_SlotAllocate, STPTI_SlotLinkToBuffer, STPTI_SlotSetPid
    01.01.2000-00:00:17 : Set Slot for PID: 0x0000, fd: 51
    01.01.2000-00:00:17 : 0x6F, 0x01, 0x308fe47c: axe_dmxts.ko - STPTI_SlotAllocate, STPTI_SlotLinkToBuffer, STPTI_SlotSetPid
    01.01.2000-00:00:17 : Set Slot for PID: 0x0022, fd: 51
    01.01.2000-00:00:17 : 0x6F, 0x01, 0x308fe47c: axe_dmxts.ko - STPTI_SlotAllocate, STPTI_SlotLinkToBuffer, STPTI_SlotSetPid
    01.01.2000-00:00:17 : Set Slot for PID: 0x0062, fd: 51
    01.01.2000-00:00:17 : 0x6F, 0x01, 0x308fe47c: axe_dmxts.ko - STPTI_SlotAllocate, STPTI_SlotLinkToBuffer, STPTI_SlotSetPid
    01.01.2000-00:00:17 : Set Slot for PID: 0x02FF, fd: 51
    01.01.2000-00:00:17 : 0x6F, 0x01, 0x308fe47c: axe_dmxts.ko - STPTI_SlotAllocate, STPTI_SlotLinkToBuffer, STPTI_SlotSetPid
    01.01.2000-00:00:17 : Set Slot for PID: 0x0303, fd: 51
    01.01.2000-00:00:17 : 0x6F, 0x4E: axe_fe.ko - FE_GET_EVENT
    01.01.2000-00:00:17 : Status: 0, Frequency: 0x001A2750, inversion: 2
    01.01.2000-00:00:17 : 0x6F, 0x4E: axe_fe.ko - FE_GET_EVENT
    01.01.2000-00:00:17 : Status: 32, Frequency: 0x001A2750, inversion: 2
    01.01.2000-00:00:17 : 0x6F, 0x4E: axe_fe.ko - FE_GET_EVENT
    01.01.2000-00:00:17 : Status: 64, Frequency: 0x001A2750, inversion: 2
    01.01.2000-00:00:17 : 0x6F, 0x61, 0x2af3c96b, fd: 47: axe_fe.ko - frontend thread up
    01.01.2000-00:00:17 : Pointer Data before: 02C43A41005CFAFFFF000000002C594F004ACAF32A08405800F0CDF32A4840580016260000682900000600000060C9F32A80C9F32A844058000700000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    01.01.2000-00:00:17 : Data at pointer 0x2af3ca4a: 1A00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800
    01.01.2000-00:00:17 : Data at pointer 0x2af3cdf0: 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007000000A8C9F32AF650410058030000010000002C594F00000000000C4058000100000008405800125241002C594F00000000000840580068CEF32A084058004000000050271A00
    01.01.2000-00:00:17 : Data at pointer 0x2af3c960: C82C00000000000058C9F302C43A41005CFAFFFF000000002C594F004ACAF32A08405800F0CDF32A4840580016260000682900000600000060C9F32A80C9F32A84405800070000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    01.01.2000-00:00:17 : Data at pointer 0x2af3c980: 08405800F0CDF32A4840580016260000682900000600000060C9F32A80C9F32A844058000700000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011000000000000000000000000000000

    01.01.2000-00:00:19 : Status: 0, Frequency: 0x001A2750, inversion: 2
    01.01.2000-00:00:19 : 0x6F, 0x60, 0x308feb70, fd: 47: axe_fe.ko - fe_map_fta_to_dvbapi
    01.01.2000-00:00:19 : 0x6F, 0x02, 0x308fe47c: axe_dmxts.ko - STPTI_SlotClearPid, STPTI_SlotUnLink, STPTI_SlotDeallocate
    01.01.2000-00:00:19 : Clear Slot for PID: 0x0000, fd: 51
    01.01.2000-00:00:19 : 0x6F, 0x02, 0x308fe47c: axe_dmxts.ko - STPTI_SlotClearPid, STPTI_SlotUnLink, STPTI_SlotDeallocate
    01.01.2000-00:00:19 : Clear Slot for PID: 0x0022, fd: 51
    01.01.2000-00:00:19 : 0x6F, 0x02, 0x308fe47c: axe_dmxts.ko - STPTI_SlotClearPid, STPTI_SlotUnLink, STPTI_SlotDeallocate
    01.01.2000-00:00:19 : Clear Slot for PID: 0x02FF, fd: 51
    01.01.2000-00:00:19 : 0x6F, 0x02, 0x308fe47c: axe_dmxts.ko - STPTI_SlotClearPid, STPTI_SlotUnLink, STPTI_SlotDeallocate
    01.01.2000-00:00:19 : Clear Slot for PID: 0x0303, fd: 51
    01.01.2000-00:00:19 : 0x6F, 0x02, 0x308fe47c: axe_dmxts.ko - STPTI_SlotClearPid, STPTI_SlotUnLink, STPTI_SlotDeallocate
    01.01.2000-00:00:19 : Clear Slot for PID: 0x0062, fd: 51
    01.01.2000-00:00:19 : 0x6F, 0x02, 0x308fe47c: axe_dmxts.ko - STPTI_SlotClearPid, STPTI_SlotUnLink, STPTI_SlotDeallocate
    01.01.2000-00:00:19 : Clear Slot for PID: 0x0012, fd: 51

    01.01.2000-00:01:19 : 0x6F, 0x5D, fd: 84: axe_fe.ko - frontend reset: value: 0x2F
    01.01.2000-00:01:19 : 0x6F, 0x5B, 0xffffffff, fd: 47: axe_fe.ko - frontend_state set standby
    01.01.2000-00:01:19 : 0x6F, 0x43: axe_fe.ko - FE_SET_VOLTAGE
    01.01.2000-00:01:19 : 0x6F, 0x43: axe_fe.ko - FE_SET_VOLTAGE
    01.01.2000-00:01:19 : 0x6F, 0x43: axe_fe.ko - FE_SET_VOLTAGE
    01.01.2000-00:01:19 : 0x6F, 0x43: axe_fe.ko - FE_SET_VOLTAGE
    01.01.2000-00:01:19 : 0x6F, 0x4E: axe_fe.ko - FE_GET_EVENT
    01.01.2000-00:01:19 : Status: 32, Frequency: 0x001A2750, inversion: 2
    01.01.2000-00:01:19 : 0x6F, 0x4E: axe_fe.ko - FE_GET_EVENT
    01.01.2000-00:01:19 : Status: 64, Frequency: 0x001A2750, inversion: 2

    Es ist jetzt kein Satsignal an der Box, daher konnte der Kanal nicht eingestellt werden. Der Ablauf ist aber der selbe.
    Ich habe etwas den Speicher bei ein paar ioctl Paramter gedumped - aber was sagt das?
    Bei Driver ID 6F, Funktion 01 und 02 sind mir die Parameter klar. Einfach die gewünschte PID.

    Bei der FE_SET_PROPERTY sind die Strukturen bekannt, also kann man die Daten abbilden.
    Bei "axe_fe.ko - frontend thread up" oder "axe_fe.ko - fe_map_fta_to_dvbapi" wird es schwieriger da die Strukturen unbekannt sind.

    So kann man die Speicherdaten z.B. aufschlüsseln:

    Code
    02C43A41005CFAFFFF010000002C594F0082CAF32A0840580028CEF32A484058001626000068290000060000000000000000000000844058000700000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

    Was jetzt aber uint8, uint16 oder uint32 ist kann man nur schätzen.
    ACHTUNG: die Daten müssen wegen little Endian gedreht werden:

    Der Treiber axe_dmx.ko wird von der s2i.bin gar nicht angesprochen.
    Kann wer weiterhelfen??

    Zusätzlich gibt es noch das zum Debuggen:

    Also ich habe mal die System.map vom neu erstellten idl4k-Kernel mit der /proc/kallsyms Liste des originalen Images verglichen. Da scheinen ein paar Sachen zu fehlen. Was genau jetzt dafür verandwortlich ist, dass man keinen Stream bekommt weis ich noch nicht...

    Man müsste nun Stpck für Stück schauen welches Modul im Kernel welche Symbole exportiert und dann hinzufügen. (wenn alles open source ist)

    Display Spoiler

    root@ubuntu:/tmp# ./comp.pl
    Reading: /tmp/System.map.orig.orig
    Find 14491 in System.map.orig
    System.map.new, Symbol entry missing: do_nothing
    System.map.new, Symbol entry missing: normalizeFloat32Subnormal
    System.map.new, Symbol entry missing: stx7108_suspend_core
    System.map.new, Symbol entry missing: compute_alias
    System.map.new, Symbol entry missing: dequeue_task
    System.map.new, Symbol entry missing: place_entity
    System.map.new, Symbol entry missing: spin_msec
    System.map.new, Symbol entry missing: round_jiffies_common
    System.map.new, Symbol entry missing: kernel_shutdown_prepare
    System.map.new, Symbol entry missing: init_cpu_workqueue
    System.map.new, Symbol entry missing: start_workqueue_thread
    System.map.new, Symbol entry missing: __mutex_trylock_slowpath
    System.map.new, Symbol entry missing: change_clocksource
    System.map.new, Symbol entry missing: clockevents_do_notify
    System.map.new, Symbol entry missing: rt_mutex_slowtrylock
    System.map.new, Symbol entry missing: __unlink_module
    System.map.new, Symbol entry missing: __find_symbol
    System.map.new, Symbol entry missing: __try_stop_module
    System.map.new, Symbol entry missing: free_sect_attrs
    System.map.new, Symbol entry missing: prepare_processes
    System.map.new, Symbol entry missing: preallocate_image_memory
    System.map.new, Symbol entry missing: write_page
    System.map.new, Symbol entry missing: relay_free_page_array
    System.map.new, Symbol entry missing: put_uts
    System.map.new, Symbol entry missing: __zone_pcp_update
    System.map.new, Symbol entry missing: find_vma_prepare
    System.map.new, Symbol entry missing: try_to_mlock_page
    System.map.new, Symbol entry missing: unpin_sb_for_writeback
    System.map.new, Symbol entry missing: kill_bdev
    System.map.new, Symbol entry missing: add_symlink
    System.map.new, Symbol entry missing: dio_refill_pages
    System.map.new, Symbol entry missing: dio_cleanup
    System.map.new, Symbol entry missing: mpage_bio_submit
    System.map.new, Symbol entry missing: fsnotify_recalc_inode_mask_locked
    System.map.new, Symbol entry missing: inode_find_handle
    System.map.new, Symbol entry missing: pad_len_spaces
    System.map.new, Symbol entry missing: vma_stop
    System.map.new, Symbol entry missing: remove_files
    System.map.new, Symbol entry missing: destroy_inodecache
    System.map.new, Symbol entry missing: destroy_inodecache
    System.map.new, Symbol entry missing: destroy_inodecache
    System.map.new, Symbol entry missing: double_up_write_data_sem
    System.map.new, Symbol entry missing: journal_destroy_caches
    System.map.new, Symbol entry missing: __journal_abort_soft
    System.map.new, Symbol entry missing: jbd2_journal_destroy_caches
    System.map.new, Symbol entry missing: __journal_abort_soft
    System.map.new, Symbol entry missing: nfs_sockaddr_match_ipaddr6
    System.map.new, Symbol entry missing: nfs_init_server
    System.map.new, Symbol entry missing: nfs_destroy_inodecache
    System.map.new, Symbol entry missing: cifs_destroy_inodecache
    System.map.new, Symbol entry missing: cifs_inet_pton
    System.map.new, Symbol entry missing: count_list
    System.map.new, Symbol entry missing: jffs2_clear_wbuf_ino_list
    System.map.new, Symbol entry missing: block_sigs
    System.map.new, Symbol entry missing: restore_sigs
    System.map.new, Symbol entry missing: __fuse_release_nowrite
    System.map.new, Symbol entry missing: fuse_invalidate_entry
    System.map.new, Symbol entry missing: ss_wakeup
    System.map.new, Symbol entry missing: lookup_undo
    System.map.new, Symbol entry missing: shash_final_unaligned
    System.map.new, Symbol entry missing: shash_update_unaligned
    System.map.new, Symbol entry missing: as_var_store
    System.map.new, Symbol entry missing: deadline_var_store
    System.map.new, Symbol entry missing: __call_for_each_cic
    System.map.new, Symbol entry missing: cic_free_func
    System.map.new, Symbol entry missing: cfq_resort_rr_list
    System.map.new, Symbol entry missing: ip6_addr_string
    System.map.new, Symbol entry missing: mix_pool_bytes
    System.map.new, Symbol entry missing: get_termio
    System.map.new, Symbol entry missing: tty_ldisc_restore
    System.map.new, Symbol entry missing: applkey
    System.map.new, Symbol entry missing: set_get_cmap
    System.map.new, Symbol entry missing: uart_change_pm
    System.map.new, Symbol entry missing: next_device
    System.map.new, Symbol entry missing: next_device
    System.map.new, Symbol entry missing: remove_probe_files
    System.map.new, Symbol entry missing: next_device
    System.map.new, Symbol entry missing: class_get
    System.map.new, Symbol entry missing: sanitize_inquiry_string
    System.map.new, Symbol entry missing: scsi_devinfo_lookup_by_key
    System.map.new, Symbol entry missing: sd_major
    System.map.new, Symbol entry missing: sg_put_dev
    System.map.new, Symbol entry missing: ip175c_config_aneg
    System.map.new, Symbol entry missing: ip175c_read_status
    System.map.new, Symbol entry missing: ip175c_config_init
    System.map.new, Symbol entry missing: ip1001_config_init
    System.map.new, Symbol entry missing: rtl821x_config_intr
    System.map.new, Symbol entry missing: rtl821x_ack_interrupt
    System.map.new, Symbol entry missing: rtl821x_read_status
    System.map.new, Symbol entry missing: stmmac_no_timer_started
    System.map.new, Symbol entry missing: stmmac_no_timer_stopped
    System.map.new, Symbol entry missing: stmmac_schedule
    System.map.new, Symbol entry missing: stmmac_tmu_set_rate
    System.map.new, Symbol entry missing: stmmac_tmu_stop
    System.map.new, Symbol entry missing: stmmac_timer_handler
    System.map.new, Symbol entry missing: stmmac_open_ext_timer
    System.map.new, Symbol entry missing: stmmac_close_ext_timer
    System.map.new, Symbol entry missing: setup_report_key
    System.map.new, Symbol entry missing: cdrom_is_mrw
    System.map.new, Symbol entry missing: cdrom_ram_open_write
    System.map.new, Symbol entry missing: cdrom_open_write
    System.map.new, Symbol entry missing: ksuspend_usb_cleanup
    System.map.new, Symbol entry missing: set_port_led
    System.map.new, Symbol entry missing: hcd_free_coherent
    System.map.new, Symbol entry missing: do_unbind_rebind
    System.map.new, Symbol entry missing: find_next_descriptor
    System.map.new, Symbol entry missing: mon_free_buff
    System.map.new, Symbol entry missing: unlink_watchdog_func
    System.map.new, Symbol entry missing: serio_reconnect_port
    System.map.new, Symbol entry missing: clkgenc_xable_fsyn
    System.map.new, Symbol entry missing: clkgenb_xable_fsyn
    System.map.new, Symbol entry missing: __netdev_init_queue_locks_one
    System.map.new, Symbol entry missing: netdev_init_one_queue
    System.map.new, Symbol entry missing: neigh_update_notify
    System.map.new, Symbol entry missing: flow_cache_flush_per_cpu
    System.map.new, Symbol entry missing: dev_init_scheduler_queue
    System.map.new, Symbol entry missing: shutdown_scheduler_queue
    System.map.new, Symbol entry missing: attach_one_default_qdisc
    System.map.new, Symbol entry missing: genl_family_find_byid
    System.map.new, Symbol entry missing: genl_get_cmd
    System.map.new, Symbol entry missing: nf_sockopt
    System.map.new, Symbol entry missing: tcp_incr_quickack
    System.map.new, Symbol entry missing: __tcp_checksum_complete_user
    System.map.new, Symbol entry missing: tcp_sacktag_skip
    System.map.new, Symbol entry missing: tcp_ack_saw_tstamp
    System.map.new, Symbol entry missing: raw_get_first
    System.map.new, Symbol entry missing: unix_state_double_lock
    System.map.new, Symbol entry missing: find_match
    System.map.new, Symbol entry missing: ip6_route_redirect
    System.map.new, Symbol entry missing: fib6_prune_clones
    System.map.new, Symbol entry missing: ip6_frags_sysctl_unregister
    System.map.new, Symbol entry missing: check_linger
    System.map.new, Symbol entry missing: xfrm6_policy_fini
    System.map.new, Symbol entry missing: xs_tcp_shutdown
    System.map.new, Symbol entry missing: xs_get_srcport
    System.map.new, Symbol entry missing: cache_write
    System.map.new, Symbol entry missing: rt_mutex_slowunlock
    System.map.new, Symbol entry missing: icplus_init
    System.map.new, Symbol entry missing: realtek_init
    System.map.new, Symbol entry missing: ratelimit_handler
    System.map.new, Symbol entry missing: start_cpu_timer
    System.map.new, Symbol entry missing: cpuup_canceled
    System.map.new, Symbol entry missing: cpuup_callback
    System.map.new, Symbol difference: 143

    Also eine Kernel Config von Inverto würde hier viel weiterhelfen!

    Hi,


    ich bin leider etwas Ratlos. Kernelmodule Exportieren ja Symbole. Das sind soweit ich rausgefunden habe Pointer zu der Funktion im Kernel Modul selber.

    Wie kann ich diese in meinem eigenen Programm benützen?

    Einfach das Headerfile vom Kernel Modul mit einbeziehen? Kompiliert das dann mit gcc?


    Oder wie funktioniert das mit dem importieren einer Funktion?

    Ich schaffe es nicht einen Live Stream vom Digibit mit dem selbst erstellten Image zu bekommen.

    dmesg vom "original" was einen Stream liefert:

    Display Spoiler

    Linux version 2.6.32.42_stm24_0208-idl4k_7108 (ab@buildervm24) (gcc version 4.5.3 20110525 (STMicroelectronics/Linux Base 4.5.3-93) (GCC) ) #2 PREEMPT Thu Aug 8 12:28:31 CEST 2013
    Boot params:
    ... MOUNT_ROOT_RDONLY - 00000001
    ... RAMDISK_FLAGS - 00000000
    ... ORIG_ROOT_DEV - 00000200
    ... LOADER_TYPE - 00000000
    ... INITRD_START - 00000000
    ... INITRD_SIZE - 00000000
    Booting machvec: idl4k
    Node 0: start_pfn = 0x70000, low = 0x8f000
    Zone PFN ranges:
    Normal 0x00070000 -> 0x0008f000
    Movable zone start PFN for each node
    early_node_map[1] active PFN ranges
    0: 0x00070000 -> 0x0008f000
    On node 0 totalpages: 126976
    free_area_init_node: node 0, pgdat 81441338, node_mem_map 8389b000
    Normal zone: 992 pages used for memmap
    Normal zone: 0 pages reserved
    Normal zone: 125984 pages, LIFO batch:31
    Inverto idl4k board initialisation
    STx7108 version 2.x, HOST core
    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 125984
    Kernel command line: hw=16001000000000000000000000000000 sn=1xxxxxxxxxxxxxxx uuid=xxxxxxxxxxxxxxxxxxxxxxxxxxxx revBoot=stm24_0056-B0_80-idl4k-rev47 bigphysarea=20000 rdinit=/sbin/init
    bpa2: partition 'bigphysarea' created at 0x73c7f000, size 80000 kB (0x04e20000 B)
    PID hash table entries: 2048 (order: 1, 8192 bytes)
    Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    PVR=04909300 CVR=60880000 PRR=0000a320
    I-cache : n_ways=2 n_sets=512 way_incr=16384
    I-cache : entry_mask=0x00003fe0 alias_mask=0x00003000 n_aliases=4
    D-cache : n_ways=2 n_sets=512 way_incr=16384
    D-cache : entry_mask=0x00003fe0 alias_mask=0x00003000 n_aliases=4
    Memory: 365312k/507904k available (3289k kernel code, 1069k data, 37104k init)
    Hierarchical RCU implementation.
    NR_IRQS:500
    Failed to enable clk CLKA0_REF, ignoring
    Failed to enable clk CLKA0_PLL0LS, ignoring
    Failed to enable clk CLKA1_REF, ignoring
    Failed to enable clk CLKA1_PLL0LS, ignoring
    Console: colour dummy device 80x25
    console [tty0] enabled
    sh_tmu: TMU0 used for clock events
    sh_tmu: TMU0 used for periodic clock events
    sh_tmu: TMU1 used as clock source
    Calibrating delay loop... 593.92 BogoMIPS (lpj=296960)
    Mount-cache hash table entries: 512
    CPU: STx7108
    console [ttyAS0] enabled
    NET: Registered protocol family 16
    bio: create slab <bio-0> at 0
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    Switching to clocksource TMU1
    NET: Registered protocol family 2
    IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
    TCP established hash table entries: 16384 (order: 5, 131072 bytes)
    TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
    TCP: Hash tables configured (established 16384 bind 16384)
    TCP reno registered
    NET: Registered protocol family 1
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    [STM]: [PM]: HoM support registered
    [STM]: [PM]: [HoM]: Early console @ 0xfd733000
    Slow work thread pool: Starting up
    Slow work thread pool: Ready
    JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    fuse init (API version 7.13)
    msgmni has been set to 713
    alg: No test for stdrng (krng)
    io scheduler noop registered
    io scheduler anticipatory registered (default)
    io scheduler deadline registered
    io scheduler cfq registered
    STMicroelectronics ASC driver initialized
    stm-asc.0: ttyAS0 at MMIO 0xfd733000 (irq = 108) is a stm-asc
    brd: module loaded
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xf1 (Micron NAND 128MiB 3,3V 8-bit)
    Bad block table found at page 65472, version 0x01
    Bad block table found at page 65408, version 0x01
    cmdlinepart partition parsing not available
    Creating 5 MTD partitions on "stm-nand-flex.0":
    0x000000000000-0x000000020000 : "nand-env"
    0x000000020000-0x000000420000 : "nand-system"
    0x000000420000-0x000002420000 : "nand-fw1"
    0x000002420000-0x000004420000 : "nand-fw2"
    0x000004420000-0x000008000000 : "nand-data"
    STMMAC driver:
    platform registration...
    done!
    PMT module supported
    DWMAC1000 - user ID: 0x10, Synopsys ID: 0x33
    Enhanced descriptor structure
    eth0 - (dev. name: stmmaceth - id: 1, IRQ #88
    IO base addr: 0xfe730000)
    STMMAC MII Bus: probed
    eth0: PHY ID 001cc915 at 0 IRQ 0 (1:00)
    eth0: PHY ID 001cc915 at 1 IRQ 25 (1:01) active
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    stm_usb_probe: usb_phy_clk clock not found for stm-usb.0
    stm-ehci stm-ehci.0: st-ehci
    stm-ehci stm-ehci.0: new USB bus registered, assigned bus number 1
    stm-ehci stm-ehci.0: irq 124, io mem 0xfe0ffe00
    stm-ehci stm-ehci.0: USB 0.0 started, EHCI 1.00
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    stm-ohci stm-ohci.0: stm-ohci
    stm-ohci stm-ohci.0: new USB bus registered, assigned bus number 2
    stm-ohci stm-ohci.0: irq 127, io mem 0xfe0ffc00
    usb usb2: configuration #1 chosen from 1 choice
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    stm_usb_probe: usb_phy_clk clock not found for stm-usb.1
    stm-ehci stm-ehci.1: st-ehci
    stm-ehci stm-ehci.1: new USB bus registered, assigned bus number 3
    stm-ehci stm-ehci.1: irq 125, io mem 0xfe1ffe00
    stm-ehci stm-ehci.1: USB 0.0 started, EHCI 1.00
    usb usb3: configuration #1 chosen from 1 choice
    hub 3-0:1.0: USB hub found
    hub 3-0:1.0: 1 port detected
    stm-ohci stm-ohci.1: stm-ohci
    stm-ohci stm-ohci.1: new USB bus registered, assigned bus number 4
    stm-ohci stm-ohci.1: irq 128, io mem 0xfe1ffc00
    usb usb4: configuration #1 chosen from 1 choice
    hub 4-0:1.0: USB hub found
    hub 4-0:1.0: 1 port detected
    stm_usb_probe: usb_phy_clk clock not found for stm-usb.2
    stm-ehci stm-ehci.2: st-ehci
    stm-ehci stm-ehci.2: new USB bus registered, assigned bus number 5
    stm-ehci stm-ehci.2: irq 126, io mem 0xfe2ffe00
    stm-ehci stm-ehci.2: USB 0.0 started, EHCI 1.00
    usb usb5: configuration #1 chosen from 1 choice
    hub 5-0:1.0: USB hub found
    hub 5-0:1.0: 1 port detected
    stm-ohci stm-ohci.2: stm-ohci
    stm-ohci stm-ohci.2: new USB bus registered, assigned bus number 6
    stm-ohci stm-ohci.2: irq 129, io mem 0xfe2ffc00
    usb usb6: configuration #1 chosen from 1 choice
    hub 6-0:1.0: USB hub found
    hub 6-0:1.0: 1 port detected
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    i2c /dev entries driver
    at24 1-0050: 8192 byte 24c64 EEPROM (writable)
    sh_tmu: TMU0 kept as earlytimer
    sh_tmu: TMU1 kept as earlytimer
    STMicroelectronics - Coprocessors st231 Init
    st-coprocessor-0: No RAM reserved
    st231.0 Coprocessor -------------------------------------------
    not configured!
    ---------------------------------------------------------------
    st-coprocessor-1: No RAM reserved
    st231.1 Coprocessor -------------------------------------------
    not configured!
    ---------------------------------------------------------------
    st-coprocessor-2: No RAM reserved
    st231.2 Coprocessor -------------------------------------------
    not configured!
    ---------------------------------------------------------------
    TCP cubic registered
    NET: Registered protocol family 10
    IPv6 over IPv4 tunneling driver
    NET: Registered protocol family 17
    [STM]: [PM]: Suspend support registered
    drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
    Freeing unused kernel memory: 37104k freed
    usb 3-1: new high speed USB device using stm-ehci and address 2
    usb 3-1: configuration #1 chosen from 1 choice
    hub 3-1:1.0: USB hub found
    hub 3-1:1.0: 5 ports detected
    stmmac_timer: (eth0) sh_tmu Timer (freq 256Hz)
    STMMAC MII Bus: Can't get IRQ 25 (PHY)
    stmmac: Rx Checksum Offload Engine supported
    TX Checksum insertion supported
    usb 3-1.1: new high speed USB device using stm-ehci and address 3
    stapi_core: module license 'ST Microelectronics' taints kernel.
    Disabling lock debugging due to kernel taint
    usb 3-1.1: configuration #1 chosen from 1 choice
    Load module sttbx_early_core
    Load module stos_core [?] by insmod (pid 465)
    Load module stcommon_core [?] by insmod (pid 465)
    usb 3-1.2: new high speed USB device using stm-ehci and address 4
    Load module sttbx_core [?] by insmod (pid 465)
    Load module stevt_core [?] by insmod (pid 465)
    Load module stavmem_core [?] by insmod (pid 465)
    Load module stbuffer_core [?] by insmod (pid 465)
    Load module stclock_core [252] by insmod (pid 465)
    Load module stpower_core [251] by insmod (pid 465)
    Load module stpio_core [?] by insmod (pid 465)
    Load module stfdma_core [250] by insmod (pid 465)
    Load module stinject_core [?] by insmod (pid 465)
    Load module stnet_core [?] by insmod (pid 465)
    Load module stpti5_core [?] by insmod (pid 465)
    Load module stcommon_ioctl [249] by insmod (pid 474)
    Load module sttbx_ioctl [248] by insmod (pid 474)
    Load module stevt_ioctl [247] by insmod (pid 474)
    Load module stavmem_ioctl [246] by insmod (pid 474)
    Load module stbuffer_ioctl [245] by insmod (pid 474)
    Load module stpower_ioctl [244] by insmod (pid 474)
    Load module stpio_ioctl [243] by insmod (pid 474)
    Load module stfdma_ioctl [240] by insmod (pid 474)
    Load module stinject_ioctl [239] by insmod (pid 474)
    Load module stnet_ioctl [238] by insmod (pid 474)
    Load module stsys_ioctl [237] by insmod (pid 474)
    Load module stpti5_ioctl [236] by insmod (pid 474)
    usb 3-1.2: configuration #1 chosen from 1 choice
    scsi0 : SCSI emulation for USB Mass Storage devices
    usb-storage: device found at 4
    usb-storage: waiting for device to settle before scanning
    usb 3-1.3: new full speed USB device using stm-ehci and address 5
    usb 3-1.3: configuration #1 chosen from 1 choice
    usb 3-1.4: new full speed USB device using stm-ehci and address 6
    usb 3-1.4: configuration #1 chosen from 1 choice
    [demod900] setup [num_demods 4]
    [pll6120] setup [num_plls:4] [clk:30000000] [bbgain:16]
    [fe] Checking lut 0xC1ABEAF0
    [fe] Checking lut 0xC1ABEB26
    [fe] Checking lut 0xC1ABEAF0
    [fe] Checking lut 0xC1ABEB54
    [dmx] ... init 0
    [fta_fe] FE Initialization done, res 0
    [dmx-ts] ... init 0
    usbcore: registered new interface driver usbserial
    USB Serial support registered for generic
    usbcore: registered new interface driver usbserial_generic
    usbserial: USB Serial Driver core
    USB Serial support registered for FTDI USB Serial Device
    ftdi_sio 3-1.3:1.0: FTDI USB Serial Device converter detected
    usb 3-1.3: Detected FT232RL
    usb 3-1.3: Number of endpoints 2
    usb 3-1.3: Endpoint 1 MaxPacketSize 64
    usb 3-1.3: Endpoint 2 MaxPacketSize 64
    usb 3-1.3: Setting MaxPacketSize 64
    usb 3-1.3: FTDI USB Serial Device converter now attached to ttyUSB0
    ftdi_sio 3-1.4:1.0: FTDI USB Serial Device converter detected
    usb 3-1.4: Detected FT232BM
    usb 3-1.4: Number of endpoints 2
    usb 3-1.4: Endpoint 1 MaxPacketSize 64
    usb 3-1.4: Endpoint 2 MaxPacketSize 64
    usb 3-1.4: Setting MaxPacketSize 64
    usb 3-1.4: FTDI USB Serial Device converter now attached to ttyUSB1
    usbcore: registered new interface driver ftdi_sio
    ftdi_sio: v1.5.0:USB FTDI Serial Converters Driver [sh4-Mod v0.06]
    USB Serial support registered for pl2303
    usbcore: registered new interface driver pl2303
    pl2303: Prolific PL2303 USB to serial adaptor driver
    usb 3-1.5: new high speed USB device using stm-ehci and address 7
    usb 3-1.5: configuration #1 chosen from 1 choice
    scsi1 : SCSI emulation for USB Mass Storage devices
    usb-storage: device found at 7
    usb-storage: waiting for device to settle before scanning
    scsi 0:0:0:0: Direct-Access JetFlash Transcend 16GB 8.07 PQ: 0 ANSI: 2
    sd 0:0:0:0: Attached scsi generic sg0 type 0
    usb-storage: device scan complete
    sd 0:0:0:0: [sda] 31391744 512-byte logical blocks: (16.0 GB/14.9 GiB)
    sd 0:0:0:0: [sda] Write Protect is off
    sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
    sd 0:0:0:0: [sda] Assuming drive cache: write through
    sd 0:0:0:0: [sda] Assuming drive cache: write through
    sda: detected capacity change from 0 to 16072572928
    sda: sda1
    sd 0:0:0:0: [sda] Assuming drive cache: write through
    sd 0:0:0:0: [sda] Attached SCSI removable disk
    EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
    PHY: 1:01 - Link is Up - 1000/Full
    scsi 1:0:0:0: Direct-Access General USB Flash Disk 1100 PQ: 0 ANSI: 0 CCS
    sd 1:0:0:0: [sdb] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
    sd 1:0:0:0: [sdb] Write Protect is off
    sd 1:0:0:0: [sdb] Mode Sense: 43 00 00 00
    sd 1:0:0:0: [sdb] Assuming drive cache: write through
    sd 1:0:0:0: Attached scsi generic sg1 type 0
    usb-storage: device scan complete
    sd 1:0:0:0: [sdb] Assuming drive cache: write through
    sdb: detected capacity change from 0 to 8053063680
    sdb: sdb1 sdb2 sdb3
    sd 1:0:0:0: [sdb] Assuming drive cache: write through
    sd 1:0:0:0: [sdb] Attached SCSI removable disk
    kjournald starting. Commit interval 5 seconds
    EXT3 FS on sdb2, internal journal
    EXT3-fs: recovery complete.
    EXT3-fs: mounted filesystem with writeback data mode.
    kjournald starting. Commit interval 5 seconds
    kjournald starting. Commit interval 5 seconds
    EXT3 FS on sdb1, internal journal
    EXT3-fs: recovery complete.
    EXT3-fs: mounted filesystem with writeback data mode.
    EXT3 FS on sdb3, internal journal
    EXT3-fs: recovery complete.
    EXT3-fs: mounted filesystem with writeback data mode.
    eth0: no IPv6 routers present
    ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1
    ftdi_sio 3-1.4:1.0: device disconnected
    @@@@@@@@@@@@ fe_open 0
    @@@@@@@@@@@@ fe_open 1
    @@@@@@@@@@@@ fe_open 2
    @@@@@@@@@@@@ fe_open 3

    dmesg von dem selbsterstellten:

    Display Spoiler

    Linux version 2.6.32.42_stm24_0208-idl4k_7108 (root@ubuntu) (gcc version 4.7.2 20121106 (STMicroelectronics/Linux Base 4.7.2-112) (GCC) ) #4 PREEMPT Mon Aug 18 13:49:21 CEST 2014
    Boot params:
    ... MOUNT_ROOT_RDONLY - 00000001
    ... RAMDISK_FLAGS - 00000000
    ... ORIG_ROOT_DEV - 00000200
    ... LOADER_TYPE - 00000000
    ... INITRD_START - 00000000
    ... INITRD_SIZE - 00000000
    Booting machvec: idl4k
    Node 0: start_pfn = 0x70000, low = 0x8f000
    Zone PFN ranges:
    Normal 0x00070000 -> 0x0008f000
    Movable zone start PFN for each node
    early_node_map[1] active PFN ranges
    0: 0x00070000 -> 0x0008f000
    On node 0 totalpages: 126976
    free_area_init_node: node 0, pgdat 81439448, node_mem_map 8397c000
    Normal zone: 992 pages used for memmap
    Normal zone: 0 pages reserved
    Normal zone: 125984 pages, LIFO batch:31
    Inverto idl4k board initialisation
    STx7108 version 2.x, HOST core
    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 125984
    Kernel command line: console=ttyAS0,115200
    PID hash table entries: 2048 (order: 1, 8192 bytes)
    Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    PVR=04909300 CVR=60880000 PRR=0000a320
    I-cache : n_ways=2 n_sets=512 way_incr=16384
    I-cache : entry_mask=0x00003fe0 alias_mask=0x00003000 n_aliases=4
    D-cache : n_ways=2 n_sets=512 way_incr=16384
    D-cache : entry_mask=0x00003fe0 alias_mask=0x00003000 n_aliases=4
    Memory: 444416k/507904k available (3234k kernel code, 1092k data, 38036k init)
    Hierarchical RCU implementation.
    NR_IRQS:500
    Failed to enable clk CLKA0_REF, ignoring
    Failed to enable clk CLKA0_PLL0LS, ignoring
    Failed to enable clk CLKA1_REF, ignoring
    Failed to enable clk CLKA1_PLL0LS, ignoring
    Console: colour dummy device 80x25
    console [ttyAS0] enabled
    sh_tmu: TMU0 used for clock events
    sh_tmu: TMU0 used for periodic clock events
    sh_tmu: TMU1 used as clock source
    Calibrating delay loop... 593.92 BogoMIPS (lpj=296960)
    Mount-cache hash table entries: 512
    CPU: STx7108
    NET: Registered protocol family 16
    bio: create slab <bio-0> at 0
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    Switching to clocksource TMU1
    NET: Registered protocol family 2
    IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
    TCP established hash table entries: 16384 (order: 5, 131072 bytes)
    TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
    TCP: Hash tables configured (established 16384 bind 16384)
    TCP reno registered
    NET: Registered protocol family 1
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    [STM]: [PM]: HoM support registered
    [STM]: [PM]: [HoM]: Early console @ 0xfd733000
    Slow work thread pool: Starting up
    Slow work thread pool: Ready
    JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    fuse init (API version 7.13)
    msgmni has been set to 868
    alg: No test for stdrng (krng)
    io scheduler noop registered
    io scheduler anticipatory registered (default)
    io scheduler deadline registered
    io scheduler cfq registered
    STMicroelectronics ASC driver initialized
    stm-asc.0: ttyAS0 at MMIO 0xfd733000 (irq = 108) is a stm-asc
    brd: module loaded
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xf1 (Micron NAND 128MiB 3,3V 8-bit)
    Bad block table found at page 65472, version 0x01
    Bad block table found at page 65408, version 0x01
    cmdlinepart partition parsing not available
    Creating 5 MTD partitions on "stm-nand-flex.0":
    0x000000000000-0x000000020000 : "nand-env"
    0x000000020000-0x000000420000 : "nand-system"
    0x000000420000-0x000002420000 : "nand-fw1"
    0x000002420000-0x000004420000 : "nand-fw2"
    0x000004420000-0x000008000000 : "nand-data"
    STMMAC driver:
    platform registration...
    done!
    PMT module supported
    DWMAC1000 - user ID: 0x10, Synopsys ID: 0x33
    Enhanced descriptor structure
    eth0 - (dev. name: stmmaceth - id: 1, IRQ #88
    IO base addr: 0xfe730000)
    STMMAC MII Bus: probed
    eth0: PHY ID 001cc915 at 0 IRQ 0 (1:00)
    eth0: PHY ID 001cc915 at 1 IRQ 25 (1:01) active
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    stm_usb_probe: usb_phy_clk clock not found for stm-usb.0
    stm-ehci stm-ehci.0: st-ehci
    stm-ehci stm-ehci.0: new USB bus registered, assigned bus number 1
    stm-ehci stm-ehci.0: irq 124, io mem 0xfe0ffe00
    stm-ehci stm-ehci.0: USB 0.0 started, EHCI 1.00
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    stm-ohci stm-ohci.0: stm-ohci
    stm-ohci stm-ohci.0: new USB bus registered, assigned bus number 2
    stm-ohci stm-ohci.0: irq 127, io mem 0xfe0ffc00
    usb usb2: configuration #1 chosen from 1 choice
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    stm_usb_probe: usb_phy_clk clock not found for stm-usb.1
    stm-ehci stm-ehci.1: st-ehci
    stm-ehci stm-ehci.1: new USB bus registered, assigned bus number 3
    stm-ehci stm-ehci.1: irq 125, io mem 0xfe1ffe00
    stm-ehci stm-ehci.1: USB 0.0 started, EHCI 1.00
    usb usb3: configuration #1 chosen from 1 choice
    hub 3-0:1.0: USB hub found
    hub 3-0:1.0: 1 port detected
    stm-ohci stm-ohci.1: stm-ohci
    stm-ohci stm-ohci.1: new USB bus registered, assigned bus number 4
    stm-ohci stm-ohci.1: irq 128, io mem 0xfe1ffc00
    usb usb4: configuration #1 chosen from 1 choice
    hub 4-0:1.0: USB hub found
    hub 4-0:1.0: 1 port detected
    stm_usb_probe: usb_phy_clk clock not found for stm-usb.2
    stm-ehci stm-ehci.2: st-ehci
    stm-ehci stm-ehci.2: new USB bus registered, assigned bus number 5
    stm-ehci stm-ehci.2: irq 126, io mem 0xfe2ffe00
    stm-ehci stm-ehci.2: USB 0.0 started, EHCI 1.00
    usb usb5: configuration #1 chosen from 1 choice
    hub 5-0:1.0: USB hub found
    hub 5-0:1.0: 1 port detected
    stm-ohci stm-ohci.2: stm-ohci
    stm-ohci stm-ohci.2: new USB bus registered, assigned bus number 6
    stm-ohci stm-ohci.2: irq 129, io mem 0xfe2ffc00
    usb usb6: configuration #1 chosen from 1 choice
    hub 6-0:1.0: USB hub found
    hub 6-0:1.0: 1 port detected
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    i2c /dev entries driver
    at24 1-0050: 8192 byte 24c64 EEPROM (writable)
    sh_tmu: TMU0 kept as earlytimer
    sh_tmu: TMU1 kept as earlytimer
    STMicroelectronics - Coprocessors st231 Init
    st-coprocessor-0: No RAM reserved
    st231.0 Coprocessor -------------------------------------------
    not configured!
    ---------------------------------------------------------------
    st-coprocessor-1: No RAM reserved
    st231.1 Coprocessor -------------------------------------------
    not configured!
    ---------------------------------------------------------------
    st-coprocessor-2: No RAM reserved
    st231.2 Coprocessor -------------------------------------------
    not configured!
    ---------------------------------------------------------------
    TCP cubic registered
    NET: Registered protocol family 10
    IPv6 over IPv4 tunneling driver
    NET: Registered protocol family 17
    [STM]: [PM]: Suspend support registered
    /usr/idl4k/idl4k-master/linux/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
    Freeing unused kernel memory: 38036k freed
    stmmac: Rx Checksum Offload Engine supported
    TX Checksum insertion supported
    stapi_core: module license 'ST Microelectronics' taints kernel.
    Disabling lock debugging due to kernel taint
    Load module sttbx_early_core
    Load module stos_core [?] by insmod (pid 454)
    Load module stcommon_core [?] by insmod (pid 454)
    usb 3-1: new high speed USB device using stm-ehci and address 2
    Load module sttbx_core [?] by insmod (pid 454)
    Load module stevt_core [?] by insmod (pid 454)
    Load module stavmem_core [?] by insmod (pid 454)
    Load module stbuffer_core [?] by insmod (pid 454)
    Load module stclock_core [252] by insmod (pid 454)
    Load module stpower_core [251] by insmod (pid 454)
    Load module stpio_core [?] by insmod (pid 454)
    Load module stfdma_core [250] by insmod (pid 454)
    Load module stinject_core [?] by insmod (pid 454)
    Load module stnet_core [?] by insmod (pid 454)
    Load module stpti5_core [?] by insmod (pid 454)
    Load module stcommon_ioctl [249] by insmod (pid 460)
    Load module sttbx_ioctl [248] by insmod (pid 460)
    Load module stevt_ioctl [247] by insmod (pid 460)
    Load module stavmem_ioctl [246] by insmod (pid 460)
    Load module stbuffer_ioctl [245] by insmod (pid 460)
    Load module stpower_ioctl [244] by insmod (pid 460)
    Load module stpio_ioctl [243] by insmod (pid 460)
    Load module stfdma_ioctl [240] by insmod (pid 460)
    Load module stinject_ioctl [239] by insmod (pid 460)
    Load module stnet_ioctl [238] by insmod (pid 460)
    Load module stsys_ioctl [237] by insmod (pid 460)
    Load module stpti5_ioctl [236] by insmod (pid 460)
    usb 3-1: configuration #1 chosen from 1 choice
    hub 3-1:1.0: USB hub found
    hub 3-1:1.0: 5 ports detected
    usb 3-1.1: new high speed USB device using stm-ehci and address 3
    usb 3-1.1: configuration #1 chosen from 1 choice
    [demod900] setup [num_demods 4]
    [pll6120] setup [num_plls:4] [clk:30000000] [bbgain:16]
    [fe] Checking lut 0xC1ABEAF0
    [fe] Checking lut 0xC1ABEB26
    [fe] Checking lut 0xC1ABEAF0
    [fe] Checking lut 0xC1ABEB54
    usb 3-1.2: new high speed USB device using stm-ehci and address 4
    [dmx] ... init 0
    [dmx-ts] ... init 0
    [fta_fe] FE Initialization done, res 0
    usbcore: registered new interface driver usbserial
    USB Serial support registered for generic
    usb 3-1.2: configuration #1 chosen from 1 choice
    scsi0 : SCSI emulation for USB Mass Storage devices
    usb-storage: device found at 4
    usb-storage: waiting for device to settle before scanning
    usb 3-1.3: new full speed USB device using stm-ehci and address 5
    usb 3-1.3: configuration #1 chosen from 1 choice
    usb 3-1.4: new full speed USB device using stm-ehci and address 6
    usb 3-1.4: configuration #1 chosen from 1 choice
    usbcore: registered new interface driver usbserial_generic
    usbserial: USB Serial Driver core
    USB Serial support registered for FTDI USB Serial Device
    ftdi_sio 3-1.3:1.0: FTDI USB Serial Device converter detected
    usb 3-1.3: Detected FT232RL
    usb 3-1.3: Number of endpoints 2
    usb 3-1.3: Endpoint 1 MaxPacketSize 64
    usb 3-1.3: Endpoint 2 MaxPacketSize 64
    usb 3-1.3: Setting MaxPacketSize 64
    usb 3-1.3: FTDI USB Serial Device converter now attached to ttyUSB0
    ftdi_sio 3-1.4:1.0: FTDI USB Serial Device converter detected
    usb 3-1.4: Detected FT232BM
    usb 3-1.4: Number of endpoints 2
    usb 3-1.4: Endpoint 1 MaxPacketSize 64
    usb 3-1.4: Endpoint 2 MaxPacketSize 64
    usb 3-1.4: Setting MaxPacketSize 64
    usb 3-1.4: FTDI USB Serial Device converter now attached to ttyUSB1
    usbcore: registered new interface driver ftdi_sio
    ftdi_sio: v1.5.0:USB FTDI Serial Converters Driver [sh4-Mod v0.06]
    USB Serial support registered for pl2303
    usbcore: registered new interface driver pl2303
    pl2303: Prolific PL2303 USB to serial adaptor driver
    usb 3-1.5: new high speed USB device using stm-ehci and address 7
    usb 3-1.5: configuration #1 chosen from 1 choice
    scsi1 : SCSI emulation for USB Mass Storage devices
    usb-storage: device found at 7
    usb-storage: waiting for device to settle before scanning
    PHY: 1:01 - Link is Up - 1000/Full
    scsi 0:0:0:0: Direct-Access JetFlash Transcend 16GB 8.07 PQ: 0 ANSI: 2
    sd 0:0:0:0: [sda] 31391744 512-byte logical blocks: (16.0 GB/14.9 GiB)
    sd 0:0:0:0: [sda] Write Protect is off
    sd 0:0:0:0: Attached scsi generic sg0 type 0
    usb-storage: device scan complete
    sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
    sd 0:0:0:0: [sda] Assuming drive cache: write through
    sd 0:0:0:0: [sda] Assuming drive cache: write through
    sda: detected capacity change from 0 to 16072572928
    sda: sda1
    sd 0:0:0:0: [sda] Assuming drive cache: write through
    sd 0:0:0:0: [sda] Attached SCSI removable disk
    EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
    eth0: no IPv6 routers present
    scsi 1:0:0:0: Direct-Access General USB Flash Disk 1100 PQ: 0 ANSI: 0 CCS
    sd 1:0:0:0: [sdb] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
    sd 1:0:0:0: Attached scsi generic sg1 type 0
    usb-storage: device scan complete
    sd 1:0:0:0: [sdb] Write Protect is off
    sd 1:0:0:0: [sdb] Mode Sense: 43 00 00 00
    sd 1:0:0:0: [sdb] Assuming drive cache: write through
    sd 1:0:0:0: [sdb] Assuming drive cache: write through
    sdb: detected capacity change from 0 to 8053063680
    sdb: sdb1 sdb2 sdb3
    sd 1:0:0:0: [sdb] Assuming drive cache: write through
    sd 1:0:0:0: [sdb] Attached SCSI removable disk
    kjournald starting. Commit interval 5 seconds
    EXT3 FS on sdb1, internal journal
    EXT3-fs: recovery complete.
    EXT3-fs: mounted filesystem with writeback data mode.
    kjournald starting. Commit interval 5 seconds
    EXT3 FS on sdb2, internal journal
    EXT3-fs: recovery complete.
    EXT3-fs: mounted filesystem with writeback data mode.
    kjournald starting. Commit interval 5 seconds
    EXT3 FS on sdb3, internal journal
    EXT3-fs: recovery complete.
    EXT3-fs: mounted filesystem with writeback data mode.

    Die Kommandline des Kernel ist anders, das sollte aber kein Problem sein. Es ist im Webinterface jetzt halt nicht mehr das Telestar Logo sondern das Inverto Logo.

    Was mir eher Sorgen macht ist die Ausgabe der STAPI Module:
    Printbuffer beim funktionierenden:

    Display Spoiler

    stptiAPI_DriverInit:304: Initialising STPTI Driver STPTI5-REL_1.6.3 (DVB) on 7108 Cut2.x
    stptiAPI_DriverInit:315: (Single CPU) Non IPRC.
    stptiAPI_DriverInit:323: Registering Objects for TANGO, physical device 0
    stptiHAL_pDeviceInit:160: Clocks Per Second = 1000.
    stptiHAL_pDeviceInit:172: TANGO TP mapped... [ fd600000 => fd600000 ]
    stptiHAL_pDeviceInit:178: Bypassing Secure CoProcessor.
    stptiHAL_EventTaskInit:136: Started Driver Task 0x834d1b00 (stptiHAL_EventNotifyTask)
    stptiHAL_pDeviceInit:293: TP ISR installed on number 0x000000a0.
    stptiHAL_pDeviceInit:311: TP Firmware loaded successfully
    stptiHAL_pDeviceInit:335: Started TP from reset (waiting for Ready)
    STxP70_TP: Starting TP version 00070200 [CS0000C60B] $Rev: 1853 $ Built 18:33:15 Feb 21 2012
    STxP70_TP: Total Usage 34240 of 37000 bytes.
    stptiHAL_pDeviceInit:454: TP (device0) Started Successfully.
    stptiHAL_pDeviceInit:458: Across 16 vDevices, there are 256 slots, 96 buffers, 32 indexers, 256 hw section filters.
    stptiAPI_DriverInit:422: Registering Functions for TSInput, device 0
    STPTI_Init:305: Initialised Device: "PTI0", PhysicalIndex=0
    STPTI_Init:305: Initialised Device: "PTI1", PhysicalIndex=0
    STPTI_Init:305: Initialised Device: "PTI2", PhysicalIndex=0
    STPTI_Init:305: Initialised Device: "PTI3", PhysicalIndex=0
    STPTI_Init:305: Initialised Device: "PTI4", PhysicalIndex=0
    STPTI_Init:305: Initialised Device: "PTI5", PhysicalIndex=0
    stptiTSHAL_TSInputStfeConfigure:496: Configuring TSInput StreamID 0x0000 (starting Disabled)
    stptiTSHAL_StfeWritePIDBase:2387: Using Software Leaky PID of period 16650000
    stptiTSHAL_TSInputStfeEnable:767: Enabling TSInput StreamID 0x0000
    stptiHAL_pDeviceConfigureLive:934: Starting STFE Live channel 0 on TP (device0)
    stptiTSHAL_TSInputStfeConfigure:496: Configuring TSInput StreamID 0x0001 (starting Disabled)
    stptiTSHAL_StfeWritePIDBase:2387: Using Software Leaky PID of period 16650000
    stptiTSHAL_TSInputStfeEnable:767: Enabling TSInput StreamID 0x0001
    stptiHAL_pDeviceConfigureLive:934: Starting STFE Live channel 1 on TP (device0)
    stptiTSHAL_TSInputStfeConfigure:496: Configuring TSInput StreamID 0x0002 (starting Disabled)
    stptiTSHAL_StfeWritePIDBase:2387: Using Software Leaky PID of period 16650000
    stptiTSHAL_TSInputStfeEnable:767: Enabling TSInput StreamID 0x0002
    stptiHAL_pDeviceConfigureLive:934: Starting STFE Live channel 2 on TP (device0)
    stptiTSHAL_TSInputStfeConfigure:496: Configuring TSInput StreamID 0x0003 (starting Disabled)
    stptiTSHAL_StfeWritePIDBase:2387: Using Software Leaky PID of period 16650000
    stptiTSHAL_TSInputStfeEnable:767: Enabling TSInput StreamID 0x0003
    stptiHAL_pDeviceConfigureLive:934: Starting STFE Live channel 3 on TP (device0)

    Beim neuen:

    Display Spoiler

    stptiAPI_DriverInit:300: Initialising STPTI Driver STPTI5-REL_1.3.0 (DVB) on 7108 Cut2.x
    stptiAPI_DriverInit:311: (Single CPU) Non IPRC.
    stptiAPI_DriverInit:319: Registering Objects for TANGO, physical device 0
    stptiHAL_pDeviceInit:149: Clocks Per Second = 1000.
    stptiHAL_pDeviceInit:160: TANGO TP mapped... [ fd600000 => fd600000 ]
    stptiHAL_pDeviceInit:166: TANGO SP not mapped. Bypassing Secure CoProcessor.
    stptiHAL_EventTaskInit:124: Started Driver Task 0x836e9b00 (stptiHAL_EventNotifyTask)
    stptiHAL_pDeviceInit:269: TP ISR installed on number 0x000000a0.
    stptiHAL_pDeviceInit:287: TP Firmware loaded successfully
    stptiHAL_pDeviceInit:311: Started TP from reset (waiting for Ready)
    STxP70_TP: Starting TP version 40100 [CSC683] $Rev: 1613 $ Built 16:51:10 Aug 26 2011
    STxP70_TP: Total Usage 36936 of 37000 bytes.
    stptiHAL_pDeviceInit:433: TP (device0) Started Successfully.
    stptiHAL_pDeviceInit:437: Across 16 vDevices, there are 256 slots, 96 buffers, 32 indexers, 256 hw section filters.
    stptiAPI_DriverInit:418: Registering Functions for TSInput, device 0
    STPTI_Init:297: Initialised Device: "PTI0", PhysicalIndex=0
    STPTI_Init:297: Initialised Device: "PTI1", PhysicalIndex=0
    STPTI_Init:297: Initialised Device: "PTI2", PhysicalIndex=0
    STPTI_Init:297: Initialised Device: "PTI3", PhysicalIndex=0
    STPTI_Init:297: Initialised Device: "PTI4", PhysicalIndex=0
    STPTI_Init:297: Initialised Device: "PTI5", PhysicalIndex=0
    stptiHAL_pDeviceConfigureLive:904: pdevice 1ff07fff Base 73720000 SizeInPkts 64 PktLength 200 Channel 0
    stptiHAL_pDeviceConfigureLive:904: pdevice 1ff07fff Base 73720000 SizeInPkts 64 PktLength 200 Channel 0
    stptiHAL_pDeviceConfigureLive:904: pdevice 1ff07fff Base 73724000 SizeInPkts 64 PktLength 200 Channel 1
    stptiHAL_pDeviceConfigureLive:904: pdevice 1ff07fff Base 73724000 SizeInPkts 64 PktLength 200 Channel 1
    stptiHAL_pDeviceConfigureLive:904: pdevice 1ff07fff Base 73728000 SizeInPkts 64 PktLength 200 Channel 2
    stptiHAL_pDeviceConfigureLive:904: pdevice 1ff07fff Base 73728000 SizeInPkts 64 PktLength 200 Channel 2
    stptiHAL_pDeviceConfigureLive:904: pdevice 1ff07fff Base 7372c000 SizeInPkts 64 PktLength 200 Channel 3
    stptiHAL_pDeviceConfigureLive:904: pdevice 1ff07fff Base 7372c000 SizeInPkts 64 PktLength 200 Channel 3

    Das "TANGO SP not mapped" und das die stptiTSHAL_TSInputStfeEnable und stptiTSHAL_StfeWritePIDBase fehlen machen mir Sorgen.
    Ich habe mal im Kernel Configmenü etwas von CoProcessor gelesen, bin mir aber nicht sicher ob dass das ist.

    Ich hoffe das hier nicht noch was für den Kernel fehlt...

    Läuft ohne Probleme!

    Man kann mit der idl4k.scr und der idl4k.bin auf einem USB stick direkt von uboot flashen.
    Aber nur auf dem oberen USB Port. Der ist bei mir schon defekt, da er elektrisch nicht abgesichert ist.
    Also nur an/ abstecken wenn die Box aus ist!

    Edit:
    Es ist auch möglich die Box über die rs232 mit kermit neu zu flashen wenn mal das webinterface nicht mehr erreichbar ist.
    Uboot ist aber auf hidden eingestellt, dass müsste man erst umstellen.

    Also ich habe mich mal hingesetzt und das Image mit dem GPL Sourcen nachgebaut!

    Das geht einfacher als man glaubt.

    Ich habe z.b. das verändert:
    shadow Datei angepasst (Passwörter geändert)
    Boot Console: console=ttyAS0,115200
    USB-Serial Module
    Busybox 1.21.1 mit allen Modulen
    Autostart von einem Script wenn es beim Mounten eines USB Sticks gefunden wird (Autostart).
    Samba Aktiviert.
    ramdisk wird anders gemounted und nicht mit der Begrenzung 6MB. minidlna hängt sich sonts auf bei einer großen Anzahl von Files da der Platz ausgeht.

    Was ich noch gerne geändert haben möchte:
    Den Ordner /var und /etc in einem Ordner mounten der auch nach dem Booten bestehen bleibt.
    Kann mir dazu jemand einen Tipp geben?

    1.
    Vorbereitungen: STLinux 2.4 installieren und kompilieren (Anleitungen sind im Netz zu finden)
    Bei mir zeigt der gcc Kompiler dann auf: /opt/STM/STLinux-2.4/devkit/sh4/bin/sh4-linux-gcc

    2.
    Ordner anlegen:

    Code
    /usr/idl4k 
    /usr/idl4k/build/kernel

    3.
    Man braucht die passenenden GPL idl4k Sourcen für die passende idlk4.bin Firmware. Derzeit ist das die 1.13.0.105:
    https://github.com/jollyjinx/idl4k (thx to jollyjinx)
    Die idl4k.bin Firmware 1.13.0.105

    4.
    Es muss der CPIO Teil aus der Firmware extracted werden.
    Die idl4k.bin in den Ordner /usr/idl4k kopieren.
    Zum entpacken kann man dieses Script mit dem Parameter extract benutzen:

    &gt;&gt;click&lt;&lt; für Script


    Nach dem Entpacken sollte man einen weiteren Ordner haben: (usr/idl4k/initramfs)

    5.
    Nun kann nach belieben das Image verändert/erweitert werden.

    6.
    Ist die Bearbeitung abgeschlossen wieder das script mit dem Parameter repack ausführen.
    Es sollte nun ein neues CPIO Archiv in /usr/idl4k/build/kernel zu finden sein.

    7.
    Den idl4k-master in /usr/idl4k entpacken und in den Ordner /usr/idl4k/idl4k-master/linux wechseln.
    Es muss im /usr/idl4k/idl4k-master/linux/Makefile das angepasst werden:

    Code
    -fno-delete-null-pointer-checks 
    # -Wno-error=unused-but-set-variable


    Abändern in:

    Code
    -fno-delete-null-pointer-checks \ 
    -Wno-error=unused-but-set-variable

    (8.)
    Standard Config für idl4k laden:

    Code
    make ARCH=sh CROSS_COMPILE=/opt/STM/STLinux-2.4/devkit/sh4/bin/sh4-linux- O=/usr/idl4k/build/kernel idl4k_defconfig

    9.
    Den Kernel Konfigurieren:

    Code
    make ARCH=sh CROSS_COMPILE=/opt/STM/STLinux-2.4/devkit/sh4/bin/sh4-linux- O=/usr/idl4k/build/kernel menuconfig


    Z.B. kann man unter den Bootoptionen: console=ttyAS0,115200 hinzufügen.

    (10.)
    Module erstellen falls benötigt:

    Code
    make ARCH=sh CROSS_COMPILE=/opt/STM/STLinux-2.4/devkit/sh4/bin/sh4-linux- O=/usr/idl4k/build/kernel modules

    (11.)
    Den Ordner /usr/idl4k/build/kernel nach *.ko durchsuchen und gegebenenfalls diese in das initramfs einbauen.
    Es muss nach der Bearbeitung Punkt 6 ausgeführt werden.

    12.
    Image erstellen:

    Code
    make ARCH=sh CROSS_COMPILE=/opt/STM/STLinux-2.4/devkit/sh4/bin/sh4-linux- O=/usr/idl4k/build/kernel uImage


    Nun sollte man in /usr/idl4k/build/kernel/arch/sh/boot die Datei uImage.gz zu finden sein.
    Diese Datei kann nun wenn man will in "idl4k.bin" umbenannt werden und per Webinterface auf das Gerät geladen werden.
    Sie muss aber nicht unbenannt werden...

    Mod.: Bitte lange Listings mit Spoiler maskieren, das verbessert die Lesbarkeit ungemein: Richtig zitieren und URLs posten ...

    Edit:
    Config für idl4k erstellen:

    Code
    root@ubuntu:/usr/idl4k/idl4k-master/linux# make ARCH=sh CROSS_COMPILE=/opt/STM/STLinux-2.4/devkit/sh4/bin/sh4-linux- O=/usr/idl4k/build/kernel idl4k_defconfig

    Modules erstellen:

    Code
    root@ubuntu:/usr/idl4k/idl4k-master/linux# make ARCH=sh CROSS_COMPILE=/opt/STM/STLinux-2.4/devkit/sh4/bin/sh4-linux- O=/usr/idl4k/build/kernel modules

    vmlinux erstellen:

    Code
    root@ubuntu:/usr/idl4k/idl4k-master/linux# make ARCH=sh CROSS_COMPILE=/opt/STM/STLinux-2.4/devkit/sh4/bin/sh4-linux- O=/usr/idl4k/build/kernel vmlinux

    berreinigen:

    Code
    root@ubuntu:/usr/idl4k/idl4k-master/linux# make ARCH=sh CROSS_COMPILE=/opt/STM/STLinux-2.4/devkit/sh4/bin/sh4-linux- O=/usr/idl4k/build/kernel mrproper

    Im Makefile habe ich aber "-Wno-error=unused-but-set-variable" aktivieren müssen, ansonsten blieb es stehen.

    Ein Nachbau eines fertigen Images würde echt super sein. Habe z.B. Kernel Module für Serial-Card Reader die ich nachträglich und umständlich im Image eingebaut habe. So könnte man ein fertiges Image selber zusammenbauen. Beim Zerlegen/Zusammenbauen des fertigen BIN-Images ist man ja leider auf die originale CPIO Dateigröße beschränkt!