Some help updating a Pogo Plug via serial console? (solved)

This forum is for discussion about general software issues.

Some help updating a Pogo Plug via serial console? (solved)

Postby wrybread » Tue Mar 07, 2017 7:22 am

I've got a Pogoplug model Pogo-v4-a1-05. I've converted one of these to a file server in the past, when it was easily done: just go to the pogoplug website and enable SSH on the device and start uploading the files.

Its now more complicated and I had to solder cables to the serial console. That's all working well, and in picoterm I get the following for "printenv":

Soc: 88F6192 A1 (DDR2)
CPU running @ 800Mhz L2 running @ 400Mhz
SysClock = 200Mhz , TClock = 166Mhz


$this->bbcode_second_pass_quote('', 'C')E>> printenv
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
netmask=255.255.0.0
run_diag=yes
CASset=min
MALLOC_len=1
ethprime=egiga0
load_nand=nboot 0x800000 0 0x200000
load_nand2=nboot 0x800000 0 0x500000
boot=bootm 0x800000
boot_nand=run load_nand boot || run load_nand2 boot
ethmtu=1500
usb0Mode=host
nandEcc=1bit
ethact=egiga0
ethaddr=00:25:31:03:e2:b8
cesvcid=JYN24UBY4GGCM39XM2GZY2DUU2
ceboardver=PPV4A1
ipaddr=192.168.58.233
serverip=192.168.58.188
bootcmd=run boot_nand
bootargs=root=ubi0:rootfs ubi.mtd=2,512 rootfstype=ubifs console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x25,0x31,0xAA,0xBB,0xCC mem=128 poweroutage=yes
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=1
disaMvPnp=no
hddPowerCtrl=no
pcieTune=no

Environment size: 908/131068 bytes
CE>>


However, I don't know what to do next. I can't figure out how to log in as root. If I don't interrupt bootup, it goes to:

$this->bbcode_second_pass_quote('', 'U')SB 0: host mode
PEX 0: interface detected no Link.
Net: egiga0 [PRIME]
Hit any key to stop autoboot: 0

Loading from NAND 128MB 3,3V 8-bit, offset 0x200000
Image Name: Linux-2.6.31.8
Created: 2011-08-23 20:00:55 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2080956 Bytes = 2 MB
Load Address: 00008000
Entry Point: 00008000
## Booting image at 00800000 ...
Image Name: Linux-2.6.31.8
Created: 2011-08-23 20:00:55 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2080956 Bytes = 2 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux..................................................................................................................................... done, booting the kernel.


Any tips on what I need to do to enable SSH, or otherwise get this thing working?
Last edited by wrybread on Tue Mar 07, 2017 8:24 am, edited 1 time in total.
wrybread
 
Posts: 3
Joined: Tue Mar 07, 2017 7:16 am

Re: Some help updating a Pogo Plug via serial console?

Postby wrybread » Tue Mar 07, 2017 7:46 am

I should mention, I ran the commands from here:

viewtopic.php?f=29&t=1203&p=6689&hilit=uboot+ce

And I ran them verbatum:

$this->bbcode_second_pass_quote('', 's')etenv bootcmd "run boot_nand"
setenv bootargs "root=ubi0:rootfs ubi.mtd=2,512 rootfstype=ubifs console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x25,0x31,0x00,0xd4,0x6f mem=128 poweroutage=yes"


I'm guessing that's wrong. I think I"m supposed to change the Mac Address, but I can't find it in printenv.
wrybread
 
Posts: 3
Joined: Tue Mar 07, 2017 7:16 am
Top

Re: Some help updating a Pogo Plug via serial console?

Postby wrybread » Tue Mar 07, 2017 8:23 am

Aha, solved.

I had copied an incorrect environment variable in, fixed with "resetenv".

I then let it boot with the serial console connected and it let me log in as root and I could follow the instructions here:

http://blog.qnology.com/2014/07/hacking ... 8674663240
wrybread
 
Posts: 3
Joined: Tue Mar 07, 2017 7:16 am


Return to General

Who is online

Users browsing this forum: No registered users and 10 guests