LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-06-2012, 03:00 AM   #1
zxlwyx9219
LQ Newbie
 
Registered: Jun 2011
Posts: 16

Rep: Reputation: Disabled
Problems with add_plataform_device on FriendlyARM's MINI6410


Hi,everyone,
Recently I got a problem on add_plataform_device,I am not famliar on this questions. And I always work hard on th google to find a similar question,
and some told me the problems was on the clk get, but I didn't how to do,any ideals will be appriciated!Thank you!

U-Boot 1.1.6 (Jul 12 2012 - 15:49:11) for FriendlyARM MINI6410


CPU: S3C6410@532MHz
Fclk = 532MHz, Hclk = 133MHz, Pclk = 66MHz, Serial = CLKUART (SYNC Mode
)
Board: MINI6410
DRAM: 256 MB
Flash: 0 kB
NAND: 256 MB
In: serial
Out: serial
Err: serial
MAC: 08:90:90:90:90:90
Hit any key to stop autoboot: 0

NAND read: device 0 offset 0x80000, size 0x500000
........................................Boot with zImage

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Initializing cgroup subsys cpu
Linux version 2.6.38-FriendlyARM (root@HelloAndroid) (gcc version 4.5.1 (ctng-1.
8.1-FA) ) #7 PREEMPT Thu Sep 6 14:11:56 HKT 2012
CPU: ARMv6-compatible processor [410fb766] revision 6 (ARMv7), cr=00c5387f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: MINI6410
Memory policy: ECC disabled, Data cache writeback
CPU S3C6410 (id 0x36410101)
S3C24XX Clocks, Copyright 2004 Simtec Electronics
camera: no parent clock specified
S3C64XX: PLL settings, A=532000000, M=532000000, E=24000000
S3C64XX: HCLK2=266000000, HCLK=133000000, PCLK=66500000
mout_apll: source is fout_apll (1), rate is 532000000
mout_epll: source is epll (1), rate is 24000000
mout_mpll: source is mpll (1), rate is 532000000
mmc_bus: source is mout_epll (0), rate is 24000000
mmc_bus: source is mout_epll (0), rate is 24000000
mmc_bus: source is mout_epll (0), rate is 24000000
usb-bus-host: source is clk_48m (0), rate is 48000000
uclk1: source is dout_mpll (1), rate is 66500000
spi-bus: source is mout_epll (0), rate is 24000000
spi-bus: source is mout_epll (0), rate is 24000000
audio-bus: source is mout_epll (0), rate is 24000000
audio-bus: source is mout_epll (0), rate is 24000000
audio-bus: source is mout_epll (0), rate is 24000000
irda-bus: source is mout_epll (0), rate is 24000000
camera: no parent clock specified
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
Kernel command line: root=ubi0:FriendlyARM-root ubi.mtd=2 rootfstype=ubifs init=
/linuxrc console=ttySAC0,115200
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 254212k/254212k available, 7932k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xff600000 - 0xffe00000 ( 8 MB)
vmalloc : 0xd0800000 - 0xf6000000 ( 600 MB)
lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.init : 0xc0008000 - 0xc0171000 (1444 kB)
.text : 0xc0171000 - 0xc051ad30 (3752 kB)
.data : 0xc051c000 - 0xc0545fe0 ( 168 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Preemptable hierarchical RCU implementation.
RCU-based detection of stalled CPUs is disabled.
Verbose stalled-CPUs detection is disabled.
NR_IRQS:246
VIC @f6000000: id 0x00041192, vendor 0x41
VIC @f6010000: id 0x00041192, vendor 0x41
Console: colour dummy device 80x30
console [ttySAC0] enabled
Calibrating delay loop... 530.84 BogoMIPS (lpj=2654208)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
------------[ cut here ]------------
WARNING: at lib/kref.c:34 kref_get+0x20/0x3c()
Modules linked in:
[<c0180cf4>] (unwind_backtrace+0x0/0xe4) from [<c0191cc8>] (warn_slowpath_common
+0x4c/0x64)
[<c0191cc8>] (warn_slowpath_common+0x4c/0x64) from [<c0191cf8>] (warn_slowpath_n
ull+0x18/0x1c)
[<c0191cf8>] (warn_slowpath_null+0x18/0x1c) from [<c02dc988>] (kref_get+0x20/0x3
c)
[<c02dc988>] (kref_get+0x20/0x3c) from [<c02db6dc>] (kobject_get+0x14/0x1c)
[<c02db6dc>] (kobject_get+0x14/0x1c) from [<c031db80>] (get_device+0x14/0x1c)
[<c031db80>] (get_device+0x14/0x1c) from [<c031e944>] (device_add+0x74/0x528)
[<c031e944>] (device_add+0x74/0x528) from [<c032245c>] (platform_device_add+0x10
8/0x164)
[<c032245c>] (platform_device_add+0x108/0x164) from [<c032271c>] (platform_add_d
evices+0x20/0x5c)
[<c032271c>] (platform_add_devices+0x20/0x5c) from [<c000a60c>] (customize_machi
ne+0x1c/0x28)
[<c000a60c>] (customize_machine+0x1c/0x28) from [<c01714d8>] (do_one_initcall+0x
bc/0x190)
[<c01714d8>] (do_one_initcall+0xbc/0x190) from [<c0008adc>] (kernel_init+0x98/0x
148)
[<c0008adc>] (kernel_init+0x98/0x148) from [<c017c6c8>] (kernel_thread_exit+0x0/
0x8)
---[ end trace 1b75b31a2719ed1c ]---
Unable to handle kernel NULL pointer dereference at virtual address 00000021
pgd = c0004000
[00000021] *pgd=00000000
Internal error: Oops: 5 [#1] PREEMPT
last sysfs file:
Modules linked in:
CPU: 0 Tainted: G W (2.6.38-FriendlyARM #7)
PC is at sysfs_create_dir+0x24/0xe0
LR is at kobject_add_internal+0xd0/0x1e8
pc : [<c0237578>] lr : [<c02db7b4>] psr: a0000013
sp : cf82dee8 ip : 00003f00 fp : 00000000
r10: 00000000 r9 : 00000000 r8 : 00000013
r7 : c015ee20 r6 : 00000000 r5 : c05237c8 r4 : c05237c8
r3 : c0525d50 r2 : cf82df00 r1 : c05237cc r0 : c05237c8
Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 00c5387f Table: 50004008 DAC: 00000015
Process swapper (pid: 1, stack limit = 0xcf82c268)
Stack: (0xcf82dee8 to 0xcf82e000)
dee0: c05237c8 c05237cc cf82df00 cf84db80 c05237c8 c05237c8
df00: c0525d50 c02db7b4 c05237c8 c0525d50 00000000 c015ee20 00000013 c02dbba0
df20: c05237c8 cf82df3c c05237c0 c05237c8 00000000 c031e970 00000000 00000000
df40: c05237c8 c0525d48 00000021 c02dbac8 ffffffff c05237b8 0000000d c05237b8
df60: 00000000 00000000 c015ee20 00000013 00000000 00000000 00000000 c032245c
df80: ffffffff c015ede8 0000000d 00000000 c015ee20 c032271c c0022274 c002255c
dfa0: c017c6c8 c000a5f0 00000000 c000a60c cf82c000 c01714d8 00000000 c0170000
dfc0: 00000013 000000f5 c053043c c0022274 c002255c c017c6c8 00000013 00000000
dfe0: 00000000 c0008adc 00000000 00000000 c0008a44 c017c6c8 ffffffff ffffffff
[<c0237578>] (sysfs_create_dir+0x24/0xe0) from [<c02db7b4>] (kobject_add_interna
l+0xd0/0x1e8)
[<c02db7b4>] (kobject_add_internal+0xd0/0x1e8) from [<c02dbba0>] (kobject_add+0x
68/0x8c)
[<c02dbba0>] (kobject_add+0x68/0x8c) from [<c031e970>] (device_add+0xa0/0x528)
[<c031e970>] (device_add+0xa0/0x528) from [<c032245c>] (platform_device_add+0x10
8/0x164)
[<c032245c>] (platform_device_add+0x108/0x164) from [<c032271c>] (platform_add_d
evices+0x20/0x5c)
[<c032271c>] (platform_add_devices+0x20/0x5c) from [<c000a60c>] (customize_machi
ne+0x1c/0x28)
[<c000a60c>] (customize_machine+0x1c/0x28) from [<c01714d8>] (do_one_initcall+0x
bc/0x190)
[<c01714d8>] (do_one_initcall+0xbc/0x190) from [<c0008adc>] (kernel_init+0x98/0x
148)
[<c0008adc>] (kernel_init+0x98/0x148) from [<c017c6c8>] (kernel_thread_exit+0x0/
0x8)
Code: e594300c e3530000 15936018 059f60ac (e5d65021)
---[ end trace 1b75b31a2719ed1d ]---
Kernel panic - not syncing: Attempted to kill init!
[<c0180cf4>] (unwind_backtrace+0x0/0xe4) from [<c040ed38>] (panic+0x58/0x174)
[<c040ed38>] (panic+0x58/0x174) from [<c0194ab4>] (do_exit+0x68/0x5e4)
[<c0194ab4>] (do_exit+0x68/0x5e4) from [<c017f334>] (die+0x190/0x1c0)
[<c017f334>] (die+0x190/0x1c0) from [<c0181c68>] (__do_kernel_fault+0x64/0x84)
[<c0181c68>] (__do_kernel_fault+0x64/0x84) from [<c0181e60>] (do_page_fault+0x1d
8/0x1f4)
[<c0181e60>] (do_page_fault+0x1d8/0x1f4) from [<c0171218>] (do_DataAbort+0x30/0x
98)
[<c0171218>] (do_DataAbort+0x30/0x98) from [<c017b22c>] (__dabt_svc+0x4c/0x60)
Exception stack(0xcf82dea0 to 0xcf82dee8)
dea0: c05237c8 c05237cc cf82df00 c0525d50 c05237c8 c05237c8 00000000 c015ee20
dec0: 00000013 00000000 00000000 00000000 00003f00 cf82dee8 c02db7b4 c0237578
dee0: a0000013 ffffffff
[<c017b22c>] (__dabt_svc+0x4c/0x60) from [<c0237578>] (sysfs_create_dir+0x24/0xe
0)
[<c0237578>] (sysfs_create_dir+0x24/0xe0) from [<c02db7b4>] (kobject_add_interna
l+0xd0/0x1e8)
[<c02db7b4>] (kobject_add_internal+0xd0/0x1e8) from [<c02dbba0>] (kobject_add+0x
68/0x8c)
[<c02dbba0>] (kobject_add+0x68/0x8c) from [<c031e970>] (device_add+0xa0/0x528)
[<c031e970>] (device_add+0xa0/0x528) from [<c032245c>] (platform_device_add+0x10
8/0x164)
[<c032245c>] (platform_device_add+0x108/0x164) from [<c032271c>] (platform_add_d
evices+0x20/0x5c)
[<c032271c>] (platform_add_devices+0x20/0x5c) from [<c000a60c>] (customize_machi
ne+0x1c/0x28)
[<c000a60c>] (customize_machine+0x1c/0x28) from [<c01714d8>] (do_one_initcall+0x
bc/0x190)
[<c01714d8>] (do_one_initcall+0xbc/0x190) from [<c0008adc>] (kernel_init+0x98/0x
148)
[<c0008adc>] (kernel_init+0x98/0x148) from [<c017c6c8>] (kernel_thread_exit+0x0/
0x8)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cross-Compile some libraries for FriendlyARM striker07 Linux - Embedded & Single-board computer 1 04-21-2011 06:36 AM
FriendlyArm mini2440 TL-WN321Gv4 kiryat8 Linux - Embedded & Single-board computer 0 02-28-2011 07:50 AM
Slackware 11 on a laptop (problems and problems and problems) kizersouzay Slackware 20 02-08-2007 11:52 AM
Problems, problems, problems. Lets start with the soundcard Kre8ive Linux - Newbie 5 08-07-2003 02:20 AM
Problems, problems, problems. Lets start with the ES 1868 AudioDrive Kre8ive Linux - Newbie 1 08-06-2003 08:04 PM


All times are GMT -5. The time now is 07:53 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration