|
Pogoplug v2 doesn't show up on LAN after Archlinux install January 23, 2015 02:32PM |
Registered: 9 years ago Posts: 29 |
|
Re: Pogoplug v2 doesn't show up on LAN after Archlinux install January 23, 2015 11:08PM |
Admin Registered: 13 years ago Posts: 18,583 |
|
Re: Pogoplug v2 doesn't show up on LAN after Archlinux install January 24, 2015 12:45PM |
Registered: 9 years ago Posts: 29 |
zbyszko-EX58-UD4P rootfs # cd boot zbyszko-EX58-UD4P boot # ls config-3.17.0-kirkwood-tld-1 uImage dts uInitrd initrd.img-3.17.0-kirkwood-tld-1 vmlinuz-3.17.0-kirkwood-tld-1 System.map-3.17.0-kirkwood-tld-1 zImage-3.17.0-kirkwood-tld-1 zbyszko-EX58-UD4P boot # cp -a zImage-3.17.0-kirkwood-tld-1 zImage.fdt zbyszko-EX58-UD4P boot # cat dts/kirkwood-pogo_e02.dtb >> zImage.fdt zbyszko-EX58-UD4P boot # mv uImage uImage.orig zbyszko-EX58-UD4P boot # mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-3.17.0-kirkwood-tld-1 -d /media/zbyszko/rootfs/boot/zImage.fdt /media/zbyszko/rootfs/boot/uImage The program 'mkimage' is currently not installed. You can install it by typing: apt-get install u-boot-tools zbyszko-EX58-UD4P boot # apt-get install u-boot-tools Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: u-boot-tools 0 upgraded, 1 newly installed, 0 to remove and 101 not upgraded. Need to get 64.1 kB of archives. After this operation, 208 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main u-boot-tools amd64 2013.10-3 [64.1 kB] Fetched 64.1 kB in 0s (287 kB/s) Selecting previously unselected package u-boot-tools. (Reading database ... 191698 files and directories currently installed.) Preparing to unpack .../u-boot-tools_2013.10-3_amd64.deb ... Unpacking u-boot-tools (2013.10-3) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Setting up u-boot-tools (2013.10-3) ... zbyszko-EX58-UD4P boot # mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-3.17.0-kirkwood-tld-1 -d /media/zbyszko/rootfs/boot/zImage.fdt /media/zbyszko/rootfs/boot/uImage Image Name: Linux-3.17.0-kirkwood-tld-1 Created: Sat Jan 24 13:26:45 2015 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2832396 Bytes = 2766.01 kB = 2.70 MB Load Address: 00008000 Entry Point: 00008000 zbyszko-EX58-UD4P boot # sync zbyszko-EX58-UD4P boot # cd / zbyszko-EX58-UD4P / # sync zbyszko-EX58-UD4P / # umount media/zbyszko/rootfs
|
Re: Pogoplug v2 doesn't show up on LAN after Archlinux install January 24, 2015 02:06PM |
Admin Registered: 13 years ago Posts: 18,583 |
Quote
What I failed to do was sync after running the tar command so I'm not certain if all the files were written onto the USB drive.
Quote
Unfortunately I didn't keep a log of the installation but I followed the process here:
http://archlinuxarm.org/platforms/armv5/pogoplug-v2-pinkgray
Quote
Is there any kind of logging that's done to the rootfs USB stick that I could try to take a look at?
|
Re: Pogoplug v2 doesn't show up on LAN after Archlinux install January 24, 2015 08:04PM |
Registered: 9 years ago Posts: 29 |
U-Boot 2014.04.R3-1 (May 26 2014 - 19:45:55) Arch Linux ARM
Pogo E02
SoC: Kirkwood 88F6281_A0
DRAM: 256 MiB
WARNING: Caches not enabled
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
Hit any key to stop autoboot: 0
(Re)start USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
Partition Map for USB device 0 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 2048 7825408 00057ae5-01 83
Attempting to boot from usb 0:1...
** File not found /boot/uEnv.txt **
Checking if uenvcmd is set ...
Running default loadzimage ...
** File not found /boot/zImage **
Running default loaduimage ...
3124168 bytes read in 437 ms (6.8 MiB/s)
Booting from 0 ...
## Booting kernel from Legacy Image at 00810000 ...
Image Name: Linux-3.1.10-34-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3124104 Bytes = 3 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 14.998111] rtc-mv rtc-mv: internal RTC not ticking
[ 15.005906] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 15.953080] sd 0:0:0:0: [sda] No Caching mode page present
[ 15.958644] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 15.967206] sd 0:0:0:0: [sda] No Caching mode page present
[ 15.972878] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 16.305582] sd 0:0:0:0: [sda] No Caching mode page present
[ 16.311130] sd 0:0:0:0: [sda] Assuming drive cache: write through
U-Boot 2014.04.R3-1 (May 26 2014 - 19:45:55) Arch Linux ARM
Pogo E02
SoC: Kirkwood 88F6281_A0
DRAM: 256 MiB
WARNING: Caches not enabled
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
Hit any key to stop autoboot: 0
(Re)start USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
Partition Map for USB device 0 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 2048 7825408 00057ae5-01 83
Attempting to boot from usb 0:1...
** File not found /boot/uEnv.txt **
Checking if uenvcmd is set ...
Running default loadzimage ...
** File not found /boot/zImage **
Running default loaduimage ...
3124168 bytes read in 451 ms (6.6 MiB/s)
Booting from 0 ...
## Booting kernel from Legacy Image at 00810000 ...
Image Name: Linux-3.1.10-34-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3124104 Bytes = 3 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 15.087249] rtc-mv rtc-mv: internal RTC not ticking
[ 15.095048] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 16.042221] sd 0:0:0:0: [sda] No Caching mode page present
[ 16.047780] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 16.056221] sd 0:0:0:0: [sda] No Caching mode page present
[ 16.061901] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 16.292222] sd 0:0:0:0: [sda] No Caching mode page present
[ 16.297773] sd 0:0:0:0: [sda] Assuming drive cache: write through
Welcome to Arch Linux ARM!
[ OK ] Created slice Root Slice.
[ OK ] Listening on Journal Socket.
[ OK ] Listening on udev Control Socket.
[ OK ] Listening on Journal Audit Socket.
[ OK ] Created slice User and Session Slice.
Expecting device dev-ttyS0.device...
[ OK ] Reached target Encrypted Volumes.
[ OK ] Listening on LVM2 metadata daemon socket.
[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Listening on Device-mapper event daemon FIFOs.
[ OK ] Reached target Paths.
[ OK ] Reached target Remote File Systems.
[ OK ] Reached target Swap.
[ OK ] Listening on Delayed Shutdown Socket.
[ OK ] Created slice System Slice.
Starting Setup Virtual Console...
[ OK ] Reached target Slices.
Starting Create list of required st... nodes for the current kernel...
Mounting Temporary Directory...
Mounting POSIX Message Queue File System...
[ OK ] Created slice system-getty.slice.
Starting Apply Kernel Variables...
Starting Journal Service...
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Listening on udev Kernel Socket.
Starting udev Coldplug all Devices...
Starting Remount Root and Kernel File Systems...
Mounting Debug File System...
[ OK ] Created slice system-serial\x2dgetty.slice.
[ OK ] Set up automount Arbitrary Executab...ats File System Automount Point.
[ OK ] Mounted Debug File System.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Mounted Temporary Directory.
[ OK ] Started Setup Virtual Console.
[ OK ] Started Create list of required sta...ce nodes for the current kernel.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Started Journal Service.
[ OK ] Started udev Coldplug all Devices.
Starting Flush Journal to Persistent Storage...
Starting Load/Save Random Seed...
Starting Create Static Device Nodes in /dev...
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Create Static Device Nodes in /dev.
Starting udev Kernel Device Manager...
[ OK ] Reached target Local File Systems (Pre).
[ OK ] Reached target Local File Systems.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started Flush Journal to Persistent Storage.
Starting Create Volatile Files and Directories...
[ OK ] Found device /dev/ttyS0.
[ OK ] Started Create Volatile Files and Directories.
Starting Network Time Synchronization...
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Started Update UTMP about System Boot/Shutdown.
[FAILED] Failed to start Network Time Synchronization.
See "systemctl status systemd-timesyncd.service" for details.
Stopping Network Time Synchronization...
[ OK ] Stopped Network Time Synchronization.
Starting Network Time Synchronization...
[FAILED] Failed to start Network Time Synchronization.
See "systemctl status systemd-timesyncd.service" for details.
Stopping Network Time Synchronization...
[ OK ] Stopped Network Time Synchronization.
Starting Network Time Synchronization...
[FAILED] Failed to start Network Time Synchronization.
See "systemctl status systemd-timesyncd.service" for details.
Stopping Network Time Synchronization...
[ OK ] Stopped Network Time Synchronization.
Starting Network Time Synchronization...
[FAILED] Failed to start Network Time Synchronization.
See "systemctl status systemd-timesyncd.service" for details.
Stopping Network Time Synchronization...
[ OK ] Stopped Network Time Synchronization.
Starting Network Time Synchronization...
[FAILED] Failed to start Network Time Synchronization.
See "systemctl status systemd-timesyncd.service" for details.
Stopping Network Time Synchronization...
[ OK ] Stopped Network Time Synchronization.
Starting Network Time Synchronization...
[FAILED] Failed to start Network Time Synchronization.
See "systemctl status systemd-timesyncd.service" for details.
[ OK ] Reached target System Time Synchronized.
[ OK ] Reached target System Initialization.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting Login Service...
Starting Entropy Harvesting Daemon...
Starting D-Bus System Message Bus...
[ OK ] Started D-Bus System Message Bus.
Starting Network Service...
Starting Permit User Sessions...
[ OK ] Reached target Timers.
[FAILED] Failed to start Login Service.
See "systemctl status systemd-logind.service" for details.
[ OK ] Started Entropy Harvesting Daemon.
[ OK ] Started Permit User Sessions.
[FAILED] Failed to start Network Service.
See "systemctl status systemd-networkd.service" for details.
Stopping Login Service...
[ OK ] Stopped Login Service.
Starting Login Service...
Stopping Network Service...
[ OK ] Stopped Network Service.
Starting Network Service...
Starting Serial Getty on ttyS0...
[ OK ] Started Serial Getty on ttyS0.
Starting Getty on tty1...
[ OK ] Started Getty on tty1.
[ OK ] Reached target Login Prompts.
[FAILED] Failed to start Network Service.
See "systemctl status systemd-networkd.service" for details.
[ OK ] Started Login Service.
Stopping Network Service...
[ OK ] Stopped Network Service.
Starting Network Service...
[FAILED] Failed to start Network Service.
See "systemctl status systemd-networkd.service" for details.
Stopping Network Service...
[ OK ] Stopped Network Service.
Starting Network Service...
[FAILED] Failed to start Network Service.
See "systemctl status systemd-networkd.service" for details.
Stopping Network Service...
[ OK ] Stopped Network Service.
Starting Network Service...
[FAILED] Failed to start Network Service.
See "systemctl status systemd-networkd.service" for details.
Stopping Network Service...
[ OK ] Stopped Network Service.
Starting Network Service...
[FAILED] Failed to start Network Service.
See "systemctl status systemd-networkd.service" for details.
[ OK ] Reached target Network.
Starting OpenSSH Daemon...
[ OK ] Started OpenSSH Daemon.
Starting Network Name Resolution...
Arch Linux 3.1.10-34-ARCH (ttyS0)
alarm login:
|
Re: Pogoplug v2 doesn't show up on LAN after Archlinux install January 24, 2015 11:19PM |
Admin Registered: 13 years ago Posts: 18,583 |
|
Re: Pogoplug v2 doesn't show up on LAN after Archlinux install January 25, 2015 01:40AM |
Registered: 9 years ago Posts: 29 |
|
Re: Pogoplug v2 doesn't show up on LAN after Archlinux install January 25, 2015 02:04AM |
Admin Registered: 13 years ago Posts: 18,583 |
|
Re: Pogoplug v2 doesn't show up on LAN after Archlinux install January 25, 2015 11:47AM |
Registered: 9 years ago Posts: 29 |
|
Re: Pogoplug v2 doesn't show up on LAN after Archlinux install January 25, 2015 12:00PM |
Admin Registered: 13 years ago Posts: 18,583 |
|
Re: Pogoplug v2 doesn't show up on LAN after Archlinux install January 26, 2015 06:36AM |
Admin Registered: 13 years ago Posts: 18,583 |
Quote
I have at my disposal, a box with Linux Mint (I'm a linux noob though), Win 7 x64, and another E02 Pogoplug, which I do not want to modify in any way, but perhaps it may be helpful for troubleshooting.
|
Re: Pogoplug v2 doesn't show up on LAN after Archlinux install January 26, 2015 05:31PM |
Registered: 9 years ago Posts: 29 |
|
Re: Pogoplug v2 doesn't show up on LAN after Archlinux install January 26, 2015 11:22PM |
Admin Registered: 13 years ago Posts: 18,583 |
|
Re: Pogoplug v2 doesn't show up on LAN after Archlinux install January 27, 2015 09:47PM |
Registered: 9 years ago Posts: 29 |
|
Re: Pogoplug v2 doesn't show up on LAN after Archlinux install February 04, 2015 07:08PM |
Registered: 9 years ago Posts: 29 |
|
Re: Pogoplug v2 doesn't show up on LAN after Archlinux install February 05, 2015 01:16AM |
Admin Registered: 13 years ago Posts: 18,583 |
Quote
A. Flashing Instruction:
.....
Also, if you are running stock kernel or older Debian/Arch kernel, which do not provide mtd-utils and uboot-tools tools (fw_setenv, fw_printenv, flash_erase, nandwrite), you can download the NAND and U-Boot tools binaries here in this thread.
|
Re: Pogoplug v2 doesn't show up on LAN after Archlinux install February 06, 2015 05:02PM |
Registered: 9 years ago Posts: 29 |
-bash-4.3# cd /tmp -bash-4.3# wget http://download.doozan.com/uboot/nanddump Connecting to download.doozan.com (50.116.34.13:80) nanddump 100% |*******************************| 21286 --:--:-- ETA -bash-4.3# wget http://download.doozan.com/uboot/nandwrite Connecting to download.doozan.com (50.116.34.13:80) nandwrite 100% |*******************************| 11500 --:--:-- ETA -bash-4.3# wget http://download.doozan.com/uboot/flash_erase Connecting to download.doozan.com (50.116.34.13:80) flash_erase 100% |*******************************| 12819 --:--:-- ETA -bash-4.3# wget http://download.doozan.com/uboot/fw_printenv Connecting to download.doozan.com (50.116.34.13:80) fw_printenv 100% |*******************************| 652k 00:00:00 ETA -bash-4.3# wget http://download.doozan.com/uboot/fw_env.config Connecting to download.doozan.com (50.116.34.13:80) fw_env.config 100% |*******************************| 329 --:--:-- ETA <load.doozan.com/uboot/files/environment/uboot.environment Connecting to download.doozan.com (50.116.34.13:80) uboot.environment 100% |*******************************| 128k --:--:-- ETA -bash-4.3# chmod BusyBox v1.7.0 (2008-02-26 19:25:17 IST) multi-call binary Usage: chmod [-R] MODE[,MODE]... FILE... Each MODE is one or more of the letters ugoa, one of the symbols +-= and one or more of the letters rwxst Options: -R Recurse directories -bash-4.3# dir -bash: dir: command not found -bash-4.3# ls flash_erase hbplug.log resolv.conf xcehbplug fw_env.config nanddump uboot.environment fw_printenv nandwrite var -bash-4.3# chmod +x nanddump -bash-4.3# chmod +x nandwrite -bash-4.3# chmod +x flash_erase -bash-4.3# chmod +x fw_printenv -bash-4.3# chmod +x fw_env.config -bash-4.3# chmod +x uboot.environment -bash-4.3# ls flash_erase hbplug.log resolv.conf xcehbplug fw_env.config nanddump uboot.environment fw_printenv nandwrite var -bash-4.3# mount /dev/sda1 mount: can't find /dev/sda1 in /etc/fstab -bash-4.3# fdisk -l -bash: fdisk: command not found -bash-4.3# fdisk -l -bash: fdisk: command not found -bash-4.3# mount rootfs on / type rootfs (rw) /dev/root on / type jffs2 (ro) none on /proc type proc (rw) none on /sys type sysfs (rw) none on /dev/pts type devpts (rw) none on /tmp type tmpfs (rw) none on /proc/bus/usb type usbfs (rw) /tmp/.cemnt/sda2 on /tmp/.cemnt/mnt_sda2 type ufsd (rw,nosuid,nodev,noexec,noati me,nls=utf8,uid=0,gid=0,fmask=22,dmask=22,nocase,sparse,force) /tmp/.cemnt/sdb1 on /tmp/.cemnt/mnt_sdb1 type ext3 (rw,nosuid,nodev,noexec,noati me,data=ordered) -bash-4.3# lsblk -bash: lsblk: command not found -bash-4.3# mkdir test1 -bash-4.3# mount /dev/sda1 test1 mount: mounting /dev/sda1 on test1 failed: Invalid argument -bash-4.3#
|
Re: Pogoplug v2 doesn't show up on LAN after Archlinux install February 06, 2015 05:47PM |
Admin Registered: 13 years ago Posts: 18,583 |
> -bash-4.3# cd /tmp > -bash-4.3# wget > http://download.doozan.com/uboot/nanddump > Connecting to download.doozan.com > (50.116.34.13:80) > nanddump 100% > |*******************************| 21286 --:--:-- > ETA > -bash-4.3# wget > http://download.doozan.com/uboot/nandwrite > Connecting to download.doozan.com > (50.116.34.13:80) > nandwrite 100% > |*******************************| 11500 --:--:-- > ETA > -bash-4.3# wget > http://download.doozan.com/uboot/flash_erase > Connecting to download.doozan.com > (50.116.34.13:80) > flash_erase 100% > |*******************************| 12819 --:--:-- > ETA > -bash-4.3# wget > http://download.doozan.com/uboot/fw_printenv > Connecting to download.doozan.com > (50.116.34.13:80) > fw_printenv 100% > |*******************************| 652k 00:00:00 > ETA > -bash-4.3# wget > http://download.doozan.com/uboot/fw_env.config > Connecting to download.doozan.com > (50.116.34.13:80) > fw_env.config 100% > |*******************************| 329 --:--:-- > ETA > <load.doozan.com/uboot/files/environment/uboot.env > ironment > Connecting to download.doozan.com > (50.116.34.13:80) > uboot.environment 100% > |*******************************| 128k --:--:-- > ETA > -bash-4.3# chmod > BusyBox v1.7.0 (2008-02-26 19:25:17 IST) > multi-call binary > > Usage: chmod [-R] MODE[,MODE]... FILE... > > Each MODE is one or more of the letters ugoa, one > of the > symbols +-= and one or more of the letters rwxst > > Options: > -R Recurse directories > > -bash-4.3# dir > -bash: dir: command not found > -bash-4.3# ls > flash_erase hbplug.log resolv.conf > xcehbplug > fw_env.config nanddump > uboot.environment > fw_printenv nandwrite var > -bash-4.3# chmod +x nanddump > -bash-4.3# chmod +x nandwrite > -bash-4.3# chmod +x flash_erase > -bash-4.3# chmod +x fw_printenv > -bash-4.3# chmod +x fw_env.config > -bash-4.3# chmod +x uboot.environment > -bash-4.3# ls > flash_erase hbplug.log resolv.conf > xcehbplug > fw_env.config nanddump > uboot.environment > fw_printenv nandwrite var > -bash-4.3# mount /dev/sda1 > mount: can't find /dev/sda1 in /etc/fstab > -bash-4.3# fdisk -l > -bash: fdisk: command not found > -bash-4.3# fdisk -l > -bash: fdisk: command not found > -bash-4.3# mount > rootfs on / type rootfs (rw) > /dev/root on / type jffs2 (ro) > none on /proc type proc (rw) > none on /sys type sysfs (rw) > none on /dev/pts type devpts (rw) > none on /tmp type tmpfs (rw) > none on /proc/bus/usb type usbfs (rw) > /tmp/.cemnt/sda2 on /tmp/.cemnt/mnt_sda2 type ufsd > (rw,nosuid,nodev,noexec,noati > me,nls=utf8,uid=0,gid=0,fmask=22,dmask=22,nocase,s > parse,force) > /tmp/.cemnt/sdb1 on /tmp/.cemnt/mnt_sdb1 type ext3 > (rw,nosuid,nodev,noexec,noati > me,data=ordered) > -bash-4.3# lsblk > -bash: lsblk: command not found > -bash-4.3# mkdir test1 > -bash-4.3# mount /dev/sda1 test1 > mount: mounting /dev/sda1 on test1 failed: Invalid > argument > -bash-4.3# >
/tmp/.cemnt/sda2 on /tmp/.cemnt/mnt_sda2 type ufsd (rw,nosuid,nodev,noexec,noatime,nls=utf8,uid=0,gid=0,fmask=22,dmask=22,nocase,sparse,force) /tmp/.cemnt/sdb1 on /tmp/.cemnt/mnt_sdb1 type ext3 (rw,nosuid,nodev,noexec,noatime,data=ordered)
lsusb df -h
cd /tmp/.cemnt/mnt_sdb1 ls -l cd /tmp/.cemnt/sda2 on /tmp/.cemnt/mnt_sda2 ls -l
|
Re: Pogoplug v2 doesn't show up on LAN after Archlinux install February 08, 2015 11:43AM |
Registered: 9 years ago Posts: 29 |
-bash-4.3# ls -l -rw-r--r-- 1 root root 1048576 Feb 8 17:19 mtd0.img -rw-r--r-- 1 root root 51 Feb 8 17:19 mtd0.img.sha1 -rw-r--r-- 1 root root 4194304 Feb 8 17:19 mtd1.img -rw-r--r-- 1 root root 51 Feb 8 17:20 mtd1.img.sha1 -rw-r--r-- 1 root root 33554432 Feb 8 17:20 mtd2.img -rw-r--r-- 1 root root 51 Feb 8 17:20 mtd2.img.sha1 -rw-r--r-- 1 root root 95420416 Feb 8 17:22 mtd3.img -rw-r--r-- 1 root root 51 Feb 8 17:23 mtd3.img.sha1 -bash-4.3#
-bash-4.3# fw_printenv /tmp/.cemnt/mnt_sdb1/mtd0 -bash: fw_printenv: command not found -bash-4.3# ls flash_erase hbplug.log resolv.conf var fw_env.config nanddump test1 xcehbplug fw_printenv nandwrite uboot.environment -bash-4.3# fw_printenv -bash: fw_printenv: command not found -bash-4.3# ls -l -rwxr-xr-x 1 root root 12819 Feb 6 22:47 flash_erase -rwxr-xr-x 1 root root 329 Feb 6 22:47 fw_env.config -rwxr-xr-x 1 root root 668497 Feb 6 22:47 fw_printenv -rw-r--r-- 1 root root 432 Jan 1 2000 hbplug.log -rwxr-xr-x 1 root root 21286 Feb 6 22:46 nanddump -rwxr-xr-x 1 root root 11500 Feb 6 22:46 nandwrite -rw-r--r-- 1 root root 29 Feb 8 11:20 resolv.conf drwxr-xr-x 2 root root 40 Feb 6 22:58 test1 -rwxr-xr-x 1 root root 131072 Feb 6 22:47 uboot.environment drwxr-xr-x 2 root root 60 Feb 6 21:04 var srwxr-xr-x 1 root root 0 Jan 1 2000 xcehbplug -bash-4.3# fw_printenv -bash: fw_printenv: command not found -bash-4.3#
|
Re: Pogoplug v2 doesn't show up on LAN after Archlinux install February 08, 2015 02:17PM |
Admin Registered: 13 years ago Posts: 18,583 |
Quote
OK, the USB stick is sbd1. I backed up the mtd partitions (all 4) to the USB stick, using the process here:
http://ahsoftware.de/dockstar/
Quote
-rw-r--r-- 1 root root 1048576 Feb 8 17:19 mtd0.img
Quote
-bash-4.3# fw_printenv /tmp/.cemnt/mnt_sdb1/mtd0
-bash: fw_printenv: command not found
./fw_printenv
cd /usr/local/cloudengines/bin ./blparam
Quote
> I'm assuming I need to copy all of these nandtools
> to the USB stick so they are available after I put
> the USB stick into the second Pogoplug, correct?
Quote
> I will need to restore through the serial console
> since the second PP is not connecting to the
> network.
printenv
|
Re: Pogoplug v2 doesn't show up on LAN after Archlinux install February 08, 2015 04:41PM |
Registered: 9 years ago Posts: 29 |
4. Be sure there is no bad block in the first 1M of your NAND (check dmesg)
PogoE02> printenv
baudrate=115200
bootcmd=usb start; setenv letter 9;for type in usb; do for disk in 0 1 2 3; do if ${type} part ${disk};then setexpr letter $letter + 1;run load;fi;done;done;
bootdelay=3
bootm=echo Booting from ${disk} ...; run setargs; bootm ${loadaddr};
bootz=echo Booting from ${disk} ...; run setargs; bootz ${loadaddr} - ${fdt_addr};
console=ttyS0
ethact=egiga0
ethaddr=XX:XX:XX:XX:XX:XX
fdt_addr=0x800000
fdt_file=/boot/dtbs/kirkwood-pogo_e02.dtb
importbootenv=echo Importing environment (uEnv.txt)...; env import -t $loadaddr $filesize
load=echo Attempting to boot from ${type} ${disk}:1...;if run loadbootenv; then run importbootenv;fi;echo Checking if uenvcmd is set ...;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;echo Running default loadzimage ...;if run loadzimage; then run loadfdt;run bootz;fi;echo Running default loaduimage ...;if run loaduimage; then run bootm;fi;
loadaddr=0x810000
loadbootenv=load ${type} ${disk}:1 ${loadaddr} /boot/uEnv.txt
loadfdt=load ${type} ${disk}:1 ${fdt_addr} ${fdt_file}
loaduimage=load ${type} ${disk}:1 ${loadaddr} ${uimage}
loadzimage=load ${type} ${disk}:1 ${loadaddr} ${zimage}
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),-(rootfs)
setargs=setenv bootargs console=${console},${baudrate} ${optargs} root=/dev/sd${letter}1 rw rootwait ${mtdparts}
uimage=/boot/uImage
zimage=/boot/zImage
Environment size: 1423/131068 bytes
PogoE02>
|
Re: Pogoplug v2 doesn't show up on LAN after Archlinux install February 08, 2015 05:32PM |
Admin Registered: 13 years ago Posts: 18,583 |
nand bad
dmesg | grep -i bad
|
Re: Pogoplug v2 doesn't show up on LAN after Archlinux install February 08, 2015 05:47PM |
Registered: 9 years ago Posts: 29 |
> nand bad >>
> dmesg | grep -i bad >>
OK ] Stopped Network Name Resolution.
Starting Network Name Resolution...
[FAILED] Failed to start Network Name Resolution.
See "systemctl status systemd-resolved.service" for details.
[ OK ] Reached target Multi-User System.
[ OK ] Reached target Graphical Interface.
Arch Linux 3.1.10-34-ARCH (ttyS0)
alarm login: root
Password:
Last login: Wed Dec 10 22:23:08 on ttyS0
[root@alarm ~]#
[root@alarm ~]#
|
Re: Pogoplug v2 doesn't show up on LAN after Archlinux install February 08, 2015 06:02PM |
Admin Registered: 13 years ago Posts: 18,583 |
nanddump -nof mtd0 /dev/mtd0
fw_printenv mtdparts cat /proc/mtd flash_erase --help nandwrite --help
|
Re: Pogoplug v2 doesn't show up on LAN after Archlinux install February 08, 2015 06:36PM |
Registered: 9 years ago Posts: 29 |
> nanddump -nof mtd0 /dev/mtd0 >>
-bash-4.3# ./nanddump -nof mtd0 /dev/mtd0 -bash: ./nanddump: Permission denied -bash-4.3# /tmp/nanddump -nof mtd0 /dev/mtd0 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x00100000... -bash-4.3# ls -la drwxr-xr-x 2 root root 4096 Feb 9 00:16 . drwx------ 20 1000 1000 4096 Feb 8 22:19 .. -rwxr-xr-x 1 root root 12819 Feb 8 22:06 flash_erase -rwxr-xr-x 1 root root 329 Feb 8 22:07 fw_env.config -rwxr-xr-x 1 root root 668497 Feb 8 22:07 fw_printenv -rw-r--r-- 1 root root 1048576 Feb 9 00:17 mtd0 -rwxr-xr-x 1 root root 21286 Feb 8 22:07 nanddump -rwxr-xr-x 1 root root 11500 Feb 8 22:07 nandwrite -rwxr-xr-x 1 root root 131072 Feb 8 22:07 uboot.environment -bash-4.3#
> fw_printenv mtdparts > cat /proc/mtd > flash_erase --help > nandwrite --help >
[root@alarm NAND]# ls -la
total 1884
drwxr-xr-x 2 root root 4096 Feb 9 2015 .
drwx------ 20 1000 1000 4096 Feb 8 2015 ..
-rwxr-xr-x 1 root root 12819 Feb 8 2015 flash_erase
-rwxr-xr-x 1 root root 329 Feb 8 2015 fw_env.config
-rwxr-xr-x 1 root root 668497 Feb 8 2015 fw_printenv
-rw-r--r-- 1 root root 1048576 Feb 9 2015 mtd0
-rwxr-xr-x 1 root root 21286 Feb 8 2015 nanddump
-rwxr-xr-x 1 root root 11500 Feb 8 2015 nandwrite
-rwxr-xr-x 1 root root 131072 Feb 8 2015 uboot.environment
[root@alarm NAND]# ./fw_printenv mtdparts
Cannot parse config file: No such file or directory
[root@alarm NAND]# cat /proc/mtd
dev: size erasesize name
mtd0: 00100000 00020000 "u-boot"
mtd1: 07f00000 00020000 "rootfs"
[root@alarm NAND]# flash_erase --help
-bash: flash_erase: command not found
[root@alarm NAND]# ./flash_erase --help
Usage: flash_erase MTD-device [start] [cnt (# erase blocks)] [lock]
flash_erase -h | --help
[root@alarm NAND]# ./nandwrite -help
./nandwrite: invalid option -- 'h'
./nandwrite: invalid option -- 'e'
./nandwrite: invalid option -- 'l'
Usage: nandwrite [OPTION] MTD_DEVICE [INPUTFILE|-]
Writes to the specified MTD device.
-a, --autoplace Use auto oob layout
-j, --jffs2 Force jffs2 oob layout (legacy support)
-y, --yaffs Force yaffs oob layout (legacy support)
-f, --forcelegacy Force legacy support on autoplacement-enabled mtd
device
-m, --markbad Mark blocks bad if write fails
-n, --noecc Write without ecc
-o, --oob Image contains oob data
-s addr, --start=addr Set start address (default is 0)
-p, --pad Pad to page size
-b, --blockalign=1|2|4 Set multiple of eraseblocks to align to
-q, --quiet Don't display progress messages
--help Display this help and exit
--version Output version information and exit
[root@alarm NAND]#
|
Re: Pogoplug v2 doesn't show up on LAN after Archlinux install February 08, 2015 06:54PM |
Admin Registered: 13 years ago Posts: 18,583 |
[root@alarm NAND]# cat /proc/mtd dev: size erasesize name mtd0: 00100000 00020000 "u-boot" mtd1: 07f00000 00020000 "rootfs"
# MTD device name Device offset Env. size Flash sector size Number of sectors /dev/mtd0 0xc0000 0x20000 0x20000
|
Re: Pogoplug v2 doesn't show up on LAN after Archlinux install February 08, 2015 08:27PM |
Registered: 9 years ago Posts: 29 |
[root@alarm NAND]# cat /etc/fw_env.config # MTD device name Device offset Env. size Flash sector size Number of sectors /dev/mtd0 0xc0000 0x20000 0x20000 [root@alarm NAND]# ./fw_printenv mtdparts mtdparts=mtdparts=orion_nand:1M(u-boot),-(rootfs) [root@alarm NAND]#
[root@alarm NAND]# ls -la total 1884 drwxr-xr-x 2 root root 4096 Feb 9 2015 . drwx------ 20 1000 1000 4096 Feb 8 2015 .. -rwxr-xr-x 1 root root 12819 Feb 8 2015 flash_erase -rwxr-xr-x 1 root root 329 Feb 8 2015 fw_env.config -rwxr-xr-x 1 root root 668497 Feb 8 2015 fw_printenv -rw-r--r-- 1 root root 1048576 Feb 9 2015 mtd0 -rwxr-xr-x 1 root root 21286 Feb 8 2015 nanddump -rwxr-xr-x 1 root root 11500 Feb 8 2015 nandwrite -rwxr-xr-x 1 root root 131072 Feb 8 2015 uboot.environment [root@alarm NAND]#
|
Re: Pogoplug v2 doesn't show up on LAN after Archlinux install February 09, 2015 12:35AM |
Admin Registered: 13 years ago Posts: 18,583 |
./flash_erase /dev/mtd0 0 8
./nandwrite -n /dev/mtd0 mtd0
/usr/local/cloudengines/bin/blparam
|
Re: Pogoplug v2 doesn't show up on LAN after Archlinux install February 09, 2015 07:27PM |
Registered: 9 years ago Posts: 29 |
[root@alarm NAND]# ./flash_erase /dev/mtd0 0 8 Erase Total 8 Units Performing Flash Erase of length 131072 at offset 0xe0000 done [root@alarm NAND]# ./nandwrite -n /dev/mtd0 mtd0 Writing data to block 0 at offset 0x0 Writing data to block 1 at offset 0x20000 Writing data to block 2 at offset 0x40000 Writing data to block 3 at offset 0x60000 Writing data to block 4 at offset 0x80000 Writing data to block 5 at offset 0xa0000 Writing data to block 6 at offset 0xc0000 Writing data to block 7 at offset 0xe0000 [root@alarm NAND]#
[root@alarm bin]# ls bl* blkdeactivate blkdiscard blkid blockdev [root@alarm bin]# cd.. -bash: cd..: command not found [root@alarm bin]# cd .. [root@alarm usr]# ls bin include lib local sbin share src [root@alarm usr]# cd local [root@alarm local]# ls bin etc games include lib man sbin share src [root@alarm local]# cd bin [root@alarm bin]# ls bl* ls: cannot access bl*: No such file or directory [root@alarm bin]# [root@alarm /]# find -iname "blparam" [root@alarm /]#
|
Re: Pogoplug v2 doesn't show up on LAN after Archlinux install February 09, 2015 10:27PM |
Admin Registered: 13 years ago Posts: 18,583 |