mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* AT91SAM9263-ek - Kernel panic
       [not found] <500C4933.8050202@web.de>
@ 2012-07-22 21:10 ` Stutz Sven
  2012-07-23  5:48   ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 1 reply; 3+ messages in thread
From: Stutz Sven @ 2012-07-22 21:10 UTC (permalink / raw)
  To: barebox


[-- Attachment #1.1: Type: text/plain, Size: 9744 bytes --]

Hello to everybody,

previously I have had some doubts to run a Linux kernel on this evalboard.
Especially to find a BSP for my board ....

In the meantime I have had some problems which I was able to solve by 
myself or reading through different forums.

I still have some problems with Barebox and it's ECC for the NAND-Flash 
and also the asterix * in this nand -a /dev/nand0.* is not working. (It 
is working when I am doing it manually).

But in total I am able to load and start Barebox and then again loading 
and starting the kernel.

First I have seen nothing until I switch on the special function 
earlyprintk=serial,ttyS0,115200n8
After that I saw that I have mounting/partitioning problem, so I changed 
the board specific init.c
in that way that the first three partitions match exactly to the 
definition in the configuration file for the init script of Barebox.

     init.c > devfs_add_partition("nand0", 0x00000, SZ_128K, 
DEVFS_PARTITION_FIXED,"at91bootstrap_raw");
                 dev_add_bb_dev("at91bootstrap_raw", "at91bootstrap");
                 devfs_add_partition("nand0", SZ_128K, SZ_256K, 
DEVFS_PARTITION_FIXED, "self_raw");
                 dev_add_bb_dev("self_raw", "self0");
                 devfs_add_partition("nand0", SZ_256K + SZ_128K, 
SZ_128K, DEVFS_PARTITION_FIXED, "env_raw");
                 dev_add_bb_dev("env_raw", "env0");

     env/config > 
nand_parts="128k(at91bootstrap),256k(barebox),128k(bareboxenv),4M(kernel),80M(rootfs),-(data)"
                 rootfs_mtdblock_nand=4
                 rootfs_mtdblock_type=jffs2

After that I was really happy that the kernel is prompting "VFS: Mounted 
root (jffs2 filesystem)"
But the next kernel panic is near
It cannot find a init script.
I tried init=/bin/init, init=/sbin/init init=linuxrc everything with out 
success each time the same failure occur. I also tried to execute a 
simple command like init=/bin/ls ...

But I see in sysroot-target a softlink linuxrc -> /bin/busybox and also
in the root-folder root/sbin/ init-> ../bin/busybox
Waht is the difference of those directories? (I thought the root folder 
is the result for the target, so everything in there will be contained 
in the root.jffs2)

I have also changed in busybox between soft and hard links ...
How can I solve this problem?
Has anyone a hint for me, pls?

If it  is helpfull here the last kernel outputs >

>    Image Name:   Linux-3.4.0
>    Created:      2012-07-20  11:10:09 UTC
>    OS:           Linux
>    Architecture: ARM
>    Type:         Kernel Image
>    Compression:  uncompressed
>    Data Size:    1720712 Bytes =  1.6 MB
>    Load Address: 20008000
>    Entry Point:  20008000
>
> commandline: console=ttyS0,115200n8 mem=64M 
> earlyprintk=serial,ttyS0,115200n8 init=/sbin/init root=/dev/mtdblock4 
> rw rootfstype=jffs2 noinitrd 
> mtdparts=atmel_nand:128k(at91bootstrap),256k(barebox),128k(bareboxenv),4M(kernel),80M(rootfs),-(data)
> arch_number: 1202
> Uncompressing Linux... done, booting the kernel.
> [    0.000000] Booting Linux on physical CPU 0
> [    0.000000] Linux version 3.4.0 (user@ubuntu) (gcc version 4.5.2 
> (OSELAS.Toolchain-2011.03.1) ) #30 Fri Jul 20 13:09:33 CEST 2012
> [    0.000000] bootconsole [earlycon0] enabled
> [    0.000000] AT91: Detected soc type: at91sam9263
> [    0.000000] AT91: Detected soc subtype: Unknown
> [    0.000000] AT91: sram at 0x300000 of 0x14000 mapped at 0xfef64000
> [    0.000000] AT91: sram at 0x500000 of 0x4000 mapped at 0xfef60000
> [    0.000000] gpiochip_add: registered GPIOs 0 to 31 on device: pioA
> [    0.000000] gpiochip_add: registered GPIOs 32 to 63 on device: pioB
> [    0.000000] gpiochip_add: registered GPIOs 64 to 95 on device: pioC
> [    0.000000] gpiochip_add: registered GPIOs 96 to 127 on device: pioD
> [    0.000000] gpiochip_add: registered GPIOs 128 to 159 on device: pioE
> [    0.000000] Kernel command line: console=ttyS0,115200n8 mem=64M 
> earlyprintk=serial,ttyS0,115200n8 init=/sbin/init root=/dev/mtdblock4 
> rw rootfstype=jffs2 noinitrd 
> mtdparts=atmel_nand:128k(at91bootstrap),256k(barebox),128k(bareboxenv),4M(kernel),80M(rootfs),-(data)
> [    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
> [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 
> bytes)
> [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 
> bytes)
> [    0.000000] Memory: 64MB = 64MB total
> [    0.000000] Memory: 61072k/61072k available, 4464k reserved, 0K highmem
> [    0.000000] Virtual kernel memory layout:
> [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
> [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
> [    0.000000]     vmalloc : 0xc4800000 - 0xff000000   ( 936 MB)
> [    0.000000]     lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
> [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
> [    0.000000]       .text : 0xc0008000 - 0xc0324000   (3184 kB)
> [    0.000000]       .init : 0xc0324000 - 0xc0349000   ( 148 kB)
> [    0.000000]       .data : 0xc034a000 - 0xc03767a8   ( 178 kB)
> [    0.000000]        .bss : 0xc03767cc - 0xc03c313c   ( 307 kB)
> [    0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, 
> CPUs=1, Nodes=1
> [    0.000000] NR_IRQS:192
> [    0.000000] AT91: 160 gpio irqs in 5 banks
> [    0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, 
> wraps every 4294967286ms
> [    0.000000] Calibrating delay loop... 99.22 BogoMIPS (lpj=496128)
> [    0.100000] pid_max: default: 32768 minimum: 301
> [    0.100000] Mount-cache hash table entries: 512
> [    0.110000] CPU: Testing write buffer coherency: ok
> [    0.120000] ftrace: allocating 10076 entries in 30 pages
> [    0.230000] Setting up static identity map for 0x2025add0 - 0x2025ae0c
> [    0.240000] devtmpfs: initialized
> [    0.260000] NET: Registered protocol family 16
> [    0.270000] AT91: Power Management
> [    0.270000] AT91: Starting after user reset
> [    0.290000] bio: create slab <bio-0> at 0
> [    0.290000] Switching to clocksource pit
> [    0.330000] NET: Registered protocol family 2
> [    0.340000] IP route cache hash table entries: 1024 (order: 0, 4096 
> bytes)
> [    0.350000] TCP established hash table entries: 2048 (order: 2, 
> 16384 bytes)
> [    0.350000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
> [    0.360000] TCP: Hash tables configured (established 2048 bind 2048)
> [    0.370000] TCP: reno registered
> [    0.370000] UDP hash table entries: 256 (order: 0, 4096 bytes)
> [    0.380000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
> [    0.390000] NET: Registered protocol family 1
> [    0.390000] NetWinder Floating Point Emulator V0.97 (double precision)
> [    0.440000] VFS: Disk quotas dquot_6.5.2
> [    0.440000] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
> [    0.450000] msgmni has been set to 119
> [    0.460000] Block layer SCSI generic (bsg) driver version 0.4 
> loaded (major 254)
> [    0.470000] io scheduler noop registered
> [    0.470000] io scheduler deadline registered
> [    0.480000] io scheduler cfq registered (default)
> [    0.490000] atmel_usart.0: ttyS0 at MMIO 0xffffee00 (irq = 1) is a 
> ATMEL_SERIAL
> [    0.500000] console [ttyS0] enabled, bootconsole disabled
> [    0.500000] console [ttyS0] enabled, bootconsole disabled
> [    0.510000] atmel_usart.1: ttyS1 at MMIO 0xfff8c000 (irq = 7) is a 
> ATMEL_SERIAL
> [    0.540000] atmel_nand: Use On Flash BBT
> [    0.550000] atmel_nand atmel_nand: No DMA support for NAND access.
> [    0.550000] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda 
> (Micron NAND 256MiB 3,3V 8-bit)
> [    0.560000] Bad block table found at page 131008, version 0x01
> [    0.570000] Bad block table found at page 130944, version 0x01
> [    0.580000] 6 cmdlinepart partitions found on MTD device atmel_nand
> [    0.580000] Creating 6 MTD partitions on "atmel_nand":
> [    0.590000] 0x000000000000-0x000000020000 : "at91bootstrap"
> [    0.600000] 0x000000020000-0x000000060000 : "barebox"
> [    0.610000] 0x000000060000-0x000000080000 : "bareboxenv"
> [    0.620000] 0x000000080000-0x000000480000 : "kernel"
> [    0.630000] 0x000000480000-0x000005480000 : "rootfs"
> [    0.640000] 0x000005480000-0x000010000000 : "data"
> [    0.650000] GPIO NAND driver, © 2004 Simtec Electronics
> [    0.660000] TCP: cubic registered
> [    0.660000] NET: Registered protocol family 17
> [    0.670000] Registering the dns_resolver key type
> [    9.860000] VFS: Mounted root (jffs2 filesystem) on device 31:4.
> [    9.870000] devtmpfs: mounted
> [    9.870000] Freeing init memory: 148K
> [   11.830000] Failed to execute /sbin/init.  Attempting defaults...
> [   11.860000] Kernel panic - not syncing: No init found.  Try passing 
> init= option to kernel. See Linux Documentation/init.txt for guidance.
> [   11.870000] Backtrace:
> [   11.870000] [<c00120f4>] (dump_backtrace+0x0/0x118) from 
> [<c02587e0>] (dump_stack+0x20/0x24)
> [   11.880000]  r6:c033a44c r5:c033a46c r4:c03767e0
> [   11.890000] [<c02587c0>] (dump_stack+0x0/0x24) from [<c0258864>] 
> (panic+0x80/0x1c8)
> [   11.890000] [<c02587e4>] (panic+0x0/0x1c8) from [<c0008850>] 
> (init_post+0xb0/0xd4)
> [   11.900000]  r3:00000001 r2:c04460a8 r1:c04342e0 r0:c02dad7e
> [   11.910000]  r7:c03767e0
> [   11.910000] [<c00087a0>] (init_post+0x0/0xd4) from [<c0324924>] 
> (kernel_init+0x164/0x1a4)
> [   11.920000]  r4:c03767e0
> [   11.920000] [<c03247c0>] (kernel_init+0x0/0x1a4) from [<c00209f8>] 
> (do_exit+0x0/0x334)


best regards
Sven



[-- Attachment #1.2: Type: text/html, Size: 12415 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: AT91SAM9263-ek - Kernel panic
  2012-07-22 21:10 ` AT91SAM9263-ek - Kernel panic Stutz Sven
@ 2012-07-23  5:48   ` Jean-Christophe PLAGNIOL-VILLARD
  2012-07-25 20:39     ` Stutz Sven
  0 siblings, 1 reply; 3+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-07-23  5:48 UTC (permalink / raw)
  To: Stutz Sven; +Cc: barebox

On 23:10 Sun 22 Jul     , Stutz Sven wrote:
>    Hello to everybody,
> 
>    previously I have had some doubts to run a Linux kernel on this evalboard.
>    Especially to find a BSP for my board ....
> 
>    In the meantime I have had some problems which I was able to solve by
>    myself or reading through different forums.
the mainline kernel work perfectly on it
> 
>    I still have some problems with Barebox and it's ECC for the NAND-Flash
>    and also the asterix * in this nand -a /dev/nand0.* is not working. (It is
>    working when I am doing it manually).
> 
>    But in total I am able to load and start Barebox and then again loading
>    and starting the kernel.
> 
>    First I have seen nothing until I switch on the special function
>    earlyprintk=serial,ttyS0,115200n8
>    After that I saw that I have mounting/partitioning problem, so I changed
>    the board specific init.c
>    in that way that the first three partitions match exactly to the
>    definition in the configuration file for the init script of Barebox.
> 
>        init.c > devfs_add_partition("nand0", 0x00000, SZ_128K,
>    DEVFS_PARTITION_FIXED,"at91bootstrap_raw");
>                    dev_add_bb_dev("at91bootstrap_raw", "at91bootstrap");
>                    devfs_add_partition("nand0", SZ_128K, SZ_256K,
>    DEVFS_PARTITION_FIXED, "self_raw");
>                    dev_add_bb_dev("self_raw", "self0");
>                    devfs_add_partition("nand0", SZ_256K + SZ_128K, SZ_128K,
>    DEVFS_PARTITION_FIXED, "env_raw");
>                    dev_add_bb_dev("env_raw", "env0");
> 
>        env/config >
>    nand_parts="128k(at91bootstrap),256k(barebox),128k(bareboxenv),4M(kernel),80M(rootfs),-(data)"
>                    rootfs_mtdblock_nand=4
>                    rootfs_mtdblock_type=jffs2
> 
>    After that I was really happy that the kernel is prompting "VFS: Mounted
>    root (jffs2 filesystem)"
>    But the next kernel panic is near
>    It cannot find a init script.
>    I tried init=/bin/init, init=/sbin/init init=linuxrc everything with out
>    success each time the same failure occur. I also tried to execute a simple
>    command like init=/bin/ls ...
> 
>    But I see in sysroot-target a softlink linuxrc -> /bin/busybox and also
>    in the root-folder root/sbin/ init-> ../bin/busybox
>    Waht is the difference of those directories? (I thought the root folder is
>    the result for the target, so everything in there will be contained in the
>    root.jffs2)
> 
>    I have also changed in busybox between soft and hard links ...
>    How can I solve this problem?
>    Has anyone a hint for me, pls?
it seems you use the wrong ABI to complie your rootfs

Best Regards,
J.

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: AT91SAM9263-ek - Kernel panic
  2012-07-23  5:48   ` Jean-Christophe PLAGNIOL-VILLARD
@ 2012-07-25 20:39     ` Stutz Sven
  0 siblings, 0 replies; 3+ messages in thread
From: Stutz Sven @ 2012-07-25 20:39 UTC (permalink / raw)
  To: Jean-Christophe PLAGNIOL-VILLARD; +Cc: barebox

Hello,

I am sorry for my late message.

But
Am 23.07.2012 07:48, schrieb Jean-Christophe PLAGNIOL-VILLARD:

> On 23:10 Sun 22 Jul     , Stutz Sven wrote:
>>     Hello to everybody,
>>
>>     previously I have had some doubts to run a Linux kernel on this evalboard.
>>     Especially to find a BSP for my board ....
>>
>>     In the meantime I have had some problems which I was able to solve by
>>     myself or reading through different forums.
> the mainline kernel work perfectly on it

I guess it should so and with ptxdist it is also more or less easy to adjust the correct settings.
(I hope so :-) )

>>     But in total I am able to load and start Barebox and then again loading
>>     and starting the kernel.
>>
>>     First I have seen nothing until I switch on the special function
>>     earlyprintk=serial,ttyS0,115200n8
>>     After that I saw that I have mounting/partitioning problem, so I changed
>>     the board specific init.c
>>     in that way that the first three partitions match exactly to the
>>     definition in the configuration file for the init script of Barebox.
>>
>>         init.c > devfs_add_partition("nand0", 0x00000, SZ_128K,
>>     DEVFS_PARTITION_FIXED,"at91bootstrap_raw");
>>                     dev_add_bb_dev("at91bootstrap_raw", "at91bootstrap");
>>                     devfs_add_partition("nand0", SZ_128K, SZ_256K,
>>     DEVFS_PARTITION_FIXED, "self_raw");
>>                     dev_add_bb_dev("self_raw", "self0");
>>                     devfs_add_partition("nand0", SZ_256K + SZ_128K, SZ_128K,
>>     DEVFS_PARTITION_FIXED, "env_raw");
>>                     dev_add_bb_dev("env_raw", "env0");
>>
>>         env/config >
>>     nand_parts="128k(at91bootstrap),256k(barebox),128k(bareboxenv),4M(kernel),80M(rootfs),-(data)"
>>                     rootfs_mtdblock_nand=4
>>                     rootfs_mtdblock_type=jffs2
>>
>>     After that I was really happy that the kernel is prompting "VFS: Mounted
>>     root (jffs2 filesystem)"
>>     But the next kernel panic is near
>>     It cannot find a init script.
>>     I tried init=/bin/init, init=/sbin/init init=linuxrc everything with out
>>     success each time the same failure occur. I also tried to execute a simple
>>     command like init=/bin/ls ...
>>
>>     But I see in sysroot-target a softlink linuxrc -> /bin/busybox and also
>>     in the root-folder root/sbin/ init-> ../bin/busybox
>>     Waht is the difference of those directories? (I thought the root folder is
>>     the result for the target, so everything in there will be contained in the
>>     root.jffs2)
>>
>>     I have also changed in busybox between soft and hard links ...
>>     How can I solve this problem?
>>     Has anyone a hint for me, pls?
> it seems you use the wrong ABI to complie your rootfs

But when I mount the rootfs.jffs2 on my Pc I see all directories (bin/, sbin/, etc/ , ....) and all the commands are build in and linked to busybox.

file test/bin/busybox

test/bin/busybox: setuid ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.23, stripped

>
> Best Regards,
> J.

Unfortunately I have done some bad changes that the rootfs is no longer been mounted on startup :-(

see ..

> barebox 2012.07.0 #53 Mon Jul 23 11:14:05 CEST 2012 Board: Atmel 
> at91sam9263-ek Just for test 21 Clocks: CPU 199 MHz, master 99 MHz, 
> main 16.367 MHz atmel_nand: Use On Flash BBT NAND device: Manufacturer 
> ID: 0x2c, Chip ID: 0xda (Micron NaND 256MiB 3,3V 8-bit) NAND_ECC_NONE 
> selected by board driver. This is not recommended !! 
I now I try to fix this later ...
> Bad block table found at page 131008, version 0x01 Bad block table 
> found at page 130944, version 0x01 cfi_flash@cfi_flash0: found cfi 
> flash at 10000000, size 4194304 Malloc space: 0x23b00000 -> 0x23efffff 
> (size 4 MB) Stack space : 0x23af8000 -> 0x23b00000 (size 32 kB) Hit 
> any key to stop autoboot: 0 booting kernel from /dev/nand0.kernel.bb 
> Image Name: Linux-3.4.0 Created: 2012-07-25 15:30:15 UTC OS: Linux 
> Architecture: ARM Type: Kernel Image Compression: uncompressed Data 
> Size: 1683440 Bytes = 1.6 MB Load Address: 20008000 Entry Point: 
> 20008000 ***************************************** *** LOADING IMAGE 
> TO SDRAM! *** ***************************************** commandline: 
> console=ttyS0,115200n8 mem=64M earlyprintk=serial,ttyS0,115200n8, 
> init=/bin/ls root=/dev/mtdblock4 rootfstype=jffs2 noinitrd 
> mtdparts=atmel_nand:128k(at91bootstrap),256k(barebox),128k(bareboxenv),4M(kernel)ro,20M(root)ro,-(data) 
> arch_number: 1202 Uncompressing Linux... done, booting the kernel. [ 
> 0.000000] Booting Linux on physical CPU 0 [ 0.000000] Linux version 
> 3.4.0 (user@ubuntu) (gcc version 4.6.2 (OSELAS.Toolchain-2011.11.1) ) 
> #14 Wed Jul 25 17:29:36 CEST 2012 [ 0.000000] bootconsole [earlycon0] 
> enabled [ 0.000000] AT91: Detected soc type: at91sam9263 [ 0.000000] 
> AT91: Detected soc subtype: Unknown [ 0.000000] AT91: sram at 0x300000 
> of 0x14000 mapped at 0xfef64000 [ 0.000000] AT91: sram at 0x500000 of 
> 0x4000 mapped at 0xfef60000 [ 0.000000] gpiochip_add: registered GPIOs 
> 0 to 31 on device: pioA [ 0.000000] gpiochip_add: registered GPIOs 32 
> to 63 on device: pioB [ 0.000000] gpiochip_add: registered GPIOs 64 to 
> 95 on device: pioC [ 0.000000] gpiochip_add: registered GPIOs 96 to 
> 127 on device: pioD [ 0.000000] gpiochip_add: registered GPIOs 128 to 
> 159 on device: pioE [ 0.000000] Kernel command line: 
> console=ttyS0,115200n8 mem=64M earlyprintk=serial,ttyS0,115200n8, 
> init=/bin/ls root=/dev/mtdblock4 rootfstype=jffs2 noinitrd 
> mtdparts=atmel_nand:128k(at91bootstrap),256k(barebox),128k(bareboxenv),4M(kernel)ro,20M(root)ro,-(data) 
> [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 
> 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 
> bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 
> 16384 bytes) [ 0.000000] Memory: 64MB = 64MB total [ 0.000000] Memory: 
> 60964k/60964k available, 4572k reserved, 0K highmem [ 0.000000] 
> Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 
> 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 
> kB) [ 0.000000] vmalloc : 0xc4800000 - 0xff000000 ( 936 MB) [ 
> 0.000000] lowmem : 0xc0000000 - 0xc4000000 ( 64 MB) [ 0.000000] 
> modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 
> 0xc0008000 - 0xc032da1c (3223 kB) [ 0.000000] .init : 0xc032e000 - 
> 0xc0354000 ( 152 kB) [ 0.000000] .data : 0xc0354000 - 0xc0381b40 ( 183 
> kB) [ 0.000000] .bss : 0xc0381b64 - 0xc03ceafc ( 308 kB) [ 0.000000] 
> NR_IRQS:192 [ 0.000000] AT91: 160 gpio irqs in 5 banks [ 0.000000] 
> sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 
> 4294967286ms [ 0.010000] Calibrating delay loop... 99.22 BogoMIPS 
> (lpj=496128) [ 0.100000] pid_max: default: 32768 minimum: 301 [ 
> 0.110000] Mount-cache hash table entries: 512 [ 0.130000] CPU: Testing 
> write buffer coherency: ok [ 0.140000] ftrace: allocating 9496 entries 
> in 28 pages [ 0.250000] Setting up static identity map for 0x20231900 
> - 0x2023193c [ 0.270000] devtmpfs: initialized [ 0.410000] NET: 
> Registered protocol family 16 [ 0.420000] AT91: Power Management [ 
> 0.430000] AT91: Starting after software reset [ 0.960000] DMA-API: 
> preallocated 4096 debug entries [ 0.970000] DMA-API: debugging enabled 
> by kernel config [ 0.980000] Switching to clocksource tcb_clksrc [ 
> 1.250000] NET: Registered protocol family 2 [ 1.250000] IP route cache 
> hash table entries: 1024 (order: 0, 4096 bytes) [ 1.270000] TCP 
> established hash table entries: 2048 (order: 2, 16384 bytes) [ 
> 1.280000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes) [ 
> 1.290000] TCP: Hash tables configured (established 2048 bind 2048) [ 
> 1.290000] TCP: reno registered [ 1.300000] UDP hash table entries: 256 
> (order: 0, 4096 bytes) [ 1.310000] UDP-Lite hash table entries: 256 
> (order: 0, 4096 bytes) [ 1.320000] NET: Registered protocol family 1 [ 
> 1.350000] VFS: Disk quotas dquot_6.5.2 [ 1.360000] jffs2: version 2.2. 
> (NAND) © 2001-2006 Red Hat, Inc. [ 1.380000] fuse init (API version 
> 7.18) [ 1.390000] msgmni has been set to 119 [ 1.420000] crc32: 
> CRC_LE_BITS = 64, CRC_BE BITS = 64 [ 1.430000] crc32: self tests 
> passed, processed 225944 bytes in 10137617 nsec [ 1.450000] crc32c: 
> CRC_LE_BITS = 64 [ 1.450000] crc32c: self tests passed, processed 
> 225944 bytes in 4237472 nsec [ 1.480000] atmel_usart.0: ttyS0 at MMIO 
> 0xffffee00 (irq = 1) is a ATMEL_SERIAL [ 1.490000] console [ttyS0] 
> enabled, bootconsole disabled [ 1.490000] console [ttyS0] enabled, 
> bootconsole disabled [ 1.500000] atmel_usart.1: ttyS1 at MMIO 
> 0xfff8c000 (irq = 7) is a ATMEL_SERIAL [ 1.540000] atmel_nand: Use On 
> Flash BBT [ 1.550000] atmel_nand atmel_nand: No DMA support for NAND 
> access. 
Is this a problem that I have no DMA support?
> [ 1.550000] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron 
> NAND 256MiB 3,3V 8-bit) [ 1.560000] Bad block table found at page 
> 131008, version 0x01 [ 1.570000] Bad block table found at page 130944, 
> version 0x01 [ 1.580000] 6 cmdlinepart partitions found on MTD device 
> atmel_nand [ 1.580000] Creating 6 MTD partitions on "atmel_nand": [ 
> 1.590000] 0x000000000000-0x000000020000 : "at91bootstrap" [ 1.600000] 
> 0x000000020000-0x000000060000 : "barebox" [ 1.610000] 
> 0x000000060000-0x000000080000 : "bareboxenv" [ 1.620000] 
> 0x000000080000-0x000000480000 : "kernel" [ 1.630000] 
> 0x000000480000-0x000001880000 : "root" [ 1.630000] 
> 0x000001880000-0x000010000000 : "data" [ 1.650000] GPIO NAND driver, © 
> 2004 Simtec Electronics [ 1.650000] atmel_spi atmel_spi.0: Atmel SPI 
> Controller at 0xfffa4000 (irq 14) [ 1.660000] atmel_spi atmel_spi.0: 
> master is unqueued, this is deprecated [ 1.680000] TCP: cubic registered 
here I miss mount rootfs
> [ 1.680000] NET: Registered protocol family 17 [ 1.700000] devtmpfs: 
> mounted [ 1.700000] Freeing init memory: 152K [ 1.710000] Failed to 
> execute /bin/ls. Attempting defaults... [ 1.720000] Kernel panic - not 
> syncing: No init found. Try passing init= option to kernel. See Linux 
> Documentation/init.txt for guidance. [ 1.730000] [<c000e254>] 
> (unwind_backtrace+0x0/0x128) from [<c02292e0>] (dump_stack+0x20/0x24) 
> [ 1.740000] [<c02292e0>] (dump_stack+0x20/0x24) from [<c02293e8>] 
> (panic+0x80/0x1c8) [ 1.750000] [<c02293e8>] (panic+0x80/0x1c8) from 
> [<c02290a8>] (init_post+0xb0/0xd4) [ 1.750000] [<c02290a8>] 
> (init_post+0xb0/0xd4) from [<c032e998>] (kernel_init+0xcc/0xf0) 



I will report my results ....


best regards
Sven


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-25 20:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <500C4933.8050202@web.de>
2012-07-22 21:10 ` AT91SAM9263-ek - Kernel panic Stutz Sven
2012-07-23  5:48   ` Jean-Christophe PLAGNIOL-VILLARD
2012-07-25 20:39     ` Stutz Sven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox