AnsweredAssumed Answered

BF609-ezkit run vmImage and rootfs.jffs2 hung up

Question asked by del0413@yeah.net on Apr 22, 2013
Latest reply on Apr 25, 2013 by Aaronwu

Hi, friends over blackfin'uC:

     when we use bf609-ezkit run vmImage rootfs.jffs2 , it appear error below (the partion and u-boot flash adresss is adjust compatibale):

 

U-Boot 2012.07-rc2 (ADI-2012R2) (Apr 18 2013 - 20:30:46)

 

CPU:   ADSP bf609-0.0 (Detected Rev: 0.0) (parallel 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: 25

0 MHz

RAM:   128 MiB

Flash: 16 MiB

MMC:   Blackfin SDH: 0

In:    serial

Out:   serial

Err:   serial

KGDB:  [on serial] ready

other init

Net:   mii0

Hit any key to stop autoboot:  0

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

   Image Name:   bf609-0.0-3.5.7-ADI-2012R2

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    1497786 Bytes = 1.4 MiB

   Load Address: 00001000

   Entry Point:  0028fa80

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 0028fa80

Linux version 3.5.7-ADI-2012R2 (root@debian) (gcc version 4.3.5 (ADI-2012R2-RC2)

) #1 Fri Apr 19 00:10:40 PDT 2013

register early platform devices

bootconsole [early_shadow0] enabled

ERROR: Not running on ADSP-BF609: unknown CPUID 0x0000 Rev 0.0

bootconsole [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 128MB

Kernel Managed Memory: 128MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x001c11f0

  rodata    = 0x001c1214-0x00251628

  bss       = 0x00252000-0x002652f8

  data      = 0x00265300-0x0028c000

    stack   = 0x0028a000-0x0028c000

  init      = 0x0028c000-0x002ab000

  available = 0x002ab000-0x07f00000

  DMA Zone  = 0x07f00000-0x08000000

Hardware Trace active and enabled

Blackfin support (C) 2004-2010 Analog Devices, Inc.

Compiled for ADSP-BF609 Rev 0.0

Blackfin Linux support by http://blackfin.uclinux.org/

Processor Speed: 500 MHz core clock, 125 MHz SCLk, 125 MHz SCLK0, 125 MHz SCLK1

and 250 MHz DCLK

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

  External memory: cacheable in instruction cache

  L2 SRAM        : uncacheable in instruction cache

Data Cache Enabled for CPU0

  External memory: cacheable (write-back) in data cache

  L2 SRAM        : uncacheable in data cache

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 32258

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=(25000000) earlyprintk=seri

al,uart0,57600 console=ttyBF0,57600

PID hash table entries: 512 (order: -1, 2048 bytes)

Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)

Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)

Memory available: 126148k/131072k RAM, (124k init code, 1792k kernel code, 812k

data, 1024k dma, 1172k reserved)

NR_IRQS:291

Configuring Blackfin Priority Driven Interrupts

Console: colour dummy device 80x25

console [ttyBF0] enabled, bootconsole disabled

console [ttyBF0] enabled, bootconsole disabled

Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)

pid_max: default: 32768 minimum: 301

Mount-cache hash table entries: 512

devtmpfs: initialized

Blackfin Scratchpad data SRAM: 4 KB

Blackfin L1 Data A SRAM: 16 KB (9 KB free)

Blackfin L1 Data B SRAM: 16 KB (16 KB free)

Blackfin L1 Instruction SRAM: 64 KB (51 KB free)

Blackfin L2 SRAM: 256 KB (256 KB free)

NET: Registered protocol family 16

Blackfin DMA Controller

ezkit_init(): registering device resources

ezkit_init(): request emac pins failed

bio: create slab <bio-0> at 0

SCSI subsystem initialized

bfin-spi bfin-spi.0: master is unqueued, this is deprecated

bfin-spi bfin-spi.0: bfin-spi probe success

bfin-spi bfin-spi.1: master is unqueued, this is deprecated

bfin-spi bfin-spi.1: bfin-spi probe success

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

i2c-bfin-twi i2c-bfin-twi.0: Blackfin on-chip I2C TWI Contoller, regs_base@ffc01

e00

i2c-bfin-twi i2c-bfin-twi.1: Blackfin on-chip I2C TWI Contoller, regs_base@ffc01

f00

pps_core: LinuxPPS API ver. 1 registered

pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@l

inux.it>

PTP clock support registered

NET: Registered protocol family 23

Switching to clocksource bfin_cs_cycles

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 4096 (order: 3, 32768 bytes)

TCP bind hash table entries: 4096 (order: 2, 16384 bytes)

TCP: Hash tables configured (established 4096 bind 4096)

TCP: reno registered

UDP hash table entries: 256 (order: 0, 4096 bytes)

UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

NET: Registered protocol family 1

Kernel panic - not syncing: junk in compressed archive

Hardware Trace:

   0 Target : <0x001c0ea4> { _dump_stack + 0x0 }

     Source : <0x001c0f44> { _panic + 0x68 } CALL pcrel

   1 Target : <0x001c0f32> { _panic + 0x56 }

     Source : <0x0000c2ba> { _test_taint + 0x2a } RTS

   2 Target : <0x0000c290> { _test_taint + 0x0 }

     Source : <0x001c0f2e> { _panic + 0x52 } CALL pcrel

   3 Target : <0x001c0f2c> { _panic + 0x50 }

     Source : <0x001c10ea> { _printk + 0x26 } RTS

   4 Target : <0x001c10e6> { _printk + 0x22 }

     Source : <0x0000e332> { _vprintk_emit + 0x11e } RTS

   5 Target : <0x0000e32a> { _vprintk_emit + 0x116 }

     Source : <0xffa00d30> { __common_int_entry + 0xcc } RTI

   6 Target : <0xffa00cce> { __common_int_entry + 0x6a }

     Source : <0xffa00b18> { _return_from_int + 0x58 } RTS

   7 Target : <0xffa00b18> { _return_from_int + 0x58 }

     Source : <0xffa00aee> { _return_from_int + 0x2e } IF !CC JUMP pcrel

   8 Target : <0xffa00ac0> { _return_from_int + 0x0 }

     Source : <0xffa00cca> { __common_int_entry + 0x66 } JUMP.L

   9 Target : <0xffa00cc8> { __common_int_entry + 0x64 }

     Source : <0xffa00fa8> { _do_irq + 0x1c } RTS

  10 Target : <0xffa00fa2> { _do_irq + 0x16 }

     Source : <0xffa00474> { _asm_do_IRQ + 0x60 } RTS

  11 Target : <0xffa0046c> { _asm_do_IRQ + 0x58 }

     Source : <0x000125ae> { _irq_exit + 0x4a } RTS

  12 Target : <0x000125aa> { _irq_exit + 0x46 }

     Source : <0x0003bc6c> { _rcu_irq_exit + 0x4c } RTS

  13 Target : <0x0003bc66> { _rcu_irq_exit + 0x46 }

     Source : <0x0003bc58> { _rcu_irq_exit + 0x38 } IF CC JUMP pcrel (BP)

  14 Target : <0x0003bc56> { _rcu_irq_exit + 0x36 }

     Source : <0x0003bbc4> { _rcu_idle_enter_common + 0x38 } RTS

  15 Target : <0x0003bbbe> { _rcu_idle_enter_common + 0x32 }

     Source : <0x0003bba2> { _rcu_idle_enter_common + 0x16 } IF !CC JUMP pcrel

Stack info:

SP: [0x0401ff18] <0x0401ff18> /* kernel dynamic memory (maybe user-space) */

FP: (0x0401ff6c)

Memory from 0x0401ff10 to 04020000

0401ff10: 0401ff18  00000000 [00000000] 0401ff3c  001c0f48  002a57a4  002068e4

ffa0217c

0401ff30: 002562bc  0000001a  0401ff64  0401ff6c  0028dba8  002a57a4  0028db6c

00252008

0401ff50: 00000006  00252010  00000058  00000000  00252010  0032e460  00000014 (

0401ff90)

0401ff70:<00001106> 002a57a4  0028db6c  00000000  00000000  00000000  00000005

00000005

0401ff90:(0401ffd0) 0028c266  002a57a4  0029fdd4  0029fdb4  00000006  00252010

00000058

0401ffb0: 0028c10c  00211f0c  00000000  002510a4  00000058  00000005  00000005

0028c10c

0401ffd0:(00000000)<000015e6> 00000000  00000000  00000000  00000000  00000000

00000000

0401fff0: 00000000  00000000  ffffffff  00002806

Return addresses in stack:

   frame  1 : <0x00001106> { _do_one_initcall + 0x106 }

   frame  3 : <0x000015e6> { _kernel_thread_helper + 0x6 }

 

and we trace the error,find it islocated at the initramfs.c  line 470

if (state != Reset)

                error("junk in compressed archive");

                this_header = saved_offset + my_inptr;

                buf += my_inptr;

                len -= my_inptr;

the state is null?  why?and what cause the error

Thank you for your support,dear ADI

Outcomes