Jun 08 13:08:55 I would like to know that is there anyway to access SD card by using C langauge? Jun 08 13:09:05 Guest75998: sure Jun 08 13:09:20 Could you please give me any information? Jun 08 13:09:24 like you access any other drive on a linux system Jun 08 13:09:33 I do not want to set up on linux Jun 08 13:09:37 ? Jun 08 13:09:56 just command in C, perhaps someone create the library for C Jun 08 13:10:12 then buy an ext3 driver for windows/osx Jun 08 13:10:49 Could you give me more information or link about that? Jun 08 13:12:33 https://www.paragon-software.com/home/extfs-windows/ this is what I use.. not portable at all but it works if you only need to get at it on a few machines and don't want to use linux Jun 08 13:13:51 problem isn't simply accessing the device (although that is an issue in windows) but the whole filesystem is alien to windows Jun 08 13:14:03 Does it directly work? e,g, just comman in C that is Jun 08 13:14:27 where would you run the resulting binary? Jun 08 13:14:45 Guest75998: what exactly are you trying to do? Jun 08 13:15:13 I want to read/write SD card by using C programming. Jun 08 13:15:39 do you want to run on the BBB bare metal, without an OS? Jun 08 13:15:44 if you go the ext-fs route you would simply treat each partion as a drive Jun 08 13:16:02 ext-rfs driver route that is Jun 08 13:16:04 thurgood_: would you solution require windows? Jun 08 13:16:10 yes Jun 08 13:16:13 on a BBB? Jun 08 13:16:36 No. Actually, we are using OS. Just try to avoid long time setup by using command on Debian Jun 08 13:16:37 he wants to access the sd, not necessarily from the bbb, as far as I can tell Jun 08 13:16:50 Guest75998: what OS? Jun 08 13:17:11 to me this still sounds like an X-Y problem Jun 08 13:17:47 Such as, one lib in C and we can command in C source file then it goes to SD Jun 08 13:18:10 what does "goes to SD" mean? Jun 08 13:18:15 Guest75998: what exactly are you trying to do? Jun 08 13:18:28 OS : Debian Jun 08 13:18:36 so Jun 08 13:18:45 Debian can "access" the SD Jun 08 13:19:01 I want to read/write data at SD card, while C programm is running. Jun 08 13:19:06 so Jun 08 13:19:11 use open/read/write/close Jun 08 13:19:20 oh.. for that you only need to know the mount point Jun 08 13:19:23 unix can read/write files since before you were born Jun 08 13:19:32 Does it has to be setup separately? Jun 08 13:19:59 https://www.google.com/search?q=how+to+read+a+file+in+c Jun 08 13:20:09 https://www.google.com/search?q=how+to+write+a+file+in+c Jun 08 13:20:35 so, I just simply program from the link that you gave right? Jun 08 13:20:45 I gave you something to read Jun 08 13:20:47 so read it now Jun 08 13:21:29 debian should be setup to automount sd partitions to /media// or something similar Jun 08 13:22:46 automount locations have changed a couple of times, so the exact location may vary depending on how old your system is Jun 08 13:23:07 I will read it and come back to you soon. Thank you very much. Cheers Jun 08 13:38:35 Hi every one.. i try to copy my system working in micro sd (debian) to emmc internal of the Board black with dd command bet in the end of procedure the systmem back to me no space aviable ??? Jun 08 13:39:00 how big is your sd card? Jun 08 13:39:05 i use a micro sd of 4GB Jun 08 13:39:05 how big is your emmc? Jun 08 13:39:14 and your emmc is? Jun 08 13:39:21 4gb Jun 08 13:39:43 check the exact sizes Jun 08 13:39:46 jbvador, 4 GB isn't always 4 GB, how many bytes are each? Jun 08 13:40:22 how i can sheck the emmc size in my BBB Jun 08 13:40:58 fdisk -l /dev/mmcblk? Jun 08 13:41:01 fsck? Jun 08 13:41:28 err, yeah fdisk :) Jun 08 13:45:20 sd 3903 MB 3903821824 bytes and emmc 3866 MB, 3866099712 bytes Jun 08 13:45:34 the emmc is smaller.. Jun 08 13:48:40 miss 3866099712 Jun 08 13:49:17 miss 37 mb !!! Jun 08 13:50:55 jbvador: go to the seller and ask for your 37MB Jun 08 13:51:22 these memory vendors always shave of some Jun 08 13:53:43 :D Jun 08 13:56:14 Tank you.. Jun 08 13:56:24 i continu with teh sd .... Jun 08 14:10:28 hey guys, how can we secure our beaglebone if let's say where are making a product using it? Jun 08 14:12:03 zumba_ad_ what you mean with secure? Jun 08 14:12:26 zumba_ad_ you can buy some crypto bootloader stuff from ti but only for the soc Jun 08 14:12:33 soc? Jun 08 14:12:43 I do not know if they work directly on the bone Jun 08 14:12:47 k Jun 08 14:12:55 goole arm soc Jun 08 14:13:04 you will know what soc means Jun 08 14:13:10 i was just thinking about making a product using beaglebone and a nodejs application Jun 08 14:13:51 i want to make it harder for the average joe to hack beaglebone and find the code Jun 08 14:14:19 o.O Jun 08 14:14:53 what is o.O woglinde? Jun 08 14:15:54 google said o.O is on off. Is that correct? Jun 08 14:20:31 no, its a comic for raising an eyebrow Jun 08 14:20:48 zumba_ad_ I do not know how nodejs secures its javascript Jun 08 14:21:08 but I know that all javascript you runs on the browser you can not hide Jun 08 14:21:10 k Jun 08 14:21:17 yup, that's true Jun 08 14:21:45 but was hoping to make it harder to get in on beaglebone Jun 08 14:21:55 yeah I understand Jun 08 14:22:08 but people can easily boot some other bootloader Jun 08 14:22:24 so you are only secure on that level if you buy the secure bootloader stuff Jun 08 14:22:30 zumba_ad_: seal it in epoxy and weld an iron cage around it Jun 08 14:22:34 back in the days, I can boot in single mode in linux running on a desktop Jun 08 14:22:58 k Jun 08 14:23:05 zumba_ad_: everything else is pointless, as the hardware is *designed* to be accessible, and once i can access the hardware, i can do literally anything Jun 08 14:23:16 that's true Jun 08 14:23:19 zumba_ad_, if your hardware is not physically secured, someone will be able to get the binary data from your board's non volatile memory Jun 08 14:23:59 zumba_ad_, if you need utmost security, look at how hardware security modules work, they will destroy internal memory and devices upon improper case opening Jun 08 14:24:09 you likely do not need this Jun 08 14:24:13 it is expensive Jun 08 14:24:24 zumba_ad_: hardware thats designed to make tampering hard exists, but its just not the beaglebone. Jun 08 14:24:26 actually, I should just accept how it is because even PS3/PS4 is hackable and Sony is a billion$$$ company :D Jun 08 14:24:45 great info bradfa Jun 08 14:25:04 zumba_ad_, no one wants your code, don't waste time securing it unless you are selling to banks or governments Jun 08 14:25:12 k Jun 08 14:25:21 zumba_ad_: exactly. and seriously, in about 999 of 1000 cases where somebody things his/her $MAGICALGORITHM should be sekrit, its plain exxageration. Jun 08 14:25:32 yup Jun 08 14:25:48 thanks guys Jun 08 14:32:19 Hi all Jun 08 14:33:02 Anyone know the simple read instruction for i2c read in c++ Jun 08 14:34:01 doesn't mean you shouldn't apply basic security to a product. like disable users with default password and such ;) Jun 08 14:40:24 Guest68110: it's just a file read Jun 08 14:41:19 Guest68110: with an ioctl to set the slave address first Jun 08 14:42:36 I dunno. There are some products i like because they failed at security. Jun 08 14:43:27 I bought a Transcend Wi-Fi SD card and was annoyed by the login on the web interface Jun 08 14:44:05 until i realized i could just append /sd/ to the URL and there was the filesystem index. Jun 08 14:44:50 I supposed if their interface had been well designed i wouldn't have had to work around it though Jun 08 15:30:34 Does anyone have a link to a description on how to boot from uSD card without pushing the user button? Jun 08 15:32:27 Okular: no finished link, just a pointer: check the SRM/TRM, the chapter on SYSBOOT Jun 08 15:32:57 Okular: by placing a pull-down resisor on a certain pin, you can change the boot order to SD card first Jun 08 15:33:13 (don't have time to look it up right now in detail) Jun 08 15:33:33 or just nuke MLO on emmc Jun 08 15:33:50 thanks, what publication? what is the full path of the MLO? Jun 08 15:33:53 tbr: thats the destructive way Jun 08 15:34:30 Okular: the TRM or SRM. Jun 08 15:34:36 LetoThe2nd: it's easier than modifying hardware though Jun 08 15:35:00 tbr: well placing a resisor between two pins on the p8/p9 headers is not exactly hard Jun 08 15:35:17 i just don't remember the exact pin Jun 08 15:35:18 LetoThe2nd: or shorting out the pushbutton Jun 08 15:35:41 Okular: first partition on the emmc Jun 08 15:36:09 hehe ok. I will look at it. Thanks Jun 08 15:36:37 many roads you can travel to this destination Jun 08 15:43:35 tbr: I have been out of the hw game for so long I had to lookup the TRM / SRM acronyms:) Jun 08 15:44:23 Shorting a button is a class 2 solution :) Jun 08 17:21:45 rcn-ee: hi there, does your repo include the hostapd version for rtl8188eu ? Jun 08 17:22:31 is it in mainline? Jun 08 17:22:42 I mean the one offered by git://github.com/jenssegers/RTL8188-hostapd.git Jun 08 17:23:36 no, and I am guessing debian wont ever release it Jun 08 17:23:43 nope, first i've ever seen that Jun 08 17:23:58 looks like a fun mess Jun 08 17:24:38 yet many ppl buy the TP-Link TL-WN723N Jun 08 17:24:57 and some want to run an access point Jun 08 17:26:38 like the Edimax EW-7811UN this chip doesnot have a module that compliance with the libnl Jun 08 17:26:57 so one needs a special hostapd to use it in access-point mode Jun 08 17:27:06 CONFIG_88EU_AP_MODE=y https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/staging/rtl8188eu/Kconfig?id=refs/tags/v4.1-rc7 Jun 08 17:27:13 I made a deb file, and want your repo to have it Jun 08 17:27:52 so hostap should be workable in 4.1.x Jun 08 17:28:04 yes, your latest debiaan 8.0 does load the 8188 module fine Jun 08 17:28:32 I think we need this special hostapd to make it work Jun 08 17:28:57 mainline's shouldn't... Jun 08 17:29:23 it will never be in the mainline Jun 08 17:30:08 rcn-ee: does rtl8192cu work with the mainline hostapd? Jun 08 17:30:10 odd.. as it's 'in' mainline today: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/drivers/staging/rtl8188eu?id=refs/tags/v4.1-rc7 and being worked on.. Jun 08 17:31:11 this is the module support , so we can connect to a wireless network as a client Jun 08 17:31:44 in case a user wants to use as an access point the driveer=hostapd wont work Jun 08 17:32:11 see: rtl8192cu Jun 08 17:32:23 CONFIG_88EU_AP_MODE: "This option enables Access Point mode." Jun 08 17:32:53 sorry: see https://aur.archlinux.org/packages/ho/hostapd-8188eu/PKGBUILD Jun 08 17:33:08 sed -i 's#driver=hostap#driver=rtl871xdrv#' hostapd.conf Jun 08 17:33:45 mainline hostapd does not have driver=rtl871xdrv Jun 08 17:36:23 brb Jun 08 17:47:38 25 Jun 08 17:47:42 whoops, sorry Jun 08 19:39:09 ok, so do you agree some users will need a new hostapd pakage to use with the 8188eu wifi chip? Jun 08 19:43:08 nope... Jun 08 19:46:18 but i did put one on order so i can actually test it.. Jun 08 19:52:28 ok, what about the cwvw ? got a better name ? what need I do to add it to your repo? Jun 08 19:57:31 rcn-ee I found a few hits on google about using the 8188eu as an access point Jun 08 19:57:55 all point to the git hub and explain how to build from source Jun 08 19:58:03 installing a deb, is easier Jun 08 20:41:55 I really don't like how the keyboard bounces while I type.... Jun 08 20:42:02 Lol Jun 08 20:43:29 push harder, eventually it'll stop.... Jun 08 20:47:06 error: unknown option `harder' Jun 08 21:06:20 push with greater force than the last press. force is the mass (aka 70kg person for example) by the acceleration (jumping off a desk onto the keyboard for example) That would be 'harder' or with greater force. I like bowling balls for pressing keys I don't want anymore. Jun 08 23:33:19 hello? Jun 08 23:37:54 having issues with flashing the new Jesse images, anyone have any experience? Jun 09 00:23:09 flashing from an old angstrom image did the trick, but both lxde and console Jessie images seem to be having issues with OS X Jun 09 00:24:06 i don't have a serial connect to check the log, but there was some sort of boot hang Jun 09 01:02:50 hi any body know how can I add tochscreen to qt on new BBB image? **** ENDING LOGGING AT Tue Jun 09 02:59:58 2015