POGO Plug v2 (E02) November 22, 2020 08:14PM |
Registered: 3 years ago Posts: 28 |
U-Boot 1.1.4 (Sep 28 2009 - 11:55:23) Cloud Engines v2.0 (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 256MB DRAM Total size 256MB 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: PPV2 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>> printenv baudrate=115200 loads_echo=0 rootpath=/mnt/ARM_FS/ netmask=255.255.0.0 run_diag=yes console=console=ttyS0,115200 CASset=min MALLOC_len=1 ethprime=egiga0 bootargs_root=root=/dev/mtdblock2 ro ethmtu=1500 usb0Mode=host nandEcc=1bit ethact=egiga0 serverip=169.254.254.252 ipaddr=169.254.254.253 ethaddr=00:25:31:02:F6:64 cesvcid=UMT3AW7DWKU2HFVY33ER8VKTJ6 ceboardver=PPV2 bootcmd=nand read.e 0x800000 0x100000 0x200000; setenv bootargs $(console) $(bootargs_root);bootm 0x800000 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 root=/dev/mtdblock2 ro
Re: POGO Plug v2 (E02) November 22, 2020 09:18PM |
Registered: 3 years ago Posts: 28 |
Re: POGO Plug v2 (E02) November 23, 2020 07:11AM |
Admin Registered: 13 years ago Posts: 18,896 |
setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial' setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage' setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd' setenv usb_boot 'mw 0x800000 0 1; run load_uimage; if run load_uinitrd; then bootm 0x800000 0x2100000; else bootm 0x800000; fi' setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot' setenv bootcmd 'usb start; run usb_bootcmd; usb stop; reset'
printenv boot
Re: POGO Plug v2 (E02) November 23, 2020 04:37PM |
Registered: 3 years ago Posts: 28 |
Re: POGO Plug v2 (E02) November 23, 2020 06:03PM |
Registered: 3 years ago Posts: 28 |
CE>> CE>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=seri' CE>> setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage' CE>> setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd' CE>> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; if run load_uinitrd; then bootm 0x800000 0x2100000; else b' ** Too many args (max. 16) ** CE>> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; if run load_uinitrd; then bootm 0x800000 0x2100000; else b' ** Too many args (max. 16) ** CE>> setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot' CE>> setenv bootcmd 'usb start; run usb_bootcmd; usb stop; reset' CE>> printenv baudrate=115200 loads_echo=0 rootpath=/mnt/ARM_FS/ netmask=255.255.0.0 run_diag=yes console=console=ttyS0,115200 CASset=min MALLOC_len=1 ethprime=egiga0 bootargs_root=root=/dev/mtdblock2 ro ethmtu=1500 usb0Mode=host nandEcc=1bit ethact=egiga0 bootargs=console=ttyS0,115200 root=/dev/mtdblock2 ro serverip=169.254.254.252 ipaddr=169.254.254.253 ethaddr=00:25:31:02:F6:64 cesvcid=UMT3AW7DWKU2HFVY33ER8VKTJ6 ceboardver=PPV2 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 usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial load_uimage=ext2load usb 0:1 0x800000 /boot/uImage load_uinitrd=ext2load usb 0:1 0x2100000 /boot/uInitrd usb_boot=mw 0x800000 0 1; run load_uimage; if run load_uinitrd; then bootm 0x800000 0x2100000; else usb_bootcmd=run usb_set_bootargs; run usb_boot bootcmd=usb start; run usb_bootcmd; usb stop; reset Environment size: 1087/131068 bytes
Re: POGO Plug v2 (E02) November 23, 2020 06:21PM |
Registered: 3 years ago Posts: 28 |
CE>> reset U-Boot 1.1.4 (Sep 28 2009 - 11:55:23) Cloud Engines v2.0 (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 256MB DRAM Total size 256MB 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: PPV2 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 usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial' CE>> setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage' CE>> setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd' CE>> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; bootm 0x800000' CE>> setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot' CE>> setenv bootcmd 'usb start; run usb_bootcmd; usb stop; reset' CE>> printenv baudrate=115200 loads_echo=0 rootpath=/mnt/ARM_FS/ netmask=255.255.0.0 run_diag=yes console=console=ttyS0,115200 CASset=min MALLOC_len=1 ethprime=egiga0 bootargs_root=root=/dev/mtdblock2 ro ethmtu=1500 usb0Mode=host nandEcc=1bit ethact=egiga0 bootargs=console=ttyS0,115200 root=/dev/mtdblock2 ro serverip=169.254.254.252 ipaddr=169.254.254.253 ethaddr=00:25:31:02:F6:64 cesvcid=UMT3AW7DWKU2HFVY33ER8VKTJ6 ceboardver=PPV2 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 usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial load_uimage=ext2load usb 0:1 0x800000 /boot/uImage load_uinitrd=ext2load usb 0:1 0x2100000 /boot/uInitrd usb_boot=mw 0x800000 0 1; run load_uimage; bootm 0x800000 usb_bootcmd=run usb_set_bootargs; run usb_boot bootcmd=usb start; run usb_bootcmd; usb stop; reset Environment size: 1045/131068 bytes CE>> boot Unknown command 'usb' - try 'help' ** Block device usb 0 not supported ## Booting image at 00800000 ... Bad Magic Number Unknown command 'usb' - try 'help' U-Boot 1.1.4 (Sep 28 2009 - 11:55:23) Cloud Engines v2.0 (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 256MB DRAM Total size 256MB 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: PPV2 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 0x200000 Reading data from 0x2ff800 -- 100% complete. 2097152 bytes read: OK ## Booting image at 00800000 ... Image Name: Linux-2.6.22.18 Created: 2010-10-19 23:05:02 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1979140 Bytes = 1.9 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... Bad Data CRC CE>>
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
Re: POGO Plug v2 (E02) November 23, 2020 07:58PM |
Registered: 3 years ago Posts: 28 |
CE>> boot Unknown command 'usb' - try 'help' ** Block device usb 0 not supported ## Booting image at 00800000 ... Bad Magic Number Unknown command 'usb' - try 'help'
Re: POGO Plug v2 (E02) November 24, 2020 04:55PM |
Admin Registered: 13 years ago Posts: 18,896 |
Re: POGO Plug v2 (E02) November 24, 2020 05:05PM |
Registered: 3 years ago Posts: 28 |
Re: POGO Plug v2 (E02) November 24, 2020 05:53PM |
Admin Registered: 13 years ago Posts: 18,896 |
Quote
2. Flash new u-boot in serial console, and boot into the Debian rootfs that you've created.
Re: POGO Plug v2 (E02) November 24, 2020 07:02PM |
Registered: 3 years ago Posts: 28 |
Re: POGO Plug v2 (E02) November 24, 2020 09:36PM |
Registered: 3 years ago Posts: 28 |
Re: POGO Plug v2 (E02) November 24, 2020 09:47PM |
Admin Registered: 13 years ago Posts: 18,896 |
Quote
Booting Debian on Pogoplug
How to set up U-Boot for booting in multiple drives configuration
Backup and Restore NAND mtds
UART Booting HowTo for Selected Kirkwood Devices
Migrating from Arch to Debian?
How to boot new Debian rootfs using stock u-boot tftp - Pogo E02
How to boot new Debian rootfs on USB using stock u-boot - NSA325
How to boot Debian rootfs on a GPT HDD with stock u-boot (kernel files stored in HDD raw sector), 2nd HowTo post
How to boot Pogo V3 from SATA (to unbrick), 2nd How to Post
How to install U-Boot for Pogoplug V3 (OXNAS OX820) from OpenWRT
Re: POGO Plug v2 (E02) November 25, 2020 06:10AM |
Registered: 3 years ago Posts: 28 |
Re: POGO Plug v2 (E02) November 25, 2020 09:28AM |
Registered: 7 years ago Posts: 373 |
Re: POGO Plug v2 (E02) November 25, 2020 09:57AM |
Registered: 3 years ago Posts: 28 |
Re: POGO Plug v2 (E02) November 25, 2020 10:12AM |
Registered: 7 years ago Posts: 373 |
Re: POGO Plug v2 (E02) November 25, 2020 04:14PM |
Admin Registered: 13 years ago Posts: 18,896 |
ethprime=egiga0 ethact=egiga0 ethaddr=00:25:31:02:F6:64
ping x.x.x.1 ping x.x.x.y
setenv ipaddr x.x.x.x setenv serverip x.x.x.y tftp 0x800000 uImage tftp 0x1100000 uInitrd
Re: POGO Plug v2 (E02) November 25, 2020 04:25PM |
Registered: 3 years ago Posts: 28 |
Welcome to minicom 2.7.1 OPTIONS: I18n Compiled on Aug 13 2017, 15:25:34. Port /dev/ttyS0, 17:27:36 Press CTRL-A Z for help on special keys U-Boot 1.1.4 (Sep 28 2009 - 11:55:23) Cloud Engines v2.0 (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 256MB DRAM Total size 256MB 16bit width Flash: 0 kB Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done NAND:128 MB *** Warning - bad CRC or NAND, using default environment CPU : Marvell Feroceon (Rev 1) CLOUD ENGINES BOARD (GUESSED): PP_V2 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 mtdids 'nand0=orion_nand' CE>> setenv partition 'nand0,2' CE>> setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)' CE>> setenv ipaddr 192.168.1.17 CE>> setenv serverip 192.168.1.16 CE>> tftp 0x800000 uImage Using egiga0 device TFTP from server 192.168.1.16; our IP address is 192.168.1.17 Filename 'uImage'. Load address: 0x800000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ############################################################## done Bytes transferred = 4973786 (4be4da hex) CE>> tftp 0x1100000 uInitrd Using egiga0 device TFTP from server 192.168.1.16; our IP address is 192.168.1.17 Filename 'uInitrd'. Load address: 0x1100000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ############# done Bytes transferred = 9713936 (943910 hex) CE>> printenv baudrate=115200 loads_echo=0 rootpath=/mnt/ARM_FS/ run_diag=yes stdin=serial stdout=serial stderr=serial console=console=ttyS0,115200 mainlineLinux=no CASset=min enaMonExt=no enaCpuStream=no enaWrAllo=no pexMode=RC disL2Cache=no setL2CacheWT=yes disL2Prefetch=yes enaICPref=yes enaDCPref=yes sata_dma_mode=yes MALLOC_len=1 ethprime=egiga0 netbsd_en=no vxworks_en=no bootargs_root=root=/dev/mtdblock2 ro bootcmd=nand read.e 0x800000 0x100000 0x200000; setenv bootargs $(console) $(bootargs_root); bootm 0x800000 ceboardver=PP_V2 bootdelay=3 disaMvPnp=no ethaddr=00:50:43:00:02:02 ethmtu=1500 usb0Mode=host nandEcc=1bit ethact=egiga0 mtdids=nand0=orion_nand partition=nand0,2 bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) filesize=943910 fileaddr=1100000 netmask=255.255.0.0 ipaddr=192.168.1.17 serverip=192.168.1.16 Environment size: 892/131068 bytes CE>> bootm 0x800000 0x1100000 ## Booting image at 00800000 ... Image Name: Linux-5.2.9-kirkwood-tld-1 Created: 2020-11-23 23:08:18 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4973722 Bytes = 4.7 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK ## Loading Ramdisk Image at 01100000 ... Image Name: initramfs-5.2.9-kirkwood-tld-1 Created: 2019-08-25 2:22:50 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 9713872 Bytes = 9.3 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel.
Re: POGO Plug v2 (E02) November 25, 2020 10:08PM |
Registered: 3 years ago Posts: 28 |
tftpboot 0x800000 pogo.kwb(short name I put for 2017 bootloader) nand erase 0x0 0xa4fff nand write.e 0x800000 0x0 0x80000
Re: POGO Plug v2 (E02) November 25, 2020 10:36PM |
Admin Registered: 13 years ago Posts: 18,896 |
Quote
mrmazak,
This stock u-boot version does not support USB drive. So with this Pogo E02 if you cannot login with serial console because stock FW is corrupted, then there 2 alternatives (actually 3 but I don't want to muddy the water for now).
1. Boot the kernel with tftpboot. The setenvs posted previously will be changed to a slightly diffrent set of commands.
tftpboot will require you to set up tftp server in the box that you are using for serial console. It must be a Linux box.
2. Flash new u-boot in serial console, and boot into the Debian rootfs that you've created.
Flash new u-boot does not require further set up, you are ready to do that. The Debian rootfs must be as is after creation (Step 4 should not be done, since this is new u-boot).
Let me come back and post the command to flash in serial console.
Re: POGO Plug v2 (E02) November 25, 2020 10:38PM |
Admin Registered: 13 years ago Posts: 18,896 |
Re: POGO Plug v2 (E02) November 26, 2020 05:33AM |
Registered: 3 years ago Posts: 28 |
Re: POGO Plug v2 (E02) November 26, 2020 03:16PM |
Admin Registered: 13 years ago Posts: 18,896 |
CE>> bootm 0x800000 0x1100000 ## Booting image at 00800000 ... Image Name: Linux-5.2.9-kirkwood-tld-1 Created: 2020-11-23 23:08:18 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4973722 Bytes = 4.7 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK ## Loading Ramdisk Image at 01100000 ... Image Name: initramfs-5.2.9-kirkwood-tld-1 Created: 2019-08-25 2:22:50 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 9713872 Bytes = 9.3 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel.
Quote
Yes, there is one quick flash of the LED when plugged in. Not from the big led(led4), from the lan port lights and one on the board(led3)
Re: POGO Plug v2 (E02) November 26, 2020 05:04PM |
Registered: 3 years ago Posts: 28 |
Re: POGO Plug v2 (E02) November 26, 2020 05:09PM |
Admin Registered: 13 years ago Posts: 18,896 |