[#5819] oprofile and g729 kernel can not boot up in latest trunk
Submitted By: Vivi Li
Open Date
2010-01-07 22:41:00 Close Date
2010-01-13 22:23:12
Priority:
Medium Assignee:
Graf Yang
Status:
Closed Fixed In Release:
N/A
Found In Release:
2010R1 Release:
Category:
N/A Board:
STAMP
Processor:
BF537 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
gcc4.3_trunk3771
App binary format:
N/A
Summary: oprofile and g729 kernel can not boot up in latest trunk
Details:
kernel can not boot with oprofile enabled in latest trunk.
Config file is attached and bellow is the log:
--
U-Boot 2009.11-svn2200 (ADI-2010R1-pre) (Jan 07 2010 - 13:49:51)
CPU: ADSP bf537-0.2 (Detected Rev: 0.3) (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: 0
bfin>
bfin> run ramboot
Using Blackfin EMAC device
TFTP from server 10.100.4.174; our IP address is 10.100.4.50
Filename 'uImage'.
Load address: 0x1000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
####
done
Bytes transferred = 6732122 (66b95a hex)
## Booting kernel from Legacy Image at 01000000 ...
Image Name: bf537-2.6.32.3-ADI-2010R1-pre-sv
Created: 2010-01-08 5:38:59 UTC
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 6732058 Bytes = 6.4 MB
Load Address: 00001000
Entry Point: 001f3840
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 001f3840
--
Reset the board and bellow message shows up in console:
--
U-Boot 2009.11-svn2200 (ADI-2010R1-pre) (Jan 07 2010 - 13:49:51)
CPU: ADSP bf537-0.2 (Detected Rev: 0.3) (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
Log buffer from operating system:
Linux version 2.6.32.3-ADI-2010R1-pre-svn8127 (test@uclinux74-mpu) (gcc version 4.3.4 (ADI-trunk/svn-3771) ) #44 Fri Jan 8 05:380
arch/blackfin/kernel/early_printk.c : 176 [init_early_exception_vectors]
arch/blackfin/kernel/setup.c : 186 [bfin_relocate_l1_mem]
arch/blackfin/kernel/bfin_dma_5xx.c : 234 [blackfin_dma_early_init]
arch/blackfin/kernel/bfin_dma_5xx.c : 245 [early_dma_memcpy]
arch/blackfin/kernel/bfin_dma_5xx.c : 301 [early_dma_memcpy_done]
arch/blackfin/kernel/setup.c : 1312 [cmdline_init]
arch/blackfin/mm/init.c : 68 [init_pda]
Hit any key to stop autoboot: 0
bfin>
--
Follow-ups
--- Vivi Li 2010-01-07 22:59:14
g729 kernel also can not boot up.
Bellow is the log:
--
U-Boot 2009.11-svn2200 (ADI-2010R1-pre) (Jan 07 2010 - 13:49:51)
CPU: ADSP bf537-0.2 (Detected Rev: 0.3) (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
Log buffer from operating system:
Linux version 2.6.32.3-ADI-2010R1-pre-svn8127 (test@uclinux74-mpu) (gcc version
4.3.4 (ADI-trunk/svn-3771) ) #44 Thu Jan 7 21:480
arch/blackfin/kernel/early_printk.c : 176 [init_early_exception_vectors]
arch/blackfin/kernel/setup.c : 186 [bfin_relocate_l1_mem]
arch/blackfin/kernel/bfin_dma_5xx.c : 234 [blackfin_dma_early_init]
arch/blackfin/kernel/bfin_dma_5xx.c : 245 [early_dma_memcpy]
arch/blackfin/kernel/bfin_dma_5xx.c : 301 [early_dma_memcpy_done]
arch/blackfin/kernel/setup.c : 1312 [cmdline_init]
arch/blackfin/mm/init.c : 68 [init_pda]
panic before setup_arch
IPEND: 0x8030
HWERRCAUSE: 0x03
Err @ 0x00111d4e
Trace:
T : 0x0019b5c8
S : 0x00111d4c
T : 0x00111d44
S : 0x0002535a
T : 0x00025358
S : 0x0002532e
T : 0x00025318
S : 0x000127ee
T : 0x000127da
S : 0x000126d2
T : 0x000126b2
S : 0x00012704
T : 0x000126fa
S : 0x000123d2
T : 0x000123cc
S : 0x00012394
T : 0x00012370
S : 0x000126f6
T : 0x000126ee
S : 0x00012796
T : 0x00012795
S : 0x000127a4
T : 0x00012772
S : 0x000126ec
T : 0x00012670
S : 0x00012cd6
T : 0x00012cca
S : 0x00012be2
T : 0x00012be0
S : 0x0001265a
T : 0x0001262c
S : 0x00025316
Use bfin-elf-addr2line to determine function names
Trying to restart
Hit any key to stop autoboot: 0
bfin>
--
Last passed version:
--
kernel: Linux release 2.6.32.2-ADI-2010R1-pre-svn8107, build #36 Tue Jan 5
10:05:37 GMT 2010
toolchain: bfin-uclinux-gcc release gcc version 4.3.4 (ADI-trunk/svn-3771)
user-dist: release svn-9341, build #619 Tue Jan 5 10:05:02 GMT 2010
--
First failed version:
--
kernel: Linux release 2.6.32.3-ADI-2010R1-pre-svn8127, build #44 Thu Jan 7
21:35:29 GMT 2010
toolchain: bfin-uclinux-gcc release gcc version 4.3.4 (ADI-trunk/svn-3771)
user-dist: release svn-9349, build #764 Thu Jan 7 21:34:55 GMT 2010
--
--- Graf Yang 2010-01-12 03:17:31
I fixed the smp kernel can not boot issue (commit 8144), at this noon.
Please try the new kernel.
--- Vivi Li 2010-01-13 03:13:05
561 SMP kernel is OK now.
Need to further check other platform.
--- Vivi Li 2010-01-13 22:23:03
OK, close it.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.oprofile.fdpic application/octet-stream 35559 Vivi Li