[#4775] Run "reboot" hangs bf518-ezbrd

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

[#4775] Run "reboot" hangs bf518-ezbrd

Submitted By: Yi Li

Open Date

2009-01-07 04:27:50     Close Date

2011-05-27 02:58:58

Priority:

Medium High     Assignee:

Mingquan Pan

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2009R1-RC6     Release:

linux svn trunk r5952

Category:

N/A     Board:

EZKIT Lite

Processor:

BF518     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

U-Boot 2008.10-svn1549     Toolchain version or rev.:

svn trunk 4.1

App binary format:

N/A     

Summary: Run "reboot" hangs bf518-ezbrd

Details:

 

Linux version 2.6.28-rc2-ADI-2009R1-pre-svn5952 (adam@adam-desktop) (gcc version 4.1.2 (ADI svn))

 

root:/> reboot                                                                                                                                 

Restarting system.

[hangs here].

 

Follow-ups

 

--- Sonic Zhang                                              2009-01-09 05:36:05

After reboot command in Linux, bf51x halt at address 0xef000e48. No kernel code

is at that address. It looks it is uboot that halt other than kernel. But, maybe

kernel doesn't clean up something before jump to bootrom.

 

--- Sonic Zhang                                              2009-01-09 05:38:37

0xEF000000 ~ 0xEF007FFF  BOOTROM (32K bytes)

 

Maybe a bug in BOOTROM code?

 

--- Mike Frysinger                                           2009-01-09 06:04:56

try putting a ssync before the "raise 1" in

linux-2.6.x/arch/blackfin/kernel/reboot.c

 

--- Sonic Zhang                                              2009-01-13 00:19:46

There is no official anomaly list on ADI web site. But anomally 05000353 still

exists on bf518 v0.0.

 

05000353 - bfrom_SysControl() Firmware Function Performs Improper System

Reset:

 

DESCRIPTION:

The bfrom_SysControl() firmware function does not properly execute a software

reset and cannot be used to perform system reset of the

processor. Some side effects that may be observed due to this are that not all

System MMRs are reset correctly.

 

APPLIES TO REVISION(S):

0.0, 0.1

 

--- Sonic Zhang                                              2009-01-13 00:21:26

In addition, bfin_gpio_reset_spi0_ssel1() should be extended to support other

SSEL PIN.

 

--- Sonic Zhang                                              2009-01-13 00:39:08

Fixed

 

--- Mike Frysinger                                           2009-01-13 06:13:33

i really dont think anomaly 353 still applies.  the change that was made in the

bootrom for that anomaly was made in the bf51x.

 

--- Mike Frysinger                                           2009-01-15 00:14:50

apparently the bf51x bootrom does not perform a system reset if the bits in

SWRST are cleared.  ive changed our core code to stop reading SWRST since the

info is available in SYSCR on newer parts and e-mailed benno about the issue.

 

--- Yi Li                                                    2009-01-20 22:20:03

fixed and close.

 

--- Mingquan Pan                                             2009-02-06 05:44:34

why I am still seeing this bug on trunk head on bf518f-ezbrd?

 

U-Boot 2008.10-svn1651 (ADI-2009R1-pre) (Feb  6 2009 - 17:16:33)

 

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

Board: ADI BF518F EZ-Board board

       Support:   blackfin.uclinux.org/

Clock: VCO: 400 MHz, Core: 400 MHz, System: 80 MHz

RAM:   64 MB

Flash: ## Unknown FLASH on Bank 1 - Size = 0x00000000 = 0 MB

0 kB

SF: Got idcode 20 20 15

In:    serial

Out:   serial

Err:   serial

Net:   Blackfin EMAC

MAC:   0A:39:0E:5C:AC:8E

Hit any key to stop autoboot:  0

bfin> tftp 0x2000000 uImage

Using Blackfin EMAC device

TFTP from server 10.100.4.174; our IP address is 10.100.4.50

Filename 'uImage'.

Load address: 0x2000000

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

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

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

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

done

Bytes transferred = 3417397 (342535 hex)

bfin> bootm

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

   Image Name:   Linux-2.6.28-ADI-2009R1-pre-svn6

   Created:      2009-02-05  12:55:22 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    3417333 Bytes =  3.3 MB

   Load Address: 00001000

   Entry Point:  0017e624

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 0017e624

Linux version 2.6.28-ADI-2009R1-pre-svn6059 (test@51x) (gcc version 4.1.2 (ADI

svn)) #6 Thu Feb 5 20:55:15 CST 2009

console [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x000ffe20

  rodata    = 0x000ffe20-0x00153f3c

  bss       = 0x00153f40-0x00162880

  data      = 0x00162880-0x00172000

    stack   = 0x00170000-0x00172000

  init      = 0x00172000-0x0062f000

  available = 0x0062f000-0x03eff000

  DMA Zone  = 0x03f00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 3

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

Compiled for ADSP-BF518 Rev 0.0

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 400 MHz core clock and 80 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

Data Cache Enabled for CPU0 (write-through)

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

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000

earlyprintk=serial,uart0,57600 console=ttyBF0,57600

Configuring Blackfin Priority Driven Interrupts

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

console handover: boot [early_BFuart0] -> real [ttyBF0]

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

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

Memory available: 57596k/65536k RAM, (4852k init code, 1019k kernel code, 457k

data, 1024k dma, 584k reserved)

Calibrating delay loop... 794.62 BogoMIPS (lpj=1589248)

Security Framework initialized

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

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

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

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

PDA for CPU0 reserved at 00154dec

net_namespace: 288 bytes

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

ezbrd_init(): registering device resources

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

NET: Registered protocol family 1

msgmni has been set to 112

io scheduler noop registered (default)

Serial: Blackfin serial driver

bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 29) is a BFIN-UART

brd: module loaded

bfin_mii_bus: probed

bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:03, irq=-1,

mdc_clk=2500000Hz(mdc_div=15)@sclk=80MHz)

bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1

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@ffc01400

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

TCP cubic registered

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 2035-06-04 12:39:15 UTC

(2064573555)

Freeing unused kernel memory: 4852k freed

dma_alloc_init: dma_page @ 0x0062c000 - 256 pages at 0x03f00000

                           _____________________________________

        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.13.2 (2009-02-05 20:53:40 CST) built-in shell (msh)

Enter 'help' for a list of built-in commands.

 

root:/> reboot

Restarting system.

 

stuck here. no reboot.

 

--- Sonic Zhang                                              2009-04-02 00:29:08

work around on trunk

 

--- Mike Frysinger                                           2011-05-02 00:03:10

the kernel now uses bfrom_SoftReset() to reboot the part rather than just

"raise 1" when the anomalies dont exist (like the bf51x).

 

back to grace to verify things.

 

--- Mingquan Pan                                             2011-05-06 00:47:31

It looks this bug still exists.

 

bfin> bootm

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

   Image Name:   bf518-0.1-2.6.39-rc5-ADI-2011R1-

   Created:      2011-05-06   2:48:43 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    3786044 Bytes = 3.6 MiB

   Load Address: 00001000

   Entry Point:  001adf2c

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 001adf2c

Linux version 2.6.39-rc5-ADI-2011R1-pre-svn9866 (test@uclinux80-bf518f) (gcc

version 4.3.5 (ADI-trunk/svn-5013) ) #12 Fri May 6 10:48:30 CST 2011

register early platform devices

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x00126740

  rodata    = 0x00126740-0x00182914

  bss       = 0x00183000-0x00193a7c

  data      = 0x00193a7c-0x001a6000

    stack   = 0x001a4000-0x001a6000

  init      = 0x001a6000-0x006f6000

  available = 0x006f6000-0x03f00000

  DMA Zone  = 0x03f00000-0x04000000

Hardware Trace active and enabled

Boot Mode: 1

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

Compiled for ADSP-BF518 Rev 0.1

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 400 MHz core clock and 80 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

  External memory: cacheable in instruction cache

Data Cache Enabled for CPU0

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

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

Kernel command line: root=/dev/mtdblock0 rw ip=10.100.4.50

earlyprintk=serial,uart0,57600 console=ttyBF0,57600

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: 56776k/65536k RAM, (5440k init code, 1173k kernel code, 511k

data, 1024k dma, 612k reserved)

NR_IRQS:159

Configuring Blackfin Priority Driven Interrupts

console [ttyBF0] enabled, bootconsole disabled

console [ttyBF0] enabled, bootconsole disabled

Calibrating delay loop... 790.52 BogoMIPS (lpj=395264)

pid_max: default: 32768 minimum: 301

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: 32 KB (25 KB free)

NET: Registered protocol family 16

Blackfin DMA Controller

ezbrd_init(): registering device resources

bio: create slab <bio-0> at 0

bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0,

regs_base@ffc00500, dma channel@7

bfin-spi bfin-spi.1: Blackfin on-chip SPI Controller Driver, Version 1.0,

regs_base@ffc03400, dma channel@5

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

regs_base@ffc01400

NET: Registered protocol family 2

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

IPv4 FIB: Using LC-trie version 0.409

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

debug-mmrs: setting up Blackfin MMR debugfs

msgmni has been set to 110

io scheduler noop registered (default)

bfin-uart: Blackfin serial driver

bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 29) is a BFIN-UART

bfin-otp: initialized

brd: module loaded

bfin_mii_bus: probed

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

mdc_clk=2500000Hz(mdc_div=15)@sclk=80MHz)

bfin_mac bfin_mac.0: eth0: Blackfin on-chip Ethernet MAC driver, Version 1.1

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

i2c /dev entries driver

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

dma_alloc_init: dma_page @ 0x02732000 - 256 pages at 0x03f00000

TCP cubic registered

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 2004-06-06 00:24:46 UTC

(1086481486)

mmc0: host does not support reading read-only switch. assuming write-enable.

mmc0: new SD card at address e624

mmcblk0: mmc0:e624 SD02G 1.89 GiB

mmcblk0: p1 p2

IP-Config: Guessing netmask 255.0.0.0

IP-Config: Complete:

     device=eth0, addr=10.100.4.50, mask=255.0.0.0, gw=255.255.255.255,

     host=10.100.4.50, domain=, nis-domain=(none),

     bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=

Freeing unused kernel memory: 5440k 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.18.4 (2011-04-29 06:26:34 CST) hush - the humble shell

 

root:/> PHY: 0:01 - Link is Up - 100/Full

 

root:/>

root:/> version

kernel:    Linux release 2.6.39-rc5-ADI-2011R1-pre-svn9866, build #12 Fri May 6

10:48:30 CST 2011

toolchain: bfin-uclinux-gcc release gcc version 4.3.5 (ADI-trunk/svn-5013)

user-dist: release svn-10161, build #53 Fri May 6 10:46:51 CST 2011

root:/>

root:/>

root:/>

root:/> ls

bin   etc   init  mnt   root  sys   usr

dev   home  lib   proc  sbin  tmp   var

root:/>

root:/>

root:/> reboot

Restarting system.

 

It stops here.

while seen from the logs, this reboot command can work at Feb 15,2011.

 

root:/>

root:/> reboot

Restarting system.þ

 

U-Boot 2010.12-svn2586 (ADI-2011R1-pre) (Jan 18 2011 - 19:07:43)

 

CPU:   ADSP bf518-0.0 (Detected Rev: 0.1) (parallel flash boot)

Board: ADI BF518F EZ-Board board

       Support:   blackfin.uclinux.org/

Clock: VCO: 400 MHz, Core: 400 MHz, System: 80 MHz

RAM:   64 MiB

Flash: 4 MiB

MMC:   Blackfin SDH: 0

In:    serial

Out:   serial

Err:   serial

KGDB:  [on serial] ready

Net:   bfin_mac

Hit any key to stop autoboot:  0

bfin> Get u-boot prompt after hitting any key.

tftpboot 0x1000000 uImage

Using bfin_mac device

TFTP from server 10.100.4.174; our IP address is 10.100.4.50

Filename 'uImage'.

Load address: 0x1000000

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

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

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

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

done

Bytes transferred = 3750070 (3938b6 hex)

bfin> Get u-boot prompt.

bootm

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

   Image Name:   bf518-0.1-2.6.37-ADI-2011R1-pre-

   Created:      2011-02-17   2:10:51 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    3750006 Bytes = 3.6 MiB

   Load Address: 00001000

   Entry Point:  001a4270

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 001a4270

Linux version 2.6.37-ADI-2011R1-pre-svn9614 (test@uclinux80-bf518f) (gcc

version 4.3.5 (ADI-trunk/svn-5013) ) #36 Thu Feb 17 10:10:41 CST 2011

register early platform devices

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x0011e250

  rodata    = 0x0011e250-0x0017887c

  bss       = 0x00179000-0x001898a4

  data      = 0x001898a4-0x0019c000

    stack   = 0x0019a000-0x0019c000

  init      = 0x0019c000-0x006ea000

  available = 0x006ea000-0x03f00000

  DMA Zone  = 0x03f00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 1

Reset caused by Software reset

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

Compiled for ADSP-BF518 Rev 0.1

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 400 MHz core clock and 80 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

  External memory: cacheable in instruction cache

Data Cache Enabled for CPU0

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

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

Kernel command line: root=/dev/mtdblock0 rw ip=10.100.4.50

earlyprintk=serial,uart0,57600 console=ttyBF0,57600

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: 56824k/65536k RAM, (5432k init code, 1140k kernel code, 504k

data, 1024k dma, 612k reserved)

NR_IRQS:159

Configuring Blackfin Priority Driven Interrupts

console [ttyBF0] enabled, bootconsole disabled

console [ttyBF0] enabled, bootconsole disabled

Calibrating delay loop... 794.62 BogoMIPS (lpj=1589248)

pid_max: default: 32768 minimum: 301

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: 32 KB (25 KB free)

NET: Registered protocol family 16

Blackfin DMA Controller

ezbrd_init(): registering device resources

bio: create slab <bio-0> at 0

bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0,

regs_base@ffc00500, dma channel@7

bfin-spi bfin-spi.1: Blackfin on-chip SPI Controller Driver, Version 1.0,

regs_base@ffc03400, dma channel@5

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

regs_base@ffc01400

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

....

 

IP-Config: Guessing netmask 255.0.0.0

IP-Config: Complete:

     device=eth0, addr=10.100.4.50, mask=255.0.0.0, gw=255.255.255.255,

     host=10.100.4.50, domain=, nis-domain=(none),

     bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=

Freeing unused kernel memory: 5432k 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.18.3 (2011-02-16 06:06:24 CST) hush - the humble shell

 

root:/> PHY: 0:01 - Link is Up - 100/Full

 

root:/>

root:/>

Case 29 ...PASS

 

 

--- Mingquan Pan                                             2011-05-13 02:58:38

Since it still remains, so add Mike.

 

--- Mike Frysinger                                           2011-05-13 12:30:24

i'm not sure your kernel test is still new enough.  the kernel was changed after

2.6.39-rc5 was merged.  please make sure 2.6.39-rc7 fails.

 

--- Mike Frysinger                                           2011-05-26 18:12:50

i still cant reproduce this.  with a bf518f-0.0 board, i did:

 

(0) hit hardware reset button

(1) press space to interrupt u-boot booting (2011.03-gbe60713)

(2) type 'run ramboot' to boot up a kernel

(3) u-boot loads up a recent build (2.6.39-ADI-2011R1-pre-gc1a6090)

(4) type some stuff into the kernel prompt and then type 'reboot'

(5) go to (1)

 

i repeated this four times in a row and it worked everytime.  so back to grace

to try and describe the exact steps she's running and describe exactly what

she's doing so i can reproduce over here.

 

--- Mingquan Pan                                             2011-05-27 02:58:58

Yeah, reboot on the latest kernel is ok on my side too.

The bf518 board finally can run regression repeatedly now. Great fix.

 

CPU:   ADSP bf518-0.0 (Detected Rev: 0.1) (parallel flash boot)^M

Board: ADI BF518F EZ-Board board^M

       Support:   blackfin.uclinux.org/^M

Clock: VCO: 400 MHz, Core: 400 MHz, System: 80 MHz^M

RAM:   64 MiB^M

Flash: 4 MiB^M

MMC:   Blackfin SDH: 0^M

In:    serial^M

Out:   serial^M

Err:   serial^M

KGDB:  [on serial] ready^M

Net:   bfin_mac^M

Hit any key to stop autoboot:  5 ^H^H^H 0 ^M

bfin> Get u-boot prompt after hitting any key.

tftpboot 0x1000000 uImage^M

Using bfin_mac device^M

TFTP from server 10.100.4.174; our IP address is 10.100.4.50^M

Filename 'uImage'.^M

Load address: 0x1000000^M

Loading:

*^H#################################################################^M

         #################################################################^M

         #################################################################^M

         ###########################################################^M

done^M

Bytes transferred = 3718718 (38be3e hex)^M

bfin> Get u-boot prompt.

bootm^M

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

   Image Name:   bf518-0.1-2.6.39-rc7-ADI-2011R1-^M

   Created:      2011-05-12   7:25:02 UTC^M

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)^M

   Data Size:    3718654 Bytes = 3.5 MiB^M

   Load Address: 00001000^M

   Entry Point:  001adf2c^M

....

BusyBox v1.18.4 (2011-05-12 12:30:24 CST) hush - the humble shell^M

^M

root:/> ^[[6nPHY: 0:01 - Link is Up - 100/Full^M

^M

root:/> ^M

root:/

Case 28 ...PASS

 

Case 28 ...PASS

Wait for 1 minutes before reboot.^M> ^[[6n^M

root:/> ^[[6n^M

root:/> reboot^M

Restarting system.ü^M

^M

U-Boot 2010.12-svn2586 (ADI-2011R1-pre) (Jan 18 2011 - 19:07:43)^M

^M

CPU:   ADSP bf518-0.0 (Detected Rev: 0.1) (parallel flash boot)^M

Board: ADI BF518F EZ-Board board^M

       Support:   blackfin.uclinux.org/^M

Clock: VCO: 400 MHz, Core: 400 MHz, System: 80 MHz^M

RAM:   64 MiB^M

Flash: 4 MiB^M

MMC:   Blackfin SDH: 0^M

In:    serial^M

Out:   serial^M

Err:   serial^M

KGDB:  [on serial] ready^M

Net:   bfin_mac^M

 

Close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes