FAQ:[#5986] Run userspace xip test in fdpic format on bf537-stamp, whole file system is in flash, kernel prompt error(2010)

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

[#5986] Run userspace xip test in fdpic format on bf537-stamp, whole file system is in flash, kernel prompt error

Submitted By: Vivi Li

Open Date

2010-03-23 06:43:59     Close Date

2010-03-26 03:31:51

Priority:

Medium     Assignee:

Barry Song

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Category:

N/A     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Duplicate

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.3-2010_Jan_22

App binary format:

N/A     

Summary: Run userspace xip test in fdpic format on bf537-stamp, whole file system is in flash, kernel prompt error

Details:

 

Run userspace xip test in fdpic format on bf537-stamp, whole file system is in flash, kernel prompt error.

 

--

U-Boot 2009.11.1-svn2233 (ADI-2010R1-pre) (Feb 08 2010 - 18:06:24)

 

CPU:   ADSP bf537-0.2 (Detected Rev: 0.2) (bypass boot)

Board: ADI BF537 stamp board

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

Clock: VCO: 500 MHz, Core: 500 MHz, System: 125 MHz

RAM:   64 MB

Flash:  4 MB

In:    serial

Out:   serial

Err:   serial

KGDB:  [on serial] ready

Net:   Blackfin EMAC

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

bfin> tftpboot 0x1000000 vmImage

Using Blackfin EMAC device

TFTP from server 10.100.4.174; our IP address is 10.100.4.50

Filename 'vmImage'.

Load address: 0x1000000

Loading: *^H#################################################################

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

done

Bytes transferred = 1255756 (13294c hex)

bfin> protect off 20040000 201bffff

........................ done

Un-Protected 24 sectors

bfin> erase 20040000 201bffff

 

........................ done

Erased 24 sectors

bfin> cp.b 0x1000000 20040000 0x13294c

Copy to Flash... done

bfin> tftpboot 0x1000000 rootfs.romfs

Using Blackfin EMAC device

TFTP from server 10.100.4.174; our IP address is 10.100.4.50

Filename 'rootfs.romfs'.

Load address: 0x1000000

Loading: *^H#################################################################

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

         ######

done

Bytes transferred = 1989632 (1e5c00 hex)

bfin> protect off 201c0000 203effff

................................... done

Un-Protected 35 sectors

bfin> erase 201c0000 203effff

 

................................... done

Erased 35 sectors

bfin> cp.b 0x1000000 201c0000 0x1e5c00

Copy to Flash... done

bfin> set bootargs root=/dev/mtdblock2 rootfstype=romfs ro console=ttyBF0,57600

bfin> bootm 20040000

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

   Image Name:   bf537-2.6.33.1-ADI-2010R1-pre-sv

   Created:      2010-03-22   5:18:04 UTC

   Image Type:   Blackfin Linux Kernel Image (uncompressed)

   Data Size:    1255692 Bytes =  1.2 MB

   Load Address: 20040040

   Entry Point:  2010a5e4

   Verifying Checksum ... OK

   Loading Kernel Image ... OK

OK

Starting Kernel at = 2010a5e4

console [ttyBF0] enabled, bootconsole disabled

Calibrating delay loop... 974.84 BogoMIPS (lpj=1949696)

Security Framework initialized

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 (35 KB free)

Blackfin DMA Controller

stamp_init(): registering device resources

bio: create slab <bio-0> at 0

Switching to clocksource bfin_cs_cycles

ROMFS MTD (C) 2007 Red Hat, Inc.

msgmni has been set to 110

io scheduler noop registered

io scheduler cfq registered (default)

bfin-uart: Blackfin serial driver

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

brd: module loaded

physmap platform flash device: 00400000 at 20000000

RedBoot partition parsing not available

Using physmap partition information

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

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

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

0x0000001c0000-0x0000003f0000 : "file system(nor)"

0x0000003f0000-0x000000400000 : "MAC Address(nor)"

VFS: Mounted root (romfs filesystem) readonly on device 31:2.

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

ifconfig: socket: Function not implemented

                           _____________________________________

        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|            - http://blackfin.uclinux.org/

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

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

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

 

Have a lot of fun...

 

 

BusyBox v1.15.3 (2010-03-22 13:20:05 CST) hush - the humble shell

 

:/>

--

 

Follow-ups

 

--- Barry Song                                               2010-03-26 03:13:54

duplicate with [#5958], move rootfs to async bank2/3, root will show.

 

--- Vivi Li                                                  2010-03-26 03:29:40

So close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.config.xip.fdpic    application/octet-stream    45369    Vivi Li

config.linux.xip.fdpic    application/octet-stream    23764    Vivi Li

Outcomes