Android prebuilt toolchain does not work with busybox

by neilnguyen_2...@yahoo.com » Sat, 14 Mar 2009 16:51:51 GMT


Sponsored Links
 Dear all:

I am a newbie in the Kernel land.  I would like to use the prebuilt
toolchain included in the Android release to build BUSYBOX.  I have
lots of compilation error, and I need help.

I understand that I could use CodeSourcery toolchain to build the
busybox, and create a rootfs for the kernel.

Do you think it makes sense to carry two different tool sets, and
switch it back and forward during the development?
Also, is it safe to do this if a new toolchain is being released?

I am a bit confused, and need help badly.
Neil

My target:
TARGET=ARM926EJ
Host=Linux Centos5


--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Android prebuilt toolchain does not work with busybox

by neilnguyen_2...@yahoo.com » Sat, 14 Mar 2009 18:11:25 GMT


 Dear all:

I am a newbie in the Kernel land.  I would like to use the prebuilt
toolchain included in the Android release to build BUSYBOX.  I have
lots of compilation error, and I need help.

I understand that I could use CodeSourcery toolchain to build the
busybox, and create a rootfs for the kernel.

Do you think it makes sense to carry two different tool sets, and
switch it back and forward during the development?
Also, is it safe to do this if a new toolchain is being released?

I am a bit confused, and need help badly.
Neil

My target:
TARGET=ARM926EJ
Host=Linux Centos5
--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---


Sponsored Links


Android prebuilt toolchain does not work with busybox

by squix » Sun, 15 Mar 2009 11:32:03 GMT


 I case a static build of busybox is good enough for you, you can
follow this tutorial: 
 http://wiki.androidx86.org/index.php?title=Installing_BusyBox 
With the tool chain questions I can't help you...

Dani

On Mar 14, 7:11pm, "neilnguyen_2...@yahoo.com"


--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Android prebuilt toolchain does not work with busybox

by jpitt42 » Sun, 15 Mar 2009 16:59:12 GMT


 I think this has something to do with BusyBox being dependent on libc,
which Android's toolchain doesn't have.




--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Other Threads

1. how to change text in a Button

Hi,

On the fly, I want to change the text shown in a Button.

Q: How do I do that.

My teacher held me back a year from Android school ;-)
(newbie again)
jim

--~--~---------~--~----~------------~-------~--~----~

2. Filesystem FileSize Limit

What is the file size limit on the Android File System (specifically
on an sdcard)?

 I have a test program that opens a file greater than INT_MAX
(2,147,483,647 bytes) in size, java.io.FileInputStream and
java.io.File are able to operate on the file, but FileChannel returned
from FileInputStream.getChannel() works only when the position is
below INT_MAX.

Specifically:

- java.io.File.length() returns the correct length.
- FileInputStream.read() can consume read the whole fiile (I was doing
in 8K chunks)
- FileInputStream.getChannel().size() throws an IOException.
- FileInputStream.getChannel().position(long) works when offset is
less that or equal to INT_MAX. If it it greater than INT_MAX the file
position after the position(long) call is always INT_MAX (even if I
perform a subsequent FileInputStream.skip()).
- If the position of the file is greater than INT_MAX any call to
FileInputStream.getChannel().position() to read the file position
throws an IOException().

The exception stack is:
java.io.IOException
     at org.apache.harmony.luni.platform.OSFileSystem.seek
(OSFileSystem.java:110)
     at org.apache.harmony.nio.internal.FileChannelImpl.size
(FileChannelImpl.java:393)
     ..... my code

A quick look reveals that FileChannelImpl.size() is calling
OSFileSystem.seek(handle, 0, IFileSystem.SEEK_END);
The implementation of OSFileSystem.seek is making a call to the native
method harmony_io_seekImpl() which is using lseek() to get to the end
of file. I though that call would handle >32 bits???

Any ideas appreciated.

Thanks,
Nic


--~--~---------~--~----~------------~-------~--~----~

3. XML Parsing yields bogus data

4. Android Simulator Cam Problem

5. srollbarSize ignored

6. How does scheduling, such as alarms, work in Android?

7. Streaming video files to the G1 phone (NEED some Help)