Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 24339

Re: BF609 uClinux booting fails

$
0
0

Hello,

 

I got this error like Mack, My toolchain version is 4.3.5

 

jeremy@Jeremy-NB:~/blackfin-sources/buildroot/linux/linux-kernel$ bfin-uclinux-gcc --version

bfin-uclinux-gcc (ADI-2014R1-RC2) 4.3.5

Copyright (C) 2008 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.  There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 

I used "make BF609-EZKIT_defconfig" to "make menuconfig", and I only change items as follows

General setup --->

  (18) Kernel log buffer size ..

  (13) CPU kernel log buffer size contribution ...

  [*]Optimize for size

 

My target: BF609 ezlite kit

Kernel distribution: Buildroot 2014R1.

Host: Uuntu 14.04

 

U-Boot 2013.07 (ADI-2014R1) (Jul 09 2014 - 18:58:34)                                                                                           

                                                                                                                                               

CPU:   ADSP bf609-0.0 (Detected Rev: 0.0) (spi flash boot)                                                                                     

Board: ADI BF609 EZ-Kit board                                                                                                                  

       Support: http://blackfin.uclinux.org/                                                                                                   

Clock: VCO: 500 MHz, Core: 500 MHz, System0: 125 MHz, System1: 125 MHz, Dclk: 250 MHz                                                          

RAM:   128 MiB                                                                                                                                 

Flash: 16 MiB                                                                                                                                  

MMC:   Blackfin SDH: 0                                                                                                                         

SF: Detected W25Q32BV/W25Q32FV_SPI with page size 4 KiB, total 4 MiB                                                                           

*** Warning - bad CRC, using default environment                                                                                               

                                                                                                                                               

In:    serial                                                                                                                                  

Out:   serial                                                                                                                                  

Err:   serial                                                                                                                                  

KGDB:  [on serial] ready                                                                                                                       

other init                                                                                                                                     

Net:   mii0                                                                                                                                    

                                                                                                                                               

Log buffer from operating system:                                                                                                              

Linux version 3.17.0-ADI-2014R1-prejeremy-g6ed858d-dirty (jeremy@Jeremy-NB) (gcc version 4.3.5 (ADI-2014R1-RC2) ) #50 Sat Nov 15 02:46:20 CST 24

arch/blackfin/kernel/early_printk.c : 174 [init_early_exception_vectors]                                                                       

Running on wrong machine type, expected                                                                                                        

Hit any key to stop autoboot:  0                                                                                                               

bfin> tftpboot 0x1000000 uImage.gz                                                                                                             

Waiting for PHY auto negotiation to complete. done                                                                                             

ENET Speed is 100 Mbps - FULL duplex connection                                                                                                

Using mii0 device                                                                                                                              

TFTP from server 192.168.0.2; our IP address is 192.168.0.15                                                                                   

Filename 'uImage.gz'.                                                                                                                          

Load address: 0x1000000                                                                                                                        

Loading: #################################################################                                                                     

         #############################################                                                                                         

         5.9 MiB/s                                                                                                                             

done                                                                                                                                           

Bytes transferred = 1609138 (188db2 hex)                                                                                                       

bfin> boot                                                                                                                                     

Using mii0 device                                                                                                                              

TFTP from server 192.168.0.2; our IP address is 192.168.0.15                                                                                   

Filename 'uImage'.                                                                                                                             

Load address: 0x1000000                                                                                                                        

Loading: *                                                                                                                                     

TFTP error: 'File not found' (1)                                                                                                               

Not retrying...                                                                                                                                

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

   Image Name:   bf609-0.0-3.17.0-ADI-2014R1-pre-                                                                                              

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)                                                                                 

   Data Size:    1609074 Bytes = 1.5 MiB                                                                                                       

   Load Address: 00001000                                                                                                                      

   Entry Point:  00313904                                                                                                                      

   Verifying Checksum ... OK                                                                                                                   

   Uncompressing Kernel Image ... OK                                                                                                           

Starting Kernel at = 00313904                                                                                                                  

                                                                                                                                               

                                                                                                                                               

                                                                                                                                               

Ack! Something bad happened to the Blackfin!                                                                                                   

                                                                                                                                               

SEQUENCER STATUS:                                                                                                                              

SEQSTAT: 00000007  IPEND: 2806  SYSCFG: 0001                                                                                                  

  HWERRCAUSE: 0x0: undef                                                                                                                       

  EXCAUSE   : 0x7: custom exception                                                                                                            

  physical IVG11 asserted : <0x07f40584> { _evt_default + 0x0 }                                                                                

  physical IVG13 asserted : <0x07f40584> { _evt_default + 0x0 }                                                                                

RETE: <0x08004008> { ___ashldi3 + 0x9cc20 }                                                                                                   

RETN: <0x0030ffb8> /* unknown address */                                                                                                      

RETX: <0xffa0158e> { __etext_l1 + 0x157e }                                                                                                    

RETS: <0x003133a0> /* unknown address */                                                                                                      

RETI: <0x07f4010c> { _start + 0x10c }                                                                                                         

DCPLB_FAULT_ADDR: <0x0030ffc4> /* unknown address */                                                                                           

ICPLB_FAULT_ADDR: <0xffa0158e> { __etext_l1 + 0x157e }                                                                                         

                                                                                                                                               

PROCESSOR STATE:                                                                                                                               

R0 : 0030ffc8    R1 : 00000000    R2 : 00000007    R3 : 000005fd                                                                              

R4 : c8000fa2    R5 : 00001000    R6 : 000027fe    R7 : 00000004                                                                              

P0 : 0023e16c    P1 : 000005fd    P2 : 00325c4c    P3 : 07f7a494                                                                              

P4 : 00000001    P5 : 00000004    FP : 0030ffd0    SP : ffb00f18                                                                              

LB0: 07f67318    LT0: 07f67318    LC0: 00000000                                                                                               

LB1: 07f5fa3a    LT1: 07f5fa36    LC1: 00000000                                                                                               

B0 : 000001ff    L0 : 00000000    M0 : 00000005    I0 : 07ebd820                                                                              

B1 : 00000001    L1 : 00000000    M1 : 00000000    I1 : 01188db1                                                                              

B2 : 07ec2b08    L2 : 00000000    M2 : 04000efe    I2 : ffffffff                                                                              

B3 : 07ec20f0    L3 : 00000000    M3 : 00000000    I3 : 0000003f                                                                              

A0.w: 27a1686a   A0.x: 00000000   A1.w: 0000afab   A1.x: 00000000                                                                              

USP : 00310000  ASTAT: 02003004                                                                                                                

                                                                                                                                               

Hardware Trace:                                                                                                                                

   0 Target : <0x07f410f8> { _trap_c + 0x0 }                                                                                                   

     Source : <0x07f403f8> { _trap + 0x6c }                                                                                                    

   1 Target : <0x07f4038c> { _trap + 0x0 }                                                                                                     

     Source : <0xffa0158c> { __etext_l1 + 0x157c }                                                                                             

   2 Target : <0xffa0158c> { __etext_l1 + 0x157c }                                                                                             

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

   3 Target : <0x0031337c> /* unknown address */                                                                                               

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

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

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

   5 Target : <0x00313324> /* unknown address */                                                                                               

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

   6 Target : <0x00313301> /* unknown address */                                                                                               

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

   7 Target : <0x003132e0> /* unknown address */                                                                                               

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

   8 Target : <0x00312f44> /* unknown address */                                                                                               

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

   9 Target : <0x00313324> /* unknown address */                                                                                               

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

  10 Target : <0x00313301> /* unknown address */                                                                                               

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

  11 Target : <0x003132e0> /* unknown address */                                                                                               

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

  12 Target : <0x00312f30> /* unknown address */                                                                                               

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

  13 Target : <0x00313324> /* unknown address */                                                                                               

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

  14 Target : <0x00313301> /* unknown address */                                                                                               

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

  15 Target : <0x003132e0> /* unknown address */                                                                                               

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

                                                                                                                                               

kgdb: handle_exception; trap [0x4]                                                                                                             

$T0435:8e15a0ff;0e:e4fe3000;#26

 

Thank you for your help

 

Best regard,

Jeremy


Viewing all articles
Browse latest Browse all 24339

Trending Articles