Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: AT91SAM9M10-G45_EK Linux 2.6.35 crash trying to start init
PostPosted: Mon Jun 25, 2012 3:50 pm 
Offline

Joined: Sun Sep 20, 2009 9:38 pm
Posts: 64
Hi Guys

I generated a Linux 2.6.35 kernel for AT91SAM9M10-G45_EK from sources. The board can load the kernel and crash tryng to execute init. If I use the Android demo linux it works very well.
Can anybody help me ?

Here is the log:
bootm
## Booting kernel from Legacy Image at 22000000 ...
Image Name: Linux-2.6.35.7
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2481180 Bytes = 2.4 MB
Load Address: 70008000
Entry Point: 70008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 2.6.35.7 (root@marcio-Latitude-E4200) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #2 PREEMPT Sat Jun 23 11:39:48 BRT 2012
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Atmel AT91SAM9M10G45-EK
Memory policy: ECC disabled, Data cache writeback
Clocks: CPU 400 MHz, master 133 MHz, main 12.000 MHz
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: mem=128M console=ttyS0,115200 mtdparts=nand0:5M(Bootstrap),95M(system),92M(userdata) ubi.mtd=1 ubi.mtd=2 rw root=ubi0:system rootfstype=0
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 124356k/124356k available, 6716k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xffa00000 - 0xffe00000 ( 4 MB)
vmalloc : 0xc8800000 - 0xfee00000 ( 870 MB)
lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.init : 0xc0008000 - 0xc002e000 ( 152 kB)
.text : 0xc002e000 - 0xc0493000 (4500 kB)
.data : 0xc04ae000 - 0xc04e08c0 ( 203 kB)
* RCU implementation.
Verbose stalled-CPUs detection is disabled.
NR_IRQS:192
AT91: 160 gpio irqs in 5 banks
Console: colour dummy device 80x30
console [ttyS0] enabled
Calibrating delay loop... 197.63 BogoMIPS (lpj=98816)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
AT91: Power Management
AT91: Starting after power-restored wakeup
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c-gpio i2c-gpio.0: using pins 52 (SDA) and 53 (SCL)
at_hdmac at_hdmac: Atmel AHB DMA Controller ( cpy slave ), 8 channels
Advanced Linux Sound Architecture Driver Version 1.0.23.
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource tcb_clksrc
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
hx170dec: dec/pp kernel module. $Revision: 1.9 $
hx170dec: supports 8170 and 8190 hardware
hx170dec: base_port=0x00900000 irq=30
hx170dec: HW ID=0x81701250
hx170dec: Compatible HW found at 0x00900000
hx170dec: module inserted. Major = 253
memalloc: 8190 Linear Memory Allocator, $Revision: 1.1 $
memalloc: linear memory base = 0x20000000
memalloc: allocation method: MEMALLOC_BASIC x 2
memalloc: 235454464 bytes (224MB) configured. Check RAM size!
NetWinder Floating Point Emulator V0.97 (double precision)
ashmem: initialized
JFFS2 version 2.2. (NAND) (SUMMARY) �© 2001-2006 Red Hat, Inc.
msgmni has been set to 242
alg: No test for stdrng (krng)
io scheduler noop registered (default)
atmel_lcdfb atmel_lcdfb.0: 510KiB frame buffer at 77e00000 (mapped at c7e00000)
Console: switching to colour frame buffer device 60x34
atmel_lcdfb atmel_lcdfb.0: fb0: Atmel LCDC at 0x00500000 (mapped at c88c8000), irq 23
atmel_usart.0: ttyS0 at MMIO 0xfeffee00 (irq = 1) is a ATMEL_SERIAL
atmel_usart.2: ttyS2 at MMIO 0xfff90000 (irq = 8) is a ATMEL_SERIAL
brd: module loaded
loop: module loaded
atmel_nand atmel_nand: No DMA support for NAND access.
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xaa (Micron NAND 256MiB 1,8V 8-bit)
Scanning device for bad blocks
Bad eraseblock 525 at 0x0000041a0000
Bad eraseblock 845 at 0x0000069a0000
Bad eraseblock 1176 at 0x000009300000
Bad eraseblock 1177 at 0x000009320000
Bad eraseblock 1791 at 0x00000dfe0000
Bad eraseblock 1792 at 0x00000e000000
Creating 3 MTD partitions on "atmel_nand":
0x000000000000-0x000000500000 : "Bootstrap"
0x000000500000-0x000006400000 : "system"
0x000006400000-0x000010000000 : "userdata"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 129024 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 512 (aligned 512)
UBI: data offset: 2048
UBI: attached mtd1 to ubi0
UBI: MTD device name: "system"
UBI: MTD device size: 95 MiB
UBI: number of good PEBs: 759
UBI: number of bad PEBs: 1
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 1
UBI: available PEBs: 16
UBI: total number of reserved PEBs: 743
UBI: number of PEBs reserved for bad PEB handling: 7
UBI: max/mean erase counter: 2/0
UBI: image sequence number: 464214832
UBI: background thread "ubi_bgt0d" started, PID 466
UBI: attaching mtd2 to ubi1
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 129024 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 512 (aligned 512)
UBI: data offset: 2048
UBI: attached mtd2 to ubi1
UBI: MTD device name: "userdata"
UBI: MTD device size: 156 MiB
UBI: number of good PEBs: 1243
UBI: number of bad PEBs: 5
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 1
UBI: available PEBs: 0
UBI: total number of reserved PEBs: 1243
UBI: number of PEBs reserved for bad PEB handling: 12
UBI: max/mean erase counter: 2/1
UBI: image sequence number: 1548478725
UBI: background thread "ubi_bgt1d" started, PID 469
MACB_mii_bus: probed
eth0: Atmel MACB at 0xfffbc000 irq 25 (3e:36:65:ba:6f:be)
eth0: attached PHY driver [Davicom DM9161A] (mii_bus:phy_addr=ffffffff:00, irq=-1)
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
atmel-ehci atmel-ehci: Atmel EHCI UHP HS
atmel-ehci atmel-ehci: new USB bus registered, assigned bus number 1
atmel-ehci atmel-ehci: irq 22, io mem 0x00800000
atmel-ehci atmel-ehci: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
at91_ohci at91_ohci: AT91 OHCI
at91_ohci at91_ohci: new USB bus registered, assigned bus number 2
at91_ohci at91_ohci: irq 22, io mem 0x00700000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
mice: PS/2 mouse device common for all mice
input: gpio-keys as /devices/platform/gpio-keys/input/input0
atmel_tsadcc atmel_tsadcc: Master clock is set at: 133333333 Hz
atmel_tsadcc atmel_tsadcc: Prescaler is set at: 82
input: atmel touch screen controller as /devices/platform/atmel_tsadcc/input/input1
using rtc device, at91_rtt, for alarms
rtc-at91sam9 at91_rtt.0: rtc core: registered at91_rtt as rtc0
rtc-at91sam9 at91_rtt.0: rtc0: SET TIME!
IR NEC protocol handler initialized
IR RC5(x) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
Linux video capture interface: v2.00
atmel_isi atmel_isi: Reading configuration
atmel_isi atmel_isi: video buffer: 614400 bytes at ffaef000 (phys 77400000)
atmel_isi atmel_isi: video buffer: 614400 bytes at ffb85000 (phys 77500000)
atmel_isi atmel_isi: video buffer: 614400 bytes at ffc1b000 (phys 77600000)
atmel_isi atmel_isi: capture buffer: 962560 bytes at ffa04000 (phys 0x77f00000)
atmel_isi atmel_isi: Atmel ISI V4L2 device at 0xfffb4000
Battery Status:AC =0
Battery Status:Battery=0
cpuidle: using governor ladder
cpuidle: using governor menu
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
logger: created 64K log 'log_main'
logger: created 256K log 'log_events'
logger: created 64K log 'log_radio'
logger: created 64K log 'log_system'
atmel_ac97c atmel_ac97c.0: Atmel AC97 controller at 0xc8998000, irq = 24
ALSA device list:
#0: Atmel AC97 controller
TCP cubic registered
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
rtc-at91sam9 at91_rtt.0: hctosys: unable to read the hardware clock
atmel_mci atmel_mci.0: Atmel MCI controller at 0xfff80000 irq 11, 1 slots
atmel_mci atmel_mci.1: Atmel MCI controller at 0xfffd0000 irq 29, 1 slots
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "system"
UBIFS: file system size: 91478016 bytes (89334 KiB, 87 MiB, 709 LEBs)
UBIFS: journal size: 9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)
UBIFS: media format: w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root: 0 bytes (0 KiB)
VFS: Mounted root (ubifs filesystem) on device 0:11.
Freeing init memory: 152K
Failed to execute /init. Attempting defaults...
Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[<c0034cc0>] (unwind_backtrace+0x0/0xec) from [<c03834f0>] (panic+0x6c/0xec)
[<c03834f0>] (panic+0x6c/0xec) from [<c002e5f4>] (init_post+0xac/0xd4)
[<c002e5f4>] (init_post+0xac/0xd4) from [<c0008488>] (kernel_init+0x124/0x168)
[<c0008488>] (kernel_init+0x124/0x168) from [<c002ff38>] (kernel_thread_exit+0x0/0x8)

Thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron