**** BEGIN LOGGING AT Thu Jan 04 03:00:01 2018 Jan 04 04:41:13 hello, I am trying to boot Beaglebone wireless from SDCARD with latest Debian image file but USR0 LED has been blinking for almost 2 hours. Jan 04 04:41:42 As per my knowledge, It takes around 45min to 1hour to boot. Jan 04 04:41:55 what should I do now? Jan 04 05:00:21 do you mean to boot, or to reflash the emmc? Jan 04 05:01:26 how did you write the image to the sd card? Jan 04 05:01:36 and what do you have connected to the board to observe the boot process? Jan 04 05:05:27 I am using Beaglebone for the first time Jan 04 05:05:57 I used Etcher software to flash boot image to SCCARD Jan 04 05:06:02 *SDCARD Jan 04 05:06:43 I followed all the instructions available on Getting Started Page of Beaglebone Wireless Jan 04 05:07:05 Here is the link : https://beagleboard.org/getting-started Jan 04 05:08:04 blinking usr0 sounds like you just booted the system, it's not a flasher Jan 04 05:09:42 booting doesn't take 45 minutes, I'm not sure how long it takes but I'd be annoyed if it were more than a minute :P Jan 04 05:09:56 I have my own beaglebones down to 10 seconds boot time Jan 04 05:10:58 if you want to reflash eMMC rather than booting from sd card, the getting-started guide has a link to instructions on the wiki. there's also abbreviated instructions on the latest-images page, below the download links Jan 04 05:15:13 As per the Instructions, All LEDs should be be steady once Booting or Reflashing is complete. Am i Correct? Jan 04 05:16:01 I think it turns itself off shortly after that, but yeah Jan 04 05:16:12 I mean, once reflashing is done Jan 04 05:16:28 if it's just booted, usr0 blinks in a hearbeat pattern Jan 04 05:16:49 while the other three leds are various activity indicators Jan 04 05:17:48 when reflashing, the leds will initially look like it's booting a system, but then it'll switch to a back-and-forth sweeping pattern across the four leds (sometimes referred to as a "cylon" or "knight rider" pattern) Jan 04 05:18:24 that's how you recognize when the flasher is running Jan 04 05:21:13 sp: if you're using beaglebone for the first time, why did you feel the need to make an sdcard rather than simply booting the stock image that was already on the emmc? Jan 04 05:24:58 to be honest, reflashing the beaglebone on first use is not a bad idea... you never know how old the image on the bbb is :P Jan 04 05:25:53 ehh, I'd at least boot it as a smoketest, make sure the power supply is stable and stuff, before going into something like a reflash Jan 04 05:26:05 I've had enough shitty USB PSUs Jan 04 05:28:49 fair enough Jan 04 05:31:34 USR0 Led is still blinking. Is there anything you guys would suggest to do? Jan 04 05:36:44 ehm, like I said that just sounds like it has successfully booted Jan 04 05:37:01 ok Jan 04 05:44:57 what console device do you have plugged in? how are you planning to interact with the board? Jan 04 06:17:46 JOJIN Jan 04 06:18:41 need help to use crypto hardware accelerator of beaglebone X15 Jan 04 08:55:10 where can I download bootloader and boot image for boot from sd card Jan 04 10:35:25 Guest47107: http://bbb.io/latest Jan 04 11:06:19 so, any questions yet whether bbb is affected by the meltdown bug ? :-) Jan 04 11:34:26 thinkfat: https://developer.arm.com/support/security-update Jan 04 11:55:44 KotH: yes, I know Jan 04 11:56:08 which of the variants is "the meltdown bug" ? Jan 04 11:56:18 zmatt: 3 Jan 04 11:56:31 ah, then no Jan 04 11:56:52 zmatt: but the other issues are also non-nice Jan 04 11:58:13 I'm not sure the A8 is actually affected... I'm guessing neither is Arm yet, since it's marked "(Under review)" Jan 04 11:59:37 meltdown affects likely affects all cores that do speculative execution using the Tomasulo algorithm Jan 04 12:01:51 if the load-store unit returns real data even if the MMU check fails Jan 04 12:02:08 yup. Jan 04 12:03:02 e.g. AMD claims they're not affected Jan 04 12:04:29 Intel and google say AMD and ARM are affected Jan 04 12:05:26 to variant 3 ? Jan 04 12:05:38 I don't recall reading that on google's page Jan 04 12:06:12 https://security.googleblog.com/2018/01/todays-cpu-vulnerability-what-you-need.html Jan 04 12:06:20 "AMD x86 processors are not affected by Meltdown and don't need KPTI to mitigate them." -- wikipedia Jan 04 12:07:41 Humpelstilzchen: that page is only a broad overview. there are multiple variants of the side-channel cache timing attacks that ARM and AMD may be susceptible to, but meltdown is not specifically mentioned Jan 04 12:07:52 Humpelstilzchen: that's talking about speculative execution side channel attacks in general, i.e. not just Meltdown but also Spectre Jan 04 12:08:07 k Jan 04 12:18:01 AMD is still affected if eBPF-JIT is enabled though Jan 04 12:18:12 zmatt: so if the mmu check is done async, it further depends on how deep a core speculates. the meltdown attack basically uses the load result to compute a memory location that it then loads from, and if that second load is speculatively executed before the mmu check for the first load is evaluated, the load-store unit populates the caches. Jan 04 12:18:13 (but that's not mitigated using KPTI) Jan 04 12:20:05 hmm, how are ttbr0 vs ttbr1 selected? address of access? Jan 04 12:20:17 yes Jan 04 12:20:21 too bad :9 Jan 04 12:20:41 iirc you configure a limit to select the split Jan 04 12:31:41 * KotH munches popcorn Jan 04 13:13:38 Anyone aroud who's familiar with the x15? Jan 04 13:15:43 instead of doing a vague poll, you might also just ask whatever question you actually have. the probability of getting an answer to that is considerably higher (especially if you have some patience) Jan 04 13:16:08 ok. no problem. sorry. Jan 04 13:16:36 I bought an X15, but are unsure how to connect to the pins. I know there's a mating connector for the expansion ports, but I cannot find how to use it. Jan 04 13:17:01 My beagle black can be connected to with simple jumper wires, will the x15 with the paring connectors also allow me to do that? Jan 04 13:17:30 seems unlikely Jan 04 13:17:54 any way to break out the pins? (i'm interested in i2c, spi and pwm if available) Jan 04 13:18:01 maybe someone made or will make some sort of prototyping board to click onto the expansion headers Jan 04 13:18:05 also really cant find any clear source on the stuff available.. Jan 04 13:22:31 Shoot, so it seems the x15 is pretty useless to me then. the pinouts are only available under NDA, connectors not really usable.. Jan 04 13:22:32 bummer.. Jan 04 13:22:42 pinouts under NDA ? what? Jan 04 13:22:44 no they're not Jan 04 13:22:47 schematics are public Jan 04 13:23:01 See https://groups.google.com/forum/embed/?&parenturl=https%3A%2F%2Fbeagleboard.org%2Fx15&showsearch=true&showpopout=true&showtabs=true&place=forum/beagleboard-x15#!searchin/beagleboard-x15/expansion/beagleboard-x15/E7e0HYVAhQc/_JI6ckE-AgAJ Jan 04 13:23:29 that was before the x15 was released Jan 04 13:24:17 hardware documentation can now be found at https://github.com/beagleboard/beagleboard-x15 Jan 04 13:25:48 are you familiar wiith the x15 and connectors? Jan 04 13:26:18 the mating connector, see https://www.digikey.de/product-detail/en/hirose-electric-co-ltd/FX18-60S-0.8SV15/H12010-ND/3305766 Jan 04 13:26:27 I am aware of it Jan 04 13:26:33 the upper side of that connector, is that the part that'll stick out of the board when attaching? Jan 04 13:28:26 the upper side is what connects to the x15, the bottom side would be soldered to the pcb of your expansion board Jan 04 13:29:22 (or you could try soldering wires to it, but I'm not sure how practical that is) Jan 04 13:29:23 bummer, so i really have to wait for expansion boards that allow prototyping or whatever Jan 04 13:30:12 mterwoord: use kicad to make an expansion board yourself? Jan 04 13:30:51 would still involve a lot of soldering. i'm a software dev.. :) Jan 04 13:31:45 mterwoord: well, .8mm pitch is thin, but no unmanageable :) Jan 04 13:32:17 hoped for a simple solution that would give me the indivudal pins, like with the black etc.. Jan 04 13:32:51 as for the pin list, I actually have one at https://docs.google.com/spreadsheets/d/1mSqEpV_BAUHfeNApytxHcGhgTZwypy564GyOr66Nphs/edit#gid=0 Jan 04 13:33:48 @zmatt: awesome thanks. Jan 04 13:33:59 link is saved. now only to find a way to connect.. Jan 04 13:34:03 mterwoord: see? too easy :-) Jan 04 13:34:49 @thinkfat i mean for connecting wires to.. Jan 04 13:38:25 so if you guys have any suggestions for that.. :) Jan 04 13:42:22 make a small pcb Jan 04 13:42:30 0.8mm pitch is easy to solder by hand Jan 04 13:43:04 mterwoord: micro probe clips Jan 04 13:43:08 never done any soldering.. Jan 04 13:43:40 mterwoord: https://www.digikey.com/product-detail/en/e-z-hook/XKMGRY/461-1011-ND/528232 Jan 04 13:43:47 that, plus the mating connector Jan 04 13:43:59 and calm hands Jan 04 13:44:11 and paper or electrical tape to insulate the pins from each other Jan 04 13:47:50 thinkfat: oh.. thanks! Jan 04 13:47:54 hmm. bummer.. Jan 04 13:48:13 thinkfat: i was always looking for those but always thought they were super expensive keysight/tectronix stuff Jan 04 13:48:20 hi Jan 04 13:48:47 am a novice to beagle board. could you help me to know much more about it? Jan 04 13:48:56 am looking for home automization Jan 04 13:49:30 mterwoord: hm, any cheap usb logic analyzer comes with those, or a variant of those. Jan 04 13:49:40 mterwoord: just look for "micro probe clips" on digikey Jan 04 13:50:18 was hoping for a simple way to make 10-15 "production" devices easily.. Jan 04 13:50:35 not going to be able to do that with those clips. works for prototyping, but not for real usage, imo. Jan 04 13:50:41 shri: for questions of atomization, please contact your local nuclear warhead dealer Jan 04 13:50:45 thanks for all info though, greatly appreciated! Jan 04 13:51:06 thinkfat: lol Jan 04 13:51:25 mterwoord: for something reliable, you'll have to make a pcb I'm afraid Jan 04 13:51:58 mterwoord: there are a ton of chinese pcb manufacturers who also do assembly Jan 04 13:52:14 osh park, dirtypcbs, jcl ... Jan 04 13:52:15 mterwoord: you should be able to get connector boards for 5-10usd/pcs Jan 04 13:52:28 oshpark is one of the most expensive ones out there Jan 04 13:52:34 yup Jan 04 13:52:40 but they directly import kicad files :) Jan 04 13:52:54 it takes 30s to get gerber files ;) Jan 04 13:53:12 KotH: yeah, yeah, I know, but mterwoord likely doesn't know what a gerber file is ;) Jan 04 13:53:27 ok, afk for a bit Jan 04 13:53:39 @thinkfat @KotH don't know what it is, but i'm the best googler of the company ;) Jan 04 13:54:15 know of any companies chinese guys you can recommend? Jan 04 13:54:19 mterwoord: kicad is a pcb design software package Jan 04 13:54:38 mterwoord: not the best one there is, but given it's being developed by volunteers, it's darn good Jan 04 13:54:58 i meant chinese people who could help me? Jan 04 13:55:04 ah Jan 04 13:55:07 (or other parts of the world, for that matter) Jan 04 13:56:03 dirtpcb, pcbway, pcbcart,... there are many Jan 04 13:56:08 how to add usb port to pocketbeagle Jan 04 13:56:27 thinkfat ?? Jan 04 13:56:28 https://pcbshopper.com/ is a good site to find them Jan 04 13:56:36 shri: I made a joke Jan 04 13:57:06 ok think fat. pls help me Jan 04 13:57:20 mterwoord: are you sitting in germany? Jan 04 13:57:52 yes, germany Jan 04 13:57:53 shri: sorry, I have no idea about home automization using the beagle board Jan 04 13:58:22 mterwoord: then google for "elektronik prototypenfertigung" Jan 04 13:58:34 mterwoord: lots of small shops that do pcbs Jan 04 13:58:45 mterwoord: some of them also do the design, if you ask nicely Jan 04 13:58:48 shri: but if you ask specific question on this channel, you'll likely get answers eventually Jan 04 14:01:17 mterwoord: if you were in .ch, i'd recommend http://www.elfab.ch/ Jan 04 14:01:32 mterwoord: best pcb assmebly hose i've ever worked with Jan 04 14:01:39 mterwoord: at least for prototypes Jan 04 14:02:15 ok thank you thinkfat Jan 04 14:03:44 mterwoord: http://microcontrollershop.com/product_info.php?products_id=3239 Jan 04 14:03:52 mterwoord: if you can get someone to solder the mating connector Jan 04 14:53:43 man it's snowing outside Jan 04 15:44:52 anyone know of a write for creaing a bootable sd card for x15? Jan 04 16:27:15 Crofton|work: I don't know what you mean by "a write", but Etcher is the best tool lately that seems to have finally made bootdisks as simple as they always should've been. Jan 04 16:27:20 Etcher.io Jan 04 16:44:06 myself, personally, I use bmaptool, I need to know where things like MLO u-boot go Jan 04 16:44:31 sector 256 for MLO, 768 for u-boot.img Jan 04 16:44:51 oh wait, x15 Jan 04 16:45:02 might be the same, might be different, I'd need to check Jan 04 16:45:54 alternatively, just grab the whole space between the partition table and first partition from some existing SD card or eMMC Jan 04 16:46:19 yeah< I am tryign to find a sane reference Jan 04 16:52:11 the possible offsets for MLO can be found in the processor TRM, the offset for u-boot.img is some #define in some config header file in u-boot Jan 04 16:52:29 I'd probably just hexdump an existing image to check the offsets :P Jan 04 17:08:05 clearly we need some cargo cult blog written Jan 04 17:14:41 Crofton|work: so, here's what the layout looks like on a beaglebone: https://pastebin.com/raw/hx4EcPHt Jan 04 17:15:35 (the MLO as produced by u-boot already has the configuration header prepended) Jan 04 17:19:09 got brand new bbb industrial, running bbio examples gets a segmentation fault,i updated bbio to the latest,same result Jan 04 17:20:08 i encountered this before,thought it mayb related to kernel being >4.x but shouldnt bbiowork out of the box on a fresh bbb? Jan 04 19:54:28 Hi All, after booting from microSD (by pressing S2) is it possible to force to boot from eMMC and not uSD (from terminal only without physically turn off/on) Jan 04 20:00:43 do you care about which medium it loads uboot from, or which medium it loads the kernel and rest of the system from? Jan 04 20:00:45 not in any practical way. especially since booting without S2 button while a bootable card is inserted will still boot from card Jan 04 20:00:54 ^ Jan 04 20:01:14 and hackin' up uboot is nobody's idea of fun Jan 04 20:01:21 * zmatt had fun Jan 04 20:01:26 okay but you're weird Jan 04 20:01:29 lol Jan 04 20:02:56 and what if i erase the microSD content , will it boot from emmc? Jan 04 20:03:28 only if you powered on without the S2 button Jan 04 20:03:55 without the button pushed, it loads uboot from emmc, and uboot then checks to see if the microsd looks bootable, and if so, it loads the kernel from there, if not it loads the kernel from emmc Jan 04 20:03:57 though, if you wipe linux from sd card yet keep the bootloader, it should work Jan 04 20:04:08 did I get that right? Jan 04 20:04:54 yes. and with S2 pressed, it loads uboot from sd card, but other than that everything proceeds the same Jan 04 20:15:02 okay, how do i wipe out everything in the sd card (expect for the bootloader right?) Jan 04 20:15:13 with dd Jan 04 20:15:47 you can for example use blkdiscard on the rootfs partition (/dev/mmcblk0p1) rather than the whole disk Jan 04 20:16:11 though, there's a problem if you think that's a good idea when currently booted from sd card :P Jan 04 20:16:41 it may suffice to just delete certain specific files that u-boot checks for Jan 04 20:17:54 which files... Jan 04 20:18:10 the kernel sounds like a good bet :P Jan 04 20:19:50 i see, can't i just halt on u-boot and tell the u-boot to pick up the emmc instead of sdcard? Jan 04 20:20:08 sure Jan 04 20:20:21 okay that's an easy one.. how do i tell it to u-boot? Jan 04 20:20:23 didn't realize that was an option in your scenario Jan 04 20:20:36 uhh, I don't really remember the right command Jan 04 20:20:56 but, I do know it's definitely possible Jan 04 20:27:22 cyberguy: setting bootdelay to -1 should do the trick Jan 04 20:27:42 everclear: so just write bootdelay -1?? and then boot? Jan 04 20:27:55 uhh what? no Jan 04 20:28:55 setenv bootdelay -1 Jan 04 20:29:13 what does bootdelay have to do with anything? Jan 04 20:29:27 why did it get introduced into this topic? Jan 04 20:29:29 didn't work Jan 04 20:29:53 this means bootdelay forever so you can always say via serial how to boot Jan 04 20:30:21 anyone here that knows how to tell u-boot to start from emmc please help... :) Jan 04 20:30:32 printenv boot_targets Jan 04 20:30:36 you don't need to fiddle with bootdelay for that (never mind that there's no convenient way to set it in a place where it would be effective) Jan 04 20:31:16 setenv boot_targets mmc0 Jan 04 20:31:22 or mmc1 ... depends on which yours is Jan 04 20:31:30 mmc1 is eMMC Jan 04 20:31:45 so setenv boot_targets mmc1 Jan 04 20:32:02 never heard of boot_targets, but I haven't inspected u-boot's script any time even remotely recent Jan 04 20:33:07 oh Jan 04 20:33:21 that's mainline u-boot ... Jan 04 20:33:31 not sure what RCN's patched u-boot is like Jan 04 20:36:26 vagrantc : it's allllllllllllllllive thanks!!! i had to tweak it a bit (there's also mmc1_legacy or something...) but it worked Jan 04 20:53:05 cyberguy: that won't persist across reboots, fwiw Jan 04 20:53:57 easiest way is to not put anything in the sd slot it would boot off of :) Jan 04 21:14:34 I'm still disappointed Linus didn't pick the name FUCKWIT (Forcefully Unmap Complete Kernel With Interrupt Trampolines) over KPTI (Kernel Page Table Isolation) Jan 04 21:14:53 zmatt, +1 **** ENDING LOGGING AT Fri Jan 05 03:00:01 2018