How do I get the base address of a partition

Discussion about U-Boot and the kernel.

How do I get the base address of a partition

Postby bhargavak » Tue Mar 26, 2013 9:53 am

I have the following partitions on my device running android, has a u-boot bootloader

U-Boot 1.1.4.XTRAVERSION-g6c554dbc-dirty (Mar 26 2013 - 14:26:11
Load address: 0x80e80000
DRAM: 512 MB
Flash: 0 kB
Using default environment
In: serial
Out: serial
Err: serial
efi partition table:
ptbl slot: EMMC:(1).
256 128K xloader
512 3M bootloader
6656 512K splash
7680 128K misc
8704 64M efs
139776 16K crypto
139808 16M recovery
172576 8M boot
188960 512M system
1237536 256M cache
1761824 128M apk
2023968 2787M userdata

How do I get the base address of each partition, I tried the following commands in u-boot but It either gives me an error or doesn't return anything
1. # flinfo
Bank # 1: missing or unknown FLASH type
Bank # 2: missing or unknown FLASH type

2. fsinfo
Device Hangs up

3. # fli
Bank # 1: missing or unknown FLASH type
Bank # 2: missing or unknown FLASH type

Please help me find the base address of each of the partition.
bhargavak
 
Posts: 3
Joined: Sun Mar 24, 2013 7:27 am

Re: How do I get the base address of a partition

Postby xenoxaos » Tue Mar 26, 2013 12:21 pm

I'm going to assume this is where they partitions start....

$this->bbcode_second_pass_quote('', '2')56 128K xloader
512 3M bootloader
6656 512K splash
7680 128K misc
8704 64M efs
139776 16K crypto
139808 16M recovery
172576 8M boot
188960 512M system
1237536 256M cache
1761824 128M apk
2023968 2787M userdata
Arch Linux ARM exists and continues to grow through community support, please donate today!
xenoxaos
Developer
 
Posts: 323
Joined: Thu Jan 06, 2011 1:45 am

Re: How do I get the base address of a partition

Postby bhargavak » Fri Mar 29, 2013 5:15 am

So ur not sure about it...
Can anyone please give me a heads up on this issue..
bhargavak
 
Posts: 3
Joined: Sun Mar 24, 2013 7:27 am


Return to U-Boot/Kernel

Who is online

Users browsing this forum: No registered users and 9 guests