Wes
Re: PogoPlug Mobile SSH? November 27, 2016 12:21AM |
Re: PogoPlug Mobile SSH? November 27, 2016 12:26AM |
Admin Registered: 13 years ago Posts: 18,564 |
apt-get update apt-get upgrade
Quote
Important Note: If possible, try to test this boot image with UART booting before flashing to NAND. See davygravy's UART booting using kwboot instruction here in this thread. The latest u-boot image released here should be used for UART booting, if your box is the type that supports it (these do not: Dockstar, Pogo E02, iConnect).
Re: PogoPlug Mobile SSH? November 27, 2016 12:28AM |
Admin Registered: 13 years ago Posts: 18,564 |
Wes
Re: PogoPlug Mobile SSH? November 27, 2016 01:29AM |
Re: PogoPlug Mobile SSH? November 27, 2016 02:37AM |
Admin Registered: 13 years ago Posts: 18,564 |
mount /dev/sdb1 /media/sdb1 cd /media/sdb1/boot
cp -a uboot.2016.05-tld-1.environment uEnv.txt
dtb_file=/boot/dts/kirkwood-pogoplug_v4.dtb arcNumber=3960 machid=F78
sync umount /media/sdb1
Wes
Re: PogoPlug Mobile SSH? November 27, 2016 01:09PM |
mount /dev/sdb1 /media/sdb1I get the error
mount: mount point /media/sbd1 does not exist
Re: PogoPlug Mobile SSH? November 27, 2016 02:32PM |
Admin Registered: 13 years ago Posts: 18,564 |
mkdir -p /media/sdb1 mount /dev/sdb1 /media/sdb1
Wes
Re: PogoPlug Mobile SSH? November 27, 2016 02:48PM |
mkdir -p /media/sdb1worked for me, but when I tried the command
mount /dev/sdb1 /media/sdb1it returned
mount: special device /dev/sbd1 does not exist
mkdir -p /dev/sdb1which worked, but when I tried to mount
mount /dev/sdb1 /media/sdb1it gave me a line
mount: /dev/sdb1 is not a block device
Re: PogoPlug Mobile SSH? November 27, 2016 02:59PM |
Admin Registered: 13 years ago Posts: 18,564 |
dmesg | tail -20
mkdir -p /media/sdxx mount /dev/sdb1 /media/sdxx
Wes
Re: PogoPlug Mobile SSH? November 27, 2016 03:32PM |
cd /media/sdb1/bootHere is a pastebin of me running all of the commands: http://pastebin.com/ng57mgar
Quote
Copy the env text file in the new u-boot tarball that you have downloaded before.
Re: PogoPlug Mobile SSH? November 27, 2016 06:59PM |
Admin Registered: 13 years ago Posts: 18,564 |
cd > /media/sdb1/bootHere is a pastebin of me
>Quote
Copy the env text file in the new u-boot
> tarball that you have downloaded before.
mkdir -p /media/mmcblk0p1 mount /dev/mmcblk0p1 /media/mmcblk0p1
Wes
Re: PogoPlug Mobile SSH? November 27, 2016 07:11PM |
Re: PogoPlug Mobile SSH? November 27, 2016 08:13PM |
Admin Registered: 13 years ago Posts: 18,564 |
Wes
Re: PogoPlug Mobile SSH? November 27, 2016 08:34PM |
wget --no-check-certificate https://www.dropbox.com/s/sn5w1a7dc71385p/uboot.2016.05-tld-1.pogo_v4.bodhi.tar#On the correct machine to get it? Or is there a command to put it in a specific directory?
Wes
Re: PogoPlug Mobile SSH? November 27, 2016 11:33PM |
Re: PogoPlug Mobile SSH? November 27, 2016 11:36PM |
Admin Registered: 13 years ago Posts: 18,564 |
cd /media/mmcblk0p1/boot
wget --no-check-certificate https://bitly.com/1sMwD7b -O uboot.2016.05-tld-1.environment.bodhi.tar
tar -xf uboot.2016.05-tld-1.environment.bodhi.tar
ls -l | grep uboot.2016.05-tld-1expected output:
-rw-r--r-- 1 root root 2773 Jun 11 22:17 uboot.2016.05-tld-1.environment -rw-r----- 1 root root 131072 Jun 11 22:22 uboot.2016.05-tld-1.environment.img -rw-r----- 1 root root 65536 Jun 11 23:44 uboot.2016.05-tld-1.environment.64K.img -rw-r--r-- 1 root root 524288 Jun 12 13:44 uboot.2016.05-tld-1.pogo_v4.mtd0.kwb
cd /media/mmcblk0p1/boot cp -a uboot.2016.05-tld-1.environment uEnv.txt
Wes
Re: PogoPlug Mobile SSH? November 28, 2016 12:03AM |
ERROR: can't get kernel image!Here is the pastebin of that if it matters: http://pastebin.com/cdVX9dV1
Re: PogoPlug Mobile SSH? November 28, 2016 12:42AM |
Admin Registered: 13 years ago Posts: 18,564 |
ERROR: can't > get kernel image!Here is the pastebin of
Wes
Re: PogoPlug Mobile SSH? November 28, 2016 12:57AM |
Unable to mount rootfsHere is a screenshot of the message: http://imgur.com/a/nIYfu
Re: PogoPlug Mobile SSH? November 28, 2016 02:14AM |
Admin Registered: 13 years ago Posts: 18,564 |
Unable to > mount rootfsHere is a screenshot of the
printenvAnd post the output here inside the post (don't post picture). Just copy/paste the text from your serial console terminal and paste here.
Wes
Re: PogoPlug Mobile SSH? November 28, 2016 03:12PM |
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> 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> printenv arcNumber=3960 baudrate=115200 bootcmd=run bootcmd_uenv; run bootcmd_usb; reset bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootcmd_usb=run usb_init; run set_bootargs_usb; run usb_boot; bootdelay=10 console=ttyS0,115200 device=0:1 ethact=egiga0 ethaddr=b6:d0:5e:0f:a1:17 led_error=orange blinking led_exit=green off led_init=green blinking machid=f78 mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M (root) partition=nand0,2 rootdelay=10 rootfstype=ext2 set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$root delay rootfstype=$rootfstype $mtdparts stderr=serial stdin=serial stdout=serial uenv_import=echo importing envs ...; env import -t 0x810000 uenv_load=usb start; mmc rescan; ide reset; setenv uenv_loaded 0; for devtype in usb mmc ide; do for disknum in 0; do run uenv_read_disk; done; done uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknu m:1 0x810000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_re ad; fi; else if $devtype part $disknum; then run uenv_read; fi; fi usb_boot=mw 0x800000 0 1; run usb_load_uimage; if run usb_load_uinitrd; then boo tm 0x800000 0x1100000; else bootm 0x800000; fi usb_init=usb start usb_load_uimage=ext2load usb $device 0x800000 /boot/uImage usb_load_uinitrd=ext2load usb $device 0x1100000 /boot/uInitrd usb_root=/dev/sda1 Environment size: 1574/131068 bytes Pogov4>
Re: PogoPlug Mobile SSH? November 29, 2016 12:47AM |
Admin Registered: 13 years ago Posts: 18,564 |
setenv set_bootargs_mmc 'setenv bootargs console=$console root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params' setenv mmc_load_uimage 'load mmc 0:1 0x800000 /boot/uImage setenv mmc_load_uinitrd 'load mmc 0:1 0x1100000 /boot/uInitrd setenv mmc_load_dtb 'load mmc 0:1 0x1c00000 /boot/dts/kirkwood-pogoplug_v4.dtb' setenv mmc_boot 'mw 0x800000 0 1; run mmc_load_uimage; run mmc_load_dtb; if run mmc_load_uinitrd; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 - 0x1c00000; fi' setenv bootcmd 'mmc rescan; run set_bootargs_mmc; run mmc_boot; reset' boot
Wes
Re: PogoPlug Mobile SSH? November 29, 2016 01:19AM |
Re: PogoPlug Mobile SSH? November 29, 2016 02:12AM |
Admin Registered: 13 years ago Posts: 18,564 |
fw_setenv set_bootargs_mmc 'setenv bootargs console=$console root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params' fw_setenv mmc_load_uimage 'load mmc 0:1 0x800000 /boot/uImage fw_setenv mmc_load_uinitrd 'load mmc 0:1 0x1100000 /boot/uInitrd fw_setenv mmc_load_dtb 'load mmc 0:1 0x1c00000 /boot/dts/kirkwood-pogoplug_v4.dtb' fw_setenv mmc_boot 'mw 0x800000 0 1; run mmc_load_uimage; run mmc_load_dtb; if run mmc_load_uinitrd; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 - 0x1c00000; fi' fw_setenv bootcmd 'mmc rescan; run set_bootargs_mmc; run mmc_boot; reset'
Wes
Re: PogoPlug Mobile SSH? November 29, 2016 02:51AM |
root@debian:~# fw_setenv set_bootargs_mmc 'setenv bootargs console=$console root =LABEL=rootfs rootdelay=10 $mtdparts $custom_params' Warning: Bad CRC, using default environment
Uncompressing Linux... done, booting the kernel.At which the system froze and I had to pull the power.
Re: PogoPlug Mobile SSH? November 29, 2016 03:51AM |
Admin Registered: 13 years ago Posts: 18,564 |
setenv set_bootargs_mmc 'setenv bootargs console=$console root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params' setenv mmc_load_uimage 'load mmc 0:1 0x800000 /boot/uImage setenv mmc_load_uinitrd 'load mmc 0:1 0x1100000 /boot/uInitrd setenv mmc_load_dtb 'load mmc 0:1 0x1c00000 /boot/dts/kirkwood-pogoplug_v4.dtb' setenv mmc_boot 'mw 0x800000 0 1; run mmc_load_uimage; run mmc_load_dtb; if run mmc_load_uinitrd; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 - 0x1c00000; fi' setenv bootcmd 'mmc rescan; run set_bootargs_mmc; run mmc_boot; reset' saveenv boot
Wes
Re: PogoPlug Mobile SSH? November 29, 2016 02:36PM |
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 Pogov4> setenv set_bootargs_mmc 'setenv bootargs console=$console root=LABEL=roo tfs rootdelay=10 $mtdparts $custom_params' Pogov4> setenv mmc_load_uimage 'load mmc 0:1 0x800000 /boot/uImage > setenv mmc_load_uinitrd 'load mmc 0:1 0x1100000 /boot/uInitrd Pogov4> setenv mmc_load_dtb 'load mmc 0:1 0x1c00000 /boot/dts/kirkwood-pogoplug_ v4.dtb' Pogov4> setenv mmc_boot 'mw 0x800000 0 1; run mmc_load_uimage; run mmc_load_dtb; if run mmc_load_uinitrd; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x 800000 - 0x1c00000; fi' Pogov4> setenv bootcmd 'mmc rescan; run set_bootargs_mmc; run mmc_boot; reset' Pogov4> saveenv Saving Environment to NAND... Erasing NAND... Erasing at 0xc0000 -- 100% complete. Writing to NAND... OK Pogov4> boot MMC rescan: current device # 0 initialized OK 3232368 bytes read in 1414 ms (2.2 MiB/s) 10266 bytes read in 4546 ms (2 KiB/s) 6531090 bytes read in 2128 ms (2.9 MiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-4.8.3-kirkwood-tld-1 Created: 2016-11-26 23:57:49 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3232304 Bytes = 3.1 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-4.8.3-kirkwood-tld-1 Created: 2016-11-26 23:58:20 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 6531026 Bytes = 6.2 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 01c00000 Booting using the fdt blob at 0x1c00000 Loading Kernel Image ... OK Loading Ramdisk to 074d4000, end 07b0e7d2 ... OK Loading Device Tree to 074ce000, end 074d3819 ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel.
Re: PogoPlug Mobile SSH? November 29, 2016 02:44PM |
Admin Registered: 13 years ago Posts: 18,564 |
e2fsck /dev/mmcblk0p1and see if the label is rootfs
e2label /dev/mmcblk0p1
dmesg | tail -20
printenv boot
Wes
Re: PogoPlug Mobile SSH? November 29, 2016 04:17PM |
ubuntu@ubuntu:~$ e2fsck /dev/mmcblk0p1 e2fsck 1.42.13 (17-May-2015) /dev/mmcblk0p1 is mounted. WARNING!!! The filesystem is mounted. If you continue you ***WILL*** cause ***SEVERE*** filesystem damage. Do you really want to continue<n>?
Re: PogoPlug Mobile SSH? November 29, 2016 05:04PM |
Admin Registered: 13 years ago Posts: 18,564 |
ubuntu@ubuntu:~$ e2fsck > /dev/mmcblk0p1 > e2fsck 1.42.13 (17-May-2015) > /dev/mmcblk0p1 is mounted. > > > > WARNING!!! The filesystem is mounted. If you > continue you ***WILL*** > cause ***SEVERE*** filesystem damage. > > > Do you really want to continue<n>?>