From: Adrian M. <ad...@mc...> - 2002-10-18 18:03:34
|
---------- Forwarded Message ---------- Subject: Kernel building Date: Fri, 18 Oct 2002 07:51:27 -0700 From: "Mike Barnett" <mik...@ho...> To: <ad...@mc...> Hi... good morning, or maybe it's good evening for you. My keyboard and VGA converters are late getting to me. It's difficult to get a good idea of what's really running on the system without them. I can however build and boot CDs. I have problems in that area. I can build Bill Gatliff's distribution with no problem. Burns OK and boots up. Now I want to be able to build using the latest releases from the CVS tree so that I can use the new drivers (microphone, etc). What I did is as follows: 1.. Build Bill's toolchain, kernel, initial RD just like instructed 2.. Burn Bill's image just to test it 3.. Download a stock 2.4.18 kernel 4.. Download CVS linuxSH kernel patches labeled linux-2.4-branch 5.. Perform treelink.sh using LinuxSH tree 6.. Perform treelink.sh using linux-dc tree 7.. Copied .config from Bill's distribution as a template. I've also used other people's .config file with no luck. 8.. Symbolically link my newly downloaded, patched tree into Bill's tree. (linked 'kernel' to the source tree) 9.. AN IMPORTANT DIFFERENCE?? - I have to modify the Makefile in kernel/arch/sh to remove the "-mnoimplicit-fp" switch since Bill's toolchain is a little old 10.. Did a make clean dep zImage 11.. Followed the normal steps I take making Bill's CD (compress initrd, scramble image, etc..) 12.. Burn CD 13.. Boot in DC. I get the initial Logo, SEGA splash screen. And then the system resets itself. So what could I be doing wrong? Do you have a similar set up? Perhaps my down-rev toolchain is causing some problems? I have a hard time believing that the CVS tree for linux-dc has problems. Any help you can lend would be greatly appreciated. If you think it's a good idea, I can put this one out to the mailing list and see if anyone else has had this problem. Thanks Mike (anyone wanna buy a coaster??) ------------------------------------------------------- |
From: Adrian M. <ad...@mc...> - 2002-10-18 18:14:10
|
On Friday 18 Oct 2002 7:06 pm, Adrian McMenamin wrote: > > Hi... good morning, or maybe it's good evening for you. > > My keyboard and VGA converters are late getting to me. It's difficult > to get a good idea of what's really running on the system without them. I > can however build and boot CDs. I have problems in that area. I can build > Bill Gatliff's distribution with no problem. Burns OK and boots up. Now I > want to be able to build using the latest releases from the CVS tree so > that I can use the new drivers (microphone, etc). What I did is as > follows: 1.. Build Bill's toolchain, kernel, initial RD just like > instructed 2.. Burn Bill's image just to test it > 3.. Download a stock 2.4.18 kernel > 4.. Download CVS linuxSH kernel patches labeled linux-2.4-branch > 5.. Perform treelink.sh using LinuxSH tree > 6.. Perform treelink.sh using linux-dc tree > 7.. Copied .config from Bill's distribution as a template. I've also > used other people's .config file with no luck. 8.. Symbolically link my > newly downloaded, patched tree into Bill's tree. (linked 'kernel' to the > source tree) Eh? You don't need to do this. A stock 2.4.18 kernel and the Linux-sh-dc and linux-sh modules are all you need. 9.. AN IMPORTANT DIFFERENCE?? - I have to modify the Makefile > in kernel/arch/sh to remove the "-mnoimplicit-fp" switch since Bill's > toolchain is a little old 10.. Did a make clean dep zImage > 11.. Followed the normal steps I take making Bill's CD (compress initrd, > scramble image, etc..) 12.. Burn CD > 13.. Boot in DC. I get the initial Logo, SEGA splash screen. And then > the system resets itself. > > So what could I be doing wrong? Do you have a similar set up? > Perhaps my down-rev toolchain is causing some problems? > I have a hard time believing that the CVS tree for linux-dc has problems. > Any help you can lend would be greatly appreciated. If you think it's a > good idea, I can put this one out to the mailing list and see if anyone > else has had this problem. > > Thanks > Mike > (anyone wanna buy a coaster??) > > ------------------------------------------------------- > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Linuxdc-dev mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linuxdc-dev |
From: Matt G. <mg...@cm...> - 2002-10-19 01:48:20
|
On Fri, Oct 18, 2002 at 07:06:10PM +0100, Adrian McMenamin wrote: > 13.. Boot in DC. I get the initial Logo, SEGA splash screen. And then the > system resets itself. > > So what could I be doing wrong? Do you have a similar set up? > Perhaps my down-rev toolchain is causing some problems? I've mentioned it on this list before, but I'm having this exact same problem. The only difference is that I'm not using Gatliff's toolchain, I'm using one I built myself with up to date packages. I can compile and boot older kernels (i.e. the one from Gatliff's article) with this toolchain, just not the latest. My question for you seasoned dc hackers is: What is the best known method for debugging issues such as these? I have the BBA, keyboard and mouse at my disposal. thanks, Matt -- Matt Gumbel <mg...@cm...> |
From: Mike B. <mik...@ho...> - 2002-10-19 15:54:31
|
M R Brown pointed out to me recently that having a good config file is key to getting the kernel build for the DC correct. I tried building with just the linuxSH tree with the branch linux-2_4-branch last night and without the linux-dc patches. It had the same reboot problem as before. Could someone email out a simple .config fiile so Matt and I can troubleshoot this problem? -mike ----- Original Message ----- From: "Matt Gumbel" <mg...@cm...> To: <lin...@li...> Sent: Friday, October 18, 2002 6:48 PM Subject: Re: [linuxdc-dev] Fwd: Kernel building > On Fri, Oct 18, 2002 at 07:06:10PM +0100, Adrian McMenamin wrote: > > 13.. Boot in DC. I get the initial Logo, SEGA splash screen. And then the > > system resets itself. > > > > So what could I be doing wrong? Do you have a similar set up? > > Perhaps my down-rev toolchain is causing some problems? > > I've mentioned it on this list before, but I'm having this exact > same problem. The only difference is that I'm not using > Gatliff's toolchain, I'm using one I built myself with up to date > packages. I can compile and boot older kernels (i.e. the one > from Gatliff's article) with this toolchain, just not the latest. > > My question for you seasoned dc hackers is: What is the best > known method for debugging issues such as these? I have the BBA, > keyboard and mouse at my disposal. > > thanks, > Matt > > -- > Matt Gumbel <mg...@cm...> > > > ------------------------------------------------------- > This sf.net email is sponsored by: > Access Your PC Securely with GoToMyPC. Try Free Now > https://www.gotomypc.com/s/OSND/DD > _______________________________________________ > Linuxdc-dev mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linuxdc-dev > |
From: M. R. B. <mr...@0x...> - 2002-10-20 15:09:14
Attachments:
.config
|
* Mike Barnett <mik...@ho...> on Sat, Oct 19, 2002: > > Could someone email out a simple .config fiile so Matt and I can > troubleshoot > this problem? > Attached. How are you booting these kernels? M. R. |
From: Mike B. <mik...@ho...> - 2002-10-20 15:19:26
|
I am trying to build off of the setup that Bill G made. Since I was able to build and boot Gatliff's setup, I figured it was a great place to start. As I think I mentioned before, I'm taking the kernel tree that I downloaded and treelinked, and linking it into Bill's tree where he had a "kernel" directory. That should work, in theory. I didn't want to change too many variables at one time. If I can get it to boot under that setup, then I can move onto something a little more fancy. I'm working my way through another document on how to build the SH toolchain. It's somewhat down-rev, but it a good cross-reference to the instructions you've given . Basically the same, but he's got some verbiage about each step. As I think I mentioned, I'm having trouble getting all the files you suggested. The version numbers don't seem to match up on the FTP site (binutils 2.13 doesn't exist) Thanks for all the help. Hoping to be a productive contributor soon. mike ----- Original Message ----- From: "M. R. Brown" <mr...@0x...> To: "Mike Barnett" <mik...@ho...> Cc: <lin...@li...> Sent: Sunday, October 20, 2002 8:08 AM Subject: Re: [linuxdc-dev] Fwd: Kernel building * Mike Barnett <mik...@ho...> on Sat, Oct 19, 2002: > > Could someone email out a simple .config fiile so Matt and I can > troubleshoot > this problem? > Attached. How are you booting these kernels? M. R. |
From: Mike B. <mik...@ho...> - 2002-10-21 16:51:06
|
I'm now on my 3rd week of trying to get the current kernel to build and boot. A recap... I can build & boot Bill Gatliff's distribution I built a new toolchain - binutils 2.11.2, gcc 3.0.4 Pulled and treelinked the SH & DC sources Linked in the kernel tree into Bill's tree Built latest kernel using old & new tools both (didn't seem to affect the outcome) Burned the CD Boots result in constant reboots on the DC I'm beginning to think that the boot environment that Bill's distribution uses isn't compatible with the current CVS tree. I would like to get a complete setup that mirrors exactly another developers environment. I spent the entire weekend doing builds and boots. Something's just not right about what I'm doing. Another week of this and I'll go nuts. I've invested in all the equipment needed including keyboard, mouse, microphone, bba, etc and don't want to have to ditch it all just because I can't do a build of the latest sources. -mike |