you meant to say `flash a latest image on beagle bone black` On 23 March 2015 at 21:24, Robert Nelson <robertcnel...@gmail.com> wrote:
> Sorry, bone47 is way 'before' the repo was enabled. Start with the latest > image. > > On Mar 23, 2015 8:37 AM, "Shyam D" <shyam.sunde...@gmail.com> wrote: > > > > I was not able to do that why so ??? > > > >> Reading package lists... Done > >> Building dependency tree > >> Reading state information... Done > >> E: Unable to locate package linux-headers-3.8.13-bone47 > >> E: Couldn't find any package by regex 'linux-headers-3.8.13-bone47' > > > > > > > > On 23 March 2015 at 18:18, Frank Agius <ftag...@gmail.com> wrote: > >> > >> > >> > >> On Monday, March 23, 2015 at 8:35:21 AM UTC-4, Shyam D wrote: > >>> > >>> when you say initial error :) will i get any build errors further, > like during insmod, rmmod , can you please tell me what i should make ready > for out-of-tree kernel module development > >>> > >>> On Monday, March 23, 2015 at 6:01:28 PM UTC+5:30, Frank Agius wrote: > >>>> > >>>> > >>>> > >>>> On Monday, March 23, 2015 at 3:17:00 AM UTC-4, Shyam D wrote: > >>>>> > >>>>> Machine Details : > >>>>> > >>>>> Linux beaglebone 3.8.13-bone47 armv7l GNU/Linux > >>>>> > >>>>> > >>>>> Problem Details: > >>>>> > >>>>> In a attempt to write out-of-tree modules on beagle bone black(as > intree modules require me to compile/flash them again and again ), i have > logged in to beagle bone black revc through ssh client, which gives me a > command line interface via putty, as in general out-of-tree module > development, i have tried to compile module with the following make file > >>>>> > >>>>> ifneq ($(KERNELRELEASE),) > >>>>> # kbuild part of makefile > >>>>> obj-m := module.o > >>>>> > >>>>> #module-objs := module.o > >>>>> else > >>>>> # normal makefile > >>>>> KDIR ?= /lib/modules/$(shell uname -r)/build > >>>>> PWD := $(shell pwd) > >>>>> default: > >>>>> $(MAKE) -C $(KDIR) M=$(PWD) modules > >>>>> > >>>>> endif > >>>>> > >>>>> > >>>>> resulting an error > >>>>> > >>>>> root@beaglebone:~/lddgeek# make > >>>>> make -C /lib/modules/3.8.13-bone47/build M=/root/lddgeek modules > >>>>> make: *** /lib/modules/3.8.13-bone47/build: No such file or > directory. Stop. > >>>>> make: *** [default] Error 2 > >>>>> > >>>>> > >>>>> but when i parse to the path of KDIR i did not find build folder as > we find it in an normal ubuntu installed on x86 > >>>>> > >>>>> if i have to develop drivers/modules out-of-tree on a Beagle how > could i do that? > >>>>> > >>>>> Thank you > >>>>> Shyam > >>>> > >>>> > >>>> You need to install the kernel headers, then run "make scripts" in > the headers directory: > >>>> > >>>> root@beaglebone:/# apt-get install linux-headers-`uname -r` > >>>> root@beaglebone:/# cd /lib/modules/`uname -r`/build > >>>> root@beaglebone:/# make scripts > >>>> > >>>> Once competed, your make of the out of source kernel module should > get past that initial error. > >>>> > >>>> frank > >> > >> > >> I said "get past that initial error" because I have no idea what code > you are compiling. There could be a multitude of other reasons why your > kernel module could not compile once the header issue is resolved. I can > only comment on the errors you list, not the infinite number of unknowable > potential problems. Please try what I suggested and then post your > progress. > >> > >> frank > >> > >> -- > >> For more options, visit http://beagleboard.org/discuss > >> --- > >> You received this message because you are subscribed to a topic in the > Google Groups "BeagleBoard" group. > >> To unsubscribe from this topic, visit > https://groups.google.com/d/topic/beagleboard/E9bS5pzCamo/unsubscribe. > >> To unsubscribe from this group and all its topics, send an email to > beagleboard+unsubscr...@googlegroups.com. > >> > >> For more options, visit https://groups.google.com/d/optout. > > > > > > > > > > -- > > -----Regards & Thanks > > Shyam Sunder Daram > > Mobile:- +91 95-6082-143-8 > > View My Profile @ LinkedIn @ Indeed > > > > -- > > For more options, visit http://beagleboard.org/discuss > > --- > > You received this message because you are subscribed to the Google > Groups "BeagleBoard" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to beagleboard+unsubscr...@googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to a topic in the > Google Groups "BeagleBoard" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/beagleboard/E9bS5pzCamo/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > beagleboard+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -----Regards & Thanks Shyam Sunder Daram Mobile:- +91 95-6082-143-8 View My Profile @ LinkedIn <http://in.linkedin.com/pub/daram-shyam-sunder/1b/b35/a39> @ Indeed <https://my.indeed.com/r/Daram-Sunder/2982c78c647d7ff1?subfrom=b> -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.