Dear Lauri,

Many thanks for the explanation.  I did read about the tools root, but
disregarded that as unimportant.
Can you be a bit more specific about what this tools root should include?
Should this file system include the same libraries and header files as the
target rootfs?

I can fairly easy generate a similar root file system for my beagleboard as
for a i686 architecture and use the beagleboard one as target root file
system and the i686 one as tool root.
When they are both of the same version then I expect them to have the same
files but different architectures.

I will try how this goes and let you know.

Greetings,

Han


On Tue, Mar 15, 2011 at 11:35 PM, Lauri T. Aarnio
<lauri.t.aar...@nokia.com>wrote:

>
> On Mar 14, 2011, at 4:41 AM, ext Han Hartgers wrote:
>
>>
>> This is the relevant (?) output of the sb2-init command.
>> configured at 2011-03-10_17:38:35 by user 'hansan', with command
>> ( cd /home/hansan/Beagelboard/angstrom_rootfs;
>> sb2-init beagle_angstrom
>> /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-gcc )
>>
>
> I think that the problem is in the way how your target has been
> initialized; "devel" needs a separate tools root. There is something about
> it on the manual page, but maybe the description is too brief, and in any
> case, the fact that it is possible to use "sb2 -m devel" also when
> "sb2-init" was executed without the "-t" option can be classified as a bug.
>
> This is the relevant part from the man page ("man sb2"):
>
> The other two development modes, "accel" and "devel" have more complete
> support for different tools, but these are not necessarily as easy  to  set
> up as the "simple" mode is.  Both "accel" and "devel" are intended to be
> used with a separate "tools root" directory, consisting of host-compatible
> binaries of the same programs that exist in the target file system as
> foreign binaries (e.g. target root can contain arm  binaries,  whereas
>  tools
> root has x86 binaries of the exactly versions of the same programs). This
> is configured with the -t option of sb2-init(1).
>
>
>        Lauri
> _______________________________________________
> Scratchbox-users mailing list
> Scratchbox-users@lists.scratchbox.org
> http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
>
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to