Bug 5492 - unable to boot linux kernel 2.6.23.9 on R2D+ SH7751 board using binutils 2.18 based SH-Linux toolchain
Summary: unable to boot linux kernel 2.6.23.9 on R2D+ SH7751 board using binutils 2.18...
Status: NEW
Alias: None
Product: binutils
Classification: Unclassified
Component: binutils (show other bugs)
Version: 2.18
: P2 critical
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-17 12:03 UTC by Suma Sharma
Modified: 2007-12-17 16:47 UTC (History)
1 user (show)

See Also:
Host: i686-pc-linux
Target: sh4-unknown-linux
Build: i686-pc-linux
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Suma Sharma 2007-12-17 12:03:03 UTC
Hi,
I have successfully built SH-Linux toolchain using the following sources:-
Binutils: 2.18
Glibc: 2.7
GCC: 4.2.2
Kernel Headers: 2.6.23.1

I could successfully compile Linux kernel 2.6.23.9 using the above toolchain 
and but upon execution on R2D+ SH7751 board, it was observed that the kernel 
was unsuccessful in booting the board. Every time I pressed "b" to boot the 
board, it would reboot. This can be illustrated as follows:-

----------------------------------------------------------------------------
RTS7751R2D[root]# lilo
Added linux *
RTS7751R2D[root]# reboot
The system is going down NOW !!
Sending SIGTERM to all processes.
Sending SIGKILL to all processes.
Please stand by while rebooting the system.
Restarting syÿ
 [ R0P751RLC0011RL ] : 2006
 Board Rev. 2.1 < FPGA = 1.00 >  Kernel Loader Rev. 3.01(m)

SH IPL+eth version 1.0, Copyright (C) 2000 Free Software Foundation, Inc.

This software comes with ABSOLUTELY NO WARRANTY; for details type `w'.
This is free software, and you are welcome to redistribute it under
certain conditions; type `l' for details.

PCI: SH7751 PCI host bridge found.
PCI:RTL8139 device found.
> b
b
Disk drive detected: TOSHIBA THNCF128MMG 3.10 STCB21M85008B24183C8
Set Transfer Mode result: 51
Initialize Device Parameters result: 50
IDLE result: 50
LILO boot: first-image
Loading 
linux...................................................................
...done.

[ R0P751RLC0011RL ] : 2006
Board Rev. 2.1 < FPGA = 1.00 >  Kernel Loader Rev. 3.01(m)

SH IPL+eth version 1.0, Copyright (C) 2000 Free Software Foundation, Inc.

This software comes with ABSOLUTELY NO WARRANTY; for details type `w'.
This is free software, and you are welcome to redistribute it under
certain conditions; type `l' for details.

PCI: SH7751 PCI host bridge found.
PCI:RTL8139 device found.
>
----------------------------------------------------------------------------

OBSERVATIONS:-
1. There is no issue while building and booting linux kernel 2.6.22.1 on    
   R2D+ SH7751 using the same toolchain.
2. The above behavior is observed with highlander SH7780 MP Board as well.
3. It has been observed that the board boots successfully when compiled  
   with the toolchain built using Binutils version 2.17.50 but keeping rest 
   of the other sources same as mentioned above.


   Is there any compatibility issue between Linux Kernel 2.6.23 and Binutils   
   2.18?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
                   
Free download of GNU based SH-Linux toolchains for Renesas' SH 
Series.                        
The following site also offers free technical support to its 
users.                 
Visit http://www.kpitgnutools.com for details.                                
Latest versions of KPIT GNU SH-Linux tools were released on October 19, 
2007.                       
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Regards,
Suma Sharma
Comment 1 H.J. Lu 2007-12-17 16:47:53 UTC
Can you try the current binutils from CVS?