Welcome! Log In Create A New Profile

Advanced

Uboot install on PogoplugPro V3 question

Posted by rsantag 
Uboot install on PogoplugPro V3 question
January 19, 2021 10:48PM
Hello. I just picked up a Pogoplug Pro that is still stock. I'm wanting to set up the Bodhi uboot and rootfs. I'm following https://forum.doozan.com/read.php?3,16017 and it says /proc/mtd should look like this:

Quote

dev: size erasesize name
mtd0: 00e00000 00020000 "boot"
mtd1: 07200000 00020000 "data"

However, mine looks like this:

Quote

root@PogoplugPro:/tmp# cat /proc/mtd
dev: size erasesize name
mtd0: 08000000 00020000 "NAND 128MiB 3,3V 8-bit"
mtd1: 00e00000 00020000 "boot"
mtd2: 07200000 00020000 "rootfs"

I remember on my Pogoplug V4 this is set with the mtdparts env variable, but there is no mtdparts variable on this V3 pogoplug.

How do I fix this on a PogoplugPro V3?

rsantag
Re: Uboot install on PogoplugPro V3 question
January 20, 2021 12:11AM
rsantag,

>
Quote

root@PogoplugPro:/tmp# cat /proc/mtd
> dev: size erasesize name
> mtd0: 08000000 00020000 "NAND 128MiB 3,3V 8-bit"
> mtd1: 00e00000 00020000 "boot"
> mtd2: 07200000 00020000 "rootfs"
>

That's OK. They are the same. It's an overlay mtd0 that is basically the whole NAND space. mtd1 and mtd2 are inside mtd0 in this layout.

The u-boot installation only deal with mtd0. So it will be correct.

=====

Later, after booted into Debian, you can adjust the mtdparts definition.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Uboot install on PogoplugPro V3 question
January 20, 2021 01:23PM
OK, thanks. Yeah, that worked fine.

I also enabled stock recovery environment, as described at https://forum.doozan.com/read.php?4,22570,22570#msg-22570, but did it slightly differently. I changed the "run load_uimage" in bootcmd_exec to "if run load_uimage; then", and added an "else" at the end to run bootcmd_stock, like this:

Quote

bootcmd_exec=if run load_uimage; then if run load_initrd; then if run load_dtb; then bootm 0x60500000 0x60e00000 0x62c00000; else bootm 0x60500000 0x60e00000; fi; else if run load_dtb; then bootm 0x60500000 - 0x62c00000; else bootm 0x60500000; fi; fi; else run bootcmd_stock; fi
Author:

Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: