View Single Post
  #1158 (permalink)  
Old 02-10-2011, 04:01 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: NAND Boot Testing - 01-07: Panel power on/off fixes

Quote:
Originally Posted by [ACL] View Post
modded partition table.

Hotfile.com: One click file hosting: rhod_payload

any brave souls ? just attach the empty imgfs to tinboot and hope the phone gods have mercy..

This is how it looks .. note no imgfs and 0 size in fat like vogue.

Code:
'rhod_payload' has valid boot sector
Partition table:
Partition 0
-----------
 File System:    0x20 (boot)
 Start Sector:   0x00000002
 Total Sectors:  0x0000003e
 Boot indicator: 0x00
 First Head:     0x02
 First Sector:   0x01
 First Track:    0x00
 Last Head:      0x3f
 Last Sector:    0x01
 Last Track:     0x00
Partition 1
-----------
 File System:    0x23 (XIP RAM)
 Start Sector:   0x00000040
 Total Sectors:  0x000006c0
 Boot indicator: 0x00
 First Head:     0x00
 First Sector:   0x01
 First Track:    0x01
 Last Head:      0x3f
 Last Sector:    0x01
 Last Track:     0x1b
Partition 2
-----------
 File System:    0x25 (imgfs)
 Start Sector:   0x00000700
 Total Sectors:  0x00000040
 Boot indicator: 0x00
 First Head:     0x00
 First Sector:   0x01
 First Track:    0x1c
 Last Head:      0x3f
 Last Sector:    0x01
 Last Track:     0x1c
Partition 3
-----------
 File System:    0x04 (FAT)
 Start Sector:   0x00000740
 Total Sectors:  0x00000000
 Boot indicator: 0x00
 First Head:     0x00
 First Sector:   0x01
 First Track:    0x1d
 Last Head:      0x3f
 Last Sector:    0x01
 Last Track:     0x25d
Geometry: flash has 64 virtual heads

MSFLSH50 header found at offset 0x800
  (0 Reserved Entries, 3 Flash Region Entries)
Flash Region Entry 0:
---------------------
  Region type:            XIP
  Start phys. block:      0x00000000
  Size in phys. blocks:   0x00000000
  Size in log. blocks:    0x0000001c -> Size in sectors: 0x00000700
  Sectors per block:      0x00000040
  Bytes per block:        0x00020000
  Compact blocks:         0x00000000
  -> Bytes per sector:    0x00000800
Flash Region Entry 1:
---------------------
  Region type:            READONLY_FILESYS
  Start phys. block:      0x00000000
  Size in phys. blocks:   0x00000000
  Size in log. blocks:    0x00000001 -> Size in sectors: 0x00000040
  Sectors per block:      0x00000040
  Bytes per block:        0x00020000
  Compact blocks:         0x00000002
  -> Bytes per sector:    0x00000800
Flash Region Entry 2:
---------------------
  Region type:            FILESYS
  Start phys. block:      0x00000000
  Size in phys. blocks:   0x00000000
  Size in log. blocks:    0xffffffff -> Size in sectors: 0xffffffc0
  Sectors per block:      0x00000040
  Bytes per block:        0x00020000
  Compact blocks:         0x00000002
  -> Bytes per sector:    0x00000800
Searching for IMGFS signature...
---
edit: ok tried it and so far no brick.. but cant boot since we dont have lzma support on the kernel. i can work on that but i really wanna test it. We need to put the initrd on a diet. right now its 1.6mb which is too big
Looks awesome. I'll be playing with it tomorrow. One way to get the size down a bit would be better referencing the files in sbin since they already exist in bin, but I think LMZA doesn't matter about storing multiple copies of the same file. I was thinking of a ln -s ../bin/adbd and ln -s ../bin/busybox for all the rest of those files if we need to keep .gz. I can test that out tomorrow and see how it works. Still not even sure if we need the sbin folder...

If you are looking for more space by replacing busybox, we can look at toybox or something similar. And maybe a lighter version of adbd?

Edit: Also, good news! In a couple of weeks, I may have a TMOUS TP2 to test with. No data, but that would give me a GSM device with a working USB port to mess around with

Last edited by natemcnutty; 02-10-2011 at 04:24 AM.
Reply With Quote