2009-05-26 08:40:52 svn trunk & '527 ezkit
Nikolay Chokoev (IRELAND)
Message: 74610
Hi,
I've checkout the last trunk and I've build the BF527-EZKIT, but the image doesn't work for me.
svn info
Path: .
URL: svn://firewall-sources.blackfin.uclinux.org:80/svn/uclinux-dist/trunk
Repository Root: svn://firewall-sources.blackfin.uclinux.org:80/svn/uclinux-dist
Repository UUID: 3e2a5524-39e8-4cb9-84a9-c49da69cba3a
Revision: 8138
Node Kind: directory
Schedule: normal
Last Changed Author: vapier
Last Changed Rev: 8138
Last Changed Date: 2009-05-26 08:02:06 +0100 (Tue, 26 May 2009)
The console is:
## Booting kernel from Legacy Image at 01000000 ...
Image Name: Linux-2.6.28.10-ADI-2010R1-pre-s
Created: 2009-05-26 11:21:30 UTC
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 4051824 Bytes = 3.9 MB
Load Address: 00001000
Entry Point: 001eba4c
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 001eba4c
...and hangs...
This works fine for me:
svn info
Path: .
URL: svn://firewall-sources.blackfin.uclinux.org:80/svn/uclinux-dist/trunk
Repository UUID: 3e2a5524-39e8-4cb9-84a9-c49da69cba3a
Revision: 7931
Node Kind: directory
Schedule: normal
Last Changed Author: vapier
Last Changed Rev: 7931
Last Changed Date: 2009-03-24 23:20:57 +0000 (Tue, 24 Mar 2009)
Properties Last Updated: 2009-01-12 20:15:56 +0000 (Mon, 12 Jan 2009)
The toolchain:
bfin-linux-uclibc-gcc --ver
Using built-in specs.
Target: bfin-linux-uclibc
Configured with: /usr/dlnx764/svn/toolchain/gcc-4.1/configure --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=bfin-linux-uclibc --prefix=/opt/uClinux-linux-uclibc --enable-threads=posix --enable-shared --with-sysroot=/opt/uClinux-linux-uclibc/bfin-linux-uclibc/runtime --disable-libstdcxx-pch --disable-symvers --disable-libssp --disable-libffi --enable-clocale=generic --enable-version-specific-runtime-libs --enable-__cxa_atexit --with-bugurl=URL:http://blackfin.uclinux.org/gf/project/toolchain/tracker --with-pkgversion=ADI-trunk/svn-3343
Thread model: posix
gcc version 4.1.2 (ADI svn)
QuoteReplyEditDelete
2009-05-26 08:54:10 Re: svn trunk & '527 ezkit
Nikolay Chokoev (IRELAND)
Message: 74611
UPDATE: it seems to hang as there is nothing on the serial terminal, but there is some log on the LCD...
QuoteReplyEditDelete
2009-05-26 12:39:04 Re: svn trunk & '527 ezkit
Mike Frysinger (UNITED STATES)
Message: 74615
are you using the default command line ? or did you change it ? i.e. what is "bootargs" in u-boot ...
QuoteReplyEditDelete
2009-05-26 16:06:46 Re: svn trunk & '527 ezkit
Robin Getz (UNITED STATES)
Message: 74619
Nikolay:
https://docs.blackfin.uclinux.org/doku.php?id=linux-kernel:debug:post_mortem
-Robin
QuoteReplyEditDelete
2009-06-02 04:18:47 Re: svn trunk & '527 ezkit
Nikolay Chokoev (IRELAND)
Message: 75003
Hi Mike,
I think 'bootargs' is default:
bootargs=root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart1,57600 console=tty0 console=ttyBF0,57600 ip=192.168.0.15:192.168.0.2:192.168.0.1:255.2 55.255.0:bf527-ezkit:eth0:off
QuoteReplyEditDelete
2009-06-02 04:26:41 Re: svn trunk & '527 ezkit
Mike Frysinger (UNITED STATES)
Message: 75004
you can verify the bootargs used when booting match what you expect if you use the tip Robin gave you
at any rate, make sure you are using the very latest svn
looking at the uclinux-dist svn info isnt helpful -- the linux-26.x./ is a different svn repo
QuoteReplyEditDelete
2009-06-02 04:46:16 Re: svn trunk & '527 ezkit
Nikolay Chokoev (IRELAND)
Message: 75006
Hi Robin,
Thanks for the link!
I cannot find "Kernel command line" on the log. What could be the problem?
bfin> strings 0x0114f64
<5>Linux version 2.6.28.10-ADI-2010R1-pre-svn6476 (root@dlnx764) (gcc version 4.
1.2 (ADI svn)) #7 Tue May 26 14:08:23 IST 2009
<6>Board Memory: 64MB
<6>Kernel Managed Memory: 64MB
<6>Memory map:
<6> fixedcode = 0x00000400-0x00000490
<6> text = 0x00001000-0x000c9530
<6> rodata = 0x000c9530-0x0010e968
<6> bss = 0x0010f000-0x00120fb4
<6> data = 0x00120fb4-0x00132000
<6> stack = 0x00130000-0x00132000
<6> init = 0x00132000-0x00674000
<6> available = 0x00674000-0x03eff000
<6> DMA Zone = 0x03f00000-0x04000000
<6>Hardware Trace Active and Enabled
<6>Boot Mode: 1
<6>Blackfin support (C) 2004-2009 Analog Devices, Inc.
<6>Compiled for ADSP-BF527 Rev 0.1
<6>Blackfin Linux support by http://blackfin.uclinux.org/
<6>Processor Speed: 525 MHz core clock and 131 MHz System Clock
<7> boot memmap: 0000000000674000 - 0000000003eff000 (usable)
<7>On node 0 totalpages: 16127
<7>free_area_init_node: node 0, pgdat 0012d668, node_mem_map 00676000
<7> DMA zone: 126 pages used for memmap
<7> DMA zone: 0 pages reserved
<7> DMA zone: 16001 pages, LIFO batch:3
<7> Normal zone: 0 pages used for memmap
<7> Movable zone: 0 pages used for memmap
<6>NOMPU: setting up cplb tables
<6>Instruction Cache Enabled for CPU0
<6>Data Cache Enabled for CPU0 (write-back)
<4>Built 1 zonelists in Zone order, mobility grouping off. Total pages: 16001
<5>Kernel command line:
<6>Configuring Blackfin Priority Driven Interrupts
<4>PID hash table entries: 256 (order: 8, 1024 bytes)
<4>Console: colour dummy device 80x25
<6>console [tty0] enabled
<6>Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
<6>Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
<7>Kernel managed physical pages: 16127
<6>Memory available: 57328k/65536k RAM, (5384k init code, 801k kernel code, 419k
data, 1024k dma, 576k reserved)
<6>Calibrating delay loop... 1046.52 BogoMIPS (lpj=2093056)
<6>Security Framework initialized
<4>Mount-cache hash table entries: 512
<6>Blackfin Scratchpad data SRAM: 4 KB
<6>Blackfin L1 Data A SRAM: 16 KB (16 KB free)
<6>Blackfin L1 Data B SRAM: 16 KB (16 KB free)
<6>Blackfin L1 Instruction SRAM: 48 KB (42 KB free)
<6>Blackfin DMA Controller
<6>ezkit_init(): registering device resources
<7>Setting up Blackfin MMR debugfs
<6>msgmni has been set to 111
<6>io scheduler noop registered
<6>io scheduler anticipatory registered (default)
<6>io scheduler cfq registered
<6>bfin-t350mcqb: 320x240 24-bit RGB FrameBuffer initializing...
<6>dma_alloc_init: dma_page @ 0x03af5000 - 256 pages at 0x03f00000
<4>Console: switching to colour frame buffer device 40x30
<6>bfin-otp: initialized
<6>Serial: Blackfin serial driver
<6>bfin-uart.1: ttyBF0 at MMIO 0xffc02000 (irq = 31) is a BFIN-UART
<6>brd: module loaded
<6>m25p80 spi0.1: m25p16 (2048 Kbytes)
<5>Creating 2 MTD partitions on "m25p80":
<5>0x00000000-0x00040000 : "bootloader(spi)"
<5>0x00040000-0x00200000 : "linux kernel(spi)"
<6>bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, reg
s_base@ffc00500, dma channel@7
<6>rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
<6>bfin-wdt: initialized: timeout=20 sec (nowayout=0)
<6>rtc-bfin rtc-bfin: setting system clock to 1970-01-01 07:57:07 UTC (28627)
<6>Freeing unused kernel memory: 5384k freed
QuoteReplyEditDelete
2009-06-02 04:49:22 Re: svn trunk & '527 ezkit
Mike Frysinger (UNITED STATES)
Message: 75007
you need to update your svn checkout to the latest