Table of Contents
OpenWrt
I am stated work to making port of OpenWrt to ADM5120.
Currently this is not really OpenWrt, its midge (tmpfs) under OpenWrt.
Features:
- /dev/ttyS1 support
- USB-Storage support
- USB-Printers (not tested)
- more modular firmware
- binaries with CSYS header
- devfs
Download
- firmware files: http://midge.vlad.org.ua/kamikaze/bin (404 not found) *)
- source files: http://midge.vlad.org.ua/kamikaze/src (404 not found) *)
- package files: http://midge.vlad.org.ua/kamikaze/ipkg (404 not found) *)
*) please fix ;) fix:
all the different download packages stil can can be found on: http://midge.vlad.org.ua/kamikaze/
Problem
We have very strange problem with original bootloader - initial root filesystem mounted, but binaries do not work :(.
Currently for OpenWrt port you can use bootloader-with-tftp
Currently for OpenWrt port you can use bootloader-with-tftp
Problem looks like:
VFS: Mounted root (squashfs filesystem) readonly. Mounted devfs on /dev Freeing prom memory: 0kb freed Freeing unused kernel memory: 72k freed starting up ttyS0 (irq 1)...s:(null)an't load library 's'<0>Kernel panic: Attempted to kill init! <0>Rebooting in 10 seconds..(null)
USB Support
For using USB-Storage you should go following steps:
- ipkg update
midge# ipkg update Downloading http://10.1.27.251/ipkg/Packages Updated list of available packages in /usr/lib/ipkg/lists/kamikaze Done.
- ipkg install
midge# ipkg install kmod-usb-core Installing kmod-usb-core (2.4.32-adm5120-1) to root... Downloading http://10.1.27.251/ipkg/kmod-usb-core_2.4.32-adm5120-1_mipsel.ipk Configuring kmod-usb-core Done. midge# ipkg install kmod-usb-shci Installing kmod-usb-shci (2.4.32-adm5120-1) to root... Downloading http://10.1.27.251/ipkg/kmod-usb-shci_2.4.32-adm5120-1_mipsel.ipk Configuring kmod-usb-shci Done. midge# ipkg install kmod-usb-storage Installing kmod-usb-storage (2.4.32-adm5120-1) to root... Downloading http://10.1.27.251/ipkg/kmod-usb-storage_2.4.32-adm5120-1_mipsel.ipk Configuring kmod-usb-storage Done. midge# ipkg install kmod-fs-ext2 Installing kmod-fs-ext2 (2.4.32-adm5120-1) to root... Downloading http://10.1.27.251/ipkg/kmod-fs-ext2_2.4.32-adm5120-1_mipsel.ipk Configuring kmod-fs-ext2 Done. midge# ipkg install kmod-fs-vfat Installing kmod-fs-vfat (2.4.32-adm5120-1) to root... Downloading http://10.1.27.251/ipkg/kmod-fs-vfat_2.4.32-adm5120-1_mipsel.ipk Configuring kmod-fs-vfat Done.
- insmod
midge# insmod usbcore midge# insmod usb-shci midge# insmod scsi_mod midge# insmod sd_mod midge# insmod usb-storage midge# insmod ext2
- mount
mkdir /mnt mount -t ext2 /dev/scsi/host0/bus0/target0/lun0/part1 /mnt
- enjoy
