My pogoplug only have 2 mtd devices

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

My pogoplug only have 2 mtd devices

Postby stackbear » Fri Aug 01, 2014 9:00 pm

Hey guys,

My pogoplug is a E02 device (in a black case though), with uboot-pogo_e02 (2014.04.R4-1). And there are only 2 mtd devices:

dev: size erasesize name
mtd0: 00100000 00020000 "u-boot"
mtd1: 07f00000 00020000 "rootfs"

Therefore I cannot install doozan's rescue system since the installation script is expecting mtd2 as well.

Is it normal for my pogoplug to have only 2 mtd devices?

Thanks!
stackbear
 
Posts: 2
Joined: Fri Aug 01, 2014 8:40 pm

Re: My pogoplug only have 2 mtd devices

Postby grayman4hire » Sat Aug 02, 2014 2:09 am

No, it's not "normal". The default partition layout for E02 is the follow:
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)

The mtd partition is configuration via the "mtdparts" uBoot environment variable. Not sure if the uboot installation process you used set the partition back to the default.

#see the current layout
fw_printenv mtdparts

#set it back to the default
fw_setenv mtdparts 'mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)'

reboot and install the rescue env.
Last edited by grayman4hire on Sat Aug 02, 2014 4:08 pm, edited 1 time in total.
grayman4hire
 
Posts: 350
Joined: Sat Sep 29, 2012 12:03 am
Location: SF, CA

Re: My pogoplug only have 2 mtd devices

Postby hydro » Sat Aug 02, 2014 8:57 am

Last command should be fw_setenv, but it is recommended to overwite default settings in /boot/uEnv.txt if applicable (like in this case)
$this->bbcode_second_pass_code('', '
echo 'mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)' >> /boot/uEnv.txt
')
VDR on DockStar / Pogoplug E02: http://linux.bplaced.net/
hydro
 
Posts: 210
Joined: Wed Jun 15, 2011 2:03 pm
Location: Germany

Re: My pogoplug only have 2 mtd devices

Postby grayman4hire » Sat Aug 02, 2014 4:11 pm

Good catch @hydro. It was a cut/paste error. :)

I believe OP will want/need to set the mtdparts env directly in nand versus the uEnv.txt because OP is planning on booting the rescue system directly from nand.
grayman4hire
 
Posts: 350
Joined: Sat Sep 29, 2012 12:03 am
Location: SF, CA

Re: My pogoplug only have 2 mtd devices

Postby stackbear » Sun Aug 03, 2014 7:22 pm

Thanks guys! Appreciate the information.
stackbear
 
Posts: 2
Joined: Fri Aug 01, 2014 8:40 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 13 guests