|
||||
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
Does tinboot pertain to haret too, or only NAND? I'm building haret at the moment, and doing so under OSX (so no wine), so basically this is all just a big experiment at this point. If I can get a patent build environment set up then I'll see about contributing as I have time. I'm readying another iPhone game for release, plus my regular work projects on top of that, so I don't have a whole lot of spare time.
|
|
||||
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
Quote:
|
|
||||
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
woooooaaaahhhhh, thats weird... waitin for a lil more info on how things are going with new method to try that out....
__________________
Rockin' The Official TouchPro 2 aka "The dopest phone with keyboard still":
F**k windows mobile, NAND flash to droid.... |
|
||||
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
Follow my directions and give it a try.
|
|
||||
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
Thanks to dadaR6 for helping me out. There were a few things wrong in the OP that he noticed. I removed the part about squashfs-tools using apt-get because that was wrong, and I changed the link for the rootfs build script since it was pointing to the old location.
I'm playing with my own autobuild right now, and hopefully I'll have a fully automated script to set up the entire dev environment for those who would rather run a simple shell script instead of walking through the whole first post. |
|
||||
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
You state the folder structure should be:
Since the modules are now applied through androidupdate.tgz, you will need to make a directory structure in ~/android to look like this: ~/android |--- androidupdate |--- data |--- system |--- lib |--- modules Does that mean they are on the root of '/android'? Because you go on to note," put under /androidupdate/system/lib/modules". So are they inside each other like .android/andriodupdate/data/system...etc..? Plus I seem to already have a 'modules' folder under '/android'. Also does it matter where you extract squashfs tools? Cause when I ran MAKE I received the following output: cmajewski@cmlan-linux:~/squashfs3.4$ cd ~/squashfs3.4/squashfs-tools cmajewski@cmlan-linux:~/squashfs3.4/squashfs-tools$ make cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -c -o mksquashfs.o mksquashfs.c mksquashfs.c:39: fatal error: zlib.h: No such file or directory compilation terminated. make: *** [mksquashfs.o] Error 1 Any suggestions? Thanks for all your help on this, you've done an amazing job!
__________________
Last edited by cmajewsk; 04-21-2011 at 01:57 PM. |
|
||||
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
Quote:
As for the squashfs tools, I haven't had time to fix up my new VM, but I'll get more details on this when I do. Right now, I'm trying to get my phone unlocked again as I locked it in an attempt to get USB functioning again like LMiller did. Unfortunately, it did not work for me, and I'm now stuck on VZW's crappy stock ROM... |
|
||||
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
Directions were great, thanks Nate!
For some reason building the kernel with the Google prebuild tools resulted in non-booting for me. Didn't even show the black screen before freeze on Haret. Switched to CodeSourcery on emwe's advice that that's what most of the devs are using, and now all is well and booting. Might add a note into the first post that if using CodeSourcery, you just need to change the make line to point correctly to arm-none-eabi-gcc (full path is ~/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-eabi-gcc for me when I installed the package from CodeSourcery rather than the one from your first post). For some reason my build differs from the autobuild in size still, but hey, at least it's booting. |
This post has been thanked 1 times. |
|
||||
Wirelessly posted (TP2: Mozilla/5.0 (Linux; U; Android 2.2.1; en-us; pcdadr6350 Build/FRG83D) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1)
Quote:
I'm guessing you aren't using LK and that is why the size diff. Maybe send me a pm and I can help you out some more to get on the same page as us. |
|
|
|