1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

DBOX2 erratic boot loader

Discussion in 'Digital TV - United States & Canada' started by loline, Jul 14, 2007.

  1. loline

    loline Member

    Joined:
    Mar 12, 2007
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    11
    Hello all,


    DBox2: Nokia (2x intel)
    Image: Sportster 1.7+ uk05_2x.img


    Box boots as follows:

    Code:
    ------------------------------------------------------------------
    debug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS
    debug: WATCHDOG RESET
    debug: BMon V1.0  mID 01
    debug: feID 7a    gtxID 0b
    debug: fpID 5a     dsID 01-f3.b5.43.07.00.00-99
    debug: HWrev X5  SWrev 0.81
    debug: B/Ex/Fl(MB) 32/00/08
    WATCHDOG reset enabled
    dbox2:root> debug: 
    BOOTP/TFTP bootstrap loader (v0.3)
    debug: 
    debug: Transmitting BOOTP request via broadcast
    
    debug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS
    debug: WATCHDOG RESET
    debug: BMon V1.0  mID 01
    debug: feID 7a    gtxID 0b
    debug: fpID 5a     dsID 01-f3.b5.43.07.00.00-99
    debug: HWrev X5  SWrev 0.81
    debug: B/Ex/Fl(MB) 32/00/08
    WATCHDOG reset enabled
    dbox2:root> debug: 
    BOOTP/TFTP bootstrap loader (v0.3)
    debug: 
    debug: Transmitting BOOTP request via broadcast
    
    debug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS
    debug: WATCHDOG RESET
    debug: BMon V1.0  mID 01
    debug: feID 7a    gtxID 0b
    debug: fpID 5a     dsID 01-f3.b5.43.07.00.00-99
    debug: HWrev X5  SWrev 0.81
    debug: B/Ex/Fl(MB) 32/00/08
    WATCHDOG reset enabled
    dbox2:root> debug: 
    BOOTP/TFTP bootstrap loader (v0.3)
    debug: 
    debug: Transmitting BOOTP request via broadcast
    
    ------------------------------------------------------------------
    .... eventually (sometimes after only a few loops as above, usually after some minutes, sometimes up to an hour) the front LCD shows 'lade...' and linux loads fully as follows:

    Code:
    ------------------------------------------------------------------
    
    debug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS
    debug: WATCHDOG RESET
    debug: BMon V1.0  mID 01
    debug: feID 7a    gtxID 0b
    debug: fpID 5a     dsID 01-f3.b5.43.07.00.00-99
    debug: HWrev X5  SWrev 0.81
    debug: B/Ex/Fl(MB) 32/00/08
    WATCHDOG reset enabled
    dbox2:root> debug: 
    BOOTP/TFTP bootstrap loader (v0.3)
    debug: 
    debug: Transmitting BOOTP request via broadcast
    debug: Given up BOOTP/TFTP boot
    boot net failed
    
    Flash-FS bootstrap loader (v1.5)
    
    Found Flash-FS superblock version 3.1
    Found file /root/platform/nokia-dbox2/kernel/os in Flash-FS
    debug: Got Block #0032
    
    will verify ELF image, start= 0x800000, size= 152952
    verify sig: 263
    Branching to 0x40000
    
    
    U-Boot 1.1.2 (TuxBox) (May 23 2004 - 21:44:01)
    
    CPU:   PPC823ZTnnA at 67.200 MHz: 2 kB I-Cache 1 kB D-Cache
             *** Warning: CPU Core has Silicon Bugs -- Check the Errata ***
    Board: DBOX2, Nokia, BMon V1.0
           Watchdog enabled
    I2C:   ready
    DRAM:  32 MB
    FLASH:  8 MB
    Scanning JFFS2 FS: ....... done.
    FB:    ready
    LCD:   ready
    In:    serial
    Out:   serial
    Err:   serial
    Net:   SCC ETHERNET
    
    Options:
      1: Console on null
      2: Console on ttyS0
      3: Console on framebuffer
    Select option (1-3), other keys to stop autoboot:  0 
    ...............................................................
    Un-Protected 63 sectors
    ### FS (jffs2) loading 'vmlinuz' to 0x100000
    ### FS load complete: 619057 bytes loaded to 0x100000
    ## Booting image at 00100000 ...
       Image Name:   dbox2
       Image Type:   PowerPC Linux Kernel Image (gzip compressed)
       Data Size:    618993 Bytes = 604.5 kB
       Load Address: 00000000
       Entry Point:  00000000
       Verifying Checksum ... OK
       Uncompressing Kernel Image ... OK
    Linux version 2.4.31-dbox2 (sportster@bar-wsl01) (gcc version 3.3.5) #21 So Jun 
    19 18:44:54 CEST 2005
    On node 0 totalpages: 8192
    zone(0): 8192 pages.
    zone(1): 0 pages.
    zone(2): 0 pages.
    Kernel command line: root=/dev/mtdblock2 rw console=ttyS0
    Decrementer Frequency = 252000000/60
    m8xx_wdt: active wdt found (SWTC: 0xFFFF, SWP: 0x1)
    m8xx_wdt: keep-alive trigger installed (PITC: 0x12C0)
    Console: colour dummy device 80x25
    Calibrating delay loop... 66.96 BogoMIPS
    Memory: 30888k available (1052k kernel code, 368k data, 60k init, 0k highmem)
    Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
    Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
    Mount cache hash table entries: 512 (order: 0, 4096 bytes)
    Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
    Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
    POSIX conformance testing by UNIFIX
    Linux NET4.0 for Linux 2.4
    Based upon Swansea University Computer Society NET3.039
    Initializing RT netlink socket
    Starting kswapd
    devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
    devfs: boot_options: 0x1
    JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.
    i2c-core.o: i2c core module version 2.6.1 (20010830)
    i2c-dev.o: i2c /dev entries driver module version 2.6.1 (20010830)
    CPM UART driver version 0.04
    ttyS0 at 0x0280 is on SMC1 using BRGttyS1 at 0x0380 is on SMC2 using BRG2
    pty: 256 Unix98 ptys configured
    eth0: CPM ENET Version 0.2.dbox2 on SCC2, 00:50:9c:40:a9:21
    D-Box 2 flash driver (size->0x800000 mem->0x10000000)
    D-Box 2 flash memory: Found 2 x16 devices at 0x0 in 32-bit mode
     Intel/Sharp Extended Query Table at 0x0035
    cfi_cmdset_0001: Erase suspend on write enabled
    Using word write method
    Creating 5 MTD partitions on "D-Box 2 flash memory":
    0x00000000-0x00020000 : "BR bootloader"
    0x00020000-0x00040000 : "flfs (u-boot)"
    0x00040000-0x00800000 : "root (jffs2)"
    0x00020000-0x00800000 : "flash without bootloader"
    0x00000000-0x00800000 : "complete flash"
    Linux video capture interface: v1.00
    mice: PS/2 mouse device common for all mice
    NET4: Linux TCP/IP 1.0 for NET4.0
    IP Protocols: ICMP, UDP, TCP
    IP: routing cache hash table of 512 buckets, 4Kbytes
    TCP: Hash tables configured (established 2048 bind 4096)
    NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
    cramfs: wrong magic
    VFS: Mounted root (jffs2 filesystem).
    Mounted devfs on /dev
    Freeing unused kernel memory: 60k init
    inflate returned -5
    
    
    
    ------------------------------------------------------------------
    ... can then ftp into box and upload image file. This image can then be flashed to box using the sportster menu.

    Box is then reset and boots as per initial contiuous loop as above until eventually it successfully loads all the way.

    All works as expected until channels are changed or menus are navigated then box eventually freezes.

    Have noticed that before box finally freezes the epg fails and restarting the epg usually leads to a freeze shortly after.

    I have had no luck in reflashing an image using IFA (tried with both patch cable (through a hub) and cross-over cable (direct from PC) together with a null-modem serial cable.

    Box is well ventilated etc. etc...


    Any ideas if this is a known Hardware, firmware or software problem?

    Thanks in advance for any advice at all.
     
  2. mgb17

    mgb17 Regular member

    Joined:
    Jan 29, 2007
    Messages:
    1,938
    Likes Received:
    0
    Trophy Points:
    46
    Try to flash via IFA.
    Disable winxp firewall and antivirus soft.
     
  3. loline

    loline Member

    Joined:
    Mar 12, 2007
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    11
    Hi mbg,

    All AV and Firewall software is disabled, IFA will eventually boot the box and start to transfer an image, but this fails before the image is fully uploaded. Usually results in a linux kernel panic with the box having to be manually rebooted.

    This could of course be due to something interrupting the transfer but with AV and FireWall off, I am at a loss to know what it may be. In any case does IFA accomplish any more than when an image is uploaded via ftp and flashed to the box using the sportser menu?

    As I said above, when I can get it to boot it loads all the way to a fully functioning box. Both the ftp and the webserver function, all external drives are mounted and I can record and playback... things start to fail as I navigate the menus and eventually the thing freezes. If the box were a PC I would suspect RAM or ROM failure.

    Thanks for your reply.
     

Share This Page