hi
little intro: in the last time i had two devices in my hands which clearly run linux and which possibly could run openwrt too. the first one was a siemens se505 with a new bardware revision (see http://forum.openwrt.org/viewtopic.php?id=6678) and now i have an asus wl550ge (which was improperly listed as a wl500g in a webshop).
so, my question is now: is there somewhere a guide on how to "port" openwrt to new devices. as i understand it, the main problem is to find the right kernel, bootloader and mtd settings. i can think of different approaches to optain them from vendor distributed firmware but i have no clue which is feasable.
1. grab the sourcecode-tree and try to figure out where the different parts for the puzzle are hidden. there my problem alredy begins: i can easily grep thru the linux/.config for e.g. MTD but i just don't know which settings are relevant. second problem is the bootloader. i don't have any clue on how this thing is named, how it works, if there are several different methodes to get the kernel up and running, if openwrt uses it's own, if original firmware has it's own (perhaps proprietary).
2. grab an original-firmware image and take it appart: look at the trx header and just cut out kernel and filesystems. then just build an openwrt image with the original kernel and put it onto the device. look at dmesg, /proc, lspci, etc. and try to enable the right settings in openwrt buildroot.
i'm new to linux on embedded devices and i'm sorry if my questions/proposals are stupid. perhaps i just need some general knowledge on how booting works on this little boxes.
so. is there documentation somwhere, which is suitable for a newbie openwrt-dev to get startet with porting to new hardware? if there is nothing let's collect some strategies for firmware porting in this thread. it would be great to have some sort of checklist for important kernel-settings, tools, parameters, ...