my Pogoplug v4 dead after Nand flash October 19, 2014 09:59AM |
Registered: 9 years ago Posts: 8 |
Re: my Pogoplug v4 dead after Nand flash October 19, 2014 03:47PM |
Admin Registered: 13 years ago Posts: 18,558 |
./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2014.07.tld-1.pogo_v4.mtd0.kwb -p- Power up the Pogo V4
Re: my Pogoplug v4 dead after Nand flash October 20, 2014 10:40PM |
Registered: 9 years ago Posts: 8 |
[root@alarm kwboot-tool]# uname -s -r Linux 3.1.10-33-ARCH [root@alarm kwboot-tool]# file `which kwboot` /usr/bin/kwboot: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.27, BuildID[sha1]=eb43a5ac6cb667e8443b5bdcd60ac7f159260d2c, stripped
[root@alarm kwboot-tool]# lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 002 Device 003: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[root@alarm kwboot-tool]# ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2014.07-tld-1.pogo_v4.mtd0.kwb -p Sending boot message. Please reboot the target.../
Re: my Pogoplug v4 dead after Nand flash October 21, 2014 12:08AM |
Admin Registered: 13 years ago Posts: 18,558 |
Quote
> 3- I turn off my bricked pogo 4
This is wrong. Don't turn off the Pogo V4.
Re: my Pogoplug v4 dead after Nand flash October 21, 2014 07:21PM |
Registered: 9 years ago Posts: 8 |
Re: my Pogoplug v4 dead after Nand flash October 22, 2014 12:30AM |
Admin Registered: 13 years ago Posts: 18,558 |
Re: my Pogoplug v4 dead after Nand flash October 22, 2014 11:03AM |
Registered: 9 years ago Posts: 8 |
[root@alarm doozan]# ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2014.07-tld-1.pogo_v4.mtd0.kwb -p Sending boot message. Please reboot the target.../^C [root@alarm doozan]# ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2014.07-tld-1.pogo_v4.mtd0.kwb -p Sending boot message. Please reboot the target...-^C [root@alarm doozan]# ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2014.07-tld-1.pogo_v4.mtd0.kwb -p Sending boot message. Please reboot the target...\^C [root@alarm doozan]# ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2014.07-tld-1.pogo_v4.mtd0.kwb -p Sending boot message. Please reboot the target...\^C [root@alarm doozan]# ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2014.07-tld-1.pogo_v4.mtd0.kwb -p Sending boot message. Please reboot the target.../^C [root@alarm doozan]# ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2014.07-tld-1.pogo_v4.mtd0.kwb -p Sending boot message. Please reboot the target.../^C [root@alarm doozan]# ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2014.07-tld-1.pogo_v4.mtd0.kwb -p Sending boot message. Please reboot the target...|^C [root@alarm doozan]# ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2014.07-tld-1.pogo_v4.mtd0.kwb -p Sending boot message. Please reboot the target...\^C [root@alarm doozan]# ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2014.07-tld-1.pogo_v4.mtd0.kwb -p Sending boot message. Please reboot the target...-^C [root@alarm doozan]# ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2014.07-tld-1.pogo_v4.mtd0.kwb -p Sending boot message. Please reboot the target.../^C [root@alarm doozan]# ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2014.07-tld-1.pogo_v4.mtd0.kwb -p Sending boot message. Please reboot the target...-^C [root@alarm doozan]# ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2014.07-tld-1.pogo_v4.mtd0.kwb -p Sending boot message. Please reboot the target.../^C
Re: my Pogoplug v4 dead after Nand flash October 22, 2014 12:09PM |
Admin Registered: 13 years ago Posts: 18,558 |
Re: my Pogoplug v4 dead after Nand flash October 22, 2014 12:25PM |
Registered: 9 years ago Posts: 8 |
Re: my Pogoplug v4 dead after Nand flash October 22, 2014 04:52PM |
Admin Registered: 13 years ago Posts: 18,558 |
Re: my Pogoplug v4 dead after Nand flash October 22, 2014 10:01PM |
Registered: 9 years ago Posts: 8 |
you are right . my serial soldering was bad and now it works, but what's next ?Quote
bodhi
Check your serial connection,
[root@alarm doozan]# ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2014.07-tld-1.pogo_v4.mtd0.kwb -p Sending boot message. Please reboot the target...| Sending boot image... 0 % [+++++++++++++++++xmodem: Bad message [root@alarm doozan]# ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2014.07-tld-1.pogo_v4.mtd0.kwb -p Sending boot message. Please reboot the target...| Sending boot image... 0 % [+++++++++++++++++xmodem: Bad message [root@alarm doozan]# ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2014.07-tld-1.pogo_v4.mtd0.kwb -p Sending boot message. Please reboot the target...\ Sending boot image... 0 % [......................................................................] 1 % [......................................................................] 3 % [......................................................................] 5 % [......................................................................] 6 % [......................................................................] 8 % [......................................................................] 10 % [......................................................................] 11 % [......................................................................] 13 % [......................................................................] 15 % [......................................................................] 17 % [......................................................................] 18 % [......................................................................] 20 % [......................................................................] 22 % [......................................................................] 23 % [......................................................................] 25 % [......................................................................] 27 % [......................................................................] 29 % [......................................................................] 30 % [......................................................................] 32 % [......................................................................] 34 % [......................................................................] 35 % [......................................................................] 37 % [......................................................................] 39 % [......^C [root@alarm doozan]#
Quote
bodhi
2. Another thing worth to try is to create a Debian rootfs. Download my rootfs and extract it to a fresh USB (formatted with Ext3):
http://forum.doozan.com/read.php?2,12096
Boot with this Debian rootfs, and see how it goes.
Re: my Pogoplug v4 dead after Nand flash October 23, 2014 12:45AM |
Admin Registered: 13 years ago Posts: 18,558 |
printenv
Re: my Pogoplug v4 dead after Nand flash October 23, 2014 09:38AM |
Registered: 9 years ago Posts: 8 |
Pogov4> printenv arcNumber=3960 baudrate=115200 bootargs_root=root=/dev/mtdblock2 ro bootcmd=nand read.e 0x800000 0x100000 0x300000; setenv bootargs $(console) \ $(bootargs_root); bootm 0x800000 bootdelay=5 console=console=ttyS0,115200 ethact=egiga0 ethaddr=00:25:31:05:ee:d9 if_netconsole=ping $serverip ipaddr=192.168.1.98 machid=F78 mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root) preboot=run if_netconsole start_netconsole serverip=192.168.1.99 start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; stderr=serial stdin=serial stdout=serial usb_rootfstype=ext3 Environment size: 694/131068 bytes Pogov4> mmc rescan MMC rescan: current device # 0 initialized OK Pogov4> mtdparts mtdids not defined, no default present
U-Boot default envs script October 23, 2014 03:51PM |
Admin Registered: 13 years ago Posts: 18,558 |
Re: my Pogoplug v4 dead after Nand flash October 24, 2014 02:36PM |
Registered: 9 years ago Posts: 8 |
Seong O
Re: my Pogoplug v4 dead after Nand flash October 19, 2016 08:46PM |
Re: my Pogoplug v4 dead after Nand flash October 19, 2016 09:01PM |
Admin Registered: 13 years ago Posts: 18,558 |
Seong O
Re: my Pogoplug v4 dead after Nand flash October 19, 2016 11:47PM |
Scales11
Re: my Pogoplug v4 dead after Nand flash December 11, 2016 11:20AM |
Re: my Pogoplug v4 dead after Nand flash December 22, 2016 03:20AM |
Registered: 7 years ago Posts: 7 |
root@test-VirtualBox:/home/test/pogo/kwboot-tool# ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2016.05-tld-1.pogo_v4.mtd0.kwb -p Sending boot message. Please reboot the target...\ Sending boot image... 0 % [......................................................................] ... 99 % [....................................] [Type Ctrl-\ + c to quit] U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:41:47 -0700) Pogoplug V4 SoC: Kirkwood 88F6192_A1 DRAM: 128 MiB WARNING: Caches not enabled NAND: 128 MiB MMC: kwsdio: 0 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: egiga0 Hit any key to stop autoboot: 0 Pogov4> mtdparts device nand0 <orion_nand>, # parts = 5 #: name size offset mask_flags 0: u-boot 0x00200000 0x00000000 0 1: uImage 0x00300000 0x00200000 0 2: uImage2 0x00300000 0x00500000 0 3: failsafe 0x00800000 0x00800000 0 4: root 0x07000000 0x01000000 0 active partition: nand0,2 - (uImage2) 0x00300000 @ 0x00500000 defaults: mtdids : none mtdparts: none Pogov4> usb start starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found Pogov4> ext2load usb 0:1 0x800000 /mtd0 2162688 bytes read in 151 ms (13.7 MiB/s) Pogov4> nand erase 0x0 0x200000 NAND erase: device 0 offset 0x0, size 0x200000 Erasing at 0x1e0000 -- 100% complete. OK Pogov4> nand write 0x800000 0x0 0x200000 NAND write: device 0 offset 0x0, size 0x200000 2097152 bytes written: OK Pogov4> reset resetting ...
Re: my Pogoplug v4 dead after Nand flash December 22, 2016 04:43PM |
Admin Registered: 13 years ago Posts: 18,558 |
> root@test-VirtualBox:/home/test/pogo/kwboot-tool# > ./kwboot -t -B 115200 /dev/ttyUSB0 -b > uboot.2016.05-tld-1.pogo_v4.mtd0.kwb -p > Sending boot message. Please reboot the > target...\ > Sending boot image... > 0 % > [................................................. > .....................] > ... > 99 % [....................................] > [Type Ctrl-\ + c to quit] > > > U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:41:47 > -0700) > Pogoplug V4 > > SoC: Kirkwood 88F6192_A1 > DRAM: 128 MiB > WARNING: Caches not enabled > NAND: 128 MiB > MMC: kwsdio: 0 > *** Warning - bad CRC, using default environment > > In: serial > Out: serial > Err: serial > Net: egiga0 > Hit any key to stop autoboot: 0 > Pogov4> mtdparts > > device nand0 <orion_nand>, # parts = 5 > #: name size offset > mask_flags > 0: u-boot 0x00200000 0x00000000 > 0 > 1: uImage 0x00300000 0x00200000 > 0 > 2: uImage2 0x00300000 0x00500000 > 0 > 3: failsafe 0x00800000 0x00800000 > 0 > 4: root 0x07000000 0x01000000 > 0 > > active partition: nand0,2 - (uImage2) 0x00300000 @ > 0x00500000 > > defaults: > mtdids : none > mtdparts: none > Pogov4> usb start > starting USB... > USB0: USB EHCI 1.00 > scanning bus 0 for devices... 2 USB Device(s) > found > scanning usb for storage devices... 1 > Storage Device(s) found > Pogov4> ext2load usb 0:1 0x800000 /mtd0 > 2162688 bytes read in 151 ms (13.7 MiB/s) > Pogov4> nand erase 0x0 0x200000 > > NAND erase: device 0 offset 0x0, size 0x200000 > Erasing at 0x1e0000 -- 100% complete. > OK > Pogov4> nand write 0x800000 0x0 0x200000 > > NAND write: device 0 offset 0x0, size 0x200000 > 2097152 bytes written: OK > Pogov4> reset > resetting ... > > >>
Quote
Updated 20 Feb 2016:
This Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2 is to keep in sync with kernel Linux-4.4.0-kirkwood-tld-1.
Re: my Pogoplug v4 dead after Nand flash December 22, 2016 05:30PM |
Registered: 7 years ago Posts: 7 |
Re: my Pogoplug v4 dead after Nand flash December 22, 2016 06:48PM |
Admin Registered: 13 years ago Posts: 18,558 |
Re: my Pogoplug v4 dead after Nand flash December 23, 2016 03:52AM |
Registered: 7 years ago Posts: 7 |
root@test-VirtualBox:~# mount /dev/sdb1 /media/sdb1 root@test-VirtualBox:~# cd /media/sdb1/ root@test-VirtualBox:/media/sdb1# tar -xjf /home/test/pogo/Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2 root@test-VirtualBox:/home/test/pogo/2# cd /media/sdb1/boot root@test-VirtualBox:/media/sdb1/boot# cp -a zImage-4.4.0-kirkwood-tld-1 zImage.fdt root@test-VirtualBox:/media/sdb1/boot# cat dts/kirkwood-pogoplug_v4.dtb >> zImage.fdt root@test-VirtualBox:/media/sdb1/boot# mv uImage uImage.orig root@test-VirtualBox:/media/sdb1/boot# mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-4.4.0-kirkwood-tld-1 -d zImage.fdt uImage Image Name: Linux-4.4.0-kirkwood-tld-1 Created: Fri Dec 23 10:45:17 2016 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3165078 Bytes = 3090.90 kB = 3.02 MB Load Address: 00008000 Entry Point: 00008000 root@test-VirtualBox:/media/sdb1/boot# sync root@test-VirtualBox:/media/sdb1/boot# sync
Re: my Pogoplug v4 dead after Nand flash December 23, 2016 05:14AM |
Admin Registered: 13 years ago Posts: 18,558 |
U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:41:47 -0700) Pogoplug V4 SoC: Kirkwood 88F6192_A1 DRAM: 128 MiB WARNING: Caches not enabled NAND: 128 MiB MMC: kwsdio: 0 *** Warning - bad CRC, using default environment
The easy way to recover is to boot in to Debian and fix it inside. Create the Debian 4.4 rootfs on USB following instruction in this thread: http://forum.doozan.com/read.php?2,12096
Re: my Pogoplug v4 dead after Nand flash December 23, 2016 08:10AM |
Registered: 7 years ago Posts: 7 |
root@test-VirtualBox:/home/test/pogo/kwboot-tool# ./kwboot -t -B 115200 /dev/ttyUSB5 -b uboot.2016.05-tld-1.pogo_v4.mtd0.kwb -p Sending boot message. Please reboot the target...\ Sending boot image... 0 % [......................................................................] ... 99 % [....................................] [Type Ctrl-\ + c to quit] U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:41:47 -0700) Pogoplug V4 SoC: Kirkwood 88F6192_A1 DRAM: 128 MiB WARNING: Caches not enabled NAND: 128 MiB MMC: kwsdio: 0 In: serial Out: serial Err: serial Net: egiga0 Error: egiga0 address not set. Hit any key to stop autoboot: 0 *** ERROR: `ethaddr' not set Wrong Image Format for bootm command ERROR: can't get kernel image! Pogov4>
Re: my Pogoplug v4 dead after Nand flash December 23, 2016 09:55AM |
Registered: 7 years ago Posts: 7 |
Re: my Pogoplug v4 dead after Nand flash December 24, 2016 02:39AM |
Admin Registered: 13 years ago Posts: 18,558 |
cd /boot mv uImage.orig uImage
Re: my Pogoplug v4 dead after Nand flash December 24, 2016 03:30PM |
Registered: 7 years ago Posts: 7 |
Re: my Pogoplug v4 dead after Nand flash December 24, 2016 03:48PM |
Admin Registered: 13 years ago Posts: 18,558 |
cd /media/SD time cp -aR /media/USB/* . sync