After fiddling some more with the partition addressing, I now have a working image. Ethernet works (#1 as WAN and #2 as LAN), but LEDs and buttons are still WIP. This image is based on the 5.15 kernel and includes LuCI.
Installation instructions:
1. download initramfs-uImage and copy into tftp server
2. connect the tftp server to network port #1
3. access uboot environment with serial cable and run
```
setenv mainlineLinux yes
setenv arcNumber 1682
setenv console 'console=ttyS0,115200n8'
setenv mtdparts 'mtdparts=orion_nand:0x100000@0x000000(u-boot)ro,0x20000@0xA0000(u-boot environment)ro,0x300000@0x100000(kernel),0x1C00000@0x400000(ubi)'
setenv bootargs_root 'root='
setenv bootcmd 'setenv bootargs ${console} ${mtdparts} ${bootargs_root}; nand read.e 0x800000 0x100000 0x300000; bootm 0x00800000'
saveenv
setenv serverip 192.168.1.1
setenv ipaddr 192.168.1.2
tftpboot 0x00800000 [initramfs-uImage filename]
bootm 0x00800000
```
4. connect to LAN on network port #2, log into openwrt and sysupgrade to install into flash
Note that once you boot into the initramfs-uImage, sysupgrade will give an error:
upgrade: Device marvell,rd88f6281-a not supported by this image
upgrade: Supported devices: iom,ix4-200d Image check failed.
Perform a forced upgrade, this is only a cosmetic error for now.
What I could use some help/feedback with:
- GPIO addressing for buttons and LEDs.
- Verification if all 4 HDD bays are recognized. I currently only have 2 disks at hand to test.
Download the image here, and please share any feedback.