Help restore my pogoplug

This forum is for topics dealing with problems with software specifically in the ARMv5 repo.

Re: Help restore my pogoplug

Postby Socaltom » Sat Dec 06, 2014 2:04 pm

Is Pogoplug on router ( can you SSH?)

What rootfs is on SATA drive? is it http://archlinuxarm.org/os/ArchLinuxARM ... est.tar.gz ?

Have you tried plugging a usb keyboard into the pogoplug? and entering the number on the usb keyboard?

Tom
used to be owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
used to be Adminstrator for
Goflex net, Black V3, Black V2
Now I have a couple of raspberry pi ( 3+ and 4)
Socaltom
 
Posts: 571
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Re: Help restore my pogoplug

Postby Andrey » Sat Dec 06, 2014 3:33 pm

Now i unfolded ArchLinuxARM-oxnas-latest.tar.gz on HDD and when i boot from HDD have access to SSH
How i can restore boot on pogoplug ?
I try /usr/local/cloudengines/bin/./blparam bootcmd=run bootcmd_original
but write
-- Invalid CRC32 on parameters: 0xe1520003 != 0x707476ba

http://ppl.ug/_FB349JCVlg/ chines disk for install and restore
Andrey
 
Posts: 14
Joined: Thu Dec 04, 2014 6:18 am

Re: Help restore my pogoplug

Postby Socaltom » Sat Dec 06, 2014 4:52 pm

I don't know much about uboot. Warheads made a revert script to restore Pogoplug functionality from the Arch boot setup, but I don't know what it would do with the openwrt.
Tom
used to be owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
used to be Adminstrator for
Goflex net, Black V3, Black V2
Now I have a couple of raspberry pi ( 3+ and 4)
Socaltom
 
Posts: 571
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Re: Help restore my pogoplug

Postby Andrey » Sun Dec 07, 2014 7:01 am

Tom, thanks for trying to help.
I tried to connect the keyboard to the Pogoplug, but do not get the results.
I connect through a TTL using Putty and i think need to use the keyboard of my PC.
First time ..... when i tried to restore pogoplug the keyboard worked, but my attempt to restore it, made it unworkable.
I tried to use access to pogoplug on other PC, but the keyboard still does not work . I think now problem in Pogoplug. Not in TTL conection or settings Putty
On the chinese disk for installation OpenWRT and recovery to original Pogoplug have folder FILE http://ppl.ug/_FB349JCVlg/
In this folder have folder ORIGINAL. In the folder ORIGINAL have files for recovery.
In folder BIN have files 1 and original. This is files same and have the following content
$this->bbcode_second_pass_code('', '#!/bin/sh

echo 255 > /sys/class/leds/status\:health\:green/brightness
echo "Erase the mtd"
flash_eraseall /dev/mtd0
sleep 1
echo "пчёґ stage1"
flash_erase /dev/mtd1 0x00 2
nandbd -s /file/original/stage1.wrapped /dev/mtd1
sleep 1
echo "пчёґ u-boot"
flash_erase /dev/mtd1 0x40000 3
nandwrite -p -s 0x40000 /dev/mtd1 /file/original/u-boot.wrapped
flash_erase /dev/mtd1 0x100000 3
nandwrite -p -s 0x100000 /dev/mtd1 /file/original/u-boot.wrapped
sleep 1
echo "пчёґ uImage"
flash_erase /dev/mtd1 0x200000 24
nandwrite -p -s 0x200000 /dev/mtd1 /file/original/uImage
flash_erase /dev/mtd1 0x800000 24
nandwrite -p -s 0x800000 /dev/mtd1 /file/original/uImage
sleep 1
echo "пчёґ rootfs"
flash_erase /dev/mtd2 0 0
nandwrite -p -s 0xe00000 /dev/mtd2 /file/original/rootfs.bin
sleep 1
echo 0 > /sys/class/leds/status\:health\:green/brightness
echo 255 > /sys/class/leds/status\:fault\:orange/brightness
echo "Waiting..."
sleep 1
echo ".№лјЧряѕ­кўпбмЙ±оЈ¬гКЅ«POGOµГтґ№ь±уЈ¬SATAсІелсКPOGOжВ°Е¶оїЄЈ¬жьпбїЄ»ЗјґїиїЄйјпбµдбціл..."
echo "...пбоµміµд№эюМIPнЄб·сифВ·жеДЈ¬гКµЅб·сифВDHCPап±МІИур..."')
unreadable characters in this file is Chinese characters ..... Chinese people do not care about the English-speaking users
When I boot from the Chinese disc, I have to choose one of the options. But the problem is that the keyboard does not work
$this->bbcode_second_pass_code('', '...▒▒▒▒▒▒̼▒▒▒Ӧ▒▒▒▒▒▒▒▒▒к▒▒▒Ȼ▒▒س▒▒▒▒▒▒▒▒Զ▒ˢ▒¹̼▒...
1 (original)ˢ▒ص▒POGOԭ▒▒̼▒,▒ظ▒▒̼▒▒▒▒▒Ҫ▒▒дSN▒▒▒▒MAC▒▒ַ
2 (wzdzdhan_1020)▒▒̳▒▒▒▒̼▒▒▒▒▒▒▒▒▒λ▒▒▒▒▒▒▒▒ü▒▒▒Ͷ▒▒ʹ▒▒
------------------------------------------------------------------
-------------▒▒▒¹̼▒Ϊ▒▒▒ʲ▒▒Թ̼▒,▒Ƽ▒ʹ▒▒2▒Ź̼▒---------------
------------------------------------------------------------------
3 (990101_0925)▒▒̳99▒▒▒▒▒▒▒¹̼▒▒▒▒▒̳▒▒ӳSamba▒ٶ▒▒▒▒
4 (CEC0D5F1B6AB_1003)▒▒̳▒▒▒▒▒▒▒¹̼▒▒▒֧▒▒TTL▒̽▒RX TX▒ﵽ▒ָ▒Ĭ▒▒▒▒▒õ▒Ч▒▒
5 (rsd1987_0927)▒▒̳▒▒▒▒̼▒▒▒▒▒δ▒▒▒▒
6 (lintel_0923)▒▒▒Ƽ▒С▒▒▒û▒ʹ▒ã▒▒▒Ҫ▒▒▒õĵط▒▒϶▒')
unreadable characters in this file is Chinese characters

Maybe someone help put a file 1 or original in startup ?????????????
Andrey
 
Posts: 14
Joined: Thu Dec 04, 2014 6:18 am

Re: Help restore my pogoplug

Postby Andrey » Sun Dec 07, 2014 11:17 am

$this->bbcode_second_pass_code('', '
[root@alarm ~]# cd /bin
[root@alarm bin]# ./1
Erase the mtd
Erasing 128 Kibyte @ 8000000 -- 100 % complete.
▒޸▒ stage1
Erasing 128 Kibyte @ 20000 -- 100 % complete
Writing /file/original/stage1.wrapped to /dev/mtd1, offset 0x0
Writing /file/original/stage1.wrapped to /dev/mtd1, offset 0x20000
▒޸▒ u-boot
Erasing 128 Kibyte @ 80000 -- 100 % complete
Writing data to block 2 at offset 0x40000
Erasing 128 Kibyte @ 140000 -- 100 % complete
Writing data to block 8 at offset 0x100000
▒޸▒ uImage
Erasing 128 Kibyte @ 4e0000 -- 100 % complete
Writing data to block 16 at offset 0x200000
Writing data to block 17 at offset 0x220000
Writing data to block 18 at offset 0x240000
Writing data to block 19 at offset 0x260000
Writing data to block 20 at offset 0x280000
Writing data to block 21 at offset 0x2a0000
Writing data to block 22 at offset 0x2c0000
Writing data to block 23 at offset 0x2e0000
Writing data to block 24 at offset 0x300000
Writing data to block 25 at offset 0x320000
Writing data to block 26 at offset 0x340000
Writing data to block 27 at offset 0x360000
Writing data to block 28 at offset 0x380000
Writing data to block 29 at offset 0x3a0000
Writing data to block 30 at offset 0x3c0000
Writing data to block 31 at offset 0x3e0000
Writing data to block 32 at offset 0x400000
Writing data to block 33 at offset 0x420000
Erasing 128 Kibyte @ ae0000 -- 100 % complete
Writing data to block 64 at offset 0x800000
Writing data to block 65 at offset 0x820000
Writing data to block 66 at offset 0x840000
Writing data to block 67 at offset 0x860000
Writing data to block 68 at offset 0x880000
Writing data to block 69 at offset 0x8a0000
Writing data to block 70 at offset 0x8c0000
Writing data to block 71 at offset 0x8e0000
Writing data to block 72 at offset 0x900000
Writing data to block 73 at offset 0x920000
Writing data to block 74 at offset 0x940000
Writing data to block 75 at offset 0x960000
Writing data to block 76 at offset 0x980000
Writing data to block 77 at offset 0x9a0000
Writing data to block 78 at offset 0x9c0000
Writing data to block 79 at offset 0x9e0000
Writing data to block 80 at offset 0xa00000
Writing data to block 81 at offset 0xa20000
▒޸▒ rootfs
Erasing 128 Kibyte @ 71e0000 -- 100 % complete
Image 119537664 bytes, NAND page 2048 bytes, OOB area 64 bytes, device size 119537664 bytes
nandwrite: error!: Input file does not fit into device
error 0 (Success)
nandwrite: error!: Data was only partially written due to error
error 0 (Success)
Waiting...
.▒̼▒▒Ѿ▒ˢ▒▒▒▒ϣ▒▒뽫POGO▒▒Դ▒رգ▒SATAӲ▒▒▒▒POGO▒▒▒Ͽ▒▒▒▒▒▒¿▒▒▒ɿ▒ʼ▒µ▒▒ó▒...
...▒▒ϵͳ▒Ĺ▒▒▒IPΪ·▒▒▒▒▒▒䣬▒뵽·▒▒▒▒DHCP▒б▒▒▒▒...')
Andrey
 
Posts: 14
Joined: Thu Dec 04, 2014 6:18 am

Re: Help restore my pogoplug

Postby Andrey » Sun Dec 07, 2014 11:46 am

Successfully flashed in Pandora .... position №2, but the original firmware or does not fit or does not want to set
$this->bbcode_second_pass_code('', 'nandwrite: error!: Input file does not fit into device
error 0 (Success)
nandwrite: error!: Data was only partially written due to error
error 0 (Success)')
Image
Andrey
 
Posts: 14
Joined: Thu Dec 04, 2014 6:18 am

Re: Help restore my pogoplug

Postby Andrey » Sun Dec 07, 2014 12:31 pm

Successfully flashed in position №3, 4, 5
Andrey
 
Posts: 14
Joined: Thu Dec 04, 2014 6:18 am

Re: Help restore my pogoplug

Postby Andrey » Mon Dec 08, 2014 9:13 am

Now for restore my Pogoplug i have four files http://ppl.ug/zLDCi49oaTo/
stage1.wrapped 7 kbt
u-boot.wrapped 109 kbt
uImage 2,2 kbt
rootfs.bin 116 736 kbt

Script for run flash
$this->bbcode_second_pass_code('', '
#!/bin/sh

echo 255 > /sys/class/leds/status\:health\:green/brightness
echo "Erase the mtd"
flash_eraseall /dev/mtd0
sleep 1
echo "Flash the stage1"
flash_erase /dev/mtd1 0x00 2
nandbd -s /file/original/stage1.wrapped /dev/mtd1
sleep 1
echo "Flash the u-boot"
flash_erase /dev/mtd1 0x40000 3
nandwrite -p -s 0x40000 /dev/mtd1 /file/original/u-boot.wrapped
flash_erase /dev/mtd1 0x100000 3
nandwrite -p -s 0x100000 /dev/mtd1 /file/original/u-boot.wrapped
sleep 1
echo "Flash the uImage"
flash_erase /dev/mtd1 0x200000 24
nandwrite -p -s 0x200000 /dev/mtd1 /file/original/uImage
flash_erase /dev/mtd1 0x800000 24
nandwrite -p -s 0x800000 /dev/mtd1 /file/original/uImage
sleep 1
echo "Flash the rootfs"
flash_erase /dev/mtd2 0 0
nandwrite -p -s 0xe00000 /dev/mtd2 /file/original/rootfs.bin
sleep 1
echo 0 > /sys/class/leds/status\:health\:green/brightness
echo 255 > /sys/class/leds/status\:fault\:orange/brightness
echo "Waiting..."
sleep 1
echo ".№лјЧряѕ­кўпбмЙ±оЈ¬гКЅ«POGOµГтґ№ь±уЈ¬SATAсІелсКPOGOжВ°Е¶оїЄЈ¬жьпбїЄ»ЗјґїиїЄйјпбµдбціл..."
echo "...пбоµміµд№эюМIPнЄб·сифВ·жеДЈ¬гКµЅб·сифВDHCPап±МІИур..."')

I see partitions NAND

$this->bbcode_second_pass_code('', '[ 8.080000] ONFI flash detected
[ 8.090000] NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128 MiB 3,3V 8-bit)
[ 8.100000] Scanning device for bad blocks
[ 8.250000] Creating 9 MTD partitions on "NAND 128MiB 3,3V 8-bit":
[ 8.250000] 0x000000000000-0x000000040000 : "stage1"
[ 8.260000] 0x000000040000-0x0000001a0000 : "u-boot"
[ 8.270000] 0x0000001a0000-0x0000001e0000 : "u-boot-env"
[ 8.280000] 0x000000000000-0x000002000000 : "boot"
[ 8.280000] 0x0000001e0000-0x000000200000 : "factory"
[ 8.290000] 0x000000200000-0x000000c00000 : "kernel"
[ 8.300000] 0x000000e00000-0x000008000000 : "rootfs"
[ 8.310000] split_squashfs: no squashfs found in "NAND 128MiB 3,3V 8-bit"
[ 8.310000] 0x000000200000-0x000008000000 : "firmware"
[ 8.320000] 0x000000000000-0x000008000000 : "fullflash"
[ 8.330000] UBI: attaching mtd6 to ubi0
[ 8.340000] UBI: physical eraseblock size: 131072 bytes (128 KiB)
[ 8.340000] UBI: logical eraseblock size: 129024 bytes
[ 8.350000] UBI: smallest flash I/O unit: 2048
[ 8.350000] UBI: sub-page size: 512
[ 8.360000] UBI: VID header offset: 512 (aligned 512)
[ 8.360000] UBI: data offset: 2048
[ 8.550000] ata1: SATA link down (SStatus 0 SControl 300)
[ 8.760000] UBI: max. sequence number: 758
[ 8.790000] UBI: attached mtd6 to ubi0
[ 8.800000] UBI: MTD device name: "rootfs"
[ 8.800000] UBI: MTD device size: 114 MiB')

For rootfs have 114 mbt, but need 116

When i run from HDD with ArchiLinux have another partition

$this->bbcode_second_pass_code('', '
[ 1.940000] Creating 3 MTD partitions on "NAND 128MiB 3,3V 8-bit":
[ 1.940000] 0x000000000000-0x000008000000 : "NAND 128MiB 3,3V 8-bit"
[ 1.950000] 0x000000000000-0x000000e00000 : "boot"
[ 1.960000] 0x000000e00000-0x000008000000 : "rootfs"
[ 1.970000] mtd: partition "rootfs" set to be root filesystem
[ 1.970000] split_squashfs: no squashfs found in "NAND 128MiB 3,3V 8-bit"')


What daelt? How to repartition NAND ?
Andrey
 
Posts: 14
Joined: Thu Dec 04, 2014 6:18 am

Re: Help restore my pogoplug

Postby Andrey » Mon Dec 08, 2014 11:53 am

SOLVED
true script
$this->bbcode_second_pass_code('', '#!/bin/sh

echo 255 > /sys/class/leds/status\:health\:green/brightness
echo "Erase the mtd"
flash_eraseall /dev/mtd0
sleep 1
echo "пчёґ stage1"
flash_erase /dev/mtd1 0x00 2
nandbd -s /file/original/stage1.wrapped /dev/mtd1
sleep 1
echo "пчёґ u-boot"
flash_erase /dev/mtd1 0x40000 3
nandwrite -p -s 0x40000 /dev/mtd1 /file/original/u-boot.wrapped
flash_erase /dev/mtd1 0x100000 3
nandwrite -p -s 0x100000 /dev/mtd1 /file/original/u-boot.wrapped
sleep 1
echo "пчёґ uImage"
flash_erase /dev/mtd1 0x200000 24
nandwrite -p -s 0x200000 /dev/mtd1 /file/original/uImage
flash_erase /dev/mtd1 0x800000 24
nandwrite -p -s 0x800000 /dev/mtd1 /file/original/uImage
sleep 1
echo "пчёґ rootfs"
flash_erase /dev/mtd2 0 0
nandwrite -pm /dev/mtd2 /file/original/rootfs.bin
sleep 1
echo 0 > /sys/class/leds/status\:health\:green/brightness
echo 255 > /sys/class/leds/status\:fault\:orange/brightness
echo "Waiting..."
sleep 1
echo ".№лјЧряѕ­кўпбмЙ±оЈ¬гКЅ«POGOµГтґ№ь±уЈ¬SATAсІелсКPOGOжВ°Е¶оїЄЈ¬жьпбїЄ»ЗјґїиїЄйјпбµдбціл..."
echo "...пбоµміµд№эюМIPнЄб·сифВ·жеДЈ¬гКµЅб·сифВDHCPап±МІИур..."')
At the same time learned a lot about pogoplug.
But most likely will use the third option.
OpenVRT much better. There is a transmission and webcam works fine
Andrey
 
Posts: 14
Joined: Thu Dec 04, 2014 6:18 am

Previous

Return to ARMv5

Who is online

Users browsing this forum: No registered users and 0 guests