Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

ix2-200 Debian installation (3 replies)

$
0
0
Hi all.
I really understand that a lot of success stories of Debian (and overall Linux installation) in the ix2-200 device.
But most of them are outdated, so I took the liberty of start this topic.

Story is: I have old (but still in very good and factory shape) ix2-200. It worked fine before one disk got damages, and I've shelved the device. Now I want to restore it, but want also to install Debian (or Arch Linux) on it.
Because of very good explained instruction of Sven Kiljan (https://kiljan.org/2021/04/22/installing-arch-linux-arm-on-an-iomega-ix2-200/) I started with installation of Arch Linux, not a Debian but stucked on the part when I need to download the the latest Arch Linux ARMv5 distro, but how Sven explains on the top of the page it's not longer supporting by Arch Linux. I guess with some difficulty I can find the latest Arch Linux distro, but once it's no more support, may be it will be not a best choice.
In this case I need to look at the side of Debian? If I understood right, they still support Kirkwood platform.
By the way, when I started with Sven tutorial, I tried first to use ssh access (I still have it because the device is still on factory firmware), and read the NAND config with command
 fw_printenv
But I received
Warning: Bad CRC, using default environment

Quote
All output
root@ix2-200-TI7Q0N:/# fw_printenv
Warning: Bad CRC, using default environment
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=5
baudrate=115200
May be somebody knows why?

So I tried then to access an UART access, and here the NAND config looks correct:

baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
CASset=min
MALLOC_len=1
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
eth1mtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
FanHysteresis=2
FanTempStart=58
bootargs_end=:::DB88FXX81:eth1:none
bootargs_root=root=/dev/sda1 rw
kernel@nand=nand read.e 2000000 900000 300000
console=console=ttyS0,115200 mtdparts=nand_mtd:0x100000@0(uboot)ro,0x20000@0xA0000(uboot_env),0x300000@0x900000(kernel),0x1400000@0xC00000(root),0x6000000@0x2000000(root2),0x300000@0x100000(iomega_zImage),0x300000@0x540000(iomega_initrd)
ethprime=egiga1
filesize=1bda53
fileaddr=200000
netmask=255.255.255.0
ipaddr=192.168.1.11
serverip=192.168.1.100
ethaddr=00:D0:B8:16:15:77
eth1addr=00:D0:B8:16:15:77
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
hddPowerCtrl=no
enaAutoRecovery=no
ethact=egiga1
uboot_start=0x0
uboot_size=0xc0000
env_start=0xa0000
env_size=0x20000
kernel_start=0x100000
kernel_size=0x300000
initrd_start=0x540000
initrd_size=0x300000
bootcmd=run flash_load
flash_load=run make_boot_args load1 load2 boot
load1=nand read.e 0x2000000 $(kernel_start) $(kernel_size)
load2=nand read.e 0x4500000 $(initrd_start) $(initrd_size)
boot=bootm 0x2000000 0x4500000
make_boot_args=setenv bootargs console=ttyS0,115200 mtdparts=nand_mtd:;setenv bootargs $(bootargs)$(uboot_size)@$(uboot_start)(uboot),;setenv bootargs $(bootargs)$(env_size)@$(env_start)(env),;setenv bootargs $(bootargs)$(kernel_size)@$(kernel_start)(zImage),;setenv bootargs $(bootargs)$(initrd_size)@$(initrd_start)(initrd),;setenv bootargs $(bootargs)128m@0x0(flash);
iomega=123

Environment size: 2134/16380 bytes

At this time I went to check any good tutorial how to install Debian including on this Forum.
Here I found a link to good tutorial: https://minaret.biz/tips/ix2/index.html, but if I understood well it's for ix2 (not ix2-200) device, and this are different devices, correct? So this tutorial is not suitable for me?
And also I saw the topics from the people who tried to flash Debian on their ix2-200 and receive the brick.
Because of all of the above I decided to start this topic with a question:

How to painless install latest possible Debian version on ix2-200 in 2024? :)

Viewing all articles
Browse latest Browse all 3247

Trending Articles