View Single Post
  #100 (permalink)  
Old 03-10-2011, 03:12 AM
natemcnutty's Avatar
natemcnutty
VIP Member
Offline
Threadstarter
 
Join Date: Nov 2009
Posts: 845
Reputation: 3070
natemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin

Quote:
Originally Posted by tiad8 View Post
Test 1
I was able to add more mb to my data.img (500), when creating new data.img.

Test 2
I created a fat32(android stuff) and ext2 partition (data.img). But when creating the new data.img. the data.img is in the sd card not in the ext2.

I will play more with this tomorrow. But everything is working according plan.

Thanks


FROYO X RED, BLAZN 2.2.2, GINGERBREAD 2,3,2, SENSE FROYO 2.2/SPRINT TOUCH PRO 2/RHOD400
I think you are getting the terms mixed up. You can partition the SD card to have ext2 partitions which the init script is set up to recognize. If it finds the right partition layout, it will natively write to the sd card rather than creating a data.img.

If you don't partition the sd card and just leave it formatted as FAT32, the data.img by default is in ext2 as you can see from the code: init - eclair-rootfs in XDANDROID Eclair - Gitorious

If you want it to actually say data.ext2, you can just change the extension and update the if statement to check for data.ext2 instead of data.img, but it won't affect performance or change the way it works.

Thanks for bringing this thread back up too. I almost forgot to get it updated! Maybe I'll have some free time tomorrow when I get home from work
Reply With Quote