From: rk.raggit@gmail.com (RK Raggit)
To: linux-arm-kernel@lists.infradead.org
Subject: cortex-m3 booting failure
Date: Thu, 6 May 2010 16:00:12 +0530 [thread overview]
Message-ID: <h2zec1f3d401005060330n22178e21ve22265bd37006825@mail.gmail.com> (raw)
Hi Catalin/others,
I am trying to boot the linux kernel with my baseport built on top of your
architecture port (taken from this link
http://www.linux-arm.org/LinuxKernel/LinuxM3) on
my cortex-m3 based target FPGA.
kernel and busybox are compiled with the Sourcery G++ Lite 2009q3-66
toolset and i
am using an initramfs filesystem. My target has 4MB of RAM. I get the
following bootlog -
--------------------
Linux version 2.6.28-arm2 (raghun at PINGU) (gcc version 4.4.1 (Sourcery
G++ Lite 2009q3-66) ) #1 Thu M
ay 6 15:43:55 IST 2010
CPU: ARMv7-M Processor [411fc231] revision 1 (ARMv?(11)M)
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: STM STICE
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 1016
Kernel command line: init=/bin/sh console=ttyAMA0,115200n8 mem=4M user_debug=31
PID hash table entries: 16 (order: 4, 64 bytes)
Dentry cache hash table entries: 1024 (order: 0, 4096 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 4MB = 4MB total
Memory: 3376KB available (444K code, 48K data, 112K init)
Calibrating delay loop... 5.44 BogoMIPS (lpj=27200)
Mount-cache hash table entries: 512
Serial: AMBA PL011 UART driver
stice-uart0: ttyAMA0 at MMIO 0x4e000000 (irq = 13) is a AMBA/PL011
console [ttyAMA0] enabled
Freeing init memory: 112K
?CPU: 0 Not tainted (2.6.28-arm2 #1)
PC is at 0x180044
LR is at 0x0
pc : [<00180044>] lr : [<00000000>] psr: 00000000
sp : 001bff98 ip : 00000000 fp : 00000000
r10: 001991ec r9 : 00000000 r8 : 00000000
r7 : 00000000 r6 : 00000000 r5 : 00000000 r4 : 00180044
r3 : 00000000 r2 : 001bffcc r1 : 001bffc4 r0 : 00000000
Flags: nzcv IRQs on FIQs on Mode USER_26 ISA ARM Segment kernel
----------------
It looks like the first userspace process is crashing but i do not get
any log (though
i have user debug enabled). A few times though i do manage to get the
serial console prompt
but when i try to execute any simple command (like 'ls') then i see
the same crash as above.
I am wondering what could be happening here.One possibility could be
that busybox is not built
properly but that seems less likely since i am using the standard
code-sourcery toolchain.
Could lack of memory be an issue ? ...but ~3.3MB seems good enough.
Your thoughts ?
Regards
RK
next reply other threads:[~2010-05-06 10:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-06 10:30 RK Raggit [this message]
2010-05-06 13:51 ` cortex-m3 booting failure Catalin Marinas
2010-05-06 16:20 ` RK Raggit
2010-05-10 6:48 ` RK Raggit
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=h2zec1f3d401005060330n22178e21ve22265bd37006825@mail.gmail.com \
--to=rk.raggit@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).