**** BEGIN LOGGING AT Wed Aug 17 02:59:58 2016 Aug 17 05:31:45 I'm trying to flash ubuntu onto a beaglebone black rev C but after only 2-3 mins of cyclone thingy, all 4 leds turn on and then immediately off and it doesn't flash it Aug 17 05:31:51 any ideas? Aug 17 05:34:03 but there isn't anything on the board anymore, i think ive soft bricked it Aug 17 05:48:43 which image are you using? what's the size of your SD card? Aug 17 05:51:18 also 2-3 minutes sounds reasonable Aug 17 05:51:33 what happens if you remove the SD card and then reset the board? Aug 17 05:58:54 this image here Aug 17 05:58:56 http://elinux.org/BeagleBoardUbuntu#eMMC:_BeagleBone_Black.2FGreen Aug 17 05:59:06 it doesn't actually boot up Aug 17 05:59:12 8gb sd card Aug 17 05:59:14 what makes you think so? Aug 17 05:59:15 but only class 4 Aug 17 06:00:18 what exactly happens after you power up the board? Aug 17 06:05:25 the next stock question is whether you have a serial debug cable .. ? Aug 17 06:06:14 indeed Aug 17 06:07:44 because i can't ssh to it Aug 17 06:07:53 i do not have a serial debug cable Aug 17 06:09:07 then buy one Aug 17 06:09:32 this is a console image, it doesn't expose all the amenities of a full blown image like the debian default image Aug 17 06:09:54 those things start at 1-2$ on ebay Aug 17 06:10:01 i never had this problem with the ubuntu 14 version Aug 17 06:10:11 the debian distro works just fine too Aug 17 06:10:15 yes Aug 17 06:10:23 but the ubuntu 14 image has been taken down Aug 17 06:10:25 i think Aug 17 06:10:32 apparently rcn decided to make the 16.x image a console only image Aug 17 06:10:49 there have been a lot of changes to the images lately Aug 17 06:10:58 iff you have one you like .. stick to it. Aug 17 06:11:16 well, is there an ubuntu 14 mirror somewhere? Aug 17 06:12:17 jkridner: .. is rcn keeping an archive of images, d'y'know? Aug 17 06:12:28 nope, just 16 Aug 17 06:12:33 at least not on the website Aug 17 06:14:37 ubuntu 14.x as console flasher: https://rcn-ee.com/rootfs/2014-06-05/flasher/ Aug 17 06:14:59 thanks dude Aug 17 06:15:56 no idea if that will do the usb network thing Aug 17 06:24:48 the 14 image worked Aug 17 06:25:07 thanks again Aug 17 06:33:25 hi Aug 17 06:33:39 is the beagle bone black hardware certified? Aug 17 06:35:49 I'm sure it's certified for *something* Aug 17 06:36:04 I can also certify it as a paper weight if that helps. Aug 17 06:36:34 * tbr puts a "Trölllabs certified" stamp on his BBB Aug 17 06:45:46 is the beagle bone black hardware certified? like does it hold a CE marking or FCC marking etc? Aug 17 06:52:13 ah, now that's a tiny bit more concrete Aug 17 06:53:02 as there are several manufacturers, you'll have to inquire with the distributor you'll be using. I'd expect it to have _basic_ CE and FCC though. Aug 17 06:54:12 e.g. the ones by E14 seem to have CE and FCC markings Aug 17 06:54:25 if you require more details, you will need to inquire with them directly Aug 17 06:59:07 tbr: i'm pretty sure that the BBB, if they are all done with the same layout, fails CE Aug 17 06:59:25 KotH: I don't doubt that :) Aug 17 06:59:26 tbr: too many people reported RF interference with near-by radio systems Aug 17 07:00:00 KotH: but that was not the question, it was if it's certified and that it is. If it conforms is on a different page. Aug 17 07:00:11 *g* Aug 17 07:01:11 and if one puts it in a product, they will need to do CE/FCC/whatevz for the whole thing anyway. At that point latest they /might/ discover, that it will need to be heavily shielded. Aug 17 07:32:55 hi can i power the beaglebone thru usb Aug 17 07:34:05 any one there Aug 17 07:34:45 yes you can, cpu frequency will be reduced Aug 17 07:36:23 i connected the usb mini but power led comes for a second and goes off Aug 17 07:37:09 and no other voltages were generating. Aug 17 07:37:17 what i have to do Aug 17 07:38:22 are you using a real usb port to supply power, or rather some psu that just happens to have a mini usb connector? Aug 17 07:38:28 the latter won't work, IIRC Aug 17 07:40:27 i have connected to my laptop Aug 17 07:41:00 after connecting power led comes for second and goes off Aug 17 07:43:51 can any one help me Aug 17 07:45:18 just the usual questions. has it ever worked before - on another port, another laptop? maybe it needs reflashing? etc.pp. Aug 17 07:46:06 yeah if i connect with dc 5v jack that is working fine Aug 17 07:46:29 if i powered thru usb not Aug 17 07:46:34 working Aug 17 07:47:02 then i'd say, check the laptops logs if it is properly enumerated, or if the port just declines the power request. Aug 17 07:48:02 do i need any application to be run in the laptop Aug 17 07:48:13 i connected to the new laptop Aug 17 07:49:48 this is not related to any "application". if the laptops HW/OS/usbstack just decline the power request, it is turned off. Aug 17 07:50:46 so, check the logs there. Aug 17 07:51:47 try connecting it to a different computer Aug 17 07:51:53 try a different usb cable Aug 17 07:52:05 that will help you understand what's going on Aug 17 07:52:28 yeah thank u i will check it and update u guys Aug 17 09:45:21 hii Aug 17 09:46:42 I am a beginner, I am trying to learn Embedded Linux development, please suggest a good development board Aug 17 09:48:32 the beaglebone in all its incantations is a decent device for beginners Aug 17 09:49:29 thanks.. any specific version Aug 17 09:51:00 for a beginner, any should do Aug 17 09:51:26 black, green, green-wireless - all decent choices Aug 17 09:52:08 if you know you want to do stuff with the seeed GROVE modules, then a green is good, it doesn't have hdmi though Aug 17 09:52:33 ok Aug 17 09:53:34 they are jtag compatible ? Aug 17 09:56:52 although possible, nobody's seriously doing jtag of an arm7 .. not with an OS in the way such as linux Aug 17 09:57:18 veremit: on an arm7, all the time - rather not on an armv7 ;-) Aug 17 09:57:33 LetoThe2nd: psh Aug 17 09:57:35 :P Aug 17 09:58:49 thank you for the info.. ;) Aug 17 10:18:59 we should start telling people that they will want to use gdb or at the most kgdb if they ask for nation grade hacking tools like JTAG Aug 17 10:19:18 tbr: indeed Aug 17 11:14:39 tbr: nobody needs nation grade when we can have industrial strength Aug 17 11:15:59 hey guys, i would like to ask some questions about the bbb gpios. someone here to help? Aug 17 11:22:30 http://www.catb.org/esr/faqs/smart-questions.html Aug 17 11:35:00 Hi Aug 17 11:35:21 I can't seem to connect to the external AP, through beaglebone wifi Aug 17 11:35:28 keep getting this "Welcome, your board is ready to connect. Please configure the board's Wi-Fi. OOPS, Maybe there is something wrong with the network.You should try again!" Aug 17 11:36:04 i might have messed up the wifi scripts, in which case where should i specifically look at? Help will be greatly appreciated Aug 17 11:41:53 external AP? Aug 17 11:42:00 are you using some special software? Aug 17 11:46:33 no Aug 17 11:46:55 i just start the beaglebonegreen Aug 17 11:47:25 then connect to the bealebone AP Aug 17 11:47:54 there i can select my router AP and set the wifi password Aug 17 11:47:55 so this is one of those new beaglebone green with wireless? Aug 17 11:48:05 yes exactly Aug 17 11:48:13 ok, I have no idea about those Aug 17 11:48:20 ahh Aug 17 11:48:27 it's ok thanks. Aug 17 11:48:38 you could always try to reflash it with the latest software Aug 17 11:48:47 anyways, it's not documented well and debugging seems a night mare Aug 17 11:48:55 specially the bluetooth and wifi Aug 17 11:49:40 http://beagleboard.org/latest-images Aug 17 11:50:14 yeah, those are the "new" thing on that hardware, and as the board hasn't been around that long, not much documentation Aug 17 11:52:07 yea Aug 17 11:52:17 they use wilink module from TI Aug 17 11:53:13 hopefully they add more support into beaglebone wireless, having bluetooth and wifi seems defacto these days Aug 17 12:13:08 they used a wilink? omg... Aug 17 13:15:20 Hi guys! I have already asked for some help enabling my mcp2515 but a week ago, but i'm still stuck trying to get it to work. I have just tested my hardware with regular spidev driver and a simple program. I am able to read and write to the chip, so I am assuming that it is connected properly. This is the device tree I'm using http://dpaste.com/0H34XNZ . Output after enabling it from uEnv.txt http://dpast Aug 17 13:15:26 e.com/2G6K0BH . And this is the output after manually echoing it http://dpaste.com/3B0KMD3 . Aug 17 13:16:36 I feel like hitting a wall! Really hope some of you can help me Aug 17 13:17:55 I messed up one of the links. here it is: http://dpaste.com/2G6K0BH Aug 17 13:19:30 I have a oscilloscope hooked up, and there is no data at all comming out so i don't understand why it it gives me the probe error Aug 17 13:20:15 lsmod tells me that can_dev is loaded and used by mcp251x Aug 17 13:21:10 cat /sys/bus/spi/devices/*/modalias returns spi:mcp2515 so at least something is happening Aug 17 13:21:30 from the ip command I see no can devices Aug 17 14:04:37 hi! anyone with deep knowledge of spi on beaglebone? i'm struggling with enc28j60 driver. i've come so far that i can continuously read one register (read one byte over spi), and i see on my oscilloscope that the value is 0000 0110 (binary), which is the expected value. but when printing the incoming byte from the driver using printk the value is 0x3C (0011 1100 binary). i'm totally lost... Aug 17 14:06:00 i've tried to force the input to be 3.3V and 0V and get correct readings of 0xFF and 0x00. i think that would mean the correct pin is selected and pinmuxed... Aug 17 16:00:16 ionte: I can't say I have *deep* knowledge, but it generally seems to work for me Aug 17 16:00:34 I don't know about the kernel interface, I generally use it from userspace using spidev Aug 17 16:01:05 double-check your pinmux e.g. using my show-pins script ( https://github.com/mvduin/bbb-pin-utils ) Aug 17 16:01:45 although from bogus pinmux I'd expect to see 0xff or 0x00, not weird data Aug 17 17:12:49 Hello is there anybody to help me concerning Beaglebone Green? Aug 17 17:17:12 unless you ask an actual question concerning it, the probability is close to zero :) Aug 17 17:18:22 (don't ask to ask, just ask your question and be prepared to leave your client connected for a while since people are in different timezones or just occasionally look at irc, so it can take a while to get a response) Aug 17 17:19:19 clear, concrete questions are far more likely to get a useful response then asking for "help" Aug 17 17:20:07 or in short Aug 17 17:20:09 http://www.catb.org/esr/faqs/smart-questions.html Aug 17 17:24:51 the semantics of POSIX stuff sometimes really makes me wonder if standardization is honestly worth *this* much stupidity Aug 17 17:33:25 I have an issue trying to save emmc image to SD card. I followed the instructions here: http://elinux.org/BeagleBone_Black_Extracting_eMMC_contents . It worked under Debian 7.11. But after upgrade to Debian 8.5 on the same BBG, this process does not work anymore. Aug 17 17:34:31 When I put the prepared SD card into BBG and turn it on, the system boot normally from eMMC, ignoring the SD card and nothing is happening. Aug 17 17:38:27 do you want to make a flasher or an executable SD card? Aug 17 17:38:42 or just a data backup? Aug 17 17:39:22 since for making a flasher, the wiki page mentions near the bottom there's actually a script included with beaglebone debian images: opt/scripts/tools/eMMC/beaglebone-black-make-microSD-flasher-from-eMMC.sh Aug 17 17:39:54 sorry, initial / got chopped off Aug 17 17:41:13 bbiab Aug 17 17:56:37 zmatt: Just curious, what is annoying you about POSIX? Aug 17 17:56:50 *annoying to you Aug 17 17:56:57 No Zmatt, I would like to make data backup to *.img or *.img.xz file. Aug 17 17:58:15 MicroSD flasher makes the SD card to flash, but I want to have the image to share it with another person. Aug 17 17:59:13 I remember having a handy image that could do that (you'd insert the SD card, run from it, and it back the eMMC image onto itself. But that was probably over two years ago :/ Aug 17 17:59:25 I also knew a lot less about this stuff back then so it was practically magic to me though Aug 17 18:09:58 So, is it possible to save the image (make data backup) to *.img file to SD card on BBG? Can anyone help me please? Aug 17 18:28:53 Matio: why not just copy the relevant files to the card? Aug 17 18:32:46 ew rcn's script does pretty gross things Aug 17 18:33:27 Sorry Zmatt, I was offline for a while. I have not seen the things you written to me. Aug 17 18:33:53 20:28 < zmatt> Matio: why not just copy the relevant files to the card? Aug 17 18:35:24 Zmatt: I need the complete image, which I can send to my coleague and he can restore it to his Beaglebone. Aug 17 18:36:04 * Tenacious-Techhu whistles nonchalantly Aug 17 18:36:13 so why not then make a flasher? then he can run the flasher and he'll have a clone of your beaglebone Aug 17 18:36:24 and best of all, there's a pre-made script to make a flasher Aug 17 18:36:30 already installed on your bbb/bbg Aug 17 18:36:43 I configured the Beaglebone's Debian in particular way and there are a lot of files changed. The sipliest way is to save the img file and share it. I thought it is possible on BBG... Aug 17 18:36:59 you can do that too Aug 17 18:37:11 although then I'm not sure how someone is supposed to easily flash it Aug 17 18:38:56 you can just e.g. cat /dev/mmcblk1 >/mnt/sdcard/backup.img if eMMC is mmcblk1 (always seems to be on very new kernels, less predictable on older ones) and the sdcard is mounted at /mnt/sdcard Aug 17 18:39:01 OK, I know the flasher. But could you tell me, how can I share the SD card content with someone? That SD card have no file showed in my Windows computer Aug 17 18:40:03 OK, I try cat /dev/mmcb..... Aug 17 18:40:10 you'd need to make a raw image of it... hmm, I'm not sure if the make-flasher script is smart enough to minimize the filesystem size Aug 17 18:40:29 do check first which of the devices is your eMMC Aug 17 18:41:12 OK, how can I find out it? Aug 17 18:42:48 I mean How can I check which of the devices is my eMMC? Aug 17 18:42:59 eh, for example findmnt / Aug 17 18:43:07 ok, stand by Aug 17 18:43:14 should show either mmcblk1p1 or 0p1 Aug 17 18:43:46 /dev/mmcblk1p1 ext4 rw,noatime,errors=remount-ro,data=ordered Aug 17 18:43:57 also /dev/disk/by-path/platform-481d8000.mmc should exist and will be a symlink to eMMC Aug 17 18:44:08 ok, mmcblk1 it is then (assuming you booted from eMMC at least) Aug 17 18:44:26 if you want to be able to Aug 17 18:44:37 if you want to be able to mount the sdcard in windows, make sure it's FAT formatted obviously Aug 17 18:44:56 Of course, it is formatted FAT32 Aug 17 18:46:03 So, if I know the mmcblk1 is the emmc, then I should try your cat /dev/mmcblk1.... Am I all right? Aug 17 18:47:33 yeah, or if you want progress indication then use pv instead of cat (you may need to install it first, apt-get install pv) Aug 17 18:47:49 Zmatt it seems the sd card is not mounted on /mnt/sdcard. Is there any options how I can find out, where it is mounted? Aug 17 18:48:22 lsblk Aug 17 18:48:49 it seems it is mmcblk0 Aug 17 18:48:57 or lsblk -f (gives slightly different output) Aug 17 18:49:13 yes, or more likely mmcblk0p1 Aug 17 18:49:25 MOUNTPOINT shows where, if anywhere, it is mounted Aug 17 18:50:35 but the mountpoint shows / Aug 17 18:50:43 with debian if i want to change the default.target should I be doing this in /lib/systemd/system ? Aug 17 18:50:44 for mmcblk1p1 Aug 17 18:50:50 debian jessie Aug 17 18:51:54 yes, for mmcblk1p1. But for mmcblk0p1 there is nothing. Aug 17 18:51:55 Rickta59: yeah, e.g. ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target Aug 17 18:52:00 Matio_: then it's not mounted Aug 17 18:52:26 i'm surprised there wasn't a systemctl thing to switch Aug 17 18:52:41 Strange. I have put it on the BBG. How can I mount it better? Aug 17 18:53:07 Matio_: not really strange, unless you're in a desktop environment media is normally not automaticaly mounted Aug 17 18:53:12 and you're not in a desktop environment Aug 17 18:53:18 thanks that worked fine zmatt Aug 17 18:53:32 Rickta59: maybe there's a systemctl thing, but I never bothered to check Aug 17 18:53:48 all the pointers on how to change it suggested just as you did Aug 17 18:54:05 Zmatt: Can I do something to mount it properly? Aug 17 18:54:07 Rickta59: it's not something one changes very frequently Aug 17 18:54:15 Matio_: is /mnt an empty directory? Aug 17 18:54:36 sure i guess i'm going to be constantly wondering what happened to all my unix knowledge .. Aug 17 18:54:37 (any empty directory is usable as mountpoint but /mnt or a subdirectory thereof is a common place) Aug 17 18:54:38 Zmatt: Yes, totally empty Aug 17 18:54:46 systemd blows out what i used to know Aug 17 18:54:53 Matio_: good, we'll use that: mount /dev/mmcblk0p1 /mnt Aug 17 18:55:27 Rickta59: hehe Aug 17 18:55:32 Rickta59: it has a lot of nice stuff though Aug 17 18:56:09 Zmatt: It is done. Now I will try the cat .... Aug 17 18:56:18 sure if it was documented Aug 17 18:56:30 * goes to look for a sysv to systemd cheat sheet Aug 17 18:56:33 Matio_: I can really recommend pv since it can be frustrating to have no idea when how far it is Aug 17 18:56:57 Rickta59: it has a pretty decent set of manpages Aug 17 18:57:31 Rickta59: https://www.freedesktop.org/software/systemd/man/ if you prefer HTML Aug 17 18:57:47 https://fedoraproject.org/wiki/SysVinit_to_Systemd_Cheatsheet Aug 17 18:57:54 though, those pages might just make you jealous if you're using debian jessie's ancient systemd Aug 17 18:57:56 Ok, instead of cat I use pv. But when I mounted the sd card, the /mnt remains empty. Is it allright? So I have to change the root only to /mnt. Am I right? Aug 17 18:57:56 not sure if that is valid for debian on BBB and jessie Aug 17 18:58:12 Matio_: are you expecting the card to be nonempty? Aug 17 18:58:33 Rickta59: that's one reason I always upgrade to debian stretch Aug 17 18:58:43 the ancient crap in jessie pisses me off Aug 17 18:58:45 stretch is ? Aug 17 18:58:48 9? Aug 17 18:59:24 yeah, testing Aug 17 18:59:35 Zmatt: the card is empty now Aug 17 18:59:37 Matio_: you can double-check again with lsblk -f Aug 17 18:59:45 ok Aug 17 18:59:50 it should show /mnt as mountpoint for mmcblk0p1 Aug 17 19:00:27 yes exactly Zmatt. It is showed there. Aug 17 19:00:35 are there BBB things that don't work in testing? Aug 17 19:00:37 So the /mnt is the SD card now. Aug 17 19:00:37 so you can pv /dev/mmcblk1 >/mnt/backup.img Aug 17 19:00:41 yes Aug 17 19:00:50 Great, I will do it. Aug 17 19:03:01 Zmatt: It seems it works! Thank you so much. You solved in 10 minutes what I tried to do 3 days... I am so thankful to you. Aug 17 19:03:06 since you're copying a mounted filesystem the backup will have some errors (same as if you'd turn the bbb off without properly shutting down), so when the copy is complete run: e2fsck -f /mnt/backup.img Aug 17 19:03:33 Zmatt: ok Aug 17 19:06:45 I also wrote some script to shrink a filesystem image to minimum size: http://pastebin.com/jcFjmJXZ Aug 17 19:06:55 I'm pretty sure it's more complicated than necessary but it works Aug 17 19:07:28 (note that it already runs e2fsck so you don't need to do that yourself) Aug 17 19:08:26 Zmatt: I will try it! Aug 17 19:08:32 thank you Aug 17 19:09:08 the recipient would have to expand it after flashing though, since the resulting image would have nearly no free disk space Aug 17 19:09:18 One more question: Is it better do have FAT32 od ext3 filesystem on the SD card when trying to save img on BBG? Aug 17 19:09:46 the img is just a single big file so that doesn't matter Aug 17 19:09:59 ok Aug 17 19:10:04 except you wanted to be able to mount it on windows, hence fat32 makes more sense then :) Aug 17 19:10:47 I understand. Aug 17 19:12:24 I'm wondering however how you're expecting someone will flash this to eMMC again Aug 17 19:13:38 Zmatt: You thing it will be problem? Aug 17 19:14:43 I have no idea, that depends on whether you're sending it to someone who's done that before or not Aug 17 19:14:58 it's easier to make the backup than to flash it Aug 17 19:15:14 probably, unless I'm overlooking an easy trick Aug 17 19:16:10 I hope there exist the way how to flash it back to emmc again. Does it? Aug 17 19:16:42 the problem is that while you can take a backup of eMMC while it's booted from eMMC, you can't reflash eMMC while it's booted from eMMC Aug 17 19:17:19 Zmatt: OK, and do you know the way how to flash it back to emmc? Aug 17 19:17:41 my nickname is zmatt btw, not Zmatt Aug 17 19:17:55 zmatt: I am sorry Aug 17 19:19:00 zmatt: I hope I can use the process descrbed here: http://elinux.org/BeagleBone_Black_Extracting_eMMC_contents Aug 17 19:19:23 But I do not know yet, if it works of course. Aug 17 19:19:31 well generally people use flasher sd cards to flash eMMC, which I why I suggested making one, but you said you wanted an .img file of the eMMC :P Aug 17 19:19:43 yeah I haven't read that page in detail really to see what it's suggesting/describing Aug 17 19:20:26 personally I do both backups and flashing via USB, which is a bit trickier the first time but a lot more convenient afterwards Aug 17 19:21:03 (also I wouldn't be tempted to try that on windows, I use linux exclusively) Aug 17 19:21:42 I would like to use flasher, but in this I can not see the sd card contents and I can not send it to anybody. Ido not want to use post to send the sd cards. I need to send the backup over the internet to somebody, who will flash it again to his BBG. Aug 17 19:23:24 zmatt: I would really appreciate, if there is some easy way how to get the image, send it and restore again. Do you thing there exist something like this? Aug 17 19:23:39 it looks like that page you linked to may be useful Aug 17 19:23:58 it basically gives you a tiny linux system to put on a FAT formatted sd card Aug 17 19:24:10 that executes autorun.sh Aug 17 19:24:39 so it can contain commands to flash the eMMC Aug 17 19:24:44 zmatt: yes, it worked, but on the debian 7.11. When I use it on BBG, where the Debian 8.5 is installed, it does not work anymore. Aug 17 19:25:19 yes I see wrong assumptions being made in that script Aug 17 19:25:26 it also does a lot of unnecessary stuff Aug 17 19:25:43 zmatt: can you fix it? Aug 17 19:26:00 there are actually NOTEs about all this on that wikipedia page Aug 17 19:26:14 *wiki page Aug 17 19:26:17 sorry Aug 17 19:26:40 zmatt: you mean Beagleboard wiki? Aug 17 19:26:45 the page you linked to Aug 17 19:27:56 zmatt: I am convinced, I fixed all the assumptions mentioned there. Aug 17 19:28:17 but it still does not work. Aug 17 19:30:04 did the backup and e2fsck work btw? or is it still busy? Aug 17 19:32:13 it ran but with some errors Aug 17 19:32:24 problematic looking errors? Aug 17 19:33:15 btw, what failed when you tried the instructions? since I don't see a good reason why the backup procedure would fail, it looks to me like it shouldn't care at all what debian version you're using Aug 17 19:33:29 It was talking about the filesystem. I can do it again and tell you. Aug 17 19:34:19 if e2fsck just printed stuff and didn't ask you anything then it's fine Aug 17 19:35:00 if there's real trouble it's going to be like "yada yada technobabble, fix? [y/n]" Aug 17 19:35:14 It is strange. Because when i use the prepared card on debian 7.11, it worked. Then I use the same card in another BBG with Debian 8.5 and it did not worked. It booted normally from emmc (the USR0 = doublepulse) and ignored the SD card inserted. Aug 17 19:36:02 zmatt: no, the text like this with the question to fix it. Aug 17 19:38:49 hmm, ok that's a bit iffier... maybe everything is still fine, but I guess it's possible if there are still processes running on the system that are modifying the filesystem while making the backup that such files could have been corrupted Aug 17 19:41:00 zmatt: do you thing we can fix it? Aug 17 19:43:17 it really would have been nice if the system you linked to just worked, and I'm not sure why it wouldn't. well, differences in u-boot I guess Aug 17 19:43:41 you did make the dtbs/am335x-bonegreen.dtb file on the card like the third IMPORTANT note said? Aug 17 19:44:28 it's mostly annoying that, if the first note is to be believed, you can't boot the card by holding the S2 button pressed Aug 17 19:45:05 hold on lemme shove this onto a card Aug 17 19:47:38 zmatt: Yes, I did the dtbs/am335x-bonegreen.dtb file on SD card. I did not try to press S2 button yet, because I have the cape there so I can not touch it. But it worked without S2 pressed before (on the debian 7.11). Aug 17 19:48:05 yeah but that probably used some ancient u-boot Aug 17 19:48:13 the modern bootscript is very different Aug 17 19:48:26 so I'm guessing that's why it's not getting loaded Aug 17 19:48:43 zmatt: so you thing I should try to hold S2 pressed during the boot now? Aug 17 19:48:51 it might actually be as simple as fixing the uEnv.txt though Aug 17 19:48:56 Ok, I will try it. Aug 17 19:49:45 zmatt: It is not simple for me to press S2 button, because of the cape. But I can try it. Aug 17 19:50:21 you can also wait a bit, I'll see if I can see what's going wrong with the boot process Aug 17 19:51:31 zmatt: of course, I will wait. Aug 17 20:06:43 lol found it Aug 17 20:06:51 maybe Aug 17 20:07:04 Really? Aug 17 20:07:22 or almost Aug 17 20:07:37 I am curious Aug 17 20:08:20 yay Aug 17 20:09:22 Does it work for you? Aug 17 20:09:47 yeah by adding two lines to the uEnv.txt Aug 17 20:09:49 mmcdev=0 Aug 17 20:09:50 mmcpart=1 Aug 17 20:10:13 also, contrary to what the wiki is saying it actually looked for the dtb on the card itself, not in a dtbs subdirectory Aug 17 20:10:23 although you can put it in both places to be safe of course Aug 17 20:10:44 and in your case a copy named am335x-bonegreen.dtb Aug 17 20:11:48 OK and that two lines I should place to the end of the uEnv.txt on the SD card? Aug 17 20:12:33 yeah somewhere in the uEnv.txt on the sd card Aug 17 20:13:54 zmatt: I will try it, hold on please Aug 17 20:15:33 zmatt: wow, it seems it works! The USR0 flashes properly. Aug 17 20:15:38 for the restore instructions btw, uncomment only the first line (and fix the image name as the instructions say), ignore the remaining 5 lines Aug 17 20:16:56 zmatt: you mean uncoment #!/bin/sh and the rest leave as it is? Aug 17 20:17:04 no Aug 17 20:17:23 that line isn't a comment, it's a https://en.wikipedia.org/wiki/Shebang_(Unix) Aug 17 20:17:24 [WIKIPEDIA] Shebang (Unix) | "In computing, a shebang is the character sequence consisting of the characters number sign and exclamation mark (#!) at the beginning of a script. It is also called sha-bang, hashbang, pound-bang, or hash-pling.Under Unix-like operating systems, when a script with a shebang is run as a program, the..." Aug 17 20:17:48 the autorun script has instructions for restoring Aug 17 20:17:54 it says "uncomment the following 6 lines" Aug 17 20:18:05 I'm saying uncomment only the first one and ignore the remaining five Aug 17 20:18:16 OK, I understand. Aug 17 20:18:37 Only the first line of 6. The rest 5 leave as it is. Aug 17 20:18:47 yeah or remove 'em, they're nonsense Aug 17 20:19:25 filesystem uuid is embedded in the filesystem, so if it was correct before backup it will be correct after restore Aug 17 20:19:55 OK, I will try it for sure. Aug 17 20:20:03 (moreover it's assuming the old two-partition layout, which is false nowadays) Aug 17 20:20:25 The BBG seems is working properly, saving the img. I will see on the end. Aug 17 20:20:33 good luck Aug 17 20:20:41 Thank you zmatt again. Aug 17 20:21:13 I would like to pay back to you, for your willingness and your time. Aug 17 20:21:56 no need, just spread the love or something ;D Aug 17 20:22:52 :-) Thank you zmatt. I hope I will have opportunity to pay back it to you or somebody who will need. Aug 17 20:27:09 I added a note to the wiki, hopefully will save the next person some time Aug 17 20:31:48 zmatt: Great. Thanks **** ENDING LOGGING AT Thu Aug 18 02:59:58 2016