2010-03-09 16:44:03     BF548-EKZIT doesn't boot 2.6.33

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

2010-03-09 16:44:03     BF548-EKZIT doesn't boot 2.6.33

Peter Naulls (UNITED STATES)

Message: 87005   

 

There's some change in 2.6.33 that causes my EZKIT not to fully boot.  I went back to the default config, so I don't think it is that.  I have tried various versions from SVN since the change to the current trunk, and all have this fault.  The problem is a bit insidious, perhaps due to some incomplete dependency, but if I do an SVN update without doing a clean on the kernel, I may get a version which boots.  This suggests the problem might might be in a header file.  Anyway:

 

 

 

Linux version 2.6.33-ADI-2010R1-pre-svn8393 (peter@lego) (gcc version 4.3.3 (ADI-09r1-10) ) #86 Tue Mar 9 13:36:26 PST 2010

register early platform devices

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart1] enabled

early printk enabled on early_BFuart1

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x001b6260

  rodata    = 0x001b6260-0x00252408

  bss       = 0x00253000-0x0026a970

  data      = 0x0026a970-0x0028a000

    stack   = 0x00288000-0x0028a000

  init      = 0x0028a000-0x01040000

  available = 0x01040000-0x03e00000

  DMA Zone  = 0x03e00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 3

Reset caused by Software reset

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

Compiled for ADSP-BF548 Rev 0.2

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 525 MHz core clock and 131 MHz System Clock

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-through) in data cache

  L2 SRAM        : uncacheable in data cache

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

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart1,57600 console=ttyBF1,57600 ip=192.168.0.15:1f

PID hash table entries: 256 (order: -2, 1024 bytes)

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

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Memory available: 46280k/65536k RAM, (14040k init code, 1748k kernel code, 848k data, 2048k dma, 572k reserved)

Hierarchical RCU implementation.

NR_IRQS:295

Configuring Blackfin Priority Driven Interrupts

Console: colour dummy device 80x25

console [ttyBF1] enabled, bootconsole disabled

console [ttyBF1] enabled, bootconsole disabled

Calibrating delay loop... 1046.52 BogoMIPS (lpj=2093056)

Mount-cache hash table entries: 512

 

 

It always gets stuck here.

 

Under 2.6.32.x it goes on with:

 

Blackfin Scratchpad data SRAM: 4 KB                                                                                               

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

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

Blackfin L1 Instruction SRAM: 48 KB (42 KB free)                                                                                  

Blackfin L2 SRAM: 128 KB (128 KB free)  

 

...

 

So this may point to the problem.

 

Thanks.

QuoteReplyEditDelete

 

 

2010-03-09 18:34:00     Re: BF548-EKZIT doesn't boot 2.6.33

Mike Frysinger (UNITED STATES)

Message: 87007   

 

my ezkit boots just fine with the defconfig.  can you post your actual .config file ?

 

U-Boot 2009.11.1-00096-gd101ca4 (ADI-2010R1-pre) (Mar 04 2010 - 21:58:24)

 

CPU:   ADSP bf548-0.0 (Detected Rev: 0.2) (parallel flash boot)

Board: ADI BF548 EZ-Kit board

       Support:   blackfin.uclinux.org/

Clock: VCO: 525 MHz, Core: 525 MHz, System: 131.250 MHz

RAM:   64 MB

Flash: 16 MB

NAND:  256 MiB

MMC:  Blackfin SDH: 0

In:    serial

Out:   serial

Err:   serial

KGDB:  [on serial] ready

Net:   smc911x-0

Hit any key to stop autoboot:  0

smc911x: detected LAN9218 controller

smc911x: phy initialized

smc911x: MAC 00:e0:22:fe:bd:04

Using smc911x-0 device

TFTP from server 192.168.1.2; our IP address is 192.168.1.15

Filename 'uImage'.

Load address: 0x1000000

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

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

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

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

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

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

done

Bytes transferred = 5022220 (4ca20c hex)

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

   Image Name:   bf548-2.6.33-ADI-2010R1-pre-0033

   Created:      2010-03-09  23:29:32 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    5022156 Bytes =  4.8 MB

   Load Address: 00001000

   Entry Point:  0029ca04

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 0029ca04

Linux version 2.6.33-ADI-2010R1-pre-00335-g2dea689-dirty (vapier@vapier-m) (gcc version 4.3.4 (ADI-trunk/git-e151328) ) #13 Tue Mar 9 18:29:27 EST 2010

register early platform devices

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart1] enabled

early printk enabled on early_BFuart1

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x001b6420

  rodata    = 0x001b6420-0x00252560

  bss       = 0x00253000-0x0026a970

  data      = 0x0026a970-0x0028a000

    stack   = 0x00288000-0x0028a000

  init      = 0x0028a000-0x00849000

  available = 0x00849000-0x03e00000

  DMA Zone  = 0x03e00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 1

Reset caused by Software reset

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

Compiled for ADSP-BF548 Rev 0.2

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 525 MHz core clock and 131 MHz System Clock

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-through) in data cache

  L2 SRAM        : uncacheable in data cache

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

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart1,57600 console=tty0 console=ttyBF1,57600 ip=192.168.1.15:192.168.1.2:192.168.0.1:255.2

55.255.0:bf548-ezkit:eth0:off

PID hash table entries: 256 (order: -2, 1024 bytes)

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

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Memory available: 54436k/65536k RAM, (5884k init code, 1749k kernel code, 847k data, 2048k dma, 572k reserved)

Hierarchical RCU implementation.

NR_IRQS:295

Configuring Blackfin Priority Driven Interrupts

Console: colour dummy device 80x25

Linux version 2.6.33-ADI-2010R1-pre-00335-g2dea689-dirty (vapier@vapier-m) (gcc version 4.3.4 (ADI-trunk/git-e151328) ) #13 Tue Mar 9 18:29:27 EST 2010

register early platform devices

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart1] enabled

early printk enabled on early_BFuart1

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x001b6420

  rodata    = 0x001b6420-0x00252560

  bss       = 0x00253000-0x0026a970

  data      = 0x0026a970-0x0028a000

    stack   = 0x00288000-0x0028a000

  init      = 0x0028a000-0x00849000

  available = 0x00849000-0x03e00000

  DMA Zone  = 0x03e00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 1

Reset caused by Software reset

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

Compiled for ADSP-BF548 Rev 0.2

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 525 MHz core clock and 131 MHz System Clock

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-through) in data cache

  L2 SRAM        : uncacheable in data cache

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

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart1,57600 console=tty0 console=ttyBF1,57600 ip=192.168.1.15:192.168.1.2:192.168.0.1:255.2

55.255.0:bf548-ezkit:eth0:off

PID hash table entries: 256 (order: -2, 1024 bytes)

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

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Memory available: 54436k/65536k RAM, (5884k init code, 1749k kernel code, 847k data, 2048k dma, 572k reserved)

Hierarchical RCU implementation.

NR_IRQS:295

Configuring Blackfin Priority Driven Interrupts

Console: colour dummy device 80x25

console [tty0] enabled

console [ttyBF1] enabled, bootconsole disabled

console [ttyBF1] enabled, bootconsole disabled

Calibrating delay loop... 1046.52 BogoMIPS (lpj=2093056)

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

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

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

Blackfin L1 Instruction SRAM: 48 KB (42 KB free)

Blackfin L2 SRAM: 128 KB (128 KB free)

NET: Registered protocol family 16

Blackfin DMA Controller

ezkit_init(): registering device resources

bio: create slab <bio-0> at 0

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

Advanced Linux Sound Architecture Driver Version 1.0.21.

Switching to clocksource jiffies

musb_hdrc: version 6.0, musb-dma, host, debug=0

musb_hdrc: USB Host mode controller at ffc03c00 using DMA, IRQ 82

musb_hdrc musb_hdrc.0: MUSB HDRC host driver

musb_hdrc musb_hdrc.0: new USB bus registered, assigned bus number 1

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

NET: Registered protocol family 2

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

TCP established hash table entries: 2048 (order: 2, 16384 bytes)

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

TCP: Hash tables configured (established 2048 bind 2048)

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

Slow work thread pool: Starting up

Slow work thread pool: Ready

msgmni has been set to 106

io scheduler noop registered (default)

bf54x-lq043: FrameBuffer initializing...

dma_alloc_init: dma_page @ 0x02860000 - 512 pages at 0x03e00000

Console: switching to colour frame buffer device 80x24

bfin-otp: initialized

bfin-uart: Blackfin serial driver

bfin-uart.1: ttyBF1 at MMIO 0xffc02000 (irq = 48) is a BFIN-UART

brd: module loaded

register bfin atapi driver

scsi0 : pata-bf54x

ata1: PATA max UDMA/66 irq 68

physmap platform flash device: 02000000 at 20000000

physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Using buffer write method

Using auto-unlock on power-up/resume

cfi_cmdset_0001: Erase suspend on write enabled

RedBoot partition parsing not available

Using physmap partition information

Creating 3 MTD partitions on "physmap-flash.0":

0x000000000000-0x000000040000 : "bootloader(nor)"

0x000000040000-0x000000440000 : "linux kernel(nor)"

0x000000440000-0x000001000000 : "file system(nor)"

BF5xx on-chip NAND FLash Controller Driver, Version 1.2 (c) 2007 Analog Devices, Inc.

bf5xx-nand bf5xx-nand.0: page_size=256, data_width=8, wr_dly=3, rd_dly=3

NAND device: Manufacturer ID: 0x20, Chip ID: 0xda (ST Micro NAND 256MiB 3,3V 8-bit)

Creating 2 MTD partitions on "NAND 256MiB 3,3V 8-bit":

0x000000000000-0x000000400000 : "linux kernel(nand)"

0x000000400000-0x000010000000 : "file system(nand)"

m25p80 spi0.1: m25p16 (2048 Kbytes)

Creating 2 MTD partitions on "m25p80":

0x000000000000-0x000000040000 : "bootloader(spi)"

0x000000040000-0x000000200000 : "linux kernel(spi)"

bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@4

bfin-spi bfin-spi.1: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc02300, dma channel@5

ata1.00: ATA-7: FUJITSU MHW2040AT, 0000000B, max UDMA/100

ata1.00: 78140160 sectors, multi 16: LBA

smsc911x: Driver version 2008-10-21.

smsc911x-mdio: probed

eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1)

net eth0: MAC Address: 00:e0:22:fe:bd:04

ata1.00: configured for UDMA/66

blk_queue_max_hw_segments: set to minimum 1

scsi 0:0:0:0: Direct-Access     ATA      FUJITSU MHW2040A 0000 PQ: 0 ANSI: 5

sd 0:0:0:0: [sda] 78140160 512-byte logical blocks: (40.0 GB/37.2 GiB)

Initializing USB Mass Storage driver...

sd 0:0:0:0: [sda] Write Protect is off

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

sda:

input: bf54x-keys as /devices/platform/bf54x-keys/input/input0

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

sda1 sda2 sda3 sda4

i2c /dev entries driver

sd 0:0:0:0: [sda] Attached SCSI disk

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

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

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

bfin-sdh bfin-sdh.0: unable to request DMA channel

bfin-sdh: probe of bfin-sdh.0 failed with error -16

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

dma rx:0 tx:1, err irq:10, regs:ffc00800

AD1980 SoC Audio Codec

asoc: AC97 <-> bf5xx-ac97 mapping ok

ALSA device list:

  #0: bf5xx-board (AD1980)

TCP cubic registered

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 1970-05-02 08:12:04 UTC (10483924)

net eth0: SMSC911x/921x identified at 0x24000000, IRQ: 175

IP-Config: Gateway not on directly connected network.

Freeing unused kernel memory: 5884k freed

                           _____________________________________

        a8888b.           / Welcome to the uClinux distribution \

       d888888b.         /       _     _                         \

       8P"YP"Y88        /       | |   |_|            __  __ (TM)  |

       8|o||o|88  _____/        | |    _ ____  _   _ \ \/ /       |

       8'    .88       \        | |   | |  _ \| | | | \  /        |

       8`._.' Y8.       \       | |__ | | | | | |_| | /  \        |

      d/      `8b.       \      \____||_|_| |_|\____|/_/\_\       |

     dP   .    Y8b.       \   For embedded processors including   |

    d8:'  "  `::88b        \    the Analog Devices Blackfin      /

   d8"         'Y88b        \___________________________________/

  :8P    '      :888

   8a.   :     _a88P         For further information, check out:

._/"Yaa_:   .| 88P|            -   blackfin.uclinux.org/

\    YP"    `| 8P  `.          -   docs.blackfin.uclinux.org/

/     \.___.d|    .'           -   www.uclinux.org/

`--..__)8888P`._.'  jgs/a:f    -   www.analog.com/blackfin

 

Have a lot of fun...

 

 

BusyBox v1.15.3 (2010-02-17 07:29:44 EST) hush - the humble shell

 

root:/> uname -a

Linux blackfin 2.6.33-ADI-2010R1-pre-00335-g2dea689-dirty #13 Tue Mar 9 18:29:27 EST 2010 blackfin GNU/Linux

root:/>

QuoteReplyEditDelete

 

 

2010-03-09 20:53:57     Re: BF548-EKZIT doesn't boot 2.6.33

Peter Naulls (UNITED STATES)

Message: 87009   

 

Strictly speaking, it's not the default config - that is, arch/blackfin/configs/BF548-EZKIT_defconfig, since that's for 2.6.32.2, and includes the libertas driver, which doesn't build:

 

drivers/net/wireless/libertas/main.c: In function 'lbs_add_card':                   

drivers/net/wireless/libertas/main.c:974: error: 'struct net_device' has no member named 'wireless_handlers'

 

 

However, having disabled that, and otherwise accepted the defaults for all other new items, see the attached.

 

Thanks.

 

config

QuoteReplyEditDelete

 

 

2010-03-09 21:15:25     Re: BF548-EKZIT doesn't boot 2.6.33

Mike Frysinger (UNITED STATES)

Message: 87010   

 

the defconfig doesnt result in enabling the libertas driver the dependencies have changed in 2.6.33.  besides, even if i enable the driver myself, it builds fine:

...

  CC      drivers/net/wireless/libertas/ethtool.o                          

  CC      drivers/net/wireless/libertas/main.o                             

  CC      drivers/net/wireless/libertas/mesh.o                             

...

 

at any rate, your config file boots fine for me.  perhaps you should try using trunk toolchain instead of the 2009R1 one.

 

Bytes transferred = 5247531 (50122b hex)

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

   Image Name:   bf548-2.6.33-ADI-2010R1-pre-0033

   Created:      2010-03-10   2:13:30 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    5247467 Bytes =  5 MB

   Load Address: 00001000

   Entry Point:  002fe9d8

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 002fe9d8

Linux version 2.6.33-ADI-2010R1-pre-00337-g1559b07 (vapier@vapier-m) (gcc version 4.3.4 (ADI-trunk/git-e151328) ) #16 Tue Mar 9 21:13:26 EST 2010

register early platform devices

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart1] enabled

early printk enabled on early_BFuart1

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x001f3800

  rodata    = 0x001f3800-0x002ab5c4

  bss       = 0x002ac000-0x002c3aa0

  data      = 0x002c3aa0-0x002ec000

    stack   = 0x002ea000-0x002ec000

  init      = 0x002ec000-0x008ab000

  available = 0x008ab000-0x03e00000

  DMA Zone  = 0x03e00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 1

Reset caused by Software reset

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

Compiled for ADSP-BF548 Rev 0.2

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 525 MHz core clock and 131 MHz System Clock

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-through) in data cache

  L2 SRAM        : uncacheable in data cache

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

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart1,57600 console=tty0 console=ttyBF1,57600 ip=192.168.1.15:192.168.1.2:192.168.0.1:255.2

55.255.0:bf548-ezkit:eth0:off

PID hash table entries: 256 (order: -2, 1024 bytes)

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

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Memory available: 54044k/65536k RAM, (5884k init code, 1994k kernel code, 994k data, 2048k dma, 572k reserved)

Hierarchical RCU implementation.

NR_IRQS:295

Configuring Blackfin Priority Driven Interrupts

Console: colour dummy device 80x25

Linux version 2.6.33-ADI-2010R1-pre-00337-g1559b07 (vapier@vapier-m) (gcc version 4.3.4 (ADI-trunk/git-e151328) ) #16 Tue Mar 9 21:13:26 EST 2010

register early platform devices

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart1] enabled

early printk enabled on early_BFuart1

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x001f3800

  rodata    = 0x001f3800-0x002ab5c4

  bss       = 0x002ac000-0x002c3aa0

  data      = 0x002c3aa0-0x002ec000

    stack   = 0x002ea000-0x002ec000

  init      = 0x002ec000-0x008ab000

  available = 0x008ab000-0x03e00000

  DMA Zone  = 0x03e00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 1

Reset caused by Software reset

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

Compiled for ADSP-BF548 Rev 0.2

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 525 MHz core clock and 131 MHz System Clock

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-through) in data cache

  L2 SRAM        : uncacheable in data cache

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

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart1,57600 console=tty0 console=ttyBF1,57600 ip=192.168.1.15:192.168.1.2:192.168.0.1:255.2

55.255.0:bf548-ezkit:eth0:off

PID hash table entries: 256 (order: -2, 1024 bytes)

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

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Memory available: 54044k/65536k RAM, (5884k init code, 1994k kernel code, 994k data, 2048k dma, 572k reserved)

Hierarchical RCU implementation.

NR_IRQS:295

Configuring Blackfin Priority Driven Interrupts

Console: colour dummy device 80x25

console [tty0] enabled

console [ttyBF1] enabled, bootconsole disabled

console [ttyBF1] enabled, bootconsole disabled

Calibrating delay loop... 1046.52 BogoMIPS (lpj=2093056)

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

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

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

Blackfin L1 Instruction SRAM: 48 KB (42 KB free)

Blackfin L2 SRAM: 128 KB (128 KB free)

NET: Registered protocol family 16

Blackfin DMA Controller

ezkit_init(): registering device resources

bio: create slab <bio-0> at 0

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

Advanced Linux Sound Architecture Driver Version 1.0.21.

cfg80211: Calling CRDA to update world regulatory domain

Switching to clocksource jiffies

musb_hdrc: version 6.0, musb-dma, host, debug=0

musb_hdrc: USB Host mode controller at ffc03c00 using DMA, IRQ 82

musb_hdrc musb_hdrc.0: MUSB HDRC host driver

musb_hdrc musb_hdrc.0: new USB bus registered, assigned bus number 1

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

NET: Registered protocol family 2

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

TCP established hash table entries: 2048 (order: 2, 16384 bytes)

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

TCP: Hash tables configured (established 2048 bind 2048)

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

Slow work thread pool: Starting up

Slow work thread pool: Ready

msgmni has been set to 105

alg: No test for stdrng (krng)

io scheduler noop registered (default)

bf54x-lq043: FrameBuffer initializing...

dma_alloc_init: dma_page @ 0x02865000 - 512 pages at 0x03e00000

Console: switching to colour frame buffer device 80x24

bfin-otp: initialized

bfin-uart: Blackfin serial driver

bfin-uart.1: ttyBF1 at MMIO 0xffc02000 (irq = 48) is a BFIN-UART

brd: module loaded

register bfin atapi driver

scsi0 : pata-bf54x

ata1: PATA max UDMA/66 irq 68

physmap platform flash device: 02000000 at 20000000

physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Using buffer write method

Using auto-unlock on power-up/resume

cfi_cmdset_0001: Erase suspend on write enabled

RedBoot partition parsing not available

Using physmap partition information

Creating 3 MTD partitions on "physmap-flash.0":

0x000000000000-0x000000040000 : "bootloader(nor)"

0x000000040000-0x000000440000 : "linux kernel(nor)"

0x000000440000-0x000001000000 : "file system(nor)"

BF5xx on-chip NAND FLash Controller Driver, Version 1.2 (c) 2007 Analog Devices, Inc.

bf5xx-nand bf5xx-nand.0: page_size=256, data_width=8, wr_dly=3, rd_dly=3

NAND device: Manufacturer ID: 0x20, Chip ID: 0xda (ST Micro NAND 256MiB 3,3V 8-bit)

Creating 2 MTD partitions on "NAND 256MiB 3,3V 8-bit":

0x000000000000-0x000000400000 : "linux kernel(nand)"

0x000000400000-0x000010000000 : "file system(nand)"

m25p80 spi0.1: m25p16 (2048 Kbytes)

Creating 2 MTD partitions on "m25p80":

0x000000000000-0x000000040000 : "bootloader(spi)"

ata1.00: ATA-7: FUJITSU MHW2040AT, 0000000B, max UDMA/100

ata1.00: 78140160 sectors, multi 16: LBA

0x000000040000-0x000000200000 : "linux kernel(spi)"

bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@4

bfin-spi bfin-spi.1: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc02300, dma channel@5

ata1.00: configured for UDMA/66

blk_queue_max_hw_segments: set to minimum 1

scsi 0:0:0:0: Direct-Access     ATA      FUJITSU MHW2040A 0000 PQ: 0 ANSI: 5

smsc911x: Driver version 2008-10-21.

smsc911x-mdio: probed

sd 0:0:0:0: [sda] 78140160 512-byte logical blocks: (40.0 GB/37.2 GiB)

eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1)

net eth0: MAC Address: 00:e0:22:fe:bd:04

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

usbcore: registered new interface driver usb8xxx

libertas_sdio: Libertas SDIO driver

libertas_sdio: Copyright Pierre Ossman

sda:

libertas_spi: Libertas SPI driver

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

input: bf54x-keys as /devices/platform/bf54x-keys/input/input0

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

i2c /dev entries driver

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

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

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

bfin-sdh bfin-sdh.0: unable to request DMA channel

bfin-sdh: probe of bfin-sdh.0 failed with error -16

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

dma rx:0 tx:1, err irq:10, regs:ffc00800

AD1980 SoC Audio Codec

asoc: AC97 <-> bf5xx-ac97 mapping ok

ALSA device list:

  #0: bf5xx-board (AD1980)

TCP cubic registered

NET: Registered protocol family 17

sda1 sda2 sda3 sda4

lib80211: common routines for IEEE802.11 drivers

rtc-bfin rtc-bfin: setting system clock to 1970-05-02 10:52:51 UTC (10493571)

sd 0:0:0:0: [sda] Attached SCSI disk

net eth0: SMSC911x/921x identified at 0x24000000, IRQ: 175

IP-Config: Gateway not on directly connected network.

Freeing unused kernel memory: 5884k freed

                           _____________________________________

        a8888b.           / Welcome to the uClinux distribution \

       d888888b.         /       _     _                         \

       8P"YP"Y88        /       | |   |_|            __  __ (TM)  |

       8|o||o|88  _____/        | |    _ ____  _   _ \ \/ /       |

       8'    .88       \        | |   | |  _ \| | | | \  /        |

       8`._.' Y8.       \       | |__ | | | | | |_| | /  \        |

      d/      `8b.       \      \____||_|_| |_|\____|/_/\_\       |

     dP   .    Y8b.       \   For embedded processors including   |

    d8:'  "  `::88b        \    the Analog Devices Blackfin      /

   d8"         'Y88b        \___________________________________/

  :8P    '      :888

   8a.   :     _a88P         For further information, check out:

._/"Yaa_:   .| 88P|            -   blackfin.uclinux.org/

\    YP"    `| 8P  `.          -   docs.blackfin.uclinux.org/

/     \.___.d|    .'           -   www.uclinux.org/

`--..__)8888P`._.'  jgs/a:f    -   www.analog.com/blackfin

 

Have a lot of fun...

 

 

BusyBox v1.15.3 (2010-02-17 07:29:44 EST) hush - the humble shell

 

root:/>

QuoteReplyEditDelete

 

 

2010-03-10 12:50:53     Re: BF548-EKZIT doesn't boot 2.6.33

Peter Naulls (UNITED STATES)

Message: 87053   

 

Thanks.  New toolchains helped.  What isn't clear to me is why separate toolchains are required for userspace vs kernel.

QuoteReplyEditDelete

 

 

2010-03-10 13:01:50     Re: BF548-EKZIT doesn't boot 2.6.33

Mike Frysinger (UNITED STATES)

Message: 87055   

 

no one said that.  old versions have bugs, newer ones have fixes.

 

otherwise, read the FAQ (Why do I need to use the same version of ...):

  docs.blackfin.uclinux.org/doku.php?id=faq

QuoteReplyEditDelete

 

 

2010-03-10 13:18:15     Re: BF548-EKZIT doesn't boot 2.6.33

Peter Naulls (UNITED STATES)

Message: 87056   

 

> no one said that.  old versions have bugs, newer ones have fixes.

 

Let's try and drop the smart-arse comments.  I know you're in a position where you have to answer to people who've made little attempt to find stuff themselves and have relatively little clue - I have been in this position many times myself.

 

My question isn't answered by the FAQ, AFAICT - I appreciate that software changes may require a rebuild of everything.  I have been doing embedded development for a very long time.

 

*But* the build clearly refers to two different compilers - bfin-linux-uclibc and bfin-uclinux - if it's answered in the FAQ, then great.  But much of blackfin stuff is non-obvious, even though I've dealt with numerous other embedded systems, and the wiki documentation while it covers a lot of stuff, is a bit confused (not unusual).

 

So, please again, why are two toolchains required?

QuoteReplyEditDelete

 

 

2010-03-10 13:25:32     Re: BF548-EKZIT doesn't boot 2.6.33

Mike Frysinger (UNITED STATES)

Message: 87057   

 

this topic isnt related to your original question.  using your original question in context and missing the extra information you just provided, the FAQ is appropriate.

 

however, given your new question, the answer is still the same.  two toolchains are not required.  *you* opted to build userspace as FDPIC and not FLAT, thus *you* decided to use bfin-linux-uclibc.

 

the kernel defaults to bfin-uclinux because it's simpler, but there are no requirements that say bfin-linux-uclibc wont work.

Attachments

Outcomes