Pogoplug not boot

This forum is for discussion about general software issues.

Pogoplug not boot

Postby emilw11 » Wed May 25, 2016 4:21 pm

Hi

Sorry. My english is not very well.
I have problem.

My device is Pogoplug Pro

My pogoplug dont boot.

Im doing this :

#Verify Pogoplug is expected version (Oxnas)
cat /proc/cpuinfo | grep Hardware

#Stop here if not expected output.
#Expected output
#Hardware : Oxsemi NAS

#stop my.pogoplug.com service
killall hbwd


#download firmware utilities
cd /tmp
wget http://download.qnology.com/pogoplug/v4/nanddump
wget http://download.qnology.com/pogoplug/v4/nandwrite
wget http://download.qnology.com/pogoplug/v4/flash erase
wget http://download.qnology.com/pogoplug/v4/fw printenv
wget http://download.qnology.com/pogoplug/v4/fw setenv

#make executable
chmod +x flash_erase fw_printenv fw_setenv nanddump nandwrite

#remount '/' as read/write
#by default the Pogoplug OS (internal flash) is read only
mount -o remount,rw /

#setup fw_env.config for oxnas
echo "/dev/mtd0 0x00100000 0x20000 0x20000">/etc/fw_env.config

#save original envs
/usr/local/cloudengines/bin/blparam > /blparam.txt

#Download and flash new uBoot
wget http://download.qnology.com/pogoplug/ox ... .bodhi.tar
wget http://download.qnology.com/pogoplug/ox ... hi.tar.md5

#check md5sum
md5sum -c uboot.2013.10-tld-4.ox820.bodhi.tar.md5

#extract uBoot files
tar -xf uboot.2013.10-tld-4.ox820.bodhi.tar

#BE EXTRA CAREFUL WITH THE THESE COMMANDS.
#NO TYPOS! CUT AND PASTE.
#Erase and flash uboot on mtd0
#Flash encoded spl stage1 to 0x0
/tmp/flash_erase /dev/mtd0 0x0 6
/tmp/nandwrite /dev/mtd0 uboot.spl.2013.10.ox820.850mhz.mtd0.img

#Flash uboot to 0x40000
/tmp/nandwrite -s 262144 /dev/mtd0 uboot.2013.10-tld-4.ox820.mtd0.img
#Flash uboot environment
#Erase 1 block starting 0x00100000
/tmp/flash_erase /dev/mtd0 0x00100000 1
/tmp/nandwrite -s 1048576 /dev/mtd0 pogopro_uboot_env.img

#Set MAC Address
/tmp/fw_setenv ethaddr "$(cat /sys/class/net/eth0/address)"

#default to pogoplug classic dtb
/tmp/fw_setenv fdt_file '/boot/dts/ox820-pogoplug-classic.dtb'
/tmp/fw_setenv dt_load_dtb 'ext2load usb 0:1 $dtb_addr $fdt_file'

#double check the MAC Address matches with
#what is on the bottom of your Pogoplug
/tmp/fw_printenv ethaddr

#print out all uboot environment parameters
#make sure there are no errors
/tmp/fw_printenv > /fw_printenv.txt
/tmp/fw_printenv


Setup Netconsole
More info here - http://forum.doozan.com/read.php?3,14,14


#Update IP Addresses as appropriate
#ipaddr = Pogoplug IP
/tmp/fw_setenv preboot 'run preboot_nc'
/tmp/fw_setenv ipaddr '192.168.1.10'
/tmp/fw_setenv serverip '192.168.1.100

Plug in your USB flash drive

#Partition your USB flash/hard drive
/sbin/fdisk /dev/sda

# Type in the following commands to erase
# and re-partition USB flash/hard drive
#(WARNING - FLASH/HARD DRIVE WILL BE COMPLETELY WIPED):
#
# p # list current partitions
# o # to delete all partitions
# n # new partition
# p # primary partition
# 1 (one) # first partition
# <enter> # default start block
# <enter> # default end block (to use the whole drive)
# If you're using a hard drive, create a small
# 4GB partition instead of using the whole drive,
# leaving the rest for a data partition
# +4G # to create a 4GB partition
# w # write new partition to disk


#Format USB Flash Drive
cd /tmp
wget http://archlinuxarm.org/os/pogoplug/mke2fs
chmod 755 mke2fs

#format as ext3 and label partition as 'rootfs'
./mke2fs -L rootfs -j /dev/sda1

#mount
mkdir /tmp/usb
mount /dev/sda1 /tmp/usb
cd /tmp/usb

#Download Debian rootfs
download.qnology.com/pogoplug/oxnas/Debian-3.17.0-oxnas-tld-1-rootfs-bodhi.tar.bz2
download.qnology.com/po...tld-1-rootfs-bodhi.tar.bz2.md5

#check md5sum
md5sum -c Debian-3.17.0-oxnas-tld-1-rootfs-bodhi.tar.bz2.md5

#extract
tar -xvjf Debian-3.17.0-oxnas-tld-1-rootfs-bodhi.tar.bz2

#cleanup
rm Debian-3.17.0-oxnas-tld-1-rootfs-bodhi.tar.bz2*

#Sync and reboot, cross your fingers
sync
cd ..
umount /tmp/usb
reboot
------------------
My system frozen in this point.

Pogoplug don`t boot up.

Im connect serial cabel and see only this :

pogoplug.jpg
pogoplug.jpg (32.67 KiB) Viewed 4664 times


I don't now how i must doing for fix IT
Maybe flash disk image from another pogoplug pro helpful ?

Please help
emilw11
 
Posts: 3
Joined: Wed May 25, 2016 4:11 pm

Re: Pogoplug not boot

Postby Socaltom » Fri May 27, 2016 4:56 pm

What kind of USB drive did you put the rootfs on?
Tom

What is your native language?
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: Pogoplug not boot

Postby emilw11 » Wed Jun 01, 2016 8:55 am

I used usb flash disk, ext 3 . My native language is Polish
emilw11
 
Posts: 3
Joined: Wed May 25, 2016 4:11 pm

Re: Pogoplug not boot

Postby Socaltom » Thu Jun 02, 2016 8:36 pm

Some flash sticks work, some do not, so copying the filesystem to a new flash stick might solve the problem. USB hard drives usually work best. Also, booting from the SATA port inside the case is the most reliable if you connect directly with a sata cable.
Tom


-via google translate
Niektóre laski błyskowa działa, niektórzy nie , więc kopiowanie plików do nowego typu flash kij może rozwiązać ten problem. dyski twarde USB zazwyczaj działają najlepiej . Ponadto, bootowanie z portu SATA wewnątrz obudowy jest najbardziej wiarygodny , jeśli łączysz się bezpośrednio z kabla SATA.
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: Pogoplug not boot

Postby emilw11 » Sun Jun 12, 2016 1:22 pm

hI

I connected hdd via sata. I have this :

$this->bbcode_second_pass_code('', '
ATA PHY not ready for device 1
Detecting SATA busses:
Bus 0: Found first device OK
Device 0: Model: FUJITSU MHV2080BH PL Firm: 892C Ser#: NW9ZT682HSW9
Type: Hard Disk
Capacity: 76319.0 MB = 74.5 GB (156301488 x 512)
Device 1: not available
Failed to read valid environment from disk, using built-in default


U-Boot 1.1.2 (Dec 31 2011 - 15:24:45)

U-Boot code: 60E00000 -> 60E1FB34 BSS: -> 60E5435C
RAM Configuration:
Bank #0: 60000000 128 MB
SRAM Configuration:
64KB at 0x50000000
NAND:128 MiB
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Setting Linux mem= boot arg value

IDE read: device 0 block # 288, count 1 ... 1 blocks read: OK
Hit any key to stop autoboot: 0

Loading from IDE device 0, partition 1: Name: hda1
Type: U-Boot
Image Name: Linux-2.6.31.6_SMP_820
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2132260 Bytes = 2 MB
Load Address: 60008000
Entry Point: 60008000
## Booting image at 60500000 ...
Image Name: Linux-2.6.31.6_SMP_820
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2132260 Bytes = 2 MB
Load Address: 60008000
Entry Point: 60008000
Verifying Checksum ... Bad Data CRC
Unknown command 'lightled' - try 'help'
$ ')

Whats now??
Last edited by moonman on Sun Jun 12, 2016 8:41 pm, edited 1 time in total.
Reason: code tags
emilw11
 
Posts: 3
Joined: Wed May 25, 2016 4:11 pm

Re: Pogoplug not boot

Postby moonman » Sun Jun 12, 2016 8:37 pm

Emilw11 please use code tags when posting logs
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am


Return to General

Who is online

Users browsing this forum: No registered users and 3 guests