2009-08-28 02:48:06     Failed to boot up uClinux-2009R1-RC6

Document created by Aaronwu Employee on Aug 18, 2013
Version 1Show Document
  • View in full screen mode

2009-08-28 02:48:06     Failed to boot up uClinux-2009R1-RC6

roy xue (CHINA)

Message: 79341   

 

Hi,

 

I'm using uClinux-dist-2009R1-RC6, and 2009R1-RC7 toolchain.

 

There is a error about lzo , when compile. After unselect the mtd-utils it compile ok.

 

But the uImage failed to bootup.  Is there some thing I miss to configure?

 

----------------------------------------------------------

 

## Booting kernel from Legacy Image at 02000000 ...

   Image Name:   uClinux Kernel and ext2

   Created:      2009-08-28   3:07:56 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    7739872 Bytes =  7.4 MB

   Load Address: 00001000

   Entry Point:  00192914

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 00192914

 

 

 

Ack! Something bad happened to the Blackfin!

 

SEQUENCER STATUS:

SEQSTAT: 00000021  IPEND: 8008  SYSCFG: 0032

  HWERRCAUSE: 0x0: undef

  EXCAUSE   : 0x21: undef inst

  physical IVG15 asserted : <0x03f8087c> { _evt_default + 0x0 }

RETE: <0x00000000> /* Maybe null pointer? */

RETN: <0x00000000> /* Maybe null pointer? */

RETX: <0x00192960> /* unknown address */

RETS: <0x03f97822> { _do_bootm_linux + 0x66 }

RETI: <0x03f800da> { _start + 0xda }

DCPLB_FAULT_ADDR: <0x03fabba0> { ___smulsi3_highpart + 0xf3d0 }

ICPLB_FAULT_ADDR: <0x00192960> /* unknown address */

 

PROCESSOR STATE:

R0 : ffb00000    R1 : 03fc7164    R2 : 00000fa4    R3 : 00000008

R4 : 02761a20    R5 : 00000001    R6 : 00001000    R7 : ffb00000

P0 : ffb00000    P1 : 03f8406a    P2 : 03fabba0    P3 : 03fa9f18

P4 : 00192914    P5 : 03f1ff80    FP : 03f9315c    SP : 03f1f9bc

LB0: 03f9c780    LT0: 03f9c774    LC0: 00000000

LB1: 03f96ae2    LT1: 03f96adc    LC1: 00000000

B0 : 03f29eb0    L0 : 00000000    M0 : ffffffff    I0 : 00000009

B1 : 000001ff    L1 : 00000000    M1 : 03fa3a6c    I1 : 03f21a58

B2 : 0000003f    L2 : 00000000    M2 : 00000000    I2 : 00000003

B3 : 0000000f    L3 : 00000000    M3 : 00000000    I3 : 03f286f0

A0.w: fffb33cb   A0.x: ffffffff   A1.w: ffffeaa8   A1.x: ffffffff

USP : 00178000  ASTAT: 00003006

 

Hardware Trace:

   0 Target : <0x03f80620> { _bfin_panic + 0x0 }

     Source : <0x03f807a8> { _trap_c + 0x14c }

   1 Target : <0x03f8079c> { _trap_c + 0x140 }

     Source : <0x03f80678> { _trap_c + 0x1c }

   2 Target : <0x03f8065c> { _trap_c + 0x0 }

     Source : <0x03f80822> { _trap + 0x56 }

   3 Target : <0x03f807cc> { _trap + 0x0 }

     Source : <0x0019295e> /* unknown address */

   4 Target : <0x00192914> /* unknown address */

     Source : <0x03f97820> { _do_bootm_linux + 0x64 }

   5 Target : <0x03f97812> { _do_bootm_linux + 0x56 }

     Source : <0x03f87114> { _dcache_disable + 0x18 }

   6 Target : <0x03f870fc> { _dcache_disable + 0x0 }

     Source : <0x03f9780e> { _do_bootm_linux + 0x52 }

   7 Target : <0x03f9780e> { _do_bootm_linux + 0x52 }

     Source : <0x03f870b4> { _icache_disable + 0x18 }

   8 Target : <0x03f8709c> { _icache_disable + 0x0 }

     Source : <0x03f9780a> { _do_bootm_linux + 0x4e }

   9 Target : <0x03f977fa> { _do_bootm_linux + 0x3e }

     Source : <0x03f872f0> { _strncpy + 0x1c }

  10 Target : <0x03f872ee> { _strncpy + 0x1a }

     Source : <0x03f872e6> { _strncpy + 0x12 }

  11 Target : <0x03f872e0> { _strncpy + 0xc }

     Source : <0x03f872ec> { _strncpy + 0x18 }

  12 Target : <0x03f872e0> { _strncpy + 0xc }

     Source : <0x03f872ec> { _strncpy + 0x18 }

  13 Target : <0x03f872e0> { _strncpy + 0xc }

     Source : <0x03f872ec> { _strncpy + 0x18 }

  14 Target : <0x03f872e0> { _strncpy + 0xc }

     Source : <0x03f872ec> { _strncpy + 0x18 }

  15 Target : <0x03f872e0> { _strncpy + 0xc }

     Source : <0x03f872ec> { _strncpy + 0x18 }

 

### ERROR ### Please RESET the board ###

 

------------------------------------------------------------------------------------------------------

 

Thanks

 

Roy

QuoteReplyEditDelete

 

 

2009-08-28 03:13:44     Re: Failed to boot up uClinux-2009R1-RC6

Mike Frysinger (UNITED STATES)

Message: 79342   

 

rc7 toolchain is not the released version.  upgrade to the right version.

QuoteReplyEditDelete

 

 

2009-08-28 04:40:38     Re: Failed to boot up uClinux-2009R1-RC6

roy xue (CHINA)

Message: 79347   

 

Hi,Mike

 

I have change to toolchain r1-rc10, but the error still.

 

------------------------------------------------------------------------------

 

## Booting kernel from Legacy Image at 02000000 ...

   Image Name:   uClinux Kernel and ext2

   Created:      2009-08-28   8:35:25 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    8017965 Bytes =  7.6 MB

   Load Address: 00001000

   Entry Point:  00192914

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 00192914

 

 

 

Ack! Something bad happened to the Blackfin!

 

SEQUENCER STATUS:

SEQSTAT: 00000021  IPEND: 8008  SYSCFG: 0032

  HWERRCAUSE: 0x0: undef

  EXCAUSE   : 0x21: undef inst

  physical IVG15 asserted : <0x03f8087c> { _evt_default + 0x0 }

RETE: <0x00000000> /* Maybe null pointer? */

RETN: <0x00000000> /* Maybe null pointer? */

RETX: <0x00249460> /* unknown address */

RETS: <0x03f97822> { _do_bootm_linux + 0x66 }

RETI: <0x03f800da> { _start + 0xda }

DCPLB_FAULT_ADDR: <0x03fabba0> { ___smulsi3_highpart + 0xf3d0 }

ICPLB_FAULT_ADDR: <0x00249460> /* unknown address */

 

PROCESSOR STATE:

R0 : ffb00000    R1 : 00192960    R2 : 00000fa4    R3 : 00000008

R4 : 027a586d    R5 : 00000001    R6 : 00001000    R7 : ffb00000

P0 : ffb00000    P1 : 03f8406a    P2 : 03fabba0    P3 : 03fa9f18

P4 : 00192914    P5 : 03f1ff80    FP : 03f9315c    SP : 03f1f9bc

LB0: 03f9c780    LT0: 03f9c774    LC0: 00000000

LB1: 03f96ae2    LT1: 03f96adc    LC1: 00000000

B0 : 03f29c88    L0 : 00000000    M0 : ffffffff    I0 : 00000008

B1 : 000001ff    L1 : 00000000    M1 : 03fa3a6c    I1 : 03f21a58

B2 : 0000003f    L2 : 00000000    M2 : 00000000    I2 : 00000063

B3 : 0000000f    L3 : 00000000    M3 : 00000000    I3 : 03f28700

A0.w: fffb33cb   A0.x: ffffffff   A1.w: ffffeaa8   A1.x: ffffffff

USP : 00178000  ASTAT: 00003006

 

Hardware Trace:

   0 Target : <0x03f80620> { _bfin_panic + 0x0 }

     Source : <0x03f807a8> { _trap_c + 0x14c }

   1 Target : <0x03f8079c> { _trap_c + 0x140 }

     Source : <0x03f80678> { _trap_c + 0x1c }

   2 Target : <0x03f8065c> { _trap_c + 0x0 }

     Source : <0x03f80822> { _trap + 0x56 }

   3 Target : <0x03f807cc> { _trap + 0x0 }

     Source : <0x0024945e> /* unknown address */

   4 Target : <0x00192914> /* unknown address */

     Source : <0x03f97820> { _do_bootm_linux + 0x64 }

   5 Target : <0x03f97812> { _do_bootm_linux + 0x56 }

     Source : <0x03f87114> { _dcache_disable + 0x18 }

   6 Target : <0x03f870fc> { _dcache_disable + 0x0 }

     Source : <0x03f9780e> { _do_bootm_linux + 0x52 }

   7 Target : <0x03f9780e> { _do_bootm_linux + 0x52 }

     Source : <0x03f870b4> { _icache_disable + 0x18 }

   8 Target : <0x03f8709c> { _icache_disable + 0x0 }

     Source : <0x03f9780a> { _do_bootm_linux + 0x4e }

   9 Target : <0x03f977fa> { _do_bootm_linux + 0x3e }

     Source : <0x03f872f0> { _strncpy + 0x1c }

  10 Target : <0x03f872ee> { _strncpy + 0x1a }

     Source : <0x03f872e6> { _strncpy + 0x12 }

  11 Target : <0x03f872e0> { _strncpy + 0xc }

     Source : <0x03f872ec> { _strncpy + 0x18 }

  12 Target : <0x03f872e0> { _strncpy + 0xc }

     Source : <0x03f872ec> { _strncpy + 0x18 }

  13 Target : <0x03f872e0> { _strncpy + 0xc }

     Source : <0x03f872ec> { _strncpy + 0x18 }

  14 Target : <0x03f872e0> { _strncpy + 0xc }

     Source : <0x03f872ec> { _strncpy + 0x18 }

  15 Target : <0x03f872e0> { _strncpy + 0xc }

     Source : <0x03f872ec> { _strncpy + 0x18 }

 

### ERROR ### Please RESET the board ###

 

-------------------------------------------------------------------------------------------------

 

Regards

 

Roy

QuoteReplyEditDelete

 

 

2009-08-28 05:20:27     Re: Failed to boot up uClinux-2009R1-RC6

Mike Frysinger (UNITED STATES)

Message: 79352   

 

are you sure you recompiled everything ?  you need to do `make clean` and rebuild all of the kernel/uclinux-dist.  hitting undefined instruction is pretty weird.

QuoteReplyEditDelete

 

 

2009-08-28 12:41:20     Re: Failed to boot up uClinux-2009R1-RC6

Ron Weiland (UNITED STATES)

Message: 79365   

 

As far as your lzo error is concerned, make sure you have the libizo development installed on your host.  (For my Ubuntu 9.04, it is liblzo2-dev.)  I had the same problem.

QuoteReplyEditDelete

 

 

2009-08-28 21:26:31     Re: Failed to boot up uClinux-2009R1-RC6

roy xue (CHINA)

Message: 79370   

 

Hi,

 

I have miss change the venor makefile so the kernel can't boot up. I change the Makefile bak and the kernel can boot up now.

 

I have install lzo-devel-1.08-5.el5.rf   lzo-1.08-5.el5.rf lzo2-2.02-3.el5.rf in my centos-5 .The mtd-utils can work now.

 

Thanks

 

Roy

Attachments

    Outcomes