**** BEGIN LOGGING AT Mon Jul 03 03:00:02 2017 Jul 03 05:40:10 rpi gerbers wouldn't be very useful anyway since you can't buy the SoC Jul 03 10:22:40 hello!! Jul 03 10:22:43 [11:37:33] hi, how can i upgrade beaglebone debian 8 to debian 9? Jul 03 10:22:43 [11:38:54] https://linuxconfig.org/how-to-upgrade-debian-linux-system-from-wheezy-to-jessie-stable-release Jul 03 10:22:44 [11:39:03] can this be done (already)? Jul 03 10:23:24 apt-get dist-upgrade ? Jul 03 10:23:37 same as debian normal? Jul 03 10:23:48 there's an aptitude safe-upgrade I think too .. Jul 03 10:36:02 anyone tried it, it's more or less a "production" system, i could do an image of the SD card though Jul 03 10:37:25 if its running a uSD, and its production, I'd get a new BB, flash the new debian, and port your code over, test it .. then switch .. personally :) Jul 03 10:38:42 depends a lot though on how 'critical' it is .. Jul 03 11:14:22 Hi, I have a Beagleboard and I can't remember how to change the screen resolution Jul 03 11:15:22 I created a uEnv.txt file on the boot partition but that didn't work Jul 03 11:15:26 Any ideas? Jul 03 11:16:17 you should always -have- a uEnv.txt file .. if not, you're editing the wrong thing :D Jul 03 11:16:37 but sure .. kernelcmd=video= is the one you want Jul 03 11:16:55 there are examples all over for what should be in there Jul 03 11:19:22 what driver is used for the BBB DRAM ? Jul 03 11:19:35 Just to be sure I'm suing Jul 03 11:19:42 I'm using a Beagleboard Jul 03 11:19:45 original model Jul 03 11:19:54 not the BeagleBone Jul 03 11:20:15 Sulphurik: if you're using a recent debian image .. they're all standardised now .. more-or-less Jul 03 11:20:50 I'm using an old Angstrom made with Narcussus Jul 03 11:20:59 oh can't help you then, sorry :? Jul 03 11:21:07 no worries Jul 03 11:21:25 iirc they used a uboot.scr written to a location on disk Jul 03 11:21:26 finding info for this older system is interestingly difficult Jul 03 11:21:39 it had to be compiled I -think- Jul 03 11:22:57 I set this thing up a long time ago and lost all the stuff i used to do it Jul 03 11:23:09 and now it's been so long i can't find out what i need to changew Jul 03 11:25:39 yeah it changes monthly :D Jul 03 11:25:50 narcissus, wow brings back memories .. lol Jul 03 11:28:15 all i want to do is change the screen resolition from 640x480 to 1280x1024 Jul 03 11:28:29 lol....but can i work it out? no! Jul 03 11:29:20 i remember setting it during boot with a serial cable Jul 03 11:29:30 any idea how that works? Jul 03 11:31:29 I can't remember what the hardware is, so I'm afraid I'd have to google even :/ Jul 03 11:36:49 No worries, I'm sure i'll sort it out eventually Jul 03 11:37:08 I've tried various settings is uEnv.txt and nothing works Jul 03 11:43:22 it may not be looking for that uEnv.txt .. there are a lot of uboot configs .. you may have to connect to serial debug to find out what/where it's looking Jul 03 11:43:34 config options** sorry Jul 03 11:48:48 Yeah I'm going to have to play with that Jul 03 11:48:55 Thanks for the suggestions Jul 03 11:48:59 np Jul 03 11:49:04 and g/l Jul 03 12:14:08 cyberguy_: it doesn't really use a "driver", just some one-time setup done in u-boot and optionally some save/restore code done by the kernel for certain suspend states (which I'm pretty sure lives in arch/arm/mach-omap2/) Jul 03 13:25:26 hello. Jul 03 13:26:20 so i am currently trying to flash MLO and uboot from a host pc to a AM3358 processor via USB and i have basically no idea what the hell i am doing here Jul 03 13:26:32 really anything would be helpful Jul 03 13:26:58 * zmatt hands desperate_dude a slice of pizza Jul 03 13:27:09 glad to have been of help Jul 03 13:27:36 * veremit slides over a can of coke too Jul 03 13:27:49 yw! Jul 03 13:27:59 the program i am using to flash causes the same output on my debug console from the AM3358, no matter if the folder where the server gets the files from is empty or has a MLO and uboot file in it Jul 03 13:28:15 so i am not even sure if there is any data being sent to the chip at all Jul 03 13:29:19 "Hi, I'm using some program but I'm not telling you which, and it's not working. can you help?" Jul 03 13:29:42 currently trying with uniflash Jul 03 13:30:04 i dunno... would already be thrilled to just send a hello world to that chip as of now... Jul 03 13:30:16 I guessed as much, but next time say "uniflash" instead of "the program i am using to flash" Jul 03 13:30:33 I know absolutely nothing about uniflash though Jul 03 13:30:40 (other than that it exists) Jul 03 13:30:52 zmatt: "hi, i'm using arm-poky-linux-gnueabi-gcc and its not working. can you help?" Jul 03 13:31:14 try pressing x Jul 03 13:31:48 all i get from my debuging is and endless spam of the character "C" Jul 03 13:32:03 that means it's trying to boot but failing Jul 03 13:32:09 OH Jul 03 13:32:18 thats already helpfull information Jul 03 13:33:18 which I think means it never got enumerated via usb, since otherwise the CCC output would stop while it's trying to perform usb boot (which is where you'd hook in to perform flashing via usb) Jul 03 13:33:48 i am not sure i know what that means... Jul 03 13:35:07 i mean, it stops spamming C as soon as i press "stop flashing" in the uniflash tool... Jul 03 13:36:03 so i guess it doenst try to boot as long as i dont press "start flashing" Jul 03 13:36:10 thats how its supposed to be, isnt it? Jul 03 13:36:48 uhh Jul 03 13:38:10 sounds like when you "stop flashing" the bbb gets enumerated as usb device (as I would expect) hence the CCC hangs at that point while it's attempting usb boot Jul 03 13:38:32 but isnt that what i would want? Jul 03 13:38:42 I have no idea why it would start outputting CCC while uniflash is attempting to flash Jul 03 13:38:42 i mean, i wanna do a USB boot... Jul 03 13:38:54 I know the cccccccccc from empty eeprom boards and not modified uboot Jul 03 13:39:23 desperate_dude: do I understand correctly you're seeing CCC output while attempting to flash via uniflash? Jul 03 13:39:32 yeah Jul 03 13:39:51 if so, that might mean it feeds a flasher to the bbb that doesn't work and causes a system reset Jul 03 13:39:58 similar to the no-eeprom scenario nerienna just mentioned Jul 03 13:40:08 and independend from what data is in the path i specified as home folder Jul 03 13:40:18 reset, CCC, usb boot, starting flasher, reset, CCC, usb boot, starting flasher, etc Jul 03 13:40:58 well, where do i get a flasher that does work? Jul 03 13:41:15 for linux there's BBBlfs Jul 03 13:41:34 ok, let me look up BBBlfs Jul 03 13:42:10 its scripts are pretty broken though, http://pastebin.com/x5QzB18E Jul 03 13:42:48 that link is a verbose write-up on how to get the BBB eMMC visible as block device... you can then flash onto that just like you would onto a μSD card Jul 03 13:45:35 i am not sure i understand what that means. Jul 03 13:49:51 i am not even sure if i am supposed to install that on the host PC or the beaglebone / AM3358 device Jul 03 13:50:29 there's nothing to "install", it's just a program, and on a host linux system Jul 03 13:51:10 ok, so thats for the host PC Jul 03 13:52:19 and if you follow the pastebin it'll make the BBB appear as if it were an usb stick or something, so you can directly write to its eMMC Jul 03 13:52:35 also very useful for making a backup or doing recovery Jul 03 13:52:59 wait... does that mean i can use a DD command similar to flashing with sd? Jul 03 13:53:19 I just said that: "you can then flash onto that just like you would onto a μSD card" Jul 03 13:54:17 how would i do that? Jul 03 13:54:37 uh, for example with dd, like you just said? Jul 03 13:54:45 oh ok Jul 03 13:56:48 and that would work even on an AM3358 with an empty emmc? Jul 03 13:57:00 yes Jul 03 13:57:46 ok thanks Jul 03 13:57:56 on a BBB with an empty eMMC anyway Jul 03 13:58:25 what if its not explicitly a beaglebone? Jul 03 13:59:11 BBBlfs boots the AM335x into a small linux system, so it has an u-boot + kernel + device tree + tiny initramfs Jul 03 13:59:25 for systems other than BBB it may e.g. need a different device tree Jul 03 13:59:34 if the differences are sufficiently big Jul 03 13:59:50 it doesnt have an sd slot Jul 03 14:00:05 that won't matter Jul 03 14:00:08 ok Jul 03 14:00:20 what would matter? Jul 03 14:00:31 missing or blank eeprom for example Jul 03 14:00:39 since then u-boot won't work Jul 03 14:00:48 oh Jul 03 14:01:17 wait, so if there is no eeprom on there it can never boot? Jul 03 14:01:44 no, you'd need to build a custom u-boot and then customize BBBlfs to use that Jul 03 14:02:45 that's just what I said... Jul 03 14:02:58 i wouldnt know how to build a custom u-boot even without modifications Jul 03 14:03:28 I know the problem from using the wrong SD card Jul 03 14:04:01 There's a patch for assume Board is BBB Jul 03 14:04:59 I'm not at work, so I don't have the link and would have to search Jul 03 14:06:39 desperate_dude: maybe it would have been smarter to check what exactly that eeprom is used for before omitting it from the hw design :) Jul 03 14:07:19 i didnt make the hardware design.... Jul 03 14:08:00 I did help with mine.... Jul 03 14:08:27 so, go to the local fish market, buy a trout, go the hw people and slap them with aforementioned trout Jul 03 14:15:31 ok, I was allowed to play with a BBB for a while before we did our own design.... Jul 03 14:56:31 yeah, i checked... there is no eeprom on there Jul 03 18:40:16 I'm just about to order a beagleblone black in order to follow these labs http://free-electrons.com/docs/, has anyone got any recommendations before I press the order button? Jul 03 19:14:41 uhh, that's a very vague question Jul 03 19:15:18 recommendations about what? Jul 03 19:19:37 Hi, it's there any debian image without bone101 o cloud9? Jul 03 19:20:07 sure, the console images for example Jul 03 19:20:31 you can find both jessie and stretch console images for bbb here -> http://elinux.org/Beagleboard:BeagleBoneBlack_Debian Jul 03 19:21:04 (if you want a gui you can install that on top of course) Jul 03 19:24:40 zmatt: not sure really, I was thinkin about some necessary accessories that maybe weren't with the board Jul 03 19:25:01 teroshan_: ah, right Jul 03 19:25:39 I got myself a micro sd card, and I guess I don't need a power supply since there is a usb cable? Jul 03 19:26:14 it includes a mini-USB cable yes Jul 03 19:27:18 based on the sort of docs I see at that link you gave, you should probably get a serial debug cable if you don't already have one Jul 03 19:27:38 ( http://elinux.org/Beagleboard:BeagleBone_Black_Serial ) Jul 03 19:30:11 the low-profile friction-fit one (last section on that page) is kinda neat since it can be used even if you're using a cape, but I don't know if that's relevant to you Jul 03 19:31:02 I just double checked, and i got one that was on the shopping list for one of these docs Jul 03 19:31:20 (https://www.olimex.com/Products/Components/Cables/USB-Serial-Cable/USB-Serial-Cable-F/) Jul 03 19:31:36 check Jul 03 19:31:37 And I haven't considered any capes yet Jul 03 19:31:42 Maybe later down the line Jul 03 19:33:15 I've got plenty to play with right now I think, with the USB to serial cable and this thing https://www.olimex.com/Products/Modules/Sensors/MOD-WII/MOD-Wii-UEXT-NUNCHUCK/open-source-hardware Jul 03 19:35:06 My goal was to find something to play with to learn about low level programming, and with the Beaglebone black I think I found the right platform Jul 03 19:35:13 ah yeah, I've once interfaced a nunchuck onto some embedded system too Jul 03 19:35:53 I was considering the raspberry pi at first, but the fact that the datasheet about the soc is proprietary made me look for something else Jul 03 19:36:00 yeah Jul 03 19:36:22 And since my goal is to learn about hardware... Jul 03 19:36:32 the am335x TRM is pretty decent Jul 03 19:37:00 I wasn't really looking for performance or anything like that, just basic IO and documentation Jul 03 19:37:17 And for something cheap too Jul 03 19:37:45 and, I think also quite important, TI also publishes errata. (while the rpi SoC of course *has* errata, except you're left to discover them the hard way) Jul 03 19:38:19 Thanks zmatt, I only need console..so I'll try Jessie Jul 03 19:38:49 otrab: note that jessie is already getting quite old, I'd suggest stretch unless you have important reasons for choosing jessie instead Jul 03 19:39:14 Ok Jul 03 19:39:19 teroshan_: and of course the BBB has a lot more I/O than the rpi (and pretty neat peripherals too) Jul 03 19:41:15 teroshan_: and if you want to play with *really* low-level programming, I actually once made a simple baremetal example in assembly -> https://github.com/mvduin/bbb-asm-demo Jul 03 19:41:50 (directly bootable) Jul 03 19:43:35 That looks like something I could try Jul 03 19:45:27 I'll definitely check this out once I decide to fiddle with some assembly Jul 03 19:45:54 there's no good reason to write a whole program in asm though, I just did that because someone wanted an example in asm Jul 03 19:47:19 I have a baremetal C++ codebase which has only one short asm file ( https://liktaanjeneus.nl/start.S.html ) and some bits of inline asm here and there Jul 03 19:48:49 "emulate the simplicity of the Cortex-M series on Cortex-A" Jul 03 19:48:58 To what extent? Jul 03 19:49:46 single stack for everything, instead of this mess of different modes each having its own stack Jul 03 19:51:15 somewhere in ARMv6 I think the very useful srs and rfe instructions were added that makes this possible Jul 03 19:52:37 I'm asking because at one point I was considering doing something with a Cortex-M to familiarise myself with the ARM family Jul 03 19:53:15 I though it would be easier to ease myself into the ARM ecosystem with an M before playing with an A Jul 03 19:53:46 So if you say that I could simplify thing with an A that's good news Jul 03 19:54:16 for system-level programming, M is simpler than A, though they're also just different Jul 03 19:54:43 for application-level programming, they can be close to identical Jul 03 19:56:39 cortex-A supports two different instruction sets due to legacy reasons, although since ARMv7 the Thumb instruction set is equally powerful as the old ARM instruction set, so there's no good reason anymore to still use the old instruction set. (cortex-M only supports Thumb) Jul 03 19:57:13 Zmatt I'm trying stretch..how I can install wifi card? Or better use iot version? Jul 03 19:57:53 Hi at all Jul 03 19:58:05 good afternoon Jul 03 19:58:35 otrab: uhh, the "iot" version has bone101 and cloud9, and afaik doesn't differ w.r.t. kernel stuff like drivers Jul 03 19:58:46 *doesn't differ from console Jul 03 20:00:05 Ok, so how install stuff without internet? Jul 03 20:01:40 the wifi stick requires special drivers to be installed/ Jul 03 20:01:41 ? Jul 03 20:02:21 It's a BBGW..so came with wifi chip Jul 03 20:02:47 ah Jul 03 20:03:08 I thought the console image included drivers for that, but I'm not 100% sure Jul 03 20:03:33 Maybe but ifconfig don't show wlan0 Jul 03 20:03:41 hmm Jul 03 20:05:18 it is possible to share internet from a linux or windows host to the beaglebone, but I'm not really in the mood to try to explain that (there are probably guides for it on the internet. if you're lucky there might even be one that's right) Jul 03 20:05:40 Ok thanks :) Jul 03 20:06:05 another option would be to download the necessary packages manually and then copy them onto the beaglebone and install them Jul 03 20:06:39 but that's also kinda finnicky unless you've got experience with dpkg already Jul 03 20:07:16 I think for that I need make a partition on sd for files Jul 03 20:07:41 not really, you can transfer files via scp or sftp Jul 03 20:07:47 In boot log I see BB WL18xx Jul 03 20:08:04 hmm Jul 03 20:08:11 Your right..thanks Jul 03 20:08:28 Scp it's my options Jul 03 20:08:28 sounds like it does have the drivers then maybe? not sure why it's not working then Jul 03 20:08:34 help...first time user....BBW can't connect to wifi...ifconfig doesn't show any wireless connectables...connmanctl > enable wifi gives error Jul 03 20:08:48 sorry to bug anyone Jul 03 20:10:48 HELP Jul 03 20:11:05 you're not bugging anymore, but unfortunately I don't really have useful advice since I don't have a BBBW/BBGW myself Jul 03 20:11:55 actually, does it show an eth0 interface? Jul 03 20:12:06 yes Jul 03 20:12:21 even though it doesn't have an ethernet port Jul 03 20:12:30 that's a production issue, some BBBW devices have misprogrammed EEPROM Jul 03 20:14:19 it thinks it's a normal beaglebone black Jul 03 20:15:07 is there a way for me to fix it? Jul 03 20:16:06 it is possible to override the device tree used via settings in /boot/uEnv.txt yes Jul 03 20:16:34 still you may want to contact the manufacturer about this Jul 03 20:19:36 (the setting to override would be: dtb=am335x-boneblack-wireless.dtb ) Jul 03 20:21:38 teroshan_: btw it's also quite possible to do disgusting low level tricks from linux userspace ;) -> https://github.com/dutchanddutch/jbang Jul 03 20:22:08 it just requires a bit of consideration of what you safely can or can't do without upsetting the kernel Jul 03 20:22:56 Haha I was just reading the wiki page you linked and was wondering about how I didn't buy the hardware for JTAG Jul 03 20:23:54 I do have one BBB with jtag header soldered on, but it's not something you typically need Jul 03 20:24:24 Yeah that's what I thought Jul 03 20:24:40 But just to understand how it works, I'll buy one later down the line Jul 03 20:25:04 jtag is useful e.g. to be able to decently debug issues in u-boot Jul 03 20:25:06 Or hack it using your link I guess ;) Jul 03 20:25:26 But if you said userspace I guess it won't work at boot Jul 03 20:25:40 no Jul 03 20:25:49 it does show how to do jtag over gpio though :) Jul 03 20:26:47 God there is so much to do Jul 03 20:26:56 and learn Jul 03 20:27:07 correct Jul 03 20:28:25 the AM335x also has a really neat pair of "PRU" cores to play with :) Jul 03 20:28:49 simple risc cores designed for real-time processing Jul 03 20:28:58 thanks for the advice i'm going to try it out on an micro sd card Jul 03 20:31:14 zmatt: nice! If I hadn't already ordered the beaglebone, you would have definitely sold me one by now haha Jul 03 20:37:24 :) Jul 03 21:46:48 zmatt: it's sleepy time for me, thank you for your help and tips! Jul 04 00:43:52 proper way to load an overlay with enable_uboot_overlays turned on? anyone? Jul 04 00:44:28 * nerdboy tries to bait rcn with a sandwich **** ENDING LOGGING AT Tue Jul 04 03:00:01 2017