Hi. I'm new to the group.

I started using  openWrt last week and I've come across some vexing
issues. If these are resolved somewhere else, please point me
elsewhere.

First of all, I've been able to build and install an image on my
device (it happens to be a Nexaira BC2 board.) and that works fine.

Now, I want to create two packages. One is a trivial "hello world"
application and the other is a trivial kernel module that uses printk
to print a message to the "ring buffer" that is read by the dmesg
tool. I figure that after I get these two packages working then my
development work will be unencumbered by openWrt technicalities. At
that point all I need to do is... develop code.

I read the documentation and I wrote two packages. Both are visible
via "make menuconfig". Both compile. But, neither the application or
the KLM get picked up and packed into the root file image.

I've looked in the staging area and I see that my files are waiting
there to be scooped up. But, they don't appear on my target.

I'm loading my device with tftp. I've deleted the image to be loaded,
and watched the image upload fail, then I've restored the image and
watched the upload succeed. So, I've traced some of the information
flow. I.e., I have some level of confidence that what I see on my
target is somehow the image of something I'm doing in my sandbox.

Also... I've experienced VERY long build times when I make the generic
target. Is there a target I can use that just creates the root file
system image? Something like... "make root_fs" that will pick up the
files in the staging area. Then, if my files aren't being copied there
for any reason, then I can put them there manually and make progress
while I psychoanalyze the overall build process at some other time?

-- 
Remember when teachers, public employees, Planned Parenthood, NPR and
PBS crashed the stock market, wiped out half of our 401Ks, took
trillions in TARP money, spilled oil in the Gulf of Mexico, gave
themselves billions in bonuses, and paid no taxes? Yeah, me neither.
John Zavgren
603-371-0513 (home)
603-801-2094 (cell)
johnzavgren (skype)
603-821-0904 (skype)
j...@zavgren.com
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to