Welcome! Log In Create A New Profile

Advanced

uBoot on Pogoplug Pro: “Unknown uBoot detected on mtd0”

Posted by Götz Hoffart 
Götz Hoffart
uBoot on Pogoplug Pro: “Unknown uBoot detected on mtd0”
December 25, 2012 01:57PM
Hi,

I’m new to ARM/Linux Device hacking. After a bit of digging around on various websites I found that it would be wonderful to have Debian GNU/Linux on my Pogoplug Pro (that’s what it says on the bottom sticker). The case is black, and hardware info is attached below.

I went through Run Linux on your Dockstar/Pogoplug but a while after executing “./kirkwood.debian-wheezy.sh” it failed with
Quote
kirkwood.debian-wheezy.sh
## Unknown uBoot detected on mtd0: 188602682dada4308e3d9945c3f6b6ed
##
## The installer could not detect the version of your current uBoot
## This may happen if you have installed a different uBoot on
## /dev/mtd0 or if you have bad blocks on /dev/mtd0

I browsed around in the forums but didn’t find something matching. Is there any solution to this or is this device unsupported for GNU/Linux in general?

Quote
kirkwood.debian-wheezy.sh
# ./kirkwood.debian-wheezy.sh
touch: /sbin/25122012170726: Read-only file system


!!!!!! DANGER DANGER DANGER DANGER DANGER DANGER !!!!!!

This script will replace the bootloader on /dev/mtd0.

If you lose power while the bootloader is being flashed,
your device could be left in an unusable state.


This script will configure your Dockstar to boot Debian
from a USB device. Before running this script, you should have
used fdisk to create the following partitions:

/dev/sda1 (Linux ext2, at least 400MB)
/dev/sda2 (Linux swap, recommended 256MB)


This script will DESTROY ALL EXISTING DATA on /dev/sda1
Please double check that the device on /dev/sda1 is the correct device.

By typing ok, you agree to assume all liabilities and risks
associated with running this installer.

If everything looks good, type 'ok' to continue: ok
Connecting to projects.doozan.com (50.116.34.13:80)
Installing Bootloader
# checking for /usr/sbin/nandwrite...
# checking for /usr/sbin/nanddump...

# Installing /usr/sbin/nanddump...
Connecting to download.doozan.com (50.116.34.13:80)
Connecting to download.doozan.com (50.116.34.13:80)
# Successfully installed /usr/sbin/nanddump.
# checking for /usr/sbin/flash_erase...
# checking for /usr/sbin/fw_printenv...

# Installing /usr/sbin/fw_printenv...
Connecting to download.doozan.com (50.116.34.13:80)
Connecting to download.doozan.com (50.116.34.13:80)
# Successfully installed /usr/sbin/fw_printenv.
# checking for /etc/fw_env.config...

# Installing /etc/fw_env.config...
Connecting to download.doozan.com (50.116.34.13:80)
Connecting to download.doozan.com (50.116.34.13:80)
# Successfully installed /etc/fw_env.config.

# Validating existing uBoot...
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x00080000...
Connecting to jeff.doozan.com (50.116.34.13:80)
Connecting to projects.doozan.com (50.116.34.13:80)
## Unknown uBoot detected on mtd0: 188602682dada4308e3d9945c3f6b6ed
##
## The installer could not detect the version of your current uBoot
## This may happen if you have installed a different uBoot on
## /dev/mtd0 or if you have bad blocks on /dev/mtd0
##
## If you have bad blocks on mtd0, you should not try to install uBoot.
##
## Installation cancelled.
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
122880 inodes, 491519 blocks
24575 blocks (5%) reserved for the super user
First data block=0
Maximum filesystem blocks=4194304
15 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
./kirkwood.debian-wheezy.sh: line 318: /sbin/mkswap: not found
Connecting to cdn.debian.net (195.71.68.86:80)
./kirkwood.debian-wheezy.sh: line 354: ar: not found
tar: can't open 'data.tar.gz': No such file or directory
mv: can't rename './usr/sbin/debootstrap': No such file or directory
mv: can't rename './usr/share/debootstrap': No such file or directory
# checking for /usr/share/debootstrap/pkgdetails...

# Installing /usr/share/debootstrap/pkgdetails...
Connecting to download.doozan.com (50.116.34.13:80)
wget: can't open '/usr/share/debootstrap/pkgdetails.md5': No such file or directory
Connecting to download.doozan.com (50.116.34.13:80)
wget: can't open '/usr/share/debootstrap/pkgdetails.md5': No such file or directory
## Could not install /usr/share/debootstrap/pkgdetails from http://download.doozan.com/debian/pkgdetails, exiting.

Quote
Pogoplug Pro OS

# cat /proc/version
Linux version 2.6.31.6_SMP_820 (bdietrich@brad-ux) (gcc version 4.4.1 (Sourcery G++ Lite 2009q3-67) ) #96 SMP Tue Feb 8 10:06:27 PST 2011

# uname -a
Linux PogoplugPro 2.6.31.6_SMP_820 #96 SMP Tue Feb 8 10:06:27 PST 2011 armv6l GNU/Linux

# date
Tue Dec 25 17:01:04 UTC 2012

# cat /proc/cpuinfo
Processor : ARMv6-compatible processor rev 5 (v6l)
processor : 0
BogoMIPS : 279.34

processor : 1
BogoMIPS : 279.34

Features : swp half thumb fastmult edsp java
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb02
CPU revision : 5

Hardware : Oxsemi NAS
Revision : 0000
Serial : 0000000000000000

# cat /proc/meminfo
MemTotal: 125764 kB
MemFree: 84348 kB
Buffers: 0 kB
Cached: 5564 kB
SwapCached: 0 kB
Active: 3604 kB
Inactive: 3712 kB
Active(anon): 1768 kB
Inactive(anon): 0 kB
Active(file): 1836 kB
Inactive(file): 3712 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 1780 kB
Mapped: 2744 kB
Slab: 3524 kB
SReclaimable: 292 kB
SUnreclaim: 3232 kB
PageTables: 124 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 88032 kB
Committed_AS: 5184 kB
VmallocTotal: 598016 kB
VmallocUsed: 1692 kB
VmallocChunk: 594420 kB

My USB flash drive:
Quote

Disk /dev/sda: 2013 MB, 2013265920 bytes
255 heads, 63 sectors/track, 244 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 208 1670728+ 83 Linux
/dev/sda2 209 244 289170 82 Linux swap
Re: uBoot on Pogoplug Pro: “Unknown uBoot detected on mtd0”
December 27, 2012 09:10PM
DEAR GOD DON'T FORCE IT.


They are not compatible: Kirkwood & Oxnas!
Re: uBoot on Pogoplug Pro: “Unknown uBoot detected on mtd0”
December 27, 2012 11:14PM
Re: uBoot on Pogoplug Pro: “Unknown uBoot detected on mtd0”
December 28, 2012 11:28AM
as a Psst @bodhi

We're working on 2012.10 uboot. Still no USB, but NAND, net, sata.
Re: uBoot on Pogoplug Pro: “Unknown uBoot detected on mtd0”
December 28, 2012 04:45PM
Awesome @WarheadsSE! can't wait for this. Pazos is also working on his Pogoplug Pro. Hope both efforts will come out with some great stuff for both Arch and Debian.
Somebody else seems to be working on this too:

https://github.com/ckiick/u-boot-ppro
Re: uBoot on Pogoplug Pro: “Unknown uBoot detected on mtd0”
June 02, 2013 03:42AM
WarheadsSE Wrote:
-------------------------------------------------------
> as a Psst @bodhi
>
> We're working on 2012.10 uboot. Still no USB, but
> NAND, net, sata.

@WarheadsSE,

Any new development on the new uBoot?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: uBoot on Pogoplug Pro: “Unknown uBoot detected on mtd0”
June 04, 2013 06:07PM
I guess this has answered my quetion:
http://archlinuxarm.org/forum/viewtopic.php?f=29&t=5665

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Author:

Your Email:


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: