Amiko Alien 2 Won`t Boot

There are 34 replies in this Thread which was already clicked 7,590 times. The last Post () by helcer.

  • ofc, i can - but do you think that this is the problem?
    have you seen the logfiles? did you see the errors?
    can you read and understand this? i dont!

  • I have not booted to Spark in a long time (maybe two years ago...) so I am not sure about those errors, but if Spark is expecting a bigger reserved area than it is given, it could cause it to crash.


    Also, can you post the serial console output from the very beginning - from power on, while you are holding the "ok" button?

  • Yes from the command prompt (PDK7105>) type "printenv" without the quotes.


    The output will be long, so if you are using putty the first thing to do is right-click on the title bar (top part of the window) and select change settings. Then under window set "lines of scrollback" to something big like 2000. Then restart the stb and enter the command. After, right-click on the title bar and select "Copy All to Clipboard" - then you can paste everything...


    Ok, just looked closer at you output and you already typed the command ok. It looks like you have lost almost all of your environment settings! I will have to go into my box later tonight and retrieve all the settings you will need. For now if you want to boot back to enigma2, you can try the following.


    1. boot to the command prompt
    2. enter the following:

    Code
    setenv bootargs "console=ttyAS0,115200 rw root=/dev/mtdblock6 rootfstype=jffs2 init=/bin/devinit coprocessor_mem=4m@0x40000000,4m@0x40400000 printk=1 nwhwconf=device:eth0,hwaddr:00:80:E1:12:40:61 ip=172.100.100.249:172.100.100.174:172.100.100.174:255.255.0.0:Enigma2:eth0:off stmmaceth=msglvl:0,phyaddr:2,watchdog:5000 bigphysarea=6000"


    Code
    setenv bootcmd "nboot.i 0x80000000 0  0x18000000 ;bootm 0x80000000"


    Then

    Code
    saveenv


    That should save the settings so it will automatically boot next time to enigma2


    Then just:

    Code
    boot


    (If you make the changes for putty above first and capture everything again and post, it can help..)

    Edited once, last by joeuser ().

  • pauldb
    thanks, but this all does not work for me. at the end - (putty - see above) i always geht the following Errors:
    ****cmdline =insmod modules/stgfb_core.ko mod_init=NO g_devnum=1 layer_name=LAYER_GDP1 g_tvOutMode=1280x720-50 g_mem=18 g_format=ARGB8888 g_ratio=16TO9 g_alpha=128 mem_clear=ALL
    IRQ 220/STGFB_Blitter: IRQF_DISABLED is not guaranteed on shared IRQs
    [YWAPP_AvctlStup] YWAVCTL_Open Success
    ########################## uiCompSize[0X00AE8BCC]================
    [*info*][YWPUBLIC_GetUserFontPath:11146]file ./AppUserDb/.font_config open failed.
    YWENTRY_CreateWindow
    *********get viewport handle: 0xc1772780, 0xc1772780
    OptimizeType = 0
    [ERROR][fuc:YWPVR_Open][line:3333] PvrInitParam.bIsInit
    [ERROR][fuc:YWPVR_Start][line:3942]
    [*info*][YWPUBLICi_SetTimeInfo:5536]
    !!!!!iTimeOffset =120
    [*error*][YWPUBLIC_StandbyCheckTimer:3538]
    uAutoBootTime(0) curr time 2000-01-01 00:00:10
    [*error*][YWPUBLIC_StandbyCheckTimer:3559]bAutoBootFlag(1),nCurDateTime(0x386d438a),nJmpBootTime(0xffffffff) uAutoBootTime(0x0) nSysBootTime(0xffffffff) nBootTime(0xffffffff) TimerInfo.TimerId(0x0)
    save exit: isCheckpointed 1
    save exit: isCheckpointed 1
    [*error*][YWPUBLIC_StandbyCheckTimer:3662]
    nBootTime(ffffffff) Date 2106-02-07 06:28:15
    [*error*][YWPUBLIC_SysStandBy:3675] YWPUBLIC_StandBy nBootTime ffffffff ErrorType(0x0) YWPUBLIC_GetPowerStatus(0)
    [ERROR][YWPANEL_VFDDisplayString]bad parameter
    [YWPANELi_Standby] time = ffffffff
    [*info*][YWPUBLIC_SetBootPower:5474]YWPUBLIC_GetPowerStatus =0,bIsElectrify=1
    OptimizeType = 0
    [*info*][YWSIGNAL_Init:1347]Feature.Number= 2
    [*info*][YWSIGNAL_Init:1395]Feature.stNimType[0]= 3


    the box does not boot itself, when i turn off and on again by the power Switch the box stucks in "boot" again.
    no Chance by usb to Flash the rescue Image beacuse i cant come to "force ....."


    - - - Updated - - -


    @jouser
    i did not read carefully - i dont want boot to enigma, i Need spark.
    enigma is no Problem when i can boot with spark. i must come to: Switch on - spark - force - U LD ..... Flash the rescue.
    so maybe i can do this by rs232 with putty? boot/Flash from usb or pc?


    Edited once, last by helcer ().

  • I understand your ultimate goal, but only gave you the option to go back to enigma until box is fixed. :)


    I can give you the environment variables you need, but would like to see the full boot info to make sure what version of U-Boot you have. So, if you can do the putty changes I posted above and boot and "copy all" and paste the output here, I can post some possible fix...
    (the output you have already posted does not show the initial part of the boot process...)


    - - - Updated - - -


    Here are the commands to set your environment variables and save them. Probably only want to cut and past 5-10 at a time....


    After type

    Code
    printenv

    to verify they are all set correctly, then type

    Code
    saveenv

    to save them to flash.
    Then you can type

    Code
    reset

    which will restart the box. Even if it still does not boot to Spark, you should now be able to hold the "OK" button and flash from USB as usual... Of course if it still doesn't work, capture the complete boot with putty and post back here.

  • hi jo :)
    so i shall make these 4 steps you wrote - correct?
    or must i make the steps from your post #26 before?
    this is all a Little bit high for me and absolute new - so forgive me my questions :)


    isnt it possible to Flash the rescue Image by rs232?
    wouldn´t that be easier?

  • First do this with putty

    Quote

    The output will be long, so if you are using putty the first thing to do is right-click on the title bar (top part of the window) and select change settings. Then under window set "lines of scrollback" to something big like 2000. Then restart the stb and enter the command. After, right-click on the title bar and select "Copy All to Clipboard" - then you can paste everything...


    That way you can scroll up and down and see everything.


    Then enter the setenv commands by cutting and pasting, but only do 5-10 lines at a time to make sure they all work.


    Then enter the printenv command which will show you all your variables. If the last step was done right, you should see them all listed.


    Then enter the saveenv command to save the variables to flash. Otherwise they will be lost when you reboot.


    Then enter the reset command to restart the box.


    If Spark still does not boot, you can try to switch off in the back and switch back on while holding the "OK" button. The variables you set above should now enable it to work as usual. If not, cut and paste the whole putty terminal back here so we can see what is the problem.


    Re-flashing by serial is not setup by default for these boxes, the default is to flash from USB. But in any case, you need to set the environment variables that were lost and the way I wrote is the easiest way.

    Edited 2 times, last by joeuser ().

  • :71:


    Board: STx7105-PDK [32-bit mode]



    U-Boot 1.3.1 (Jan 3 2013 - 11:17:06) - stm23_0051 - YW_1.1.007-bdevelop overclo ck


    DRAM: 256 MiB
    Panel: VFD
    NAND: Bad block table found at page 262080, version 0x01
    Bad block table found at page 262016, version 0x01
    512 MiB
    SPI: SPI Device status = 0x9c
    info: found s25sl016a (2MiB) device (page=256,erase=65536)
    SPI device status=0x9c
    warning: SPI device may be write-protected (status=0x9c)
    In: serial
    Out: serial
    Err: serial
    Ident ic exist
    Ident ic get stb id
    IdentID : 0c 00 0a 00 00 11 d4
    PDK7105> setenv baudrate '115200'
    ## Switch baudrate to 115200 bps and press ENTER ...
    PDK7105> setenv bootargs 'console=ttyAS0,115200 rw root=/dev/mtdblock6 rootfstype=jffs2 init=/bin/devinit coprocessor_mem=4m@0x40000000,4m@0x40400000 printk=1 nwhwconf=device:eth0,hwaddr:00:80:E1:12:40:61 ip=172.100.100.249:172.100.100.174:172.100.100.174 :255.255.0.0:Enigma2:eth0:off stmmaceth=msglvl:0,phyaddr:2,watchdog:5000 bigphysarea=6000'
    PDK7105> setenv bootargs_enigma2 'console=ttyAS0,115200 rw root=/dev/mtdblock6 rootfstype=jffs2 init=/bin/devinit coprocessor_mem=4m@0x40000000,4m@0x40400000 printk=1 nwhwconf=device:eth0,hwaddr:00:80:E1:12:40:61 ip=172.100.100.249:172.100.100.174:172.100.100.174 :255.255.0.0:Enigma2:eth0:off stmmaceth=msglvl:0,phyaddr:2,watchdog:5000 bigphysarea=6000'
    PDK7105> w ramdisk_size=6144 root=/dev/ram0 init=/linuxrc nwhwconf=device:eth0,hwaddr:00:80:E1:12:40:69 ip=192.168.0.69:192.168.3.119:192.168.3.1:255.255. 0.0:Spark:eth0:off stmmaceth=msglvl:0,phyaddr:1,watchdog:5000 bigphysarea=7000'
    > setenv bootargs_spark 'console=ttyAS0,115200 rw ramdisk_size=6144 root=/dev/ram0 init=/linuxrc nwhwconf=device:eth0,hwaddr:00:80:E1:12:40:69 ip=192.168.0.69:192.168.3.119:192.168.3.1:255.255. 0.0:Spark:eth0:off stmmaceth=msglvl:0,phyaddr:1,watchdog:5000 bigphysarea=7000'
    > etenv bootcmd_enigma2 'nboot.i 0x80000000 0 0x18000000 ;bootm 0x80000000'
    > env bootcmd 'nboot.i 0x80000000 0 0x00100000 ;bootm 0x80000000'
    > env bootcmd_spark 'nboot.i 0x8000000 0 0x00100000 ;bootm 0x80000000'
    > setenv bootcmd_enigma2 'nboot.i 0x80000000 0 0x18000000 ;bootm 0x80000000'
    > etenv bootcmd 'nboot.i 0x80000000 0 0x00100000 ;bootm 0x80000000'
    > env bootcmd_spark 'nboot.i 0x80000000 0 0x00100000 ;bootm 0x80000000'
    > env bootdelay '3'
    > env bootfromnfs 'console=ttyAS0,115200 rw root=/dev/nfs nfsroot=192.168.40.19:/opt/target,nfsvers=2,rsize=4096,wsize=8192,tcp nwhwconf=device:eth0,hwaddr:00:80:E1:12:40:61 ip=192.168.40.61:192.168.40.19:192.168.31:255.255 .0.0:LINUX7167:eth0:off stmmaceth=msglvl:0,phyaddr:1,watchdog:5000 bigphysarea=7000'
    > etenv boot_system 'enigma2'
    > setenv erase_env 'mw.b $load_addr 0 0x20000;eeprom write $load_addr 0x000a0000 0x20000'
    > etenv erase_kernel_enigma2 'nand erase 0x18000000 0x00800000'
    > env erase_kernel 'nand erase 0x00100000 0x00a00000'
    > env erase_userfs_enigma2 'nand erase 0x18800000 0x07700000'
    > env erase_userfs 'nand erase 0x01400000 0x16c00000'
    > env ethaddr '00:80:E1:12:06:38'
    > env filesize '7700000'
    > env fuseburned 'true'
    > env gatewayip '192.168.40.1'
    > env HOTNAME 'LINUX7167'
    > env ipaddr '192.168.40.63'
    > env kernel_base ' 0x00100000'
    > env kernel_base_enigma2 '0x18000000'
    > setenv kernel_base_spark '0x00100000'
    > etenv kernel_len '0x00a00000'
    > env kernel_len_enigma2 '0x00800000'
    > env kernel_len_spark '0x00a00000'
    > env kernel_name_enigma2 'enigma2/uImage'
    > env kernel_name 'spark/mImage'
    > env kernel_name_spark 'spark/mImage'
    > env kernelnfspath '192.168.40.19:/opt/target'
    > env load_addr '0x80000000'
    > env loadu_kernel_enigma2 'fatload usb 0 $load_addr uImage'
    > env loadu_kernel 'fatload usb 0 $load_addr mIage'
    > env loadu_kernel_spark 'fatload usb 0 $load_addr mImage'
    > setenv lodu_uboot 'fatload usb 0 $load_addr u-boot.bin'
    > env loadu_userfs_enigma2 'fatload usb 0 $load_addr e2jffs2.img'
    > env loadu_userfs 'fatload usb 0 $load_addr userfsub.img'
    > env loadu_userfs_spark 'fatload usb 0 $load_addr userfsub.img'
    > env monitor_base '0'
    > setenv monitor_len '0x00100000'
    > etenv netmask '255.255.255.0'
    > env rootfsnfspath '192.168.40.19:/opt/target'
    > env serverip '192.168.40.19'
    > env stderr 'serial'
    > env stdin 'serial'
    > env stdout 'serial'
    > env tftp_kernel_enigma2 'tftp $load_addr uImage'
    > env tftp_kernel_name_enigma2 'uImage'
    > env tftp_kernel_name_spark 'mImage'
    > env tftp_kernel_name 'uImage'
    > env tftp_kernel_spark 'tftp $load_addr mImage'
    > env tftp_kernel 'tftp$load_addr $tftp_kernel_name'
    > setenv tftp_uboot 'tftp $load_addr u-boot.bin'
    > etenv tftp_userfs_enigma2 'tftp $load_addr e2jffs2.img'
    > env tftp_userfs_name 'e2jffs2.img'
    > env tftp_userfs_name_enigma2 'e2jffs2.img'
    > env tftp_userfs_name_spark 'userfsub.img'
    > env tftp_userfs_spark 'tftp $load_addr userfsub.img'
    > env tftp_userfs 'tftp $load_addr $tftp_userfs_name'
    > env uboot_name 'u-boot.bin'
    > env ubootnfspath '192.168.40.19:/opt/target'
    > setenv update eeprom 'write $load_addr $monitor_base $monitor_len'
    > etenv update_kernel_enigma2 'nand erase 0x18000000 0x00800000 ;nand write.i 0x80000000 0x18000000 $filesize'
    > env update_kernel 'nand erase 0x00100000 0x00a00000 ;nand write.i 0x80000000 0x00100000 $filesize'
    > env update_userfs_enigma2 'nand erase 0x18800000 0x07700000 ;nand write.jffs2 0x80000000 0x18800000 $filesize'
    > env update_userfs 'nand erase 0x01400000 0x16c00000 ;nan write.yaffs2 0x80000000 0x01400000 $filesize'
    > setenv userfs_base '0x0140000'
    > env userfs_base_enigma2 '0x18800000'
    > env userfs_base_spark '0x01400000'
    > env userfs_len '0x16c00000'
    > setenv userfs_len_enigma2 '0x07700000'
    > etenv userfs_len_spark '0x16c00000'
    > env userfs_name 'spark/userfsub.img'
    > env userfs_name_enigma2 'enigma2/e2jffs2.img'
    > env userfs_name_spark 'spark/userfsub.img'
    > env write_kernel_enigma2 'nand write.i 0x80000000 0x18000000 $filesize'
    > env write_kernel 'nand write.i 0x80000000 0x00100000 $filesize'
    > env write_userfs_enigma2 'nand write.jffs2 0x80000000 0x18800000 $filesize'
    > env write_userfs nand write.yaffs2 0x80000000 0x01400000 $filesize'
    Unknown command 'w' - try 'help'
    ## Booting image at 80000000 ...
    Bad Magic Number
    ## Booting image at 80000000 ...
    Bad Magic Number
    ## Booting image at 80000000 ...
    Bad Magic Number
    ## Booting image at 80000000 ...
    Bad Magic Number
    ## Booting image at 80000000 ...
    Bad Magic Number
    ## Booting image at 80000000 ...
    Bad Magic Number
    Unknown command 'rfs_name_enigma2' - try 'help'
    Usage:
    nand - NAND sub-system


    Usage:
    nand - NAND sub-system


    Usage:
    nand - NAND sub-system


    Usage:
    nand - NAND sub-system


    PDK7105> 'printenv
    > saveenv
    > reset
    >


    Board: STx7105-PDK [32-bit mode]



    U-Boot 1.3.1 (Jan 3 2013 - 11:17:06) - stm23_0051 - YW_1.1.007-bdevelop overclock


    DRAM: 256 MiB
    Panel: VFD
    NAND: Bad block table found at page 262080, version 0x01
    Bad block table found at page 262016, version 0x01
    512 MiB
    SPI: SPI Device status = 0x9c
    info: found s25sl016a (2MiB) device (page=256,erase=65536)
    SPI device status=0x9c
    warning: SPI device may be write-protected (status=0x9c)
    In: serial
    Out: serial
    Err: serial
    Ident ic exist
    Ident ic get stb id
    IdentID : 0c 00 0a 00 00 11 d4
    PDK7105>


    same again - "boot" and finish

  • The commands did not get entered ok. Try again cutting and pasting just 2-3 lines at a time starting with

    Code
    setenv board 'pdk7105'

    Make sure each time you get the whole line including both single quote marks ( ' ) and after each time you should get the

    Code
    PDK7105>

    command prompt back. If you get just

    Code
    >

    then it means you did not paste both single quote marks ( ' ). In that case, type another single quote ( ' ) by itself and return and try again.


    Every command should read

    Code
    setenv ....

    If it does not start with that, then there was something wrong with the input.


    Also at the end, you entered

    Code
    'printenv

    instead of just

    Code
    printenv

    So the command did not work, nor did any commands afterwards.



    BTW - when posting the output back here, it is best to use the "#" option and paste the output between the "[ CODE ]" and " [ /CODE ]". Then it will be put in a scrollable box like in my posts...

    Edited 2 times, last by joeuser ().

  • :20_003: my Alien is back !!!


    you´re great Joe, thank you so much!
    all is running on spark, maybe i will check e2 tomorrow.


    :14_002:

    Edited once, last by helcer ().

Spark STI 7162 Support

Support for Amiko Alien 2, Delta, Dynavision 7162, Galaxy Innovations Avatar 2, Galaxy Innovations Avatar 3, Golden Media Spark Triplex, Golden Media Spark One, Icecrypt S3700 CHD, SAB Unix Triple HD, Samsat Linux 2, Satcom 7162, Sogno Spark Triple, Startrack SRT 2020 HD Plus, Superbox Z500, Truman TOP-BOX, Truman TopBox 2 Tuner, Visionnet Falcon, Spark STI 7162 Receivers.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!