OK, I'm finally diving into this, thanks to Andrew Ip LinuxBIOS for the VIA EPIA board is close to where I need it to be.
Now, I'm looking to help.
I've run into my first set of problems....
I used the K7SEM HOWTO for some of the info since there isn't a VIA EPIA HOWTO yet.
Am I supposed to patch the kernel for VIA EPIA?
Errors: When I run make I get: gcc ... -o version.o /.../freebios/src/lib/version.c /.../freebios/src/lib/version.c:10:2: #error MAINBOARD_VENDOR not defined /.../freebios/src/lib/version.c:13:2: #error MAINBOARD_PART_NUMBER not defined make: *** [version.o] Error 1
So, I tried to fix this by putting "#define MAINBOARD_VENDOR "via"" and "#define MAINBOARD_PART_NUMBER "epia"" into /.../freebios/src/lib/version.c. This takes care of the compiler error. Where should these defines be made?
Again, I run make and get "make: *** No rule to make target '.../freebios/mainboard.c', needed by 'mainboard.o'. Stop.
I see that mainboard is in Makefile, so what's the problem.
On Wed, 6 Nov 2002, BIOS Support Personnel wrote:
gcc ... -o version.o /.../freebios/src/lib/version.c /.../freebios/src/lib/version.c:10:2: #error MAINBOARD_VENDOR not defined /.../freebios/src/lib/version.c:13:2: #error MAINBOARD_PART_NUMBER not defined make: *** [version.o] Error 1
these should never be put into the .c file (e.g. version.c) since this code compiles for 50 or so mainboards.
Rather they should be defined in src/mainboard/via/epia/Config and I have added defines.
I would much prefer that these variables be created by the pathname of the mainboard, but there may be a reason to do it otherwise.
Again, I run make and get "make: *** No rule to make target '.../freebios/mainboard.c', needed by 'mainboard.o'. Stop.
that's weird. But there have been several changes lately so we'll have to do some looking around. Andrew, are you seeing this?
ron
Again, I run make and get "make: *** No rule to make target '.../freebios/mainboard.c', needed by 'mainboard.o'. Stop.
that's weird. But there have been several changes lately so we'll have to do some looking around. Andrew, are you seeing this?
I don't see this problem.
-Andrew