Re: [OpenWrt-Devel] how to apply driver patch to the kernel

2011-10-10 Thread harish badrinath
On Tue, Oct 11, 2011 at 3:55 AM, abhinav narain abhinavnarai...@gmail.com wrote: I was interested in knowing do I have to change anything in makefiles if I add another header file in the folder as a part of patch ? or is it that if a corresponding .c file is present, its .h file is taken by

Re: [OpenWrt-Devel] how to apply driver patch to the kernel

2011-10-09 Thread harish badrinath
On Sun, Oct 9, 2011 at 9:55 AM, abhinav narain abhinavnarai...@gmail.com wrote: hi,  your method does not work. I tried doing this by adding a printk() line to module_exit() in ath9k in the file init.c The dmesg does not show any output of the changed line. Are you sure that (a) The code is

Re: [OpenWrt-Devel] modifying source code in OpenWrt

2011-10-09 Thread harish badrinath
On Sun, Oct 9, 2011 at 2:19 PM, abhinav narain abhinavnarai...@gmail.com wrote: I am adding the following lines to the code : static void __exit ath9k_exit(void) {         is_ath9k_unloaded = true;         ath_ahb_exit();         ath_pci_exit();         ath_rate_control_unregister();      

Re: [OpenWrt-Devel] how to apply driver patch to the kernel

2011-10-09 Thread harish badrinath
Hello, @Harish : I am not sure how to trigger monolithic kernel, but i dont get any output of strings ... because vmlinux does not exist monolithic kernel ? option My way of saying .. if you compiled everything you needed into the kernel binary instead of compiling it as (optional) modules.

Re: [OpenWrt-Devel] OpenWrt GPL compliance

2011-09-20 Thread harish badrinath
Hello, On Tue, Sep 20, 2011 at 5:26 PM, bifferos biffe...@yahoo.co.uk wrote: as I have no idea how to generate the packages in the snapshot from the files in the 'sources' area, and I haven't seen this documented anywhere. I could not clearly understand what you mean, but here is my

Re: [OpenWrt-Devel] Issues w/ rt8139 driver

2011-06-29 Thread harish badrinath
why would you want to run ksymoops on the target ? would it not make sense to do so on a host machine ? You can do on any machine, preferably one that contains the kernel tree that you have a problem with. This link was very helpful:http://www.xml.com/ldd/chapter/book/ch04.html#t4. Also note

Re: [OpenWrt-Devel] Issues w/ rt8139 driver

2011-06-28 Thread harish badrinath
Hello, Call Trace:  [c101d4f6] ? warn_slowpath_common+0x67/0x7b  [c101d572] ? warn_slowpath_fmt+0x29/0x2d  [c1175917] ? dev_watchdog+0xe2/0x16a  [c1019b82] ? enqueue_task_rt+0x1d/0x107  [c10241a2] ? run_timer_softirq+0xf8/0x164  [c1175835] ? dev_watchdog+0x0/0x16a  [c1020fd5] ?

Re: [OpenWrt-Devel] Cant boot unbranded Ralink RT305X - ramips 64 MB RAM

2011-06-24 Thread harish badrinath
Firstly, Apologies.I have been told not to give up more information .. sorry. I still need help and i will be sending back changes back to openwrt, if I am successful. Apparently i do have the liberty to disclose the flash chips,etc. The flash chips (atleast i assumed they are),are marked

Re: [OpenWrt-Devel] Cant boot unbranded Ralink RT305X - ramips 64 MB RAM

2011-06-23 Thread harish badrinath
On Mon, Jun 20, 2011 at 1:43 PM, John Crispin j...@phrozen.org wrote: (a) It is a fon router clone do you have a link to the product ? no, we just get the boards. where from ? and which fonera version is it ? Firstly, Apologies.I have been told not to give up more information .. sorry. I

Re: [OpenWrt-Devel] Cant boot unbranded Ralink RT305X - ramips 64 MB RAM

2011-06-20 Thread harish badrinath
. On Mon, Jun 20, 2011 at 11:23 AM, harish badrinath harishbadrin...@gmail.com wrote: Hello, I cant seem to boot a unbranded Ralink RT305X using openwrt trunk/trunk co on june 02. Essentialy code after https://lists.openwrt.org/pipermail/openwrt-devel/2011-March/009924.html. Attached below

Re: [OpenWrt-Devel] Cant boot unbranded Ralink RT305X - ramips 64 MB RAM

2011-06-20 Thread harish badrinath
On Mon, Jun 20, 2011 at 1:40 PM, John Crispin j...@phrozen.org wrote: On 20/06/11 09:59, harish badrinath wrote: A small update: more details about the router i am working with (a) It is a fon router clone do you have a link to the product ? no, we just get the boards

Re: [OpenWrt-Devel] Cant boot unbranded Ralink RT305X - ramips 64 MB RAM

2011-06-20 Thread harish badrinath
On Mon, Jun 20, 2011 at 1:43 PM, John Crispin j...@phrozen.org wrote: (a) It is a fon router clone do you have a link to the product ? no, we just get the boards. where from ? and which fonera version is it ? I am sorry i dont have details (I dont think i can get more) . All i know is (a)

[OpenWrt-Devel] Cant boot unbranded Ralink RT305X - ramips 64 MB RAM

2011-06-19 Thread harish badrinath
Hello, I cant seem to boot a unbranded Ralink RT305X using openwrt trunk/trunk co on june 02. Essentialy code after https://lists.openwrt.org/pipermail/openwrt-devel/2011-March/009924.html. Attached below is a log of the boot process snip [0.36] TCP reno registered [0.37] UDP hash

[OpenWrt-Devel] Addition of custom kernel patches, but changes not showing up in uImage files

2011-06-16 Thread harish badrinath
I was wrong again, both my way and your way both seems to be not working as of this moment. Here is my problem restated: (a) My patch to the kernel compiles, without breaking the build. (b) bin/ramips/openwrt-ramips-rt305x-uImage.bin boots from the boot-loader, but grep -i pronto

Re: [OpenWrt-Devel] Addition of custom kernel patches, but changes not showing up in uImage files

2011-06-16 Thread harish badrinath
The problem being the pattern of uImage files not containing the string that i have include in a printk statement in one of the source files. Please help, as i am really stuck. Found the answer .. uImage is a lzma compressed file .. that is the reason why uImages dont match the grep query.

[OpenWrt-Devel] Addition of custom kernel patches, but changes not showing up in uImage files

2011-06-15 Thread harish badrinath
-fonera20n matches /snip Please help, Harish Badrinath ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] Addition of custom kernel patches, but changes not showing up in uImage files

2011-06-15 Thread harish badrinath
I am really sorry, will try to work with this document http://wiki.openwrt.org/doc/devel/patches and come back if i am stuck. Regretfully, Harish Badrinath ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman

[OpenWrt-Devel] Make package foo conflict with /replace package bar

2011-06-10 Thread harish badrinath
Hello, If i have a package called foo, How do it specify in its Makefile (package/foo/Makefile) that it conflicts with / replaces a package called bar. When that happens the compilation is aborted until package bar is deselected. Regards, Harish Badrinath

Re: [OpenWrt-Devel] cant boot ralink rt3052 (openwrt Attitude Adjustment 2/6/2011 co)

2011-06-02 Thread harish badrinath
quiet new to openwrt (and the embedded world in general) any help would be appreciated. Regrds, Harish Badrinath ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel