I'm having just a little problem building some code v3, an error with
multiple definitions of printk. A patch is attached (minus the cn700
stuff, to keep the size down) and the error log is inline below. I've
tried to follow the geodelx/cs5536 as much as possible, to try to avoid
errors like this. If anyone can point me in the right direction of where
to look, it'd be great (I have the feeling it's in a make file).
amp@ampmobile:~/LinuxBIOSv3$ make clean;make
BUILD DUMMY VPD
/home/amp/LinuxBIOSv3/arch/x86/stage1.c:71:5: warning: "DCACHE_RAM_SIZE"
is not defined
DTC mainboard/jetway/j7f2we/dts (dts->lbh)
OBJCOPY build/stage0.init (prefixing stage0)
multiple definition of `printk'
first defined here
make: *** [/home/amp/LinuxBIOSv3/build/linuxbios.initram] Error 1
I was doing some random surfing over lunch on the fine Gigabyte / SiS
/ AMD DTX board we've been so recently discussing, and ran across some
It's odd, they all redirect to
http://linuxbios.org/index.php/Desktops, but they're hosted at:
My hunch is they're doing some sort of http 3xx redirection status
code to artificially inflate their content, but... probably not
important, it was simply something I stumbled across.
Here is the changelog again in case everyone's mailer mangled it as
badly as mine did.
> I think this is very close. There are a few things to work out that
> I'd like help with.
> 1. If I set a variable like UCLIBC_VER in the
> config/platforms/serengeti_cheetah-x86_64.conf file, it doesn't make
> it to uclibc.mk
> 2. Could someone that has the actual hardware see if you need to
> comment out soft_resest_x in cache_as_ram_auto.c, or if that's a
> SimNow issue? (LinuxBIOS enters an infinite loop resetting itself if
> the reset is not commented out)
> Here's the change log for the patch
> added config/platforms/serengeti_cheetah-x86_64.conf
> added PLATFORM_SERENGETI_CHEETAH_64 to config/platforms/Config.in
> changed config/platforms/serengeti_cheetah.conf to point to its own linuxbios make file instead of generic-linuxbios.mk
> changed scripts/Makefile.lab to use bzImage instead of vmlinux for
> mkelfimage so that it works on x86_64
> updated Build.settings to include a UCLIBC_LOADER variable for 64-bit
> removed the magic number from bin/checkrom.sh (Was LinuxBIOS version and platform dependent) and changed it to an informational message
> added a kernel config file and .mk file
> changed packages/kernel/kernel.inc to be platform aware
> changed packages/busybox/busybox.mk to be platform aware
> added a defconfig for busybox with 64-bit uClibc
> added a defconfig for uClibc 64-bit
> added a uClibc version variable UCLIBC_VER to uclibc.mk (0.9.28 doesn't have resolve.S for x86_64)
> changed "Building target config file" to "Building target" because it is executing ./buildtarget
> added patches for Config.lb for serengeti_cheetah-payload and serengeti_cheetah-lab
> added serengeti_cheetah.mk
Sorry about the need to repost.
I'm glad to announce that as of current CVS, GRUB 2 officialy supports
LinuxBIOS. There are still a few remaining issues, but most of the meat is
there right now.
Please could someone update the wiki? (or give me perms to do it)
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)
Date: 2007-11-01 16:15:14 +0100 (Thu, 01 Nov 2007)
New Revision: 2924
This patch is a trivial response to a good comment from Uwe, so I am
self-acking before it gets lost.
Acked-by: Ronald G. Minnich <rminnich(a)gmail.com>
Signed-off-by: Ronald G. Minnich <rminnich(a)gmail.com>
--- trunk/LinuxBIOSv2/src/mainboard/pcengines/alix1c/cache_as_ram_auto.c 2007-10-31 22:26:51 UTC (rev 2923)
+++ trunk/LinuxBIOSv2/src/mainboard/pcengines/alix1c/cache_as_ram_auto.c 2007-11-01 15:15:14 UTC (rev 2924)
@@ -86,7 +86,7 @@
[SPD_tRRD] = 10,
-static u8 spd_read_byte(unsigned device, unsigned address)
+static u8 spd_read_byte(u8 device, u8 address)
print_debug("spd_read_byte dev ");