-----Original Message----- From: Jordan Crouse [mailto:jordan.crouse@amd.com] Sent: Monday, November 26, 2007 4:54 PM To: Myles Watson Cc: 'Linuxbios' Subject: Re: Complete and generic 32bit/64bit support
On 26/11/07 16:36 -0700, Myles Watson wrote:
-----Original Message----- From: Jordan Crouse [mailto:jordan.crouse@amd.com] On 21/11/07 16:41 -0700, Myles Watson wrote:
I forgot to add these 3 files to the diff. Sorry. I also don't know how to remove s-c-payload.patch from packages/linuxbios/patches and have it show up in the patch.
I don't get this patch - do we still need packages/kernel/serengeti_cheetah-kernel-x86_64.mk? kernel.inc does
all
the heavy lifting now. Or not?
My understanding is that packages/kernel/serengeti_cheetah-kernel-
x86_64.mk
sets the kernel version, url, config file, etc. kernel.inc builds the kernel you specified in the .mk file.
is there enough different about it that we need two files? I was planning on setting the configuration information in the platform configuration:
ifeq ($(CONFIG_TARGET_64BIT),y) KERNEL_VERSION=2.6.22.2 KERNEL_MK=$(PACKAGE_DIR)/kernel/serengeti_cheetah-kernel-x86_64.mk KERNEL_CONFIG=$(PACKAGE_DIR)/kernel/conf/defconfig-serengeti_cheetah- x86_64 BUSYBOX_CONFIG=defconfig-serengeti_cheetah-x86_64 UCLIBC_VER=0.9.29 UCLIBC_CONFIG=defconfig-x86_64 else KERNEL_VERSION=2.6.20.2 KERNEL_CONFIG=$(PACKAGE_DIR)/kernel/conf/defconfig-serengeti_cheetah UCLIBC_VER=0.9.28 endif
That's fine with me. The other difference is the tiny patches.
It won't build for 64-bit Serengeti cheetah until we figure it out.
Myles
That would save us having to have mutiple copies of the kernel make files for 32 and 64 bit. Is this bad?
Jordan
The other two files are Config.lb files depending on which payload you
want
to use.
Yes - those made sense to me.
Myles
Jordan
-- Jordan Crouse Systems Software Development Engineer Advanced Micro Devices, Inc.