public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] No Partition in Flash Memoery under MTD
@ 2008-09-05  0:32 FlyingWoWings
  2008-09-05 21:41 ` richardretanubun
  0 siblings, 1 reply; 2+ messages in thread
From: FlyingWoWings @ 2008-09-05  0:32 UTC (permalink / raw)
  To: u-boot


Greetings, 
i am using ELDK 2.6.26 distribution on MPC8349emds, 
arch = powerpc, cross_compile = ppc_6xx-

i've tried with uImage + FDT blob .dtb + uRamdisk
and i've added flash mapping in .dts as follow:

physmap-flash at 0xfc000000 {
		compatible = "amd,am29lv128ml", "cfi-flash";
		reg = <0xfc000000 0x04000000>;
		bank-width = <2>;
		device-width = <1>;
		#address-cells = <1>;
		#size-cells = <1>;
		uboot at 0 {
			label = "u-boot";
			reg = <0 0x000040000>;
		};
		uImage at 0x00080000 {
			label = "uImage";
			reg = <0x00080000 0x00100000>;
		};

		uRamdisk at 0x00180000 {
			label = "uRamdisk";
			reg = <0x00180000 0x00200000>;
		};
		mds at 0x00380000 {
			label = "MDS Device Tree";
			reg = <0x00380000 0x00800000>;
		};
		
	};

when i boot up the kernel on the board, i tried
# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 04000000 00020000 "physmap-flash.0"

and

# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/ram0                 5040      3756      1284  75% /

it does not shows flash device with df, and no partition under /proc/mtd,
can anybody help? 

in advance, thank you.





-- 
View this message in context: http://www.nabble.com/No-Partition-in-Flash-Memoery-under-MTD-tp19322708p19322708.html
Sent from the Uboot - Users mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] No Partition in Flash Memoery under MTD
  2008-09-05  0:32 [U-Boot] No Partition in Flash Memoery under MTD FlyingWoWings
@ 2008-09-05 21:41 ` richardretanubun
  0 siblings, 0 replies; 2+ messages in thread
From: richardretanubun @ 2008-09-05 21:41 UTC (permalink / raw)
  To: u-boot

Hello,

FlyingWoWings wrote:
> Greetings, 
> i am using ELDK 2.6.26 distribution on MPC8349emds, 
> arch = powerpc, cross_compile = ppc_6xx-
>
> i've tried with uImage + FDT blob .dtb + uRamdisk
> and i've added flash mapping in .dts as follow:
>
> physmap-flash at 0xfc000000 {
> 		compatible = "amd,am29lv128ml", "cfi-flash";
> 		reg = <0xfc000000 0x04000000>;
> 		bank-width = <2>;
> 		device-width = <1>;
> 		#address-cells = <1>;
> 		#size-cells = <1>;
> 		uboot at 0 {
> 			label = "u-boot";
> 			reg = <0 0x000040000>;
> 		};
> 		uImage at 0x00080000 {
> 			label = "uImage";
> 			reg = <0x00080000 0x00100000>;
> 		};
>
> 		uRamdisk at 0x00180000 {
> 			label = "uRamdisk";
> 			reg = <0x00180000 0x00200000>;
> 		};
> 		mds at 0x00380000 {
> 			label = "MDS Device Tree";
> 			reg = <0x00380000 0x00800000>;
> 		};
> 		
> 	};
>
> when i boot up the kernel on the board, i tried
> # cat /proc/mtd
> dev:    size   erasesize  name
> mtd0: 04000000 00020000 "physmap-flash.0"
>
> and
>
> # df
> Filesystem           1k-blocks      Used Available Use% Mounted on
> /dev/ram0                 5040      3756      1284  75% /
>
> it does not shows flash device with df, and no partition under /proc/mtd,
> can anybody help? 
>
> in advance, thank you.
>
Is CONFIG_MTD_OF_PARTS turned on in your .config file? I think this is 
the feature that allows the kernel to get mtd partition information from 
the dtb blob.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-09-05 21:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-05  0:32 [U-Boot] No Partition in Flash Memoery under MTD FlyingWoWings
2008-09-05 21:41 ` richardretanubun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox