**** BEGIN LOGGING AT Tue Aug 25 02:59:59 2015 Aug 25 04:35:36 Hi Aug 25 04:36:43 Is there a way to read a pwm signal with a beaglebone black ? Aug 25 05:46:42 i was wondering what line to be added in uEnv.txt to load my uImage address which is at 0x80008000? Aug 25 06:07:04 peoliye: I do use "setenv bootdelay 5 Aug 25 06:07:04 uenvcmd=run boot Aug 25 06:07:04 boot=fatload mmc 0 0x80800000 uImage-name.img ; bootm 0x80800000 Aug 25 06:09:53 ketul: thanks. Aug 25 06:10:11 peoliye: :) . np Aug 25 06:16:12 ketul:and how do you specify the partition block where rootfs is mounted? Aug 25 06:34:12 ketul: Aug 25 08:07:48 Hi, i've some trouble with RCN script to build kernel (https://eewiki.net/display/linuxonarm/BeagleBone+Black), trying to modify the default config, i've run ./build_kernel.sh first to download src, then, as said in the README, i've : cd KERNEL/, make ARCH=arm CROSS_COMPILE=${CC} menuconfig, setup my config, save it to .config-custom, cd .., ./tools/rebuild.sh ... and then the script reopen menuconfig with a default setup, so I load my Aug 25 08:08:00 it build the kernel but seems to wipe my config Aug 25 08:08:18 what am I doing wrong ? Aug 25 12:44:24 Hi, my ethernet is not working I did : /sbin/ifconfig eth0 up && dhclient eth0 && echo 'namespace 8.8.8.8' > /etc/resolv.conf , I can ping google DNS : ping 8.8.8.8 but apt-get update can't resolve the url Aug 25 12:44:36 any suggestion please ? Aug 25 12:46:24 Pac: I think you mean nameserver, not namespace. Aug 25 12:47:07 Oh sh*it ==' Aug 25 12:47:11 thanks xD Aug 25 12:48:52 No problem. Aug 25 12:49:30 ALso, once you have the board talking to the Internet, one of the first things you should install is the 'dig' command; very useful for diagnosing DNS issues. Aug 25 12:51:39 Pac: The package dnsutils provides dig. Aug 25 12:51:54 thanks for the advice ;) Aug 25 13:51:09 Hi, I've compile a custom kernel with https://eewiki.net/display/linuxonarm/BeagleBone+Black. How can I easly generate headers for the kernel now ? Aug 25 14:02:56 you don't -generate- headers ,, they are part of the kernel sources. Aug 25 14:03:24 its only a debianism where you separte the kernel binary from the header files and other sources Aug 25 14:03:54 hum so what i've to do to be able to build module on this kernel cause /lib/modules/4.1.6-xxx/ doesn't exist Aug 25 14:04:18 I don't have them in my rootfs on SDcard Aug 25 14:04:51 i've a debian based rootfs on the SDcard Aug 25 14:05:31 ? Aug 25 14:05:38 if you've built a kernel via eewiki yo will have a tar.gz of the modules & firmware and dtbs in a deploy folder Aug 25 14:06:11 Ye I've them, and i've extract them on the microSD Aug 25 14:06:39 As mentionned in the wiki Aug 25 14:08:10 I need to create a symlink in /lib/module/(uname -r)/ ? Aug 25 14:09:17 veremit: do you also mis the times, when /usr/include/linux/ was a symlink to /usr/src/linux/include ? Aug 25 14:09:50 KotH .. missed that phase :) Aug 25 14:10:19 Pac .. you should have a lib/modules.... tree .. if not, you've done something wrong Aug 25 14:10:52 veremit: get of my lawn! Aug 25 14:10:56 ;-) Aug 25 14:11:06 :P Aug 25 14:11:47 * KotH still remembers compiling his first kernel, like it was yesterday Aug 25 14:13:43 I've the /lib/modules/(uname -r)/ but the build symlink inside refer to the path in this computer where I build the kernel ... >.< Aug 25 14:13:44 KotH .. can remember the trepidation when I first tried .. Aug 25 14:14:06 Pac .. well that's a new one. Aug 25 14:14:19 veremit: well, you didnt have the susi handbook to guide you Aug 25 14:14:23 in the comp * Aug 25 14:14:59 I've read a lot of book seem a week for kernel building, but header are making me crazy can't compile any module :( Aug 25 14:15:14 veremit: compiling your own kernel was step #2 in the installation process :) Aug 25 14:15:14 since * Aug 25 14:15:31 the source/kernel symlinks don't matter .. but mine looks of the form .."-rw-r--r-- michael/stt 513626 2015-06-15 01:32 lib/modules/4.1.0-rc7-armv7-x0/modules.alias" Aug 25 14:15:38 Hi , Is there a way to read a pwm signal with a beaglebone black ? Aug 25 14:15:45 KotH .. gentoo man here .. same drill :p Aug 25 14:15:57 veremit: gentoo didnt exist back then ;) Aug 25 14:16:06 but I'm still (relatively) new to it .. Aug 25 14:16:16 still not got kernel-level debugging down yet Aug 25 14:16:29 veremit: kernel debugging is easy! Aug 25 14:16:37 veremit: just add randomly printk's everywhere Aug 25 14:16:45 lol ook Aug 25 14:16:46 veremit: at some point the bug will succumb to those Aug 25 14:17:14 shainon_: yes, there are many Aug 25 14:18:03 Can you take a look at this pls ? :/ http://pastebin.com/KjP5Zdag Aug 25 14:18:12 Pac: it would help imensly, if you would acctually say what you are doing _AND_ give a copy&past of the command you used and error message Aug 25 14:18:39 just did it ;) Aug 25 14:19:18 well, i was too slow Aug 25 14:19:34 What i'm doing is : build a custom kernel to enable PREEMPT and other needs, build some drivers/module to manage multiple I/O on the board Aug 25 14:19:36 please exuse me. old people like me aren't that agile anymore Aug 25 14:19:46 Pac: do you know the concept of a symlink? Aug 25 14:19:51 xD no problem Aug 25 14:20:25 ye a symlink is just a link to a file placed on an other folder/place .. Aug 25 14:20:32 ok Aug 25 14:20:41 why on earth are you using a makefile outside the kernel tree? Aug 25 14:20:42 now read your pastebin very very carefully Aug 25 14:20:43 the one you see on the pastebin is the one generated by the tar Aug 25 14:20:50 veremit: there are reasons for this Aug 25 14:20:56 hmm ok Aug 25 14:20:58 scratch that Aug 25 14:20:58 it's a makefile for my module Aug 25 14:21:30 KotH .. Rn's build-scripts make a number of assumptions .. Aug 25 14:21:48 veremit: most of them boil down to "i'm old school and have done it this way for >15 years" Aug 25 14:22:07 Pac .. it appears the home folder you used for kernel compilation is not the home folder you're building your module from Aug 25 14:23:05 no of course ... i'm trying to build a loadable kernel module, I wan't to be able to build it from the board where I installed the kernel, like the debian kernel Aug 25 14:23:55 Pac: again Aug 25 14:24:04 Pac: do you understand the concept of symlinks? Aug 25 14:24:11 Pac: and have you read your own pastebin? Aug 25 14:24:43 Pac: also, out of tree modules are a fucking PITA when going embedded Aug 25 14:25:05 Pac: so dont use it unless there is a very good reason not to Aug 25 14:25:18 Pac: and no, "my boss told me to do that" is not a good reason Aug 25 14:25:52 actually boss/co-worker/linux-expert/... Aug 25 14:26:12 of curse I have read it million times and I don't undestand : 1) why this refer to the /home on my computer, 2) I just want to be able to build this in order to develop the driver Aug 25 14:26:39 Pac: ok, then you dont understand the concept of symlinks Aug 25 14:26:45 * veremit smiles and goes back to CAD Aug 25 14:26:45 >< Aug 25 14:26:57 And what i don't undestand tell me :/ Aug 25 14:26:58 Pac: get either a good book on unix basics or get someone to explain it to you Aug 25 14:27:17 Pac: well... it is GLARING at you from the pastbin Aug 25 14:27:44 Pac: if you'd read the error message carefully, you'd see it yourself Aug 25 14:27:55 Pac: or the ls, for that matter Aug 25 14:28:42 but I undestand that the symlink point to no where >.< Aug 25 14:29:28 i assume this is for some comercial work, you are doing? Aug 25 14:29:31 ... I don't undestand what you want me to undestand ... I clearly undestand that the symlink in my /lib/module can't reach any file in my rootfs Aug 25 14:31:43 but what should I do to be able to build module on the board for developpement purpose ... ? I'm not going to copy the KERNEL src on my microSD ? Should I ? that seems strange to me Aug 25 14:32:49 I'm in internship, got good skill on C but this is my 1st time building my own kernel Aug 25 14:41:12 KotH can you just tell me what should I do to be able to build LKM directly on the BBB (as it's possible if I install debian) ? Aug 25 14:42:14 Pac: depends on what you are doing Aug 25 14:42:40 ? Aug 25 14:44:00 actually just trying to build a driver for TOR I/O on the gpio, the drivers work (not stable yet but it work), i've test it and built it when I used debian, but now just wanna do the same on my custom kernel Aug 25 14:45:38 wth is TOR I/O? Aug 25 14:46:53 hum I think that TOR is a french >.<, just a 1 or 0 output/input, need to build my own driver cause I'm doing it by reading the gpio register to execute faster Aug 25 14:46:59 french word * Aug 25 14:47:59 english word : digital I/O Aug 25 14:49:29 But doesn't this change anything for my problem ? :S, I'm just trying to build module on board with a custom kernel (not for production purpose, it's just easier will developping the module) Aug 25 14:49:48 for developping * Aug 25 14:51:17 for exemple if I don't touch anything in the default config, I can build, install and then apt-get install linux-headers-4.1.6-bone15, and then i'm able to build module on the board ... so what i've to do to be able to do the same with a custom config Aug 25 14:52:36 my question is so awkward ??? >.< Aug 25 14:53:51 install the kernel sources on the board Aug 25 14:53:58 then either add your module in-place Aug 25 14:54:12 or build it from a separate folder, pointing make to your kernel source Aug 25 14:55:30 Ok that's what I thought but that seemed really strange to me to do that, cause debian's header didn't seem to be as large as my sources Aug 25 14:56:34 I know nothing about debian Aug 25 14:56:39 there is also #debian Aug 25 14:56:49 since you are asking how to build a kernel module on debian Aug 25 14:57:23 Ok thanks for your answers Aug 25 14:58:11 So if I undestand ... src and headers are the same thing ... ? just a symlink to src Aug 25 14:59:48 no Aug 25 14:59:51 src has the source code Aug 25 14:59:56 header has only the .h header files Aug 25 15:01:25 Ok, so why i've to copy the all sources ><, make ARCH=arm CROSS_COMPILE=${CC} INSTALL_HDR_PATH=/media/rootfs/ headers_install shouldn't do the trick ? Aug 25 15:02:40 sorry to bother you guys just trying to make that dark point clear for me Aug 25 17:23:33 hi, i'm trying to reply to a post in the BBB forum, but how do i do that? i'm pretty sure i register of the OpenID correctly (via WordPress?) Aug 26 00:24:04 join #beagle Aug 26 00:30:28 Hi everyone, I am trying to read the output of a rc recepter . What would be the best way to do it ? Aug 26 00:43:11 I am trying to get yocto fido (1.8) to run on the beagle bone black, but I am having no luck so far. I have followed the instructions in "README.hardware" in yocto, but I still get errors such as "No valied environment area found" and "unrecognised filesystem type". One thing that is not clear in the instructions is how to partition the sdcard, I have followed various guides via google but with no luck. Any help in getting this working would be much appr Aug 26 00:43:11 eciated. Aug 26 02:18:44 what should be tty port configured to? I have configured it with ttyS0 but i see no logs after "starting network". Aug 26 02:18:52 Can anyone help me? Aug 26 02:18:58 i am using buildroot. Aug 26 02:19:10 with beagleboard-xm **** ENDING LOGGING AT Wed Aug 26 02:59:59 2015