Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 10 Feb 2006 10:41 AM by  peter.barada@logicpd.com
Boot linux image problem on CF5485EVB, kernel panic
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages
yingbohu
New Member
New Member
Posts:


--
25 Jan 2006 11:31 AM
    I try to boot the sample linux image on 5485EvB. I have donwloaded and
    burnt all the image to the flash according to the instruction. but when I
    boot the kernel, some kernel panic will occur, following is the log:


    *****************************************************************
    LogicLoader

    (c) Copyright 2002-2005, Logic Product Development, Inc.
    All Rights Reserved.
    Version 2.0.4-MCF5485_10 0001
    *****************************************************************

    losh> add-yahh  ffs flash nor 0xe0000000 0x01000000
    add-yaffs: inserted: start 0xe0000000 - len 0x1000000
    losh> mount yaffs /flash
    Mounting a YAFFS partition.

    ---------------------------------------------------
    Starting YAFFS file system:
    Current YAFFS partition table:
    0: flash 00000000 - 0000007f ( 0)
    1: <NULL>
    2: <NULL>
    3: <NULL>
    YAFFS initialized.
    ---------------------------------------------------

    losh> laod   oad elf /flash/bot ot/vmlinux
    loading from /flash/boot/vmlinux:
    ................................................................................
    ............................................................................
    warning: guessing combined program header size as 66800
    loaded 1254352 @ 0x000c0000 Ram
    md5sum of _loaded_ portion of the file:
    45dfbe6a2d8420c128eb14df81e195ff - addr: 000c0000 len: 001323d0
    file loaded
    losh> exec
    Linux version 2.4.26 (peter@fast) (gcc version 3.4.3) #7 Thu Oct 20 08:13:35
    EDT
    2005
    starting up linux rev 0.2: startmem 0xc022e000, size 61MB
    Flex CS0: ff800000 007f0001 00100d80
    Flex CS1: e0000000 07ff0001 00100d80
    Flex CS4: 40000000 0fff0001 00103580
    Flex CS5: 50000000 0fff0001 00101580
    On node 0 totalpages: 8192
    zone(0): 1024 pages.
    zone(1): 7168 pages.
    zone(2): 0 pages.
    Kernel command line: root=/dev/mtdblock/2 rootfstype=yaffs rw
    Have no hardware time clock, returning ToD as 00:00:00 on 1 Jan 1970
    *** ILLEGAL INSTRUCTION *** FORMAT=4
    Current process id is 0
    BAD KERNEL TRAP: 00000000
    PC: [<c00470ce>]
    SR: 2704 SP: c022bf84 a2: c022a000
    d0: 00000001 d1: 00000000 d2: c01eb610 d3: 00000001
    d4: 00000000 d5: 00000000 a0: c01b2f70 a1: c01b1da0
    Process swapper (pid: 0, stackpage=c022c000)
    Fault Status=0x0:Normal
    Stack from c022bfb8:
    c00dd3ae c021f322 00000000 00000084 00000000 c022bfd8 c01b2f2c
    00000000
    c022bffc 00000001 00000000 c01eb610 c01eb610 c022bffc c021cc34
    000494f0
    c01e251c 00000000
    Call Trace:
    [<c00dd3ae>]
    Code: efff ffff efff ffff f5df ffff ffff ffff fffb ffff
    Kernel panic: Attempted to kill the idle task!
    In idle task - not syncing

    What can help me the resolve this problem?
    peter.barada@logicpd.com
    New Member
    New Member
    Posts:72


    --
    10 Feb 2006 10:41 AM
    There is a bug in LoLo version 2.0.4 and up. The issue is that the download buffer was moved up in memory, and when we load the elf file, the sections have to be moved around in memory, and unfortunately the order of hte copies in incorrect.

    We're working on a new release of LoLo, but in the meantime, you can downgrad to version 2.0.2, and things should work for you.
    You are not authorized to post a reply.