Hi there! I am an OpenWRT newbie. I started working on it about 1 week ago because i'd like to port OpenWRT to my NAS (DUAL HDD NAS and a GIGANAS, two StorLink ARM based products).
My NAS producer (MRT Communications) - and others using the same NAS platform (the complete list is here: http://mrt.nas-central.org/index.php/St … _products) - released the kernel sources of their firmware. They're based on the same 2.6.15 kernel patches with very little differences (like GPIO mappings). What i did is creating a new target for OpenWRT, a new directory for generic 2.6.15 kernel with its patches (i only added squashfs support), a new configuration file and then i built all (after some day of happy hacking). I used the little endian standard (no EABI).
Now i finally got OpenWRT compiling and working but i still have little issues that i dont understand:
a) is there a way to have a single target (StorLink SL2312 cpu) with different subtargets (products names...) and common patches + separate patches for each of these, including kernel configuration inside the same target?
b) is there any issue using that kernel version instead of 2.6.22? are all the generic 2.6.22 patches needed to previous kernels like mine (some packages dont compile like tc, genl and ip)?
c) is there a default kernel configuration should i use for starting point of my config to let everything compile fine?
d) what does "rootfstype=squashfs, jffs2" mean? i really dont find its use. i only thing about rootfs overlapping using two MTD partitions but i dont find any documentation about that.
e) when booting (no matter if root is on NFS or JFFS2) i always have the boot stopped on the first call to hotplug2, and i dont know why. only removing its calls or its binary, the system will startup fine. Is a known strange behaviour or problem?
f) what about devfs or udev? i dont see any device on /dev but these i create !!
g) how to build a single package or rootfs or kernel from main Makefile (what special target should i use)?
Thank you all for your precious help. I hope my target - and my packages i am already using (like mtd-utils) could be soon included into the project.
Bye,
Lord Scaffard
(Last edited by lordscaffard on 19 Feb 2008, 21:48)