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 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 > default(as in usual make

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] modifying source code in OpenWrt

2011-10-09 Thread harish badrinath
On Sun, Oct 9, 2011 at 2:19 PM, abhinav narain 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(); >         printk(KERN_I

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

2011-10-08 Thread harish badrinath
On Sun, Oct 9, 2011 at 9:55 AM, abhinav narain 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 compiled into the ke

Re: [OpenWrt-Devel] OpenWrt GPL compliance

2011-09-20 Thread harish badrinath
Hello, On Tue, Sep 20, 2011 at 5:26 PM, bifferos 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 understanding of the bui

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

2011-06-28 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 no

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

2011-06-28 Thread harish badrinath
Hello, > Call Trace: >  [] ? warn_slowpath_common+0x67/0x7b >  [] ? warn_slowpath_fmt+0x29/0x2d >  [] ? dev_watchdog+0xe2/0x16a >  [] ? enqueue_task_rt+0x1d/0x107 >  [] ? run_timer_softirq+0xf8/0x164 >  [] ? dev_watchdog+0x0/0x16a >  [] ? __do_softirq+0x5a/0xc9 >  [] ? __do_softirq+0x0/0xc9 >    [

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

2011-06-23 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 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 ..

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 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)

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 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

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 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 is

[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 [0.36] TCP reno registered [0.37] UDP hash tabl

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

2011-06-16 Thread harish badrinath
at root file system is not valid.The list of partitions is shown as empty. http://pastebin.com/q1H3KmkP, i have prepared patch with the same content to go into /arch/mips/ralink/rt305x/ instead of in drivers/mtd/maps. The darn printk is still not showing up (pronto says hello one).

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
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 bin/ramips/o

[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] Addition of custom kernel patches, but changes not showing up in uImage files

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

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

2011-06-12 Thread harish badrinath
Thank you for the help. Greets Harish On Sun, Jun 12, 2011 at 3:41 PM, wrote: > On 12.06.2011 10:59, edgar.sol...@web.de wrote: >> On 10.06.2011 08:43, harish badrinath wrote: >>> Hello, >>> If i have a package called foo, How do it specify in its Makefile >>

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

2011-06-09 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
01-mtd.patch I am 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

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

2011-06-02 Thread harish badrinath
ointer from integer without a cast Google pointed me to sources in the mailing list that are ~11 years old. Please help. Regards, Harish Badrinath ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel