|
|
|
||||
|
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
hi, nate
I know you are very busy. i apologise for that. I have an important question. data.img 1- when android is creating the data.img, you think is possible to let initrd.gz know, to add the data.img to an ext2 partition with 300mb. i want to keep the data.img in a ext2 partition by it self. 1- fat32 for all android stuff 2- ext2 for data.img only thanks
__________________
FROYO X SPRINT TOUCH PRO 2 (RHOD400)
|
|
||||
|
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
Quote:
Order is set by the init file. In the current stock init file in the rootfs, there is an error, and the system partition is set as 3, and the data partition is set as 4, with nothing set to 2. You can create the partitions numbered that way using fdisk in Linux, or you can fix the init script. My initial experimentation shows that this gets USB/SD card semi-working. |
|
||||
|
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
Quote:
|
|
||||
|
Quote:
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 Last edited by tiad8; 03-10-2011 at 02:42 AM. |
|
||||
|
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
Quote:
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 |
|
||||
|
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
Quote:
what i want to do is this. a already created a fat32 and ext2 partition on my sd card. so i have 2 partition. fat32 for my android stuff (system.ext2,roofts etc....) ext2 for the data.img only. i want linux to create the data.img inside the ext2 partition. i know the data.img is usually created and locate it in the anboot folder. i want the data.img to be locate it inside the ext2 partition. i dont know if i making any sense. thanks man |
|
||||
|
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
Quote:
__________________
HTC Touch Pro 2 - RHOD400 - Sprint - FRX07
|
|
||||
|
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
I have tried to follow the instruction to compile these kernels etc. both on VMware and VBox and it dies at this command:
bash: git://gitorious.org/linux-on-qualcomm-s-msm/linux-msm.git: No such file or directory Anyone, still trying to do this that can help?
__________________
Sprint: G1000, HTC-6600, 6800, TP2 now Optimus S with Stock Android 2.2.2.
|
|
||||
|
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
Quote:
You don't really need that folder git. This is all you need. The Bootenv is new since Nate updated the first post. Code:
git clone git://android.git.kernel.org/platform/prebuilt.git git clone git://gitorious.org/~acl/linux-on-qualcomm-s-msm/linux-msm-rhod-nand.git git clone git://gitorious.org/tinboot-for-linux-msm/tinboot-linux-msm.git git clone git://gitorious.org/tinboot-for-linux-msm/bootenv.git
__________________
|
![]() |
|
|
|