Re: i486sx machine porting from oe-classic
Mark Hatle <mark.hatle@...>
On 1/20/12 8:07 AM, Andrea Galbusera wrote:
Hi,A few things you will need.. a tune file for the CPU, and a tune file for the machine/bsp... and you'll have to make sure that eglibc/Linux can still run on that machine. I know a while back some changes were made to the GNU toolchain, include gcc to change default optimization levels and such, I don't know if this negatively impacted the ability to generate i486 compatible code. The original i486 tune file was defining the following:Variables have changed. The following is likely what you want (not tested of course) meta/conf/machine/include/tune-i486.inc (based off of tune-i586): DEFAULTTUNE ?= "i486" TUNE_PKGARCH_TMP = "${@bb.utils.contains("TUNE_FEATURES", "m32", "x86", "x86_64", d)}" TUNE_PKGARCH ?= "${@bb.utils.contains("TUNE_FEATURES", "i486", "i486", TUNE_PKGARCH_TMP, d)}" require conf/machine/include/ia32/arch-ia32.inc # Extra tune features TUNEVALID[i486] = "Enable i486 specific processor optimizations" TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "i486", "-march=i486", "", d)}" # Extra tune selections AVAILTUNES += "i486" TUNE_FEATURES_tune-i486 ?= "${TUNE_FEATURES_tune-x86} i486" BASE_LIB_tune-i486 ?= "lib" PACKAGE_EXTRA_ARCHS_tune-i486 = "${PACKAGE_EXTRA_ARCHS_tune-x86} i386 i486" --Mark Thank you in advance. Regards, |
|