Welcome! Log In Create A New Profile

Advanced

POGO E02 NAND reflash over serial?

Posted by magisterludi 
POGO E02 NAND reflash over serial?
June 11, 2017 11:11PM
First of all, I'm not native english user and I'm sorry for my poor english.

I used POGO E02(black) rescue system V2 and Debian in stick usb.
But power outrage cause boot failure, and i decided reinstall system.

After some idiot things happen, my POGO E02 bricked.


I have serial connection. No ssh. <- that's the ploblem.
The last thing I do is recover nand to docstar original.
(because my uboot env is messed, and I can't boot)
( https://archlinuxarm.org/forum/viewtopic.php?p=2713#p2713 )

Then booting is OK. But ssh is not active.
For ssh enalbe, I visit pogoplug.com, but they can't recognize my pogo.
IMAO, mtd0 is original, but other NANDs are not original so pogoplug services do not work.

I wonder the reason that I can't access ssh
1. my pogo's ssh is blocked or
2. just because no OS loaded


And I need the way that back my past setting.
For this, anything doesn't matter.
1. Can I find img file to reflash NANDs?
2. Update uboot first?
3. And what??

I googled 'pogo e02 serial ssh enable' and some other topic, and I don't know how I do next.



Here's my boot log

U-Boot 1.1.4 (Jul 16 2009 - 21:02:16) Cloud Engines (3.4.16)

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 00690D60

Soc: 88F6281 A0 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 128MB
DRAM Total size 128MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:128 MB

CPU : Marvell Feroceon (Rev 1)
CLOUD ENGINES BOARD: REDSTONE:0.1

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x100000, size 0x300000

Reading data from 0x3ff800 -- 100% complete.
 3145728 bytes read: OK


And printenv

baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
run_diag=yes
CASset=min
MALLOC_len=1
ethprime=egiga0
ceboardver=REDSTONE:0.1
ethmtu=1500
usb0Mode=host
nandEcc=1bit
ethact=egiga0
ipaddr=192.168.0.6
netmask=255.255.255.0
serverip=192.168.0.8
ethaddr=***************
cesvcid=******************************
console=console=ttyS0,115200
bootargs_root=root=/dev/mtdblock2 ro
bootcmd=nand read.e 0x800000 0x100000 0x300000; setenv bootargs $(console)
bootcmd_stock=setenv autoload n
bootargs_stock="root=ubi0:rootfs ubi.mtd=2,512 rootfstype=ubifs console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=128M"
poweroutage=yes
bootcmd_stock_fw="run set_bootargs_stock
boot=bootm 60500000
boot_nand="run load_nand boot || run load_nand2 boot"
kernflmode=s
load_nand2="nboot 60500000 0 800000"
load_nand="nboot 60500000 0 200000"
set_bootargs_stock="setenv bootargs $bootargs_stock"
mainlinelinux=no
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=3
disaMvPnp=no
bootargs=console=ttyS0,115200

Environment size: 1198/131068 bytes

ip and id is inputed properly.

After boot CE>> prompt is in the screen, no linux command, just like uboot prompt.

CE>> help
?       - alias for 'help'
base    - print or set address offset
boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootext2    dev:boot_part1,boot_part2 addr boot_image linux_dev_name
bootm   - boot application image from memory
bootp   - boot image via network using BootP/TFTP protocol
bubt    - Burn an image on the Boot Nand Flash.
chpart  - change active partition
cmp     - memory compare
cmpm    - Compare Memory
cp      - memory copy
cpumap - Display CPU memory mapping settings.
crc32   - checksum calculation
date    - get/set/reset date & time
dclk    - Display the MV device CLKs.
dhcp    - invoke DHCP client to obtain IP/boot params
diskboot- boot from IDE device
echo    - echo args to console
eeprom  - EEPROM sub-system
erase   - erase FLASH memory
ext2load- load binary file from a Ext2 filesystem
ext2ls  - list files in a directory (default /)
fi      - Find value in the memory.
flinfo  - print FLASH memory information
fsinfo  - print information about filesystems
fsload  - load binary file from a filesystem image
g       - start application at cached address 'addr'(default addr 0x40000)
go      - start application at address 'addr'
help    - print online help
icrc32  - checksum calculation
ide     - IDE sub-system
iloop   - infinite loop on address range
imd     - i2c memory display
imm[.b, .s, .w, .l]     - i2c memory modify (auto-incrementing)
imw     - memory write (fill)
inm     - memory modify (constant address)
iprobe  - probe to discover valid I2C chip addresses
ir      - reading and changing MV internal register values.
loop    - infinite loop on address range
ls      - list files in a directory (default /)
map     - Diasplay address decode windows
md      - memory display
me      - PCI master enable
mm      - memory modify (auto-incrementing)
mp      - map PCI BAR
mtdparts- define flash/nand partitions
mtest   - simple RAM test
mv_diag - perform board diagnostics
mw      - memory write (fill)
nand                   - NAND sub-system
nboot   - boot from NAND device
nbubt   - Burn a boot loader image on the Boot Nand Flash.
nm      - memory modify (constant address)
pci     - list and access PCI Configuration Space
phyRead - Read PCI-E Phy register
pciePhyWrite    - Write PCI-E Phy register
phyRead - Read Phy register
phyWrite        - Write Phy register
ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
reset   - Perform RESET of the CPU
resetenv        - Return all environment variable to default.
run     - run commands in an environment variable
saveenv - save environment variables to persistent storage
se      - PCI Slave enable
setenv  - set environment variables
sflash  - read, write or erase the external SPI Flash.
sg      - scanning the PHYs status
sp      - Scan PCI bus.
tftpboot- boot image via network using TFTP protocol
version - print monitor version
CE>>



Edited 3 time(s). Last edit at 06/11/2017 11:20PM by magisterludi.
Re: POGO E02 NAND reflash over serial?
June 11, 2017 11:19PM
magisterludi,

There is no need to reflash anything, if you don't care about Pogoplug service. It's easy to set it up to run Debian on USB stick with what you have right now. If you like to do that, then start with creating Debian rootfs on USB using Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2:

http://forum.doozan.com/read.php?2,12096

Scroll down to section:

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.

Note: you need to do step 4 since you are going to boot with stock u-boot.

After you've done that, come back and I'll help you with the u-boot envs to boot the USB rootfs.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: POGO E02 NAND reflash over serial?
June 12, 2017 01:14PM
bodhi,

I really appreciate your help. :-)

I've done the procedure and ready for next step.
Re: POGO E02 NAND reflash over serial?
June 12, 2017 11:29PM
Plug in the USB rootfs, power up, Interrupt serial console and copy/paste each line:

setenv bootdelay 10
setenv arcNumber 3542
setenv machid dd6
setenv mainlineLinux yes
setenv console 'ttyS0,115200'
setenv mtdids 'nand0=orion_nand'
setenv partition 'nand0,2'
setenv usb_device '0:1'
setenv usb_root 'LABEL=rootfs'
setenv usb_rootdelay 10
setenv mtdparts 'mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)'

setenv usb_set_bootargs 'setenv bootargs console=$(console) root=$(usb_root) rootdelay=$(usb_rootdelay) $(mtdparts)'

setenv usb_boot 'mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $(usb_device) 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi'

setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot'
setenv bootcmd 'usb start; run usb_bootcmd; usb stop; reset'

and then

printenv
boot

Please post the entire serial console log here.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: POGO E02 NAND reflash over serial?
June 12, 2017 11:59PM
Thanks, a lot.

But there's problem.

13th line make error "** Too many args (max. 16) **".

Here's log


U-Boot 1.1.4 (Jul 16 2009 - 21:02:16) Cloud Engines (3.4.16)

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 00690D60

Soc: 88F6281 A0 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 128MB
DRAM Total size 128MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:128 MB

CPU : Marvell Feroceon (Rev 1)
CLOUD ENGINES BOARD: REDSTONE:0.1

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
CE>> setenv bootdelay 10
CE>> setenv arcNumber 3542
CE>> setenv machid dd6
CE>> setenv mainlineLinux yes
CE>> setenv console 'ttyS0,115200'
CE>> setenv mtdids 'nand0=orion_nand'
CE>> setenv partition 'nand0,2'
CE>> setenv usb_device '0:1'
CE>> setenv usb_root 'LABEL=rootfs'
CE>> setenv usb_rootdelay 10
CE>> setenv mtdparts 'mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)'
CE>> setenv usb_set_bootargs 'setenv bootargs console=$(console) root=$(usb_root) rootdelay=$(usb_rootdelay) $(mtdparts)'
CE>> setenv usb_boot 'mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $(usb_device) 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi'
** Too many args (max. 16) **
CE>> printenv
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
run_diag=yes
CASset=min
MALLOC_len=1
ethprime=egiga0
ceboardver=REDSTONE:0.1
ethmtu=1500
usb0Mode=host
nandEcc=1bit
ethact=egiga0
ipaddr=192.168.0.6
netmask=255.255.255.0
serverip=192.168.0.8
ethaddr=
cesvcid=
bootargs_root=root=/dev/mtdblock2 ro
bootcmd=nand read.e 0x800000 0x100000 0x300000; setenv bootargs $(console)
bootargs=console=ttyS0,115200
bootcmd_stock=setenv autoload n
bootargs_stock="root=ubi0:rootfs ubi.mtd=2,512 rootfstype=ubifs console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=128M"
poweroutage=yes
bootcmd_stock_fw="run set_bootargs_stock
boot=bootm 60500000
boot_nand="run load_nand boot || run load_nand2 boot"
kernflmode=s
load_nand2="nboot 60500000 0 800000"
load_nand="nboot 60500000 0 200000"
set_bootargs_stock="setenv bootargs $bootargs_stock"
mainlinelinux=no
stdin=serial
stdout=serial
stderr=serial
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
disaMvPnp=no
bootdelay=10
arcNumber=3542
machid=dd6
mainlineLinux=yes
console=ttyS0,115200
mtdids=nand0=orion_nand
partition=nand0,2
usb_device=0:1
usb_root=LABEL=rootfs
usb_rootdelay=10
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
usb_set_bootargs=setenv bootargs console=$(console) root=$(usb_root) rootdelay=$(usb_rootdelay) $(mtdparts)
usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $(usb_device) 0x1100000

Environment size: 1607/131068 bytes


And I must go out now, so next 9~10 hours, I wouldn't post the result.



Edited 1 time(s). Last edit at 06/13/2017 12:12AM by magisterludi.
Re: POGO E02 NAND reflash over serial?
June 13, 2017 01:36AM
Revised envs:

setenv bootdelay 10
setenv arcNumber 3542
setenv machid dd6
setenv mainlineLinux yes
setenv console 'ttyS0,115200'
setenv mtdids 'nand0=orion_nand'
setenv partition 'nand0,2'
setenv usb_device '0:1'
setenv usb_root 'LABEL=rootfs'
setenv usb_rootdelay 10
setenv mtdparts 'mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)'

setenv usb_set_bootargs 'setenv bootargs console=$(console) root=$(usb_root) rootdelay=$(usb_rootdelay) $(mtdparts)'

setenv load_image 'ext2load usb $(usb_device) 0x800000 /boot/uImage'
setenv load_initrd 'ext2load usb $(usb_device) 0x1100000 /boot/uInitrd'
setenv usb_boot 'mw 0x800000 0 1; run load_image ; run load_initrd; bootm 0x800000 0x1100000'

setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot'
setenv bootcmd 'usb start; run usb_bootcmd; usb stop; reset'

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: POGO E02 NAND reflash over serial?
June 13, 2017 02:52PM
Unfortunately, there's problem, too.



CE>> printenv
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
run_diag=yes
CASset=min
MALLOC_len=1
ethprime=egiga0
ceboardver=REDSTONE:0.1
ethmtu=1500
usb0Mode=host
nandEcc=1bit
ethact=egiga0
ipaddr=192.168.0.6
netmask=255.255.255.0
serverip=192.168.0.8
ethaddr=
cesvcid=
bootargs_root=root=/dev/mtdblock2 ro
bootargs=console=ttyS0,115200
bootcmd_stock=setenv autoload n
bootargs_stock="root=ubi0:rootfs ubi.mtd=2,512 rootfstype=ubifs console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=128M"
poweroutage=yes
bootcmd_stock_fw="run set_bootargs_stock
boot=bootm 60500000
boot_nand="run load_nand boot || run load_nand2 boot"
kernflmode=s
load_nand2="nboot 60500000 0 800000"
load_nand="nboot 60500000 0 200000"
set_bootargs_stock="setenv bootargs $bootargs_stock"
mainlinelinux=no
stdin=serial
stdout=serial
stderr=serial
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
disaMvPnp=no
bootdelay=10
arcNumber=3542
machid=dd6
mainlineLinux=yes
console=ttyS0,115200
mtdids=nand0=orion_nand
partition=nand0,2
usb_device=0:1
usb_root=LABEL=rootfs
usb_rootdelay=10
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
usb_set_bootargs=setenv bootargs console=$(console) root=$(usb_root) rootdelay=$(usb_rootdelay) $(mtdparts)
load_image=ext2load usb $(usb_device) 0x800000 /boot/uImage
load_initrd=ext2load usb $(usb_device) 0x1100000 /boot/uInitrd
usb_boot=mw 0x800000 0 1; run load_image ; run load_initrd; bootm 0x800000 0x1100000
usb_bootcmd=run usb_set_bootargs; run usb_boot
bootcmd=usb start; run usb_bootcmd; usb stop; reset

Environment size: 1725/131068 bytes
CE>> boot
Unknown command 'usb' - try 'help'

** Block device usb 0 not supported

** Block device usb 0 not supported
## Booting image at 00800000 ...
Bad Magic Number
Unknown command 'usb' - try 'help'


U-Boot 1.1.4 (Jul 16 2009 - 21:02:16) Cloud Engines (3.4.16)

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 00690D60

Soc: 88F6281 A0 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 128MB
DRAM Total size 128MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:128 MB

CPU : Marvell Feroceon (Rev 1)
CLOUD ENGINES BOARD: REDSTONE:0.1

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x100000, size 0x300000

Reading data from 0x3ff800 -- 100% complete.
 3145728 bytes read: OK
CE>>
Re: POGO E02 NAND reflash over serial?
June 13, 2017 03:14PM
Please try at serial console prompt (copy/paste each comand). If one fails then don't execute the rest, stop and post serial console log here.

usb start
run usb_set_bootargs
printenv bootargs
mw 0x800000 0 1 
run load_image 
run load_initrd
bootm 0x800000 0x1100000

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner



Edited 1 time(s). Last edit at 06/13/2017 03:16PM by bodhi.
Re: POGO E02 NAND reflash over serial?
June 13, 2017 03:19PM
Here's the log.

U-Boot 1.1.4 (Jul 16 2009 - 21:02:16) Cloud Engines (3.4.16)

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 00690D60

Soc: 88F6281 A0 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 128MB
DRAM Total size 128MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:128 MB

CPU : Marvell Feroceon (Rev 1)
CLOUD ENGINES BOARD: REDSTONE:0.1

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
CE>> usb start
Unknown command 'usb' - try 'help'
CE>>
Re: POGO E02 NAND reflash over serial?
June 13, 2017 03:23PM
Re: POGO E02 NAND reflash over serial?
June 13, 2017 03:25PM
help!

CE>> help
?       - alias for 'help'
base    - print or set address offset
boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootext2    dev:boot_part1,boot_part2 addr boot_image linux_dev_name
bootm   - boot application image from memory
bootp   - boot image via network using BootP/TFTP protocol
bubt    - Burn an image on the Boot Nand Flash.
chpart  - change active partition
cmp     - memory compare
cmpm    - Compare Memory
cp      - memory copy
cpumap - Display CPU memory mapping settings.
crc32   - checksum calculation
date    - get/set/reset date & time
dclk    - Display the MV device CLKs.
dhcp    - invoke DHCP client to obtain IP/boot params
diskboot- boot from IDE device
echo    - echo args to console
eeprom  - EEPROM sub-system
erase   - erase FLASH memory
ext2load- load binary file from a Ext2 filesystem
ext2ls  - list files in a directory (default /)
fi      - Find value in the memory.
flinfo  - print FLASH memory information
fsinfo  - print information about filesystems
fsload  - load binary file from a filesystem image
g       - start application at cached address 'addr'(default addr 0x40000)
go      - start application at address 'addr'
help    - print online help
icrc32  - checksum calculation
ide     - IDE sub-system
iloop   - infinite loop on address range
imd     - i2c memory display
imm[.b, .s, .w, .l]     - i2c memory modify (auto-incrementing)
imw     - memory write (fill)
inm     - memory modify (constant address)
iprobe  - probe to discover valid I2C chip addresses
ir      - reading and changing MV internal register values.
loop    - infinite loop on address range
ls      - list files in a directory (default /)
map     - Diasplay address decode windows
md      - memory display
me      - PCI master enable
mm      - memory modify (auto-incrementing)
mp      - map PCI BAR
mtdparts- define flash/nand partitions
mtest   - simple RAM test
mv_diag - perform board diagnostics
mw      - memory write (fill)
nand                   - NAND sub-system
nboot   - boot from NAND device
nbubt   - Burn a boot loader image on the Boot Nand Flash.
nm      - memory modify (constant address)
pci     - list and access PCI Configuration Space
phyRead - Read PCI-E Phy register
pciePhyWrite    - Write PCI-E Phy register
phyRead - Read Phy register
phyWrite        - Write Phy register
ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
reset   - Perform RESET of the CPU
resetenv        - Return all environment variable to default.
run     - run commands in an environment variable
saveenv - save environment variables to persistent storage
se      - PCI Slave enable
setenv  - set environment variables
sflash  - read, write or erase the external SPI Flash.
sg      - scanning the PHYs status
sp      - Scan PCI bus.
tftpboot- boot image via network using TFTP protocol
version - print monitor version
CE>>
Re: POGO E02 NAND reflash over serial?
June 13, 2017 03:46PM
Damn! they took out usb command in this u-boot and left the ide command in :) which does not make any sense.

You have 2 choices.

1. The safe choice. Install tftp server on the Linux box that host your serial console. And copy the uImage and uInitrd files from the USB rootfs to the tftp root directory. And boot the kernel with this u-boot tftp command.

What are you using for this host?

2. The risky choice. Flash the new u-boot in serial console. This is quite risky because the Pogo E02 does not have UART booting capability. If the flash went wrong for whatever reason, you'll have a real brick, until you can connect JTAG.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: POGO E02 NAND reflash over serial?
June 13, 2017 05:01PM
Thanks for reply.

I tryed first option. But failed.

And I try second option. And sucessed.

I found Jeff's uBoot for pogo, and flashed.

( http://jeff.doozan.com/debian/uboot/files/uboot/uboot.mtd0.pinkpogo.jeff-2010-10-23.kwb )

Now I booted rescue system. (w/ ssh!!)

And I can install debian.

Thanks again.

+ I tryed flash pogo's original uBoot, but there isn't usb command, too.
( http://jeff.doozan.com/debian/uboot/files/uboot/uboot.mtd0.pinkpogo.original.kwb )

++ I've failed to install debian in Jeff's uBoot. I can't boot in USB. So I use your U-Boot(2016.05) and finally booted USB. And I'm very happy for this :-)



Edited 3 time(s). Last edit at 06/13/2017 07:53PM by magisterludi.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: