Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-23-2008, 10:17 AM   #1
LQ Newbie
Registered: Dec 2006
Posts: 1

Rep: Reputation: 0
Booting linux in a board sam9_l9260 from olimex

Hi all,

I have a strange problem, when a try to boot linux in this board.

I am using:
CPU AT91SAM9260. 64MBytes of ram,
Bootstrap from Atmel. compiled with GCC arm-elf-gcc version 3.4.3
U-Boot version - 1.3.4. compiled with GCC arm-elf-gcc version 3.4.3
kernel 2.6.23. compiled with GCC arm-elf-gcc version 3.4.3
busybox 1.12.2 compiled with GCC arm-linux-gcc version 4.2.4
initrd made by me.

all software compiled with uclib, and it is recorded into a datasflash.

The kernel boots normal until it opens a /dev/console that opens ok
I put a several debugs messages(that appears into serial terminal), into kernel to know what happen when it try to open /sbin/init, and I got a message saying that /sbin/init opened OK, althought I did not receive any message from busybox at this moment.
But I did not get a prompt to login or another message, but if I write something into terminal, i got the ecos, so cpu are running some program.
As you can see I typed ls, ps -ef and try to execute a hello word that is into /sbin

My linux outputs:

Linux version 2.6.23 ( (gcc version 3.4.3) #21 PREEMP
T Fri Nov 21 21:20:41 BRST 2008
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: Olimex SAM9-L9260
Memory policy: ECC disabled, Data cache writeback
Clocks: CPU 198 MHz, master 99 MHz, main 18.432 MHz
CPU0: D VIVT write-back cache
CPU0: I cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Built 1 zonelists in Zone order. Total pages: 16256
Kernel command line: console=ttyS0,115200 mem=64M root=/dev/ram0 rw
AT91: 96 gpio irqs in 3 banks
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
console [ttyS0] enabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 60568KB available (2680K code, 751K data, 108K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
tered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
checking if image is isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 750K
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
RAMDISK: Compressed image found at block 0
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 108K
DEBUG: Opening /dev/console
DEBUG: executing ramdisk_execute_command... <4> OK
DEBUG: calling /sbin/serttys0
DEBUG: try to run[/sbin/serttys0]
kernel_execve:EXECUTING [/sbin/serttys0]...<4>:Returned OK ret=[0]
ps -ef
As you can see I typed ls, ps -ef and try to execute a hello word that is into /sbin, this hello word program runs when I use an arm simulator qemu with this ram disk image(initrd).

I am lost with this problem, because, the problem doesn't seem to be in kernel, or busybox and or into filesystem(initrd).

Has somebody any susgestions to me?
Any help will be coming well.

Best regards.



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
LXer: Linux Foundation Announces a Diverse Board of Directors to Represent the Linux Ecosystem LXer Syndicated Linux News 0 03-28-2007 12:01 AM
system mother board not booting vineet7kumar Linux - Hardware 1 01-09-2006 08:21 AM
On board cards of X-series mother board bullwinkle Linux - Hardware 3 07-10-2004 11:16 AM
Booting Problem with A7n8x board unixvillian Linux - Hardware 1 06-13-2003 05:31 AM > Forums > Linux Forums > Linux - Newbie

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

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