2008-10-20 04:28:34 lrz lsz do not work with BF531
crystal shark (CHINA)
Message: 63931
I find that lrzsz tools do not work for BF531. Anybody testes the lrzsz tools under BF533-
Stamp ?
In my BF537 Board , lrzsz works well . But in my BF531 borad , it failed!
I copy the binary file "lrz","lsz" of BF537 to the BF531 filesystem , it still does not work
,.So I think it maybe something wrong with the Uart Driver of BF531.
I have googled something. it said that it is the problem of uart dma, but i do know how to
fix this problem !
Thanks!
Linux version 2.6.22.19-ADI-2008R1.5-svn (root@linux-desktop) (gcc version 4.1.2
(ADI svn)) #116 Sun Oct 19 23:03:00 EDT 2008
early printk enabled on early_BFuart0
Hardware Trace Active and Enabled
Warning: limiting memory to 31MB due to hardware anomaly 05000263
Blackfin support (C) 2004-2007 Analog Devices, Inc.
Compiled for ADSP-BF531 Rev 0.4
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 375 MHz core clock and 75 MHz System Clock
Board Memory: 32MB
Kernel Managed Memory: 32MB
Memory map:
text = 0x00001000-0x00143830
rodata = 0x00144000-0x001a2dac
data = 0x001a3000-0x001ec000
stack = 0x001a4000-0x001a6000
init = 0x001ec000-0x006e7000
bss = 0x006e7000-0x006f8c2c
available = 0x006f8c2c-0x01eff000
DMA Zone = 0x01f00000-0x02000000
On node 0 totalpages: 7935
DMA zone: 61 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 7874 pages, LIFO batch:0
Normal zone: 0 pages used for memmap
NOMPU: setting up cplb tables for global access
Instruction Cache Enabled
Data Cache Enabled (write-through)
Built 1 zonelists. Total pages: 7874
Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600
console=ttyBF0,57600
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 128 (order: 7, 512 bytes)
bfin-rtc: invalid date; resetting
console handover: boot [early_BFuart0] -> real [ttyBF0]
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Kernel managed physical pages: 7935
Memory available: 24304k/32768k RAM, (5100k init code, 1290k kernel code, 745k data, 1024k
dma, 308k reserved)
Blackfin Scratchpad data SRAM: 4 KB
Blackfin Instruction SRAM: 16 KB (8 KB free)
Calibrating delay loop... 747.52 BogoMIPS (lpj=1495040)
Security Framework v1.0.0 initialized
Mount-cache hash table entries: 512
NET: Registered protocol family 16
Blackfin GPIO Controller
Blackfin DMA Controller
stamp_init(): registering device resources
SCSI subsystem initialized
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
fuse init (API version 7.8)
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler cfq registered
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 21) is a BFIN-UART
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: module loaded
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
ide0: Blackfin generic IDE interface
Probing IDE interface ide0...
hda: TRANSCEND, ATA DISK drive
ide0 at 0x20200020-0x20200027,0x2020001c on irq 37
hda: max request size: 128KiB
hda: 7831152 sectors (4009 MB) w/1KiB Cache, CHS=7769/16/63
hda: hda1
bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Contoller Driver, Version 1.0,
regs_base@ffc00500, dma channel@5
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
pktgen v2.68: Packet Generator for packet performance testing.
TCP cubic registered
NET: Registered protocol family 17
Setting up Blackfin MMR debugfs
rtc-bfin rtc-bfin: setting the system clock to 2059-08-18 07:47:28 (2828418448)
Freeing unused kernel memory: 5100k freed
dma_alloc_init: dma_page @ 0x006e5000 - 256 pages at 0x01f00000
reg--initialized-OK
New MMC/SD card found: 245 MB(256901120 bytes)
spi_mmc: spi_mmc1 spi_mmc2 spi_mmc3
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
QuoteReplyEditDelete
2008-10-20 05:37:32 Re: lrz lsz do not work with BF531
Mike Frysinger (UNITED STATES)
Message: 63938
the zmodem utils have been tested on a BF531 as well as the BF533-STAMP and are known to work. please describe in detail what you are actually doing and how you think they are failing as well as your whole setup (software/development system/etc...).
QuoteReplyEditDelete
2008-10-20 22:19:49 Re: lrz lsz do not work with BF531
crystal shark (CHINA)
Message: 63960
I check my board tonight. I forgot that i used the different crystal , 24.576M for BF531 and 25M for BF533.
I changed the crystal value in uclinux ,and lrz lsz work well .
Thank you !