9 ms·
Coreboot and Skylake, Part 2: A Beautiful Game
- CodeTheInternet 9y agoLove the dig at Rothfuss in the end notes! Release the damned book, Patrick!
- robert_foss 9y agoWhat a nice post. Almost Dolphin project level. Very nice!
- hna99 9y agoJust to clarify (as there's a few projects called "Dolphin"), you were talking about the Wii emulator?
- thr0000waay 9y agoLike this persons attitude towards failure. He is a leader. Keep calm and disassemble.
- dmitrygr 9y agoThat was a very disappointing article. The issue was not solved, and the workaround has no reason to work other than it does, meaning that it could also stop working anytime. i am not sure how anyone with a clear conscience could ship a device which works by accident
- agumonkey 9y agoconsidering the complexity 1) I learned a lot 2) kudos for even reaching stability I wish the team finds a proper solution
- kbenson 9y ago> i am not sure how anyone with a clear conscience could ship a device which works by accident LOL, welcome to enterprise level "Ship now, the service contract gives us at least a few weeks to work out the kinks" hardware, where understanding how the whole system actually works is a luxury most the engineers don't even have. Kudos to them for giving it a good shot and continuing to look. A lot of times, unless you have money or clout to throw at some of the component originators, you're out of luck if you want real answers. The few engineers that have them are probably so busy that to devote them to figuring out what's really going on isn't worthwhile for the companies without some higher level intervention..
- agumonkey 9y agoReminds me of the playstation joystick bug.
- boondaburrah 9y agoIs this the controller bug where you have to drop the joystick polling rate while writing to the memory card or all goes to hell?
- agumonkey 9y agoYes this one; the one that even the hardware designer refused to acknowledge until reality check hit.
- colejohnson66 9y agoStory link: https://www.gamasutra.com/blogs/DaveBaggett/20131031/203788/My_Hardest_Bug_Ever.php https://www.gamasutra.com/blogs/DaveBaggett/20131031/203788/...
- lanius 9y agoI am continually amazed that computers manage to work at all.
- kbenson 9y agoEvery time I've had to deal with troubleshooting weird firmware or hardware (and good luck sometimes knowing which it is), I've been continually amazed at the giant mess that's being pushed as commercial or "enterprise" equipment. It appears every product enters a special phase of a few weeks to a few months right before shipping where time constraints force whoever is responsible for the code to wildly shovel crap fixes into place until the hardware "works". An alternate explanation is that most this code is written by electrical engineers that while smart, don't quite have enough experience managing larger code projects yet and are still prone to some of the newbie software developer mistakes, and probably without good mentoring on that front because those that have already weathered this storm and learned enough to sail through smoothly have either jumped ship for greener pastures or been promoted enough to be out of the trenches but not enough to have sway to fix the problem.
- bravo22 9y agoIt is definitely not lack of experience. Some of the best coders I've known have been hardcore low level EE guys. The issue is organizational priorities and available bandwidth. As soon as the product ships the core people are moved to the next project. Maintenance is done by a few guys whose job it is not to break anything. If there is something they can't fix, it goes back to the core guys who are already busy working on the new project and can only dedicate so much time to addressing this issue.
- userbinator 9y agoModern computers operate so close to the margins that analog effects are very much visible. As Andrew "bunnie" Huang once said, "You are not storing data, you are storing probabilistic approximation of your data."[1] That being said, analog effects have been noticeable at the software level for a while; here's another example: https://www.linusakesson.net/scene/safevsp/ https://www.linusakesson.net/scene/safevsp/ [1] http://bunniefoo.com/bunnie/sdcard-30c3-pub.pdf http://bunniefoo.com/bunnie/sdcard-30c3-pub.pdf
- ss248 9y agoCan someone explain this "Purism" thing? I understand that they are trying to build laptops with secure components. But they are using Intel processors. What about Intel ME? There is some workaround or they just let it be?
- mikeash 9y agoInteresting question. They have a page about it here: https://puri.sm/learn/intel-me/ https://puri.sm/learn/intel-me/ I think the summary is: it's hard but they're working on it, and they think they can disable it.
- userbinator 9y agoVery recently, another team claims to have managed to disable one version of ME completely: https://news.ycombinator.com/item?id=15116719 https://news.ycombinator.com/item?id=15116719 Perhaps they could work together on this.
- squarefoot 9y agoIt would be nice having a centralized list of the hardware that uses "liberated" CPUs, just in case one pops in front of us at discounted prices, flea markets etc.
- jdright 9y agoAbout the open phone: Knowing that KaKaRoTo is involved, I start top believe that this will not be vaporware. If I had enough money I would surely put some in this project. Every time somebody talked about open phone I just think "another failure", now I know it has some possibility to really happen. As you can see by his text, he is ready to solve this puzzle. Anyway, good job Youness, keep going strong.
- Ar-Curunir 9y agoLove the references to the KKC! Also great work on finding all this stuff out. Computers are so fragile!
- userbinator 9y agoI'm not surprised that going back to 3Gbps works; modern high frequency signaling is so close to the boundaries of what works that even things like the length of the SATA cable and how it's oriented, and what temperature components are at, can mean the difference between a working link and one that fails when the right sequence of bits gets sent. DTLE is a way of tuning the transmitter output so that when the signal gets received at the other end, it's as "clear" as possible. Even early SDRAM controllers had similar tunable settings for clock delays and such, because different DIMMs may vary slightly --- upon POST, the BIOS would set all the settings to nominal values, then nudge each one in one direction while reading/writing pathological data until errors occurred; then nudge them in the other direction until errors occurred, and finally settle on the average of the two extremes. I suspect a similar process needs to be done here, and if you reverse-engineered the BIOS further you would find the algorithm to do it. More interesting information on DTLE "discrete time linear equalization" here: http://cc.ee.ntu.edu.tw/~rbwu/rapid_content/course/highspeed/SI10_Equalization.pdf http://cc.ee.ntu.edu.tw/~rbwu/rapid_content/course/highspeed... Big kudos to the Purism folks for trying to figure these things out. And big fuckings to Intel for keeping this stuff NDA'd --- it only makes it harder for those trying to buy and use your products (I hope someone leaks it all eventually...)
- exikyut 9y ago> Even early SDRAM controllers had similar tunable settings for clock delays and such, Define "early". F00F-era Pentium, 486, 8086...? > upon POST, the BIOS would set all the settings to nominal values, then nudge each one in one direction while reading/writing pathological data until errors occurred; then nudge them in the other direction until errors occurred, and finally settle on the average of the two extremes. Is this the seemingly-pointless "memory test" all computers do? I always thought that just zeroed RAM. TIL it's doing similar things to modem line training. Wow. Now I remember - I have an old 400MHz Celeron-based system I used years ago with an AMI BIOS that would occasionally recommend a different "RAS-to-CAS delay" on startup. I'd go and change it and reboot, and then a little while (days/weeks) later it would recommend a slightly different setting. It would always alternate between the two delays. I was pretty sure the memory in the system was on the way out and be sad whenever I saw the message, haha.
- ezoe 9y agoI was skeptical about those Purism products which shipped with proprietary BIOS and they claims they are working on coreboot and disable Intel ME in the future. At least, they are trying to keep the promise of coreboot part(It's coreboot not libreboot or librecore so it must contains binary blob firmware... still better than nothing)
- floatboth 9y agoOf course they use binary blobs — no one reverse engineered and reimplemented Intel's FSP… I wonder if there are any attempts though?
- bradfa 9y agoYou don't need to use Intel's FSP if Intel will tell you how to do what the FSP does. FSP doesn't do anything magical, it just happens to setup a whole lot of early boot things for you like SDRAM configuration, microcode loading (and FSP knows what instructions its not allowed to use before microcode gets loaded), and starting the ME. For Intel Bay Trail parts (which Intel publicly says you have to use FSP for), I was once told by a BIOS/firmware vendor that they didn't use Intel's FSP because it was too slow and their customers wanted very fast boot times. No idea if they were pulling my leg or not, but Intel's FSP on Bay Trail wasn't exactly super speedy.
- wodenokoto 9y agoA bit of a sidetrack, but has anybody bought their laptops? How are they? Particularly the trackpad.
- elcritch 9y agoSecond this! Anyone tried the trackpad? I have hopes it's not completely as terrible as most PC's. Between that, and this (cool) work on open boot processes, it might make my next laptop after my macbook pro ages some more.
- atroll 9y agoWow, KaKaRoTo is still in the hardware scene, damn.
- saintfiends 9y agoI really like where this is going. I'm seriously considering their phone. Only doubt I have is not knowing what battery life would be like.