I'm trying to install Lede on the flash of a Pogoplug Pro (not sure if it's a V3 or not). I'm able to reach uboot via serial and transfer files into memory using tftpboot. I want to see if I can boot a kernel before committing it to flash. If I load lede-17.01.4-oxnas-pogoplug-v3-uImage into memory, I get:
CE>> bootm ## Booting image at 60500000 ... Bad Magic Number
The same happens if I load lede-17.01.4-oxnas-pogoplug-v3-u-boot-initramfs.bin. (The *uImage and *u-boot-initramfs.bin files look like the best ones to try from the oxnas section of the Lede site.)
What does this mean?
If I load an image from another device, I get
## Checking Image at 60500000 ... Image Name: Linux-18.104.22.168-00330-g86c6392 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1447568 Bytes = 1.4 MB Load Address: 40008000 Entry Point: 40008000 Verifying Checksum ... OK
which means uBoot is recognizing it. Running mkimage -l locally shows that the Lede images I want to load are FITs, while the ones recognized by uBoot aren't.
Most of the instructions I've seen refer to booting Debian or Arch from a flash drive. Is there any way to get it to load Lede directly from flash? Do I need a new uBoot? The version is: U-Boot 1.1.2 (Jul 29 2010 - 19:36:07).
If I enter printenv, I get:
bootcmd=run boot_nand bootdelay=2 baudrate=115200 autoload=n bootfile="uImage" kernflmode=s load_nand=nboot 60500000 0 200000 load_nand2=nboot 60500000 0 800000 boot=bootm 60500000 boot_nand=run load_nand boot || run load_nand2 boot ceboardver=PPRO1 stdin=serial stdout=serial stderr=serial bootargs=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 filesize=1a7578 fileaddr=60008000 netmask=255.255.0.0 ipaddr=192.168.33.195 serverip=192.168.33.2
Am I missing something? Is there a standard way of loading firmware onto this device?
Any help or suggestions would be much appreciated; I've been stuck on this for a while now.