2008-11-27 10:28:11     Help on installing the uclinux

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

2008-11-27 10:28:11     Help on installing the uclinux

Ivan Antonio (PORTUGAL)

Message: 65912   

 

Hi!

 

My board is the BF537 STAMP, i already have done the image with the comands make xconfig, make dep and make. Rigth now i have to put the image on the board right? I supose i must do it with U-boot? I am trying to do it with serial port with minicom.

QuoteReplyEditDelete

 

 

2008-11-27 10:30:56     Re: Help on installing the uclinux

Ivan Antonio (PORTUGAL)

Message: 65913   

 

When i start the minicom and turn on the board this appear

 

 

 

ivan@ivan-desktop:~/uClinux$ minicom

 

 

Welcome to minicom 2.3-rc1

 

OPTIONS: I18n

Compiled on Dec 10 2007, 10:36:19.

Port /dev/ttyS0

 

               Press CTRL-A Z for help on special keys

 

icache_enable

U-Boot 1.1.6-svn (ADI-2007R1) (Oct  4 2007 - 12:42:05)

 

CPU:   ADSP BF537 Rev.: 0.3

Board: ADI BF537 stamp board

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

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

SDRAM: 64 MB

FLASH:   4 MB

In:    serial

Out:   serial

Err:   serial

Net:    BF537 ETHERNET

I2C:   ready

autoboot in 2 seconds: press space to stop                                     

## Booting image at 20020000 ...                                               

   Image Name:   uClinux Kernel and ext2                                       

   Created:      2007-08-20   8:46:28 UTC                                      

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)                 

   Data Size:    3915339 Bytes =  3.7 MB                                       

   Load Address: 00001000                                                      

   Entry Point:  00001000                                                      

   Verifying Checksum ... OK                                                   

   Uncompressing Kernel Image ... OK                                           

Starting Kernel at = 1000                                                      

Linux version 2.6.19.3-ADI-2007R1.1-svn (root@sevens) (gcc version 4.1.1 (ADI 07

Warning: limiting memory to 53MB due to hardware anomaly 05000263              

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

Compiled for ADSP-BF537 Rev 0.2                                                

Warning: Compiled for Rev 2, but running on Rev 3                              

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

Processor Speed: 500 MHz core clock and 100 Mhz System Clock                   

Board Memory: 64MB                                                             

Kernel Managed Memory: 64MB                                                    

Memory map:                                                                    

  text      = 0x00001000-0x00114758                                            

  init      = 0x00115000-0x00123c40                                            

  data      = 0x00125d84-0x0015c240                                            

  stack     = 0x00126000-0x00128000                                            

  bss       = 0x0015c240-0x0016a2e0                                            

  available = 0x0016a2e0-0x03500000                                            

  rootfs    = 0x03500000-0x03f00000                                            

  DMA Zone  = 0x03f00000-0x04000000                                            

Instruction Cache Enabled                                                      

Data Cache Enabled (write-through)                                             

Hardware Trace Enabled                                                         

Built 1 zonelists.  Total pages: 13462                                         

Kernel command line: root=/dev/mtdblock0 rw                                    

Configuring Blackfin Priority Driven Interrupts                                

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

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

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

Physical pages: 3500                                                           

Memory available: 52224k/64360k RAM, (59k init code, 1101k kernel code, 56k dat)

Blackfin Scratchpad data SRAM: 4 KB                                            

Blackfin DATA_A SRAM: 16 KB                                                    

Blackfin DATA_B SRAM: 16 KB                                                    

Blackfin Instruction SRAM: 48 KB                                               

Security Framework v1.0.0 initialized                                          

Capability LSM initialized                                                     

Mount-cache hash table entries: 512                                            

NET: Registered protocol family 16                                             

Blackfin GPIO Controller                                                       

Blackfin DMA Controller                                                        

stamp_init(): registering device resources                                     

NET: Registered protocol family 2                                              

IP route cache hash table entries: 512 (order: -1, 2048 bytes)                 

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

TCP bind hash table entries: 1024 (order: 0, 4096 bytes)                       

TCP: Hash tables configured (established 2048 bind 1024)                       

TCP reno registered                                                            

io scheduler noop registered                                                   

io scheduler anticipatory registered (default)                                 

io scheduler cfq registered                                                    

Dynamic Power Management Controller Driver v0.1: major=10, minor = 254         

Serial: Blackfin serial driver                                                 

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

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize          

Blackfin mac net device registered                                             

uclinux[mtd]: RAM probe address=0x3500000 size=0xa00000                        

Creating 1 MTD partitions on "RAM":                                            

0x00000000-0x00a00000 : "ROMfs"                                                

uclinux[mtd]: set ROMfs:EXT2  to be root filesystem                            

rtc-bfin rtc-bfin: rtc intf: sysfs                                             

rtc-bfin rtc-bfin: rtc intf: proc                                              

rtc-bfin rtc-bfin: rtc intf: dev (254:0)                                       

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

TCP cubic registered                                                           

NET: Registered protocol family 1                                              

NET: Registered protocol family 17                                             

rtc-bfin rtc-bfin: setting the system clock to 2014-11-10 02:33:32 (1415586812)

VFS: Mounted root (ext2 filesystem).                                           

Freeing unused kernel memory: 56k freed (0x115000 - 0x122000)                  

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

                                                                               

Welcome to:                                                                    

       ____ _  _                                                               

      /  __| ||_|             _  _                                             

_   _| |  | | _ ____  _   _ \ \/ /                                            

| | | | |  | || |  _ \| | | | \  /                                             

| |_| | |__| || | | | | |_| | /  \                                             

|  ___\____|_||_|_| |_|\____|/_/\_\                                            

|_|                                                                            

                                                                               

For further information see:                                                   

http://www.uclinux.org/                                                        

http://blackfin.uclinux.org/                                                   

                                                                               

                                                                               

                                                                               

BusyBox v1.4.1 (2007-08-20 16:36:35 CST) Built-in shell (msh)                  

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

                                                                               

root:~>

 

 

 

i am on the right way our not?

QuoteReplyEditDelete

 

 

2008-11-27 10:32:31     Re: Help on installing the uclinux

Ian Jeffray (UNITED KINGDOM)

Message: 65914   

 

WIKI !

 

http://docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:serial_port_loading_files

 

 

QuoteReplyEditDelete

 

 

2008-11-27 10:47:08     Re: Help on installing the uclinux

Ivan Antonio (PORTUGAL)

Message: 65915   

 

Ian jeffray sorry to disturb you again

 

i do what the wiki say... i try to send the file:

 

       ____ _  _                                                               

      /  __| ||_|             _  _                                             

_   _| |  | | _ ____  _   _ \ \/ /                                            

| | | | |  | || |  _ \| | | | \  /                                             

| |_| | |__| || | | | | |_| | /  \                                             

|  ___\____|_||_|_| |_|\____|/_/\_\                                            

|_|      +-----------[ymodem upload - Press CTRL-C to quit]------------+       

         | TIMEOUT                                                     |       

For furth|B00000000000000B00000000000000: not foundroot:~> Retry 0: Got|       

http://ww| TIMEOUT                                                     |       

http://bl|                                                             |       

         |Transfer incomplete                                          |       

         |                                                             |       

         | READY: press any key to continue...   

 

and have this error. can u help me?

QuoteReplyEditDelete

 

 

2008-11-27 11:25:44     Re: Help on installing the uclinux

Ian Jeffray (UNITED KINGDOM)

Message: 65917   

 

Ian jeffray sorry to disturb you again

 

i do what the wiki say... i try to send the file:

 

       ____ _  _                                                               

      /  __| ||_|             _  _                                             

_   _| |  | | _ ____  _   _ \ \/ /                                            

| | | | |  | || |  _ \| | | | \  /                                             

| |_| | |__| || | | | | |_| | /  \                                             

|  ___\____|_||_|_| |_|\____|/_/\_\                                            

|_|      +-----------[ymodem upload - Press CTRL-C to quit]------------+       

         | TIMEOUT                                                     |       

For furth|B00000000000000B00000000000000: not foundroot:~> Retry 0: Got|       

http://ww| TIMEOUT                                                     |       

http://bl|                                                             |       

         |Transfer incomplete                                          |       

         |                                                             |       

         | READY: press any key to continue...   

 

and have this error. can u help me?

 

---

 

 

 

Looks like you're blindly talking y-modem to a linux command prompt.  That's never going to work.   Sounds like you might need a bit of a primer on what kind of OS Linux is to start with.  Spend some minutes/hours with the friendly Wiki.  It's rather good.

 

You need to hit a key when u-boot asks you to do so, to get in to u-boot itself, rather than letting it boot in to Linux.

QuoteReplyEditDelete

 

 

2008-11-27 12:21:27     Re: Help on installing the uclinux

Jim Donelson (UNITED STATES)

Message: 65919   

 

You really need to connect the board to your lan. The wiki will explain how get uboot the dhcp etc.

 

Also DO NOT FLASH UNTIL YOU TEST THE IMAGE.  And the best way is to TFTP the image using uboot.

 

Read the doku-wiki.

 

 

 

 

 

 

QuoteReplyEditDelete

 

 

2008-11-27 12:21:34     Re: Help on installing the uclinux

Ivan Antonio (PORTUGAL)

Message: 65920   

 

ok thx for your help

Attachments

    Outcomes