[#5442] qt samples fails to run
Submitted By: Mingquan Pan
Open Date
2009-08-16 17:48:19 Close Date
2010-06-11 04:16:44
Priority:
Medium Assignee:
Nobody
Status:
Closed Fixed In Release:
N/A
Found In Release:
2009R1-RC6 Release:
Category:
N/A Board:
N/A
Processor:
BF537 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Rejected
Uboot version or rev.:
Toolchain version or rev.:
09r1-rc9
App binary format:
N/A
Summary: qt samples fails to run
Details:
qt samples fails to run both for flat and fdpic format. It says "Data access misaligned address violation".
#### Blackfin build Option is 2
************** STEP 1: Spawn kermit
?SET SPEED has no effect without prior SET LINE
C-Kermit 8.0.211, 10 Apr 2004, for Linux
Copyright (C) 1985, 2004,
Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
Linux Kermit>set line /dev/ttyS0
Linux Kermit>set speed 57600
/dev/ttyS0, 57600 bps
Linux Kermit>set carrier-watch off
Linux Kermit>set handshake none
Linux Kermit>set flow-control none
Linux Kermit>robust
Linux Kermit>set file type bin
Linux Kermit>set file name lit
Linux Kermit>set rec pack 1000
Linux Kermit>set send pack 1000
Linux Kermit>set window 5
Linux Kermit>set escape 129
Linux Kermit>connect
Connecting to /dev/ttyS0, speed 57600
Escape character: Code 129: enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
************** STEP 2: Reboot the kernel.
Try to figure out if we are in u-boot or the kernel----------------------------------------------------
root:/> version
kernel: Linux release 2.6.28.10-ADI-2009R1-svn7193, build #12 Sun Aug 16 20:40:51 CST 2009
toolchain: bfin-uclinux-gcc release gcc version 4.1.2 (ADI svn)
user-dist: release svn-8725, build #221 Sun Aug 16 20:39:21 CST 2009
root:/> We are in the kernel
sending reboot
reboot
Restarting system.镁
U-Boot 2008.10-svn1956 (ADI-2009R1-rc2) (Jul 2 2009 - 20:05:22)
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
RAM size is 64 MB.
Flash: 4 MB
In: serial
Out: serial
Err: serial
Net: Blackfin EMAC
MAC: 00:E0:22:FE:47:E0
Hit any key to stop autoboot: 0
bfin> set bootargs root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600
bfin> set serverip 10.100.4.174
bfin> set ipaddr 10.100.4.50
bfin> save
Saving Environment to Flash...
. done
Un-Protected 1 sectors
Erasing Flash...
. done
Erased 1 sectors
Writing to Flash... done
. done
Protected 1 sectors
bfin>
bfin> tftpboot 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 = 11277150 (ac135e hex)
Image size is ac135e
bfin> run addip
bfin> bootm
## Booting kernel from Legacy Image at 02000000 ...
Image Name: Linux-2.6.28.10-ADI-2009R1-svn71
Created: 2009-08-16 14:31:27 UTC
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 11277086 Bytes = 10.8 MB
Load Address: 00001000
Entry Point: 001c0888
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 001c0888
Linux version 2.6.28.10-ADI-2009R1-svn7193 (test@uclinux71-digiumPBX) (gcc version 4.1.2 (ADI svn)) #14 Sun Aug 16 22:31:06 CST 2009
bootconsole [early_shadow0] enabled
bootconsole [early_BFuart0] enabled
early printk enabled on early_BFuart0
Warning: limiting memory to 56MB due to hardware anomaly 05000263
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x0012c750
rodata = 0x0012c750-0x0018c970
bss = 0x0018d000-0x0019ee98
data = 0x0019ee98-0x001b2000
stack = 0x001b0000-0x001b2000
init = 0x001b2000-0x016be000
available = 0x016be000-0x037ff000
DMA Zone = 0x03f00000-0x04000000
Hardware Trace Active and Enabled
Boot Mode: 0
Reset caused by Software reset
Blackfin support (C) 2004-2009 Analog Devices, Inc.
Compiled for ADSP-BF537 Rev 0.2
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 500 MHz core clock and 125 MHz System Clock
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
Data Cache Enabled for CPU0 (write-back)
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 14223
Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf537-stamp:eth0:off
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 256 (order: 8, 1024 bytes)
console [ttyBF0] enabled, bootconsole disabled
console [ttyBF0] enabled, bootconsole disabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory available: 33484k/65536k RAM, (21552k init code, 1197k kernel code, 535k data, 1024k dma, 7744k reserved)
Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
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 (37 KB free)
net_namespace: 288 bytes
NET: Registered protocol family 16
Blackfin DMA Controller
stamp_init(): registering device resources
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
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 65
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler cfq registered
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART
brd: module loaded
bfin_mii_bus: probed
bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=24)@sclk=125MHz)
bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1
driver isp1362-hcd, 2005-04-04
isp1362-hcd isp1362-hcd.0: ISP1362 Host Controller
isp1362-hcd isp1362-hcd.0: new USB bus registered, assigned bus number 1
isp1362_hc_reset:
Software reset timeout
Clock not ready after 100ms
isp1362-hcd isp1362-hcd.0: can't setup
isp1362-hcd isp1362-hcd.0: USB bus 1 deregistered
init error, -19
mice: PS/2 mouse device common for all mice
usbcore: registered new interface driver appletouch
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 1976-10-26 12:29:33 UTC (215180973)
IP-Config: Complete:
device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,
host=bf537-stamp, domain=, nis-domain=(none),
bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=
Freeing unused kernel memory: 21552k freed
dma_alloc_init: dma_page @ 0x016bb000 - 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| - 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.13.4 (2009-08-16 22:19:27 CST) built-in shell (msh)
Enter 'help' for a list of built-in commands.
root:/> PHY: 0:01 - Link is Up - 100/Full
version
kernel: Linux release 2.6.28.10-ADI-2009R1-svn7193, build #14 Sun Aug 16 22:31:06 CST 2009
toolchain: bfin-linux-uclibc-gcc release gcc version 4.1.2 (ADI svn)
user-dist: release svn-8725, build #222 Sun Aug 16 22:26:32 CST 2009
root:/> successful boot attempt
************** STEP 3: Start testing.
ifconfig eth0 10.100.4.50
root:/> cp /home/test/work/cruise/checkouts/uclinux-dist/staging/usr/qt/examples/widgets/calendarwidget/calendarwidget ./qt_sample
rcp ./qt_sample root@10.100.4.50:/bin
PASS: rcp qt sample to target board
modprobe bf537_lq035
i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base@ffc01400
bf537-lq035: FrameBuffer initializing...<6>Done.
root:/>
Case 1 ...PASS
Case 1 ...PASS
qt_sample -qws
Data access misaligned address violation
- Attempted misaligned data memory or data cache access.
Def
Follow-ups
--- Sonic Zhang 2009-08-17 02:13:44
Not a bug. There is no qt_sample under
examples/widgets/calendarwidget/calendarwidget .
Please update test suite properly.
--- Sonic Zhang 2009-08-17 04:28:52
qt examples calendarwidget run properly on bf548-ezkit.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found