BML Partition info

bolons

New member
Aug 11, 2010
3
0
0
Here is the partition info for spica. :)
this is usefull information, before you update your image, check to see if the file size of your image is not exceed the size of the partition

For examples if you want to change the boot logo. In spica, the boot logo (logo.png) is located in partition 3. So if you have a new boot logo, make sure that file size of the image (logo.png) must below the size of partition 3 which is 384KB (0x00060000).


#cat /proc/rfs/bmlinfo

XSR VERSION: 1.5.2-p4

minor position size blocks id
1: 0x00000000-0x00020000 0x00020000 1 0
2: 0x00020000-0x00160000 0x00140000 10 1
3: 0x00160000-0x001c0000 0x00060000 3 2
4: 0x001c0000-0x006c0000 0x00500000 40 3
5: 0x006c0000-0x0c240000 0x0bb80000 1500 4
6: 0x0c240000-0x164c0000 0x0a280000 1300 5
7: 0x164c0000-0x1b540000 0x05080000 644 6
8: 0x1b540000-0x1dd40000 0x02800000 320 7
9: 0x1dd40000-0x1ed40000 0x01000000 128 8
10: 0x1ed40000-0x1f540000 0x00800000 64 9

(0) bad mapping information
No BadBlock RsvBlock
0: 802 4014
 

LeshaK

Member
Feb 3, 2009
8
0
0
Moscow
For examples if you want to change the boot logo. In spica, the boot logo (logo.png) is located in partition 3. So if you have a new boot logo, make sure that file size of the image (logo.png) must below the size of partition 3 which is 384KB (0x00060000).
You are wrong! Together with the boot logo in the same partition contains the variables for the boot, if you overwrite them, then you turn spica in brick!
before giving such information to use the google search!
 

bolons

New member
Aug 11, 2010
3
0
0
You are wrong! Together with the boot logo in the same partition contains the variables for the boot, if you overwrite them, then you turn spica in brick!
before giving such information to use the google search!
You are correct Leshak. :)
Not all bytes in partition 3 is reserved for logo.png.
after i dump the partition into file and looking into binary, there is a data after PNG data

#dd if=/dev/bml3 of=/bml3_dump bs=1
$adb pull /bml3_dum
 

u-foka

Member
Sep 21, 2008
48
8
0
Can any1 upload an original bml3?

I've dumped mine, but I have a 172 kb boot logo so I can't verify if there was any data under that...
Anyway I examined mine and there's only FF-s till 0x00030000 (192k) so I guess that's may be the logo size limit.

Thanks!
 
Last edited:

QBANIN

Senior Member
Sep 15, 2006
386
232
63
Can any1 upload an original bml3?

I've dumped mine, but I have a 172 kb boot logo so I can't verify if there was any data under that...
Anyway I examined mine and there's only FF-s till 0x00030000 (192k) so I guess that's may be the logo size limit.

Thanks!
You're right. The max size for logo.png is 192kB.