|
||||
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
Quote:
Quote:
First, none of them have a touch screen, so no developer is going to waste their time trying to backport Android to it. Even if they were bored, they would at least spend time on something that would be useful. Second, those devices use an Intel XScale PXA272 312 MHz processor. That is not processor that is supported by this project (hence why the project is called Linux on Qualcomm). This specific forum is for discussion about Rhodium devices which use the Qualcomm MSM7600 processor. In order to get Android on those devices, you would need to actually develop your own kernel and drivers from practically the ground up for everything on that device. Most of the devices here have drivers backported from real Android devices that use the same or similar hardware, but no true Android device uses the old hardware found in those devices from 2005-2006 or earlier. Last edited by natemcnutty; 12-04-2010 at 10:27 PM. |
This post has been thanked 1 times. |
|
||||
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
Quote:
For your second part would you care to share what you have so far? I have been trying to get the Nand working off and on for some time now (But I'm Still Learning ). I trying to replicate what was done on the Vogue... Maybe it is the wrong direction. IMO, I like the idea of having just the initrd and the Zimage on the NBH file. This way the user does not have to reflash when the system.ext2 is updated or any other important file. Also maybe we could look at the benefits of combining the Rootfs and initrd into one (like they did with the vogue) I am however not too sure about this and why they even did it... To save space maybe? And lastly were you able to get access to the MTD by modifying the drivers? If you do have access to them then you should be able to mount the System.ext2 and Data.img to MTD2 and MTD3 respectively. Thanks again!=D>
__________________
|
|
||||
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
Sorry that it has taken me a while to respond. I was trying to incorporate the back light work done by acl into the work that I was doing. Yes I have resolved the MTD issue but I was going further keeping the initrd separate from the rootfs unlike the vogue and loading it in to a separate partition in the nand but merging the rootfs with the system.ext2 and maybe the modules. I haven't decided yet if the modules will run best that way or actually integrated into the kernel. I am testing this for speed. I have found that booting is faster with the rootfs separate from th initrd. Though, yes you could combine them it makes the booting time slower. I have gotten the initrd init down to about ten lines of code, if that. As far as flashing goes - you wouldn't need to unless there was a new kernel. The initrd should not ever need to be modified. I have everything else with rw access so that updates can be done live. As soon as I can get with ACL to resolve the back light issue I should be ready to post. The current nbh size that I am dealing with, between the different builds that I am testing is less that 100 mg which leaves a lot of space for user data. I have gone away from actually mounting the system.ext2 and the data image as the device runs much faster when these files are pre decompressed and integrated into the rootfs which is where they are being mounted anyway.
|
This post has been thanked 5 times. |
|
||||
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
Quote:
|
This post has been thanked 1 times. |
|
||||
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
Quote:
Can't wait to try it out!!! So you are just going to leave the System and data on the mtd0 partition or are you going to separate them out? |
|
||||
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
Maurice, whenever you get a chance, would you mind a quick explanation of what changes you've made in regards to tinboot and how you've combined ext2 and data.img into the rootfs? Is it just copying all of the files from kernel, ext2 into rootfs, then genext2?
I also think that combining modules with kernel would be best since they need to be replaced at the same time anyway. So we would have initrd.gz, rootfs, and the kernel/modules basically doing away with system.ext2 and data.img. This would make it so we can do update.zip to update just the kernel/modules Also, I updated the first post on making the rootfs and modifying tinboot2.S for everyone else. If you have any suggestions or improvements, please let me know. This stuff is a hobby for me, and I know I'm not an expert in this area. I am always open to being schooled |
This post has been thanked 2 times. |
|
||||
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
Heh, guess I should check this thread more frequently. Glad to hear we've got yet another dev hopping on NAND development... sounds like we're actually close to full NAND, lets beat those HD2 guys to the punch!
maurice.green, welcome aboard. Always nice to get more devs that can contribute Too many schmos like me that have little to no programming knowledge! |
|
||||
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
Tinboot modified to allow the modules to be combined with the kernel. Its not completed as of yet as I have only been working on the rhod400. I will modify in the next day to support other keyboards. If you would like to try send me a message and I will send you the zImage and the modified tinboot. Also I have been able to create mtd 0 - 4 on the nand so we are just about there.
Combining the ext2 was just a process of merging it into the rootfs system folder since thats where its mounted to anyway, although I am now thinking of moving it to its own partition. The idea is that you would be able to update any component with a rom flash with out touching the other components. The data file I have not been to worried about as it will be empty on first load anyway. I will bind it to mtd4. I went with 4 partitions because I wanted to have a recovery partition available. Merry Christmas! |
This post has been thanked 3 times. |
|
||||
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
Awesome maurice.green. Merry Christmas to you, pieces of this project are really falling together quite quickly!
|
|
|
|