Cliff,

We've had success building for the Alchemy AU1200 with the following configurations:

TARGET_ARCH = "mipsel"

SERIAL_CONSOLE="/dev/ttyS0 115200 vt100"
USE_VT="0"

TARGET_CC_ARCH="-march=mips32"

FLASH_OFFSET="0xBC000000"
#EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x10000 -q"
EXTRA_IMAGECMD_jffs2 = "--little-endian --pad=0x3C00000 -q"


TARGET_OS="linux"
TARGET_FPU = "soft"

PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}libc-for-gcc:glibc"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}depmod-2.6:module-init-tools-cross" PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}depmod:module-init-tools-cross"

SRCDATE="20050422"
SRCDATE_gnu-config-native="20050526"

PREFERRED_VERSION_glibc = "2.3.3+cvs20050420"
PREFERRED_VERSION_uclibc = "0.9.27"
PREFERRED_VERSION_uclibc-initial = "0.9.27"
PREFERRED_VERSION_gcc-cross-initial = "3.4.4"
PREFERRED_VERSION_gcc-cross = "3.4.4"
PREFERRED_VERSION_gcc-cross-sdk = "3.4.4"
PREFERRED_VERSION_gcc = "3.4.4"

PREFERRED_VERSION_binutils-cross = "2.15.94.0.1"
PREFERRED_VERSION_binutils-cross-sdk = "2.15.94.0.1"
PREFERRED_VERSION_binutils = "2.15.94.0.1"
PREFERRED_VERSION_gdb = "6.3"
PREFERRED_VERSION_gdb-cross = "6.3"
PREFERRED_VERSION_linux-libc-headers = "2.6.11.1"

I hope this helps out some.

Ray


Cliff Brake wrote:

On 12/26/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Hi,

I am new to openembedded and trying to build for Alchemy, e mipsel machine from AMD. I added a machine conf file to conf/machine with the content of

...
TARGET_ARCH = "mipsel"
IPKG_ARCHS = "all mipsel ${MACHINE}"

#TARGET_PREFIX = mipsel-linux-

# does not gain any speed and just creates problems:
# TARGET_CC_ARCH = "-march=mips32"
TARGET_CC_ARCH = "-O2"

TARGET_OS = "linux"

When I modified this file, I had noticed that many other machine conf files
included building linux kernel related things. But I dont want
openembedded to do it. So I didnt include it. But glibc gave an error
message saying that endianness isnt defined.

Do I need a .config file?(crosstool uses it to determine endianness) or a
variable setting?


No, kernel should not have anything to do w/ glibc building.

Cliff



--
Raymond Danks
Software Engineer
Advanced Micro Devices, ECSD
Longmont, CO 80501
Office: (303) 774-5189
Fax: (303) 774-5801
[EMAIL PROTECTED]
http://www.amd.com/embedded/

This email may contain confidential and privileged material for the sole use of 
the intended recipient. In the event of confidential or privileged 
transmission, any review or distribution by others is strictly prohibited. If 
you are not the intended recipient please contact the sender and delete all 
copies.




_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe

Reply via email to