[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] creating a flash partition



Here is the current message:
===============
physmap platform flash device: 01000000 at 21000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank
Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
erase region 0: offset=0x0,size=0x20000,blocks=128
7 cmdlinepart partitions found on MTD device physmap-flash.0
Creating 7 MTD partitions on "physmap-flash.0":
0x00000000-0x000c0000 : "bitstream"
0x000c0000-0x00100000 : "boot"
0x00100000-0x00140000 : "bootenv"
0x00140000-0x00160000 : "config"
0x00160000-0x00560000 : "image"
0x00560000-0x00660000 : "jimfs"
0x00660000-0x00f60000 : "spare"
same name:physmap-flash.0
kobject_add failed for physmap-flash.0 with -EEXIST, don't try to register things with the same name in the same directory.

Stack:
 23fe3ea4 00000000 220d293c 23fdb7ac 2219a434 220d2948 22172590 2219a438
 000000a0 220b56ec 00000034 00000a71 2219a38c 2219a384 2219a480 ffffffea
 220d7acc 2219a384 22175bb0 2219a480 21ffffff 2219416c ffffffff 00000001
Call Trace:
[<220d293c>] device_add+0xd0/0x524
[<220d2948>] device_add+0xdc/0x524
[<220b56ec>] kobject_release+0x0/0x1c
[<220d7acc>] platform_device_add+0x160/0x1a4
[<220d7b2c>] platform_device_register+0x1c/0x34
[<220d7b24>] platform_device_register+0x14/0x34
[<221b1d64>] physmap_init+0x48/0x58
[<221b1d34>] physmap_init+0x18/0x58
[<22000224>] init+0x128/0x378
[<22000224>] init+0x128/0x378
[<2200118c>] kernel_thread_helper+0xc/0x20
[<22001180>] kernel_thread_helper+0x0/0x20

uclinux[mtd]: RAM probe address=0x221caa0c size=0x164000
Creating 1 MTD partitions on "RAM":
0x00000000-0x00164000 : "ROMfs"
uclinux[mtd]: set ROMfs to be root filesystem index=7

===================
That call trace looks weird, like there are two threads running.

I also attached my .config

thanks,
jim

John Williams wrote:
Hi Jim,

Jim Van Vorst wrote:
Patched, got this on boot:

7 cmdlinepart partitions found on MTD device physmap-flash.0
Creating 7 MTD partitions on "physmap-flash.0":
0x00000000-0x000c0000 : "bitstream"
0x000c0000-0x00100000 : "boot"
0x00100000-0x00140000 : "bootenv"
0x00140000-0x00160000 : "config"
0x00160000-0x00560000 : "image"
0x00560000-0x00660000 : "jimfs"
0x00660000-0x00f60000 : "spare"
same name:physmap-flash.0
kobject_add failed for physmap-flash.0 with -EEXIST, don't try to register things with the same name in the same directory.

That's odd - the physmap-flash.0 object itself is being registered twice.

Can you please post your linux-2.6.x/.config file?

Thanks,

John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/


Attachment: .config
Description: application/xml