Re: SBOX_CPU=arm, not armel?
On Tue, 2007-03-20 at 15:46 +0100, Philippe De Swert wrote: > Hi, > > > > The target Debian architecture should get determined using the toolchain. > > Did you install an EABI toolchain? Just for the record, yes, I had. > > > When I create a target and install the "cputrans" devkit, then I can > > > select multiple versions of qemu-arm, including versions 0.7.0, 0.8.0, > > > and arm-0.8.1-sb2 and armeb-0.8.1-sb2. Which one is the right one, if > > > any? > > > > Take the -mN if there's any. > > Also make sure NOT to install the debian-sarge devkit, and do not extract the > C-library stuff. That hosed it for me. That was it - I had installed both the debian-sarge devkit and the C library. Retrying without them resulted in a target where apt-get/dpkg-buildpackage install/build armel .debs. Thanks a lot! I was following the 2.2 tutorial which according to the gregale release announcement had been updated. It does not warn about installing C library whereas the 3.0 tutorial does, as I noticed now. Neither of them warns about installing the debian-sarge devkit; I'm not sure whether it alone would also cause problems, but I am not going to try my luck ;-) -- Bye, Patrick Ohly -- [EMAIL PROTECTED] http://www.estamos.de/ ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: SBOX_CPU=arm, not armel?
Hi, > > The target Debian architecture should get determined using the toolchain. > Did you install an EABI toolchain? > > > When I create a target and install the "cputrans" devkit, then I can > > select multiple versions of qemu-arm, including versions 0.7.0, 0.8.0, > > and arm-0.8.1-sb2 and armeb-0.8.1-sb2. Which one is the right one, if > > any? > > Take the -mN if there's any. Also make sure NOT to install the debian-sarge devkit, and do not extract the C-library stuff. That hosed it for me. Regards, Philippe --- Scarlet ADSL Unlimited - Only 24,95 euro per month. Max download Speed up to 6 Mbps, download volume of 30 GB. Order now... ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: SBOX_CPU=arm, not armel?
Hi, On Mon, 2007-03-19 at 22:48:07 +0100, ext Patrick Ohly wrote: > My problem is that after setting up a new ARM target via sb-menu and > selecting it, "uname -a" says that my architecture is "arm", not > "armel". "arm" is also the value of > SBOX_UNAME_MACHINE/SBOX_DPKG_INST_ARCH in my environment and the setting > of SBOX_CPU in the target's .config file. There's no such cpu as armel, so uname, SBOX_CPU and SBOX_UNAME_MACHINE are correct being arm, SBOX_DPKG_INST_ARCH being the Debian architecture name is wrong, it should be armel (which is just a symbolic name, encoding the cpu+abi+kernel). > How does scratchbox determine which flavor of ARM I want to emulate? > Where do I need to look for an installation mistake? The target Debian architecture should get determined using the toolchain. Did you install an EABI toolchain? > When I create a target and install the "cputrans" devkit, then I can > select multiple versions of qemu-arm, including versions 0.7.0, 0.8.0, > and arm-0.8.1-sb2 and armeb-0.8.1-sb2. Which one is the right one, if > any? Take the -mN if there's any. regards, guillem ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers