Hi,
I have an "Iomega Iconnect" which I would like to upgrade to OpenWRT
I have followed this guide "wiki.openwrt.org/toh/iomega/iconnect"
I used the image files from "downloads.openwrt.org/snapshots/trunk/kirkwood/generic/"
The files which are available for my device are the following :
openwrt-kirkwood-uImage
openwrt-kirkwood-generic-jffs2-nand-2048-128k.img
openwrt-kirkwood-iconnect-u-boot.bin
openwrt-kirkwood-iconnect-u-boot.img
openwrt-kirkwood-iconnect-u-boot.kwb
openwrt-kirkwood-iconnect_second_stage-u-boot.bin
openwrt-kirkwood-iconnect_second_stage-u-boot.img
openwrt-kirkwood-iconnect_second_stage-u-boot.kwb
openwrt-kirkwood-iconnect-squashfs-factory.bin
openwrt-kirkwood-iconnect-squashfs-sysupgrade.tarI used the following files as they where close to the ones mentioned within the guide
openwrt-kirkwood-uImage
openwrt-kirkwood-generic-jffs2-nand-2048-128k.img
openwrt-kirkwood-iconnect-u-boot.kwbI followed the guide made a backup of my MAC address and successfully flashed uBoot
This reloaded to the uBoot prompt and I followed the rest of the guide to flash the uimage and jiffs image.
The problem I have is that nothing loads past the uboot prompt after reboot.
This is a console log of what I see on screen :
U-Boot 2014.10 (Aug 21 2017 - 16:46:23) Iomega iConnect
SoC: Kirkwood 88F6281_A0
DRAM: 256 MiB
WARNING: Caches not enabled
NAND: 512 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0x100000, size 0x400000
4194304 bytes read: OK
## Booting kernel from Legacy Image at 06400000 ...
Image Name: ARM OpenWrt Linux-4.4.14
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1921852 Bytes = 1.8 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
Using machid 0xb36 from environment
Starting kernel ...As you can see the device is stuck indefinitely at starting kernel prompt.
I can still successfully enter uboot so might be able to correct this.
The question is how? I suspect the guide is slightly outdated.
Here is a dump of the current environmental variable with the MAC address obscured.
iconnect => printenv
arcNumber=2870
baudrate=115200
bootargs=console=ttyS0,115200 mtdparts=orion_nand:0xe0000@0x0(uboot),0x20000@0xe0000(uboot_env),0x100000@0x100000(second_stage_uboot),-@0x200000(ubi)
bootargs_root=root=/dev/mtdblock2 rootfstype=jffs2
bootcmd=run load_openwrt
bootdelay=3
console=console=ttyS0,115200 panic=20
download_kernel=mw $(loadaddr) 0xffff 0x300000; tftp $(loadaddr) $(kernel_name);
download_rootfs=mw $(loadaddr) 0xffff 0x200000; tftp $(loadaddr) $(rootfs_name);
ethact=egiga0
ethaddr=00:d0:b8:??:??:??
flash_kernel=nand erase 0x100000 0x400000; nand write.e $(loadaddr) 0x100000 0x400000;
flash_rootfs=nand erase 0x500000 0xfb00000; nand write.e $(loadaddr) 0x500000 0x200000;
ipaddr=172.16.0.138
kernel_name=openwrt-kirkwood-uImage
load_openwrt=setenv bootargs $(console) $(bootargs_root); nand read $(loadaddr) 0x100000 0x400000; bootm $(loadaddr)
loadaddr=0x6400000
machid=B36
mtddevname=uboot
mtddevnum=0
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:0xe0000@0x0(uboot),0x20000@0xe0000(uboot_env),0x100000@0x100000(second_stage_uboot),-@0x200000(ubi)
partition=nand0,0
rootfs_name=openwrt-kirkwood-generic-jffs2-nand-2048-128k.img
serverip=172.16.0.107
stderr=serial
stdin=serial
stdout=serial
Environment size: 1269/131068 bytesHow do I get this device to work with the JFFS filing system?
Also what are the other images for this device like the uboot second stage loader and a squashfs image which is not recommended for nand flash.
Thanks
(Last edited by firefly123 on 5 Sep 2017, 11:08)
