Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
View Poll Results: What would you like best on your HTC HD2 ?
Windows Phone 7 206 15.20%
GNU/Linux and Android 1,083 79.93%
I'm happy with the shipped HD2 operating system 66 4.87%
Voters: 1355. You may not vote on this poll

 
Post Reply+
Tip us?
 
dcordes
Old
(Last edited by dcordes; 14th May 2010 at 01:07 PM.)
#141  
dcordes's Avatar
Elite Recognized Developer - OP
Thanks Meter 240
Posts: 703
Join Date: Nov 2007

 
DONATE TO ME
Quote:
Originally Posted by sgjl View Post
I install OpenEmbedded and try to make helloworld-image.
That's seems to be a long, very long process ...

I hope that will be enough to understand how to use it

PS : 20 min later, it's just on task 20 of 710.
so wait and see.
Hey, I have some tarballs to extract to SD and also .cpio.gz archives of rootfs for initrd use on my website. http://linuxtogo.org/~lgorris/ just lurk around a bit there. also check http://www.netripper.com/leo/
if you want to use initrd remove the root= line from CMDLINE in default.txt and use set initrd initrd-filename.cpio.gz instead.

please be aware that everything related to leo and qsd in org.openembedded.dev is rather experimental as we don't know if the correct compiler flags are used for this architecture. it might be better to build for one of the armv6-novfp architecture machine types like htcraphael but not sure on that either..
this stuff might also be critical to the binary exec problem... see mailing list.

in general it's good to use openembedded. in the future we will add phone fuctionallity for several htc phones there. htcdream is already supported.
edit: regarding the speed: be sure to install the lib psyco JIT stuff to speed up python and set the correct flags fro multi cpu in conf/local.conf
What I do
* port Linux (kernel) to HTC phones like the hd2
* document everything about development and make it easily available
* provide non-Android distros for Linux enabled HTC phones for more diversity
Publicly accessible tech wiki htc-linux.org
My personal twitter
dcordes
 
hobbit19
Old
#142  
Member
Thanks Meter 141
Posts: 87
Join Date: Oct 2007
Location: Ryazan
Default htc Droid Incredible source

htc Droid Incredible source
http://rapidshare.com/files/38303951...1c2268.tar.bz2
 
dcordes
Old
(Last edited by dcordes; 14th May 2010 at 01:35 PM.)
#143  
dcordes's Avatar
Elite Recognized Developer - OP
Thanks Meter 240
Posts: 703
Join Date: Nov 2007

 
DONATE TO ME
Quote:
Originally Posted by hobbit19 View Post
is this for the cdma incredible "incrediblec" ?
..edit yes it is.. I have that locally already and it seems like it's very different from the leo. qsd8650
What I do
* port Linux (kernel) to HTC phones like the hd2
* document everything about development and make it easily available
* provide non-Android distros for Linux enabled HTC phones for more diversity
Publicly accessible tech wiki htc-linux.org
My personal twitter
dcordes
 
hobbit19
Old
#144  
Member
Thanks Meter 141
Posts: 87
Join Date: Oct 2007
Location: Ryazan
yes.
htc desire (bravo) source
member.america.htc.com/download/RomCode/Source_and_Binaries/bravo_54b7033a.tar.gz
 
sgjl
Old
#145  
Senior Member
Thanks Meter 5
Posts: 117
Join Date: Mar 2008
It's still compiling ... and i'd a problem during the compilation
HTTP request sent, awaiting response... 200 OK
Length: 446456 (436K) [application/x-gzip]
Saving to: `/home/jsylvest/sources/expat-2.0.1.tar.gz'

100%[======================================>] 446,456 406K/s in 1.1s

2010-05-14 16:27:54 (406 KB/s) - `/home/jsylvest/sources/expat-2.0.1.tar.gz' saved [446456/446456]

NOTE: Running task 338 of 710 (ID: 566, /stuff/openembedded/recipes/expat/expat-native_2.0.1.bb, do_unpack)
NOTE: Unpacking /...../sources/expat-2.0.1.tar.gz to tmp/work/i686-linux/expat-native-2.0.1-r3/

gzip: stdin: invalid compressed data--crc error
tar: Child returned status 1
tar: Exiting with failure status due to previous errors
....
ERROR: '/stuff/openembedded/recipes/expat/expat-native_2.0.1.bb' failed

i re-download the archives from other place and same thing ... No problem with the archive on windows but on linux, i always had a CRC error.I find a way to bypass this but it's strange ...

During the compilation, i found a link to an helloWorld initrd on your IRC. I de-pack it on my SD,
and boot on it but i see nothing because of this warning (i suppose) :
"Warning : unable to open an initial console.".
And after a while, i got an "panic kernel". With the "Image" you put on the first post,
it work normaly, and i got a kernel panic after a while.

Do you have an idea of what i miss to got this "Warning : unable to open an initial console." ?

PS : Still compiling "Running task 374 of 710" ...

Quote:
Originally Posted by dcordes View Post
Hey, I have some tarballs to extract to SD and also .cpio.gz archives of rootfs for initrd use on my website. http://linuxtogo.org/~lgorris/ just lurk around a bit there. also check http://www.netripper.com/leo/
if you want to use initrd remove the root= line from CMDLINE in default.txt and use set initrd initrd-filename.cpio.gz instead.
 
dcordes
Old
#146  
dcordes's Avatar
Elite Recognized Developer - OP
Thanks Meter 240
Posts: 703
Join Date: Nov 2007

 
DONATE TO ME
Quote:
Originally Posted by sgjl View Post
i re-download the archives from other place and same thing ... No problem with the archive on windows but on linux, i always had a CRC error.I find a way to bypass this but it's strange ...

During the compilation, i found a link to an helloWorld initrd on your IRC. I de-pack it on my SD,
and boot on it but i see nothing because of this warning (i suppose) :
"Warning : unable to open an initial console.".
And after a while, i got an "panic kernel". With the "Image" you put on the first post,
it work normaly, and i got a kernel panic after a while.

Do you have an idea of what i miss to got this "Warning : unable to open an initial console." ?

PS : Still compiling "Running task 374 of 710" ...
please don't waste any further compile time. leo is malconfigured in OE now. I'm fixing this right now.

the kernel image posted is built with the wrong toolchain so they'll never work.
cortex-a8 and above must use gcc-4.4.x and I built with some 4.3 version.
What I do
* port Linux (kernel) to HTC phones like the hd2
* document everything about development and make it easily available
* provide non-Android distros for Linux enabled HTC phones for more diversity
Publicly accessible tech wiki htc-linux.org
My personal twitter
dcordes
 
sgjl
Old
#147  
Senior Member
Thanks Meter 5
Posts: 117
Join Date: Mar 2008
ok I've had some other problem with patch for expat and the last was:

NOTE: Running task 374 of 710 (ID: 134, /stuff/openembedded/recipes/glibc/glibc_2.9.bb, do_package)
NOTE: preparing tree for binary locale generation
NOTE: generating locale es_NI (UTF-8)
NOTE: Task failed: localedef returned an error

So happy to do a break with this compile ! 374 tasks on 710 in 5 hours ...
I think that my vmware need a break too.

The last thing for what i've no answer is my problem of console :
"Warning : unable to open an initial console."
There is no problem with your prebuild "Image" but with mine i got that ... have you a idea to solve that ? i think it's in htcleo_defconfig but i don't know where ...

thanks.

Quote:
Originally Posted by dcordes View Post
please don't waste any further compile time. leo is malconfigured in OE now. I'm fixing this right now.

the kernel image posted is built with the wrong toolchain so they'll never work.
cortex-a8 and above must use gcc-4.4.x and I built with some 4.3 version.
 
xaoc747
Old
#148  
xaoc747's Avatar
Senior Member
Thanks Meter 854
Posts: 2,031
Join Date: Feb 2008
Location: Kazan
http://developer.htc.com/
Acer Iconia W500 + 64Gb Transcend Class10
Acer Iconia A500 + 32Gb Kingstone Class10
Samsung Galaxy Note II + 64Gb KingMax Class6
PUSH THE BUTTON <THANKS>
MIUI v5 3.5.10
 
Zepiii
Old
#149  
Zepiii's Avatar
Retired Forum Moderator
Thanks Meter 11
Posts: 1,062
Join Date: Dec 2008
Location: www.generation-mobiles.net

 
DONATE TO ME
Quote:
Originally Posted by xaoc747 View Post
If I am right, still nothing new since the last time I saw it (and gave it to dcordes) !
 
sgjl
Old
#150  
Senior Member
Thanks Meter 5
Posts: 117
Join Date: Mar 2008
i think, there is something new :

HTC Desire Kernel Source Code 72.7 MB 2010/05/14


Quote:
Originally Posted by Zepiii View Post
If I am right, still nothing new since the last time I saw it (and gave it to dcordes) !

 
Post Reply+
Tags
android, connection, development, hd2, hd2 android, htc android, kernel, linux, ubuntu
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...