From: Kurumbudel, P. <PKu...@le...> - 2008-09-21 07:00:04
|
Hello, Myself Prashanth, I am trying to boot STLinux-2.3 kernel on STb7109 board(mb442). I am using Linux Fedora 7 on the host machine, and I am using STLinux-2.3 distribution. I have done the following procedures I have installed Fedora 7 on the host machine Disabled firewall, by deleting iptables Disabled SELinux Installed compat-libstdc++-33-3.2.3-61.i386.rpm Then, I got the STLinux-2.3 distribution And I am trying to boot STLinux on the target board, using st40load_gdb I have STMC in between target and the host. I have created /exports/rootfs/<user>/target/ for nfs Now, when I try to boot the precompiled image of linux, that I got with STLinux distribution, I get the target I/O console, but the console is empty and there is no interface to the board through that. I am pasting the messages I get when I boot linux on the board using st40load_gdb. [root@localhost boot]# st40load_gdb -t 169.254.163.238 -b vmlinux-2.6.23.1_stm23_0102-mb442 -c / mb442stb7109bypass -- console=ttyS0,9600d8 root=/dev/nfs/ nfsroot/ =169.254.163.239:/exports/rootfs/rshinde/target/ ip=169.254.163.238::0.0.0.0:255.255.0.0:lear::off mem=32m The target is assumed to be little endian The target architecture is assumed to be sh4 0xa0000000 in ?? () Loading section .note.gnu.build-id, size 0x24 lma 0x0 Loading section .empty_zero_page, size 0x1000 lma 0x84001000 Loading section .text, size 0x30c5f8 lma 0x84002000 Loading section __ex_table, size 0x14a0 lma 0x8430e600 Loading section .rodata, size 0x6a51c lma 0x84310000 Loading section .eh_frame, size 0x54 lma 0x8437a51c Loading section __ksymtab, size 0x4978 lma 0x8437a570 Loading section __ksymtab_gpl, size 0x1650 lma 0x8437eee8 Loading section __ksymtab_gpl_future, size 0x18 lma 0x84380538 Loading section __ksymtab_strings, size 0xddc0 lma 0x84380550 Loading section __param, size 0x668 lma 0x8438e310 Loading section __bug_table, size 0x35d0 lma 0x8438f000 Loading section .uncached.text, size 0x3e0 lma 0x84393000 Loading section .data, size 0x2d000 lma 0x84394000 Loading section .got, size 0x4 lma 0x843c1000 Loading section .got.plt, size 0xc lma 0x843c1004 Loading section .data.cacheline_aligned, size 0x120 lma 0x843c2000 Loading section .data.init_task, size 0x2000 lma 0x843c4000 Loading section .init.text, size 0x1b4c0 lma 0x843c6000 Loading section .init.data, size 0x2e1c lma 0x843e14c0 Loading section .init.setup, size 0x324 lma 0x843e42e0 Loading section .initcall.init, size 0x27c lma 0x843e4604 Loading section .con_initcall.init, size 0x8 lma 0x843e4880 Loading section .exit.text, size 0x14a0 lma 0x843e48a0 Loading section .init.ramfs, size 0x85 lma 0x843e6000 Loading section .machvec.init, size 0x88 lma 0x843e6088 Start address 0x84002000, load size 4062533 Transfer rate: 193939 bits/sec, 150464 bytes/write. Breakpoint 1 at 0x84003a04 Breakpoint 2 at 0x840039e0 Breakpoint 3 at 0x84003a2e Program received signal SIGINT, Interrupt. 0x84004630 in default_idle () (gdb) set linux-awareness enabled on You're loading the linux-awareness layer on a kernel with missing debug information. Your kernel seems to be supported, thus basic functionality (info tasks, info modules) should work anyway. You will be notified that the debugger will use untrusted default values for more advanced uses. It is safer to use a kernel built with debug information if possible. Enabling Linux kernel awareness layer [Build Nov 3 2007]. warning: No debug information found for field 'tgid' of 'struct task_struct'. Using default values (offset 216, size 4). See 'set linux-awareness field_offset_task_struct_tgid' and 'set linux-awareness field_size_task_struct_tgid' (gdb) console on warning: You seem to be trying to debug a Linux Kernel, but your binary is missing debug information. The linux awareness layer didn't load itself. You can force the load by issuing: 'set linux-awareness enabled on'. (gdb) Warning: Tried to connect to session manager, Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed And in another shell I keep kermit open, I don't get any interface through kermit also, I am pasting what ever seen in kermit here : [root@localhost boot]# kermit C-Kermit 8.0.211, 10 Apr 2004, for Linux Copyright (C) 1985, 2004, Trustees of Columbia University in the City of New York. Type ? or HELP for help. (/opt/STM/STLinux-2.3/devkit/sh4/target/boot/) C-Kermit>set carrier-watch off (/opt/STM/STLinux-2.3/devkit/sh4/target/boot/) C-Kermit>set line /dev/ttyS0 (/opt/STM/STLinux-2.3/devkit/sh4/target/boot/) C-Kermit>set speed 9600 /dev/ttyS0, 9600 bps (/opt/STM/STLinux-2.3/devkit/sh4/target/boot/) C-Kermit>set flow none (/opt/STM/STLinux-2.3/devkit/sh4/target/boot/) C-Kermit>set parity none (/opt/STM/STLinux-2.3/devkit/sh4/target/boot/) C-Kermit>connect Connecting to /dev/ttyS0, speed 9600 Escape character: Ctrl-\ (ASCII 28, FS): enabled Type the escape character followed by C to get back, or followed by ? to see other options. ---------------------------------------------------- Looking forward for the kind reply, Best Regards, Prashanth ___________________________________ Prashanth Ram Kurumbudel Dipl in EEE & BE in EEE Software Development, Video Group Lear Corporation, India Engineering Centre Phone +91-22-2586-7163 Fax +91-22-2586-7080 ********************** ** LEGAL DISCLAIMER ** ********************** This E-mail message and any attachments may contain legally privileged, confidential or proprietary information. If you are not the intended recipient(s), or the employee or agent responsible for delivery of this message to the intended recipient(s), you are hereby notified that any dissemination, distribution or copying of this E-mail message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this E-mail message from your computer. |