I know I'm beginning to sound like a broken record here, but I can't seem to get a definitive answer, and the build process for LB is ... complex.
1) Is the effect reproducible on other systems? Has anyone else tried to follow the same steps I have?* 2) If so, is this a "real" issue? Or do I just badly mis-understand the LB build process?
* I realize that most people don't have Epia motherboards to try this on, but if the "right" way compiles the first time around, that'd be something.
---
The issue: There are two distinct ways I've attempted to build an Epia-M target.
The first way I tried it was "wrong" because I didn't do a 'make clean' after changing config options and re-running 'builtarget'. Oddly, this "wrong" way resulted in a working LB install.
Later, when modifying LB itself to better support the Epia ML (NB: These changes have no affect on the effect seen, and everything mentioned here applies to a stock Epia M target), I was more careful about my build process, and found that building from fully cleaned ('make clean') target directory resulted in a LB binary that did not work.
The "wrong" way that works:
'buildtarget via/epia-m' make [compiles OK, but we don't have VGA options] Edit Config.lb; add the vga options (CONFIG_CONSOLE_VGA=1, CONFIG_PCI_ROM_RUN=1) 'buildtarget via/epia-m' make [Compiles successfully -- We now have a working LB + VGA ] [If you do a "make clean" just before the _second_ make, you'll have the same linking errors you see below]
The "right" way that doesn't work:
Enter the targets/via/epia-m directory Edit Config.lb; add the vga options (CONFIG_CONSOLE_VGA=1, CONFIG_PCI_ROM_RUN=1) 'buildtarget via/epia-m' make [Linking errors -- I'd say this is where the issue first manifests itself] Edit Config.lb again, increase ROM_IMAGE_SIZE 'buildtarget via/epia-m' make [Compiles successfully, but with a bad LB image -- Exception 13 during attempts to init VGA]
On Thu, 04 May 2006 09:31:24 -0700 Eric Poulsen eric@zyxod.com wrote:
I know I'm beginning to sound like a broken record here, but I can't seem to get a definitive answer, and the build process for LB is ... complex.
- Is the effect reproducible on other systems? Has anyone else tried to
follow the same steps I have?* 2) If so, is this a "real" issue? Or do I just badly mis-understand the LB build process?
- I realize that most people don't have Epia motherboards to try this
on, but if the "right" way compiles the first time around, that'd be something.
What is your snapshot version? VGA ROM revision?
-Anton
Anton Borisov wrote:
On Thu, 04 May 2006 09:31:24 -0700 Eric Poulsen eric@zyxod.com wrote:
I know I'm beginning to sound like a broken record here, but I can't seem to get a definitive answer, and the build process for LB is ... complex.
- Is the effect reproducible on other systems? Has anyone else tried to
follow the same steps I have?* 2) If so, is this a "real" issue? Or do I just badly mis-understand the LB build process?
- I realize that most people don't have Epia motherboards to try this
on, but if the "right" way compiles the first time around, that'd be something.
What is your snapshot version? VGA ROM revision?
I've used Revisions 2100 and the newest -- this doesn't seem to matter. The VGA ROM version is 1.13, which I'm told (and my working LB build tells me) is the only version that works with LB. The VGA rom that came with my system did not ever work with LB.
-Anton
eric, it's on my list. I just have not had time to look at it. Will try next week on the plane. I don't know what's going on here.
ron
Ron,
I appreciate that. I've been trying different versions of GCC, all with the same result.
-- Eric
Ronald G Minnich wrote:
eric, it's on my list. I just have not had time to look at it. Will try next week on the plane. I don't know what's going on here.
ron
* Eric Poulsen eric@zyxod.com [060504 18:31]:
I know I'm beginning to sound like a broken record here, but I can't seem to get a definitive answer, and the build process for LB is ... complex.
- Is the effect reproducible on other systems? Has anyone else tried to
follow the same steps I have?*
No, I've never seen this effect and could therefore not analyze it in detail.
- If so, is this a "real" issue? Or do I just badly mis-understand the
LB build process?
If it does not work for you, it is a real issue. Then either the docs or the code need fixing.
- I realize that most people don't have Epia motherboards to try this
on, but if the "right" way compiles the first time around, that'd be something.
What exact version of an Epia board do you have? Maybe someone else with the same version can comment more qualified
Stefan
Stefan Reinauer wrote:
- Eric Poulsen eric@zyxod.com [060504 18:31]:
I know I'm beginning to sound like a broken record here, but I can't seem to get a definitive answer, and the build process for LB is ... complex.
- Is the effect reproducible on other systems? Has anyone else tried to
follow the same steps I have?*
No, I've never seen this effect and could therefore not analyze it in detail.
Do you mean "No, I didn't try" or "I tried, but it didn't happen to me"?
- If so, is this a "real" issue? Or do I just badly mis-understand the
LB build process?
If it does not work for you, it is a real issue. Then either the docs or the code need fixing.
I can make it work, but only in a way I would consider "work around" or "hackish".
- I realize that most people don't have Epia motherboards to try this
on, but if the "right" way compiles the first time around, that'd be something.
What exact version of an Epia board do you have? Maybe someone else with the same version can comment more qualified
I have an Epia ML 5000 (I don't know the revision off the top of my head), which is very similar to the M, but with less hardware. I really don't think the hardware is an issue. The Epia-M tree works fine (albeit with a delay at the beginning, which is easily removed by disabling the firewire code), as does my modified Epia ML tree. I've used both the 2100 and the "newest" SVN revision without any issues, other than the build issue I mentioned.
Stefan
What exact version of an Epia board do you have? Maybe someone else with the same version can comment more qualified
I could try it, but on an EPIA ME6000, which is almost the same hardware. Only the TV Out is missing on the M.
I think tomorrow I can test Eric's ways to get an working or non-working Image ;)
chris
Stefan
On Thu, May 04, 2006 at 09:31:24AM -0700, Eric Poulsen wrote:
I know I'm beginning to sound like a broken record here, but I can't seem to get a definitive answer, and the build process for LB is ... complex.
- Is the effect reproducible on other systems? Has anyone else tried to
follow the same steps I have?* 2) If so, is this a "real" issue? Or do I just badly mis-understand the LB build process?
FWIW I tend to do "./buildtarget via/epia-m/Config.lb" in the targets directory, then change to the via/epia-m/epia-m/ directory that gets made, type "make" and it works. I have found that the build system doesn't always take account of changes I make such that I end up removing via/epia-m/epia-m/ and rerunning buildtarget to be sure of a clean build.
J.
Jonathan McDowell wrote:
On Thu, May 04, 2006 at 09:31:24AM -0700, Eric Poulsen wrote:
I know I'm beginning to sound like a broken record here, but I can't seem to get a definitive answer, and the build process for LB is ... complex.
- Is the effect reproducible on other systems? Has anyone else tried to
follow the same steps I have?* 2) If so, is this a "real" issue? Or do I just badly mis-understand the LB build process?
FWIW I tend to do "./buildtarget via/epia-m/Config.lb" in the targets directory, then change to the via/epia-m/epia-m/ directory that gets made, type "make" and it works. I have found that the build system doesn't always take account of changes I make such that I end up removing via/epia-m/epia-m/ and rerunning buildtarget to be sure of a clean build.
J.
There's no question that the dependency information is missing bits.
ron
Jonathan McDowell wrote:
On Thu, May 04, 2006 at 09:31:24AM -0700, Eric Poulsen wrote:
I know I'm beginning to sound like a broken record here, but I can't seem to get a definitive answer, and the build process for LB is ... complex.
- Is the effect reproducible on other systems? Has anyone else tried to
follow the same steps I have?* 2) If so, is this a "real" issue? Or do I just badly mis-understand the LB build process?
FWIW I tend to do "./buildtarget via/epia-m/Config.lb" in the targets directory, then change to the via/epia-m/epia-m/ directory that gets made, type "make" and it works. I have found that the build system doesn't always take account of changes I make such that I end up removing via/epia-m/epia-m/ and rerunning buildtarget to be sure of a clean build.
Did you add the VGA options (CONFIG_CONSOLE_VGA=1,CONFIG_PCI_ROM_RUN=1) to Config.lb before the buildtarget? This is crucial to making the issue exhibit itself -- without these options, it compiles cleanly for me, as well. After adding them, a "cleaned" target dir has linking errors, whereas a "dirty" target dir (make was run without these options) will compile cleanly.
J.
On Thu, May 04, 2006 at 10:33:50AM -0700, Eric Poulsen wrote:
Jonathan McDowell wrote:
On Thu, May 04, 2006 at 09:31:24AM -0700, Eric Poulsen wrote:
I know I'm beginning to sound like a broken record here, but I can't seem to get a definitive answer, and the build process for LB is ... complex.
- Is the effect reproducible on other systems? Has anyone else tried to
follow the same steps I have?* 2) If so, is this a "real" issue? Or do I just badly mis-understand the LB build process?
FWIW I tend to do "./buildtarget via/epia-m/Config.lb" in the targets directory, then change to the via/epia-m/epia-m/ directory that gets made, type "make" and it works. I have found that the build system doesn't always take account of changes I make such that I end up removing via/epia-m/epia-m/ and rerunning buildtarget to be sure of a clean build.
Did you add the VGA options (CONFIG_CONSOLE_VGA=1,CONFIG_PCI_ROM_RUN=1) to Config.lb before the buildtarget? This is crucial to making the issue exhibit itself -- without these options, it compiles cleanly for me, as well.
Ah, right. No. Part of my interest in LinuxBIOS is proper serial console support, so I'm not using VGA at all.
J.