satip-axe/debug
Jaroslav Kysela 495bc2efe4 README.md sync 2018-10-08 17:38:30 +02:00
..
PTI.txt some debug things 2015-04-15 18:05:21 +02:00
README.md README.md sync 2018-10-08 17:38:30 +02:00
continuity-errors.txt axehelper: add possibility to change demod registers (i2c_demod_reg_read,i2c_demod_reg_write) 2015-04-17 12:02:30 +02:00
hardware.txt axehelper: add i2c_scan 2015-04-16 15:23:59 +02:00
lnbh24.pdf add lnbh24.pdf 2015-04-16 09:35:49 +02:00
proc.txt more debug things I know 2015-04-15 21:34:03 +02:00
software.txt more debug things I know 2015-04-15 21:34:03 +02:00
stv6120.pdf add STV6120 to hardware.txt + datasheet 2015-04-16 09:33:54 +02:00

README.md

A notes for developers (might be outdated):

Requirements:

  • git, python
  • STLinux 2.4 (all-sh4-glibc) - http://www.stlinux.com - installed to /opt/STM/STLinux-2.4/
  • fakeroot package/tools

Compilation:

  • just type 'make'
  • kernel with rootfs is in kernel/arch/sh/boot/uImage.gz

Booting uImage.gz on Inverto IDL-400S/Grundig GSS.BOX/Telestar Digibit R1 from USB:

  • connect TTL USB serial adapter to J3 connector (4 pins at the power supply)
    • pin 1 = 3.6V (do not use), pin 2 = GND, pin 3 = RXD (STM CPU), pin 4 = TXD (STM CPU)
    • parameters: 115200,8N1
  • press 'Enter' when you turn on the box (you have only one second) to get 'idl4k> ' prompt (it seems that 'Enter' is required also to enable the serial console)
  • modify bootargs (optional - for original firmware)

set bootargs=console=ttyAS0,115200

  • set debugfw environment variable

set debugfw "debugfw=usb start;usb start;fatload usb 0 0x84000000 uimage.gz;set bootargs console=ttyAS0,115200 bigphysarea=20000;bootm 0x84000000"

  • you may type 'save' to store this settings permanently
  • to execute the debugfw type 'run debugfw'
  • note that the USB stick should be in the first (upper) USB connector

Configuration

  • dhcp client, telnetd, dropbear (ssh daemon) and minisatip are active by default
  • configuration is stored in /etc/sysconfig/config