Pogoplug v4 doesn't connect to network September 12, 2019 03:37PM |
Registered: 4 years ago Posts: 7 |
Re: Pogoplug v4 doesn't connect to network September 12, 2019 04:04PM |
Admin Registered: 13 years ago Posts: 18,495 |
Quote
8. Flashing default u-boot envs image (if you are upgrading from 2016.05-tld-1 u-boot, you can skip this step 8).
ping debian.local
Re: Pogoplug v4 doesn't connect to network September 13, 2019 12:50PM |
Registered: 4 years ago Posts: 7 |
Re: Pogoplug v4 doesn't connect to network September 13, 2019 12:55PM |
Registered: 4 years ago Posts: 7 |
Re: Pogoplug v4 doesn't connect to network September 13, 2019 02:46PM |
Admin Registered: 13 years ago Posts: 18,495 |
Quote
e.2 Box specific envs:
Then for all boxes, restore these 2 envs using the saved envs text in step c (replace xxx with the real saved values)
fw_setenv mtdparts 'xxxxxxxxx'
fw_setenv ethaddr 'xx:xx:xx:xx:xx:xx'
Re: Pogoplug v4 doesn't connect to network September 13, 2019 02:58PM |
Admin Registered: 13 years ago Posts: 18,495 |
e2label /dev/sdb1 cd /media/sdb1/ cat /media/sdb1/fstab cat /media/sdb1/etc/debian_version cd /media/sdb1/boot ls -lartAnd post the entire log of the above here (including the comands).
Re: Pogoplug v4 doesn't connect to network September 13, 2019 04:11PM |
Registered: 4 years ago Posts: 7 |
mint@mint:~$ sudo su root@mint:/home/mint# fdisk -l Disk /dev/loop0: 4 GiB, 4287627264 bytes, 8374272 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/loop1: 1.8 GiB, 1925435392 bytes, 3760616 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mmcblk0: 29.5 GiB, 31691112448 bytes, 61896704 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x85dc85dc Device Boot Start End Sectors Size Id Type /dev/mmcblk0p1 8192 61896703 61888512 29.5G 7 HPFS/NTFS/exFAT Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: dos Disk identifier: 0x0028c8bb Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 8732671 8730624 4.2G 7 HPFS/NTFS/exFAT /dev/sda2 8732672 429629439 420896768 200.7G 7 HPFS/NTFS/exFAT /dev/sda3 429631488 431656959 2025472 989M 27 Hidden NTFS WinRE /dev/sda4 431656960 1953519615 1521862656 725.7G 7 HPFS/NTFS/exFAT Disk /dev/sdb: 14.4 GiB, 15472047104 bytes, 30218842 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x02990c32 Device Boot Start End Sectors Size Id Type /dev/sdb1 * 2048 30218239 30216192 14.4G c W95 FAT32 (LBA) Disk /dev/sdc: 7.4 GiB, 7885291520 bytes, 15400960 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x0fbe88e5 Device Boot Start End Sectors Size Id Type /dev/sdc1 2048 15400959 15398912 7.4G 83 Linux root@mint:/home/mint# e2label /dev/sdc1 rootfs root@mint:/home/mint# cd /media/sdc1/ bash: cd: /media/sdc1/: No such file or directory root@mint:/home/mint# cd /media/mint/sdc1 bash: cd: /media/mint/sdc1: No such file or directory root@mint:/home/mint# cd /media/mint/rootfs root@mint:/media/mint/rootfs# cat /media/mint/rootfs/fstab cat: /media/mint/rootfs/fstab: No such file or directory root@mint:/media/mint/rootfs# cat /media/mint/rootfs/etc/debian_version 10.0 root@mint:/media/mint/rootfs# cd /media/mint/rootfs/boot root@mint:/media/mint/rootfs/boot# ls -lart total 55988 drwxr-xr-x 22 root root 4096 Jan 1 1970 .. drwxr-xr-x 2 root root 4096 Aug 16 20:01 dts -rwxr-xr-x 1 root root 4963616 Aug 17 23:43 zImage-5.2.9-kirkwood-tld-1 -rw-r--r-- 1 root root 165790 Aug 18 01:24 config-5.2.9-kirkwood-tld-1 -rw------- 1 root root 4963616 Aug 18 01:27 vmlinuz-5.2.9-kirkwood-tld-1 -rw------- 1 root root 3101889 Aug 18 01:27 System.map-5.2.9-kirkwood-tld-1 -rw-r--r-- 1 root root 9649570 Aug 18 01:38 linux-headers-5.2.9-kirkwood-tld-1_1.0_armel.deb -rw-r--r-- 1 root root 9713872 Aug 25 03:16 initrd.img-5.2.9-kirkwood-tld-1 -rw-r--r-- 1 root root 4963680 Aug 25 03:22 uImage.orig -rw-r--r-- 1 root root 9713936 Aug 25 03:22 uInitrd -rwxr-xr-x 1 root root 4973578 Sep 5 02:49 zImage.fdt drwxr-xr-x 3 root root 4096 Sep 5 02:52 . -rw-r--r-- 1 root root 4973642 Sep 5 02:52 uImage root@mint:/media/mint/rootfs/boot# I notice that somehow there is no fstab in rootfs, so in case there is something else missing here is a list of what is in rootfs (there is also one file called .ceid): root@mint:/media/mint/rootfs# ls -ls total 88 4 drwxr-xr-x 2 root root 4096 Aug 25 02:47 bin 4 drwxr-xr-x 3 root root 4096 Sep 5 02:52 boot 4 drwxr-xr-x 5 root root 4096 Feb 24 2012 dev 4 drwxr-xr-x 57 root root 4096 Aug 25 04:53 etc 4 drwxr-xr-x 2 root root 4096 Jan 22 2012 home 4 drwxr-xr-x 13 root root 4096 Aug 25 03:48 lib 16 drwx------ 2 root root 16384 Feb 24 2012 lost+found 4 drwxr-xr-x 2 root root 4096 Feb 24 2012 media 4 drwxr-xr-x 2 root root 4096 Feb 10 2015 mnt 4 drwxr-xr-x 2 root root 4096 Feb 24 2012 opt 4 drwxr-xr-x 2 root root 4096 Jan 22 2012 proc 4 drwx------ 5 root root 4096 Aug 25 04:56 root 4 drwxr-xr-x 2 root root 4096 Feb 8 2013 run 4 drwxr-xr-x 2 root root 4096 Aug 25 02:47 sbin 4 drwxr-xr-x 2 root root 4096 Feb 24 2012 srv 4 drwxr-xr-x 2 root root 4096 Jan 1 2011 sys 4 drwxrwxrwt 2 root root 4096 Jan 1 1970 tmp 4 drwxr-xr-x 10 root root 4096 Feb 24 2012 usr 4 drwxr-xr-x 11 root root 4096 Jan 1 1970 var
Re: Pogoplug v4 doesn't connect to network September 13, 2019 04:39PM |
Registered: 4 years ago Posts: 7 |
Re: Pogoplug v4 doesn't connect to network September 13, 2019 07:03PM |
Admin Registered: 13 years ago Posts: 18,495 |
-rwxr-xr-x 1 root root 4973578 Sep 5 02:49 zImage.fdt drwxr-xr-x 3 root root 4096 Sep 5 02:52 . -rw-r--r-- 1 root root 4973642 Sep 5 02:52 uImage
Quote
4. Create uImage with embedded DTB for booting with older u-boots (2012 or earlier). Skip this step if you have installed the latest U-Boot for Kirkwood (or are installing this u-boot at the same time).
Please replace kirkwood-goflexnet.dtb below with the correct DTB name for your box (see the folder /media/sdb1/boot/dts for the exact spelling of your Kirkwood box name).
Generate the uImage with DTB embedded inside:
cd /media/sdb1/boot
cp -a zImage-5.2.9-kirkwood-tld-1 zImage.fdt
cat dts/kirkwood-goflexnet.dtb >> zImage.fdt
mv uImage uImage.orig
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.2.9-kirkwood-tld-1 -d zImage.fdt uImage
sync
cd /media/mint/rootfs/boot cp -a uImage.orig uImage sync
ping debian.local
Re: Pogoplug v4 doesn't connect to network September 14, 2019 03:48AM |
Registered: 4 years ago Posts: 7 |
Re: Pogoplug v4 doesn't connect to network September 14, 2019 04:58PM |
Admin Registered: 13 years ago Posts: 18,495 |
Re: Pogoplug v4 doesn't connect to network September 15, 2019 01:44PM |
Registered: 4 years ago Posts: 7 |
Re: Pogoplug v4 doesn't connect to network September 15, 2019 04:53PM |
Admin Registered: 13 years ago Posts: 18,495 |
fw_printenv | sort > current_envs.txtAnd then comapre with the envs in uEnv.txt.
sort uEnv.txt > uEnv.sorted.txt diff -Naur current_envs.txt uEnv.sorted.txt
Quote
Booting Debian on Pogoplug
Backup and Restore NAND mtds