Profile

Cover photo
Tom Rini
380 followers|183,734 views
AboutPostsPhotosYouTube

Stream

Tom Rini

Shared publicly  - 
 
Dear Lazyplus,

Are there any 'cu' gurus out there? I am part of 'dialout' and the following command works fine on most of my serial ports:
sg dialout -c "cu -d -l /dev/ttyUSBx -s 115200 --parity=none --nostop -E '' dir" But for some ports (oddly, FTDI) I get no input. Adding in -d and typing a space gives:
cu: fconn_write: Writing 1 " "
cu: fconn_write: Writing 1 " "
But the target never sees it. If I use screen /dev/ttyUSBx 115200 everything is fine. If I kill screen and try cu again it fails still.
1
John Lewis's profile photoOlof Johansson's profile photoTom Rini's profile photo
3 comments
 
+John Lewis mainly because that's what conmux suggests.  +Olof Johansson I tried doing less too.  It all used to work before I upgraded to ubuntu 14.04 from 12.04, too.
Add a comment...

Tom Rini

Shared publicly  - 
 
Dear Lazyweb,

Is anyone using mbsync, google apps and 2FA? I had been using offlineimap but the migration from ubuntu 12.04 to 14.04 caused flags to get out of sync all the time and stay out of sync, so I decided to move to mbsync (at +XorA's rec). But for the life of me, I cannot get the login to work. I'm using the generated app pasword not my real one but I get the login failed message from Google's IMAP server. I'm also having it sync another google account just fine. I've gone back to using mutt+IMAPS directly for now for that part of the account but it'd be nice to get back to normal syncing instead.
2
Alexandre Belloni's profile photoRob Herring's profile photoTom Rini's profile photo
9 comments
 
+Rob Herring I'll find out in another 2 years, if I haven't re-OS'd this box.
Add a comment...

Tom Rini

Shared publicly  - 
 
It really is no competition 'tho...
2
Add a comment...

Tom Rini

Shared publicly  - 
 
New shoes. #tealandorange
3
Vladimir Pantelic's profile photo
 
the don't match your shirt
Add a comment...

Tom Rini

Shared publicly  - 
 
Let the games begin! 
14
1
Add a comment...

Tom Rini

Shared publicly  - 
 
I already know the answer, but, uh, can the internet just not, today? I know it's tradition and all, but can we break with tradition? Lets get back to small pranks in real life instead...
14
Koen Kooi's profile photoAttila Kinali's profile photoStephen Warren's profile photo
3 comments
 
I just realized that I posted the RPi3 64-bit patches on 4/1. They're real though!
Add a comment...

Tom Rini

Shared publicly  - 
 
First, more freely licensed software is good. I don't know if the new license terms here have made it into the repository yet, but I'm hoping it's BSD-3 and since that's compatible with GPLv2, the kernel, coreboot, barebox, oh, U-Boot, and anyone else can benefit from what might have been unknown quirks to worry about. Good!

But, I find it funny that distros shipping tianocore is a thing here. U-Boot "has" to be shipped due to all of the boards that have custom environments (we're making that a lot better, and have for a while, but that's a tangent). No one "wants" to ship the firmware as that usually has the risk of bricking the device. That would apply to everyone, yes? I'm asking seriously, the trolls know where to troll me anyhow :)
1
Brooks Moses's profile photoPeter Robinson's profile photoTom Rini's profile photoStephen Warren's profile photo
4 comments
 
+Tom Rini my first thought when I saw the announcement was to resurrect the FAT fs replacement in U-Boot. But, other projects first!
Add a comment...
Have him in circles
380 people
Adrian Alonso's profile photo
Mike Thomas's profile photo
Kalpesh Gala's profile photo
Dennis Gilmore's profile photo
Felipe Balbi's profile photo
Sergei Shtylyov's profile photo
Drew Fustini (pdp7)'s profile photo
Andrew Hutton's profile photo
Rachel White's profile photo

Tom Rini

Shared publicly  - 
 
Dear Awesomeplus,

Did you go to ELC? Listen to Karen Sandler's awesome talk? Worse, not be able to because of other awesome talks at the same time? But either way, go "Gee, I should give them some money, so they can continue to be awesome". Good news! https://sfconservancy.org/sponsors/ has been (or is being, right now) updated with new names. Slip your mind? No problem, they don't mind!
The Software Freedom Conservancy provides a non-profit home and services to Free, Libre and Open Source Software (FLOSS) projects.
6
Philip Balister's profile photo
 
And they had a members reception at FOSDEM!
Add a comment...

Tom Rini

Shared publicly  - 
 
Damnit IPv6.

By which I mean, I want to do IPv6. I've been doing a tunnel from Hurricane Eletric so long I keep forgetting it's tunnelbroker.net. But I keep having to turn it off. Currently, I had been using dd-wrt to connect up the tunnel, and it works. Except a few times a day I guess the tunnel goes down? I notice since I cannot get to www.v6.facebook.com. My wife notices since her iPhone stops being able to connect anywhere until the tunnel comes back. So I've now given up for a while and turned off the tunnel. My dd-wrt is all of 5 months out of date so I should update it anyhow for security stuff, and maybe there's a problem on that end that's causing issues. But still, damnit. I don't believe there's a better place to get a tunnel from and my v4 connection is not going out at the time.
1
Oleksij Rempel's profile photoChristopher Friedt's profile photoNick Lopez's profile photoTom Rini's profile photo
12 comments
 
To follow up, moving to the current dd-wrt release seems to have cleared this up so I guess it was the atheros bug Oleksij mentioned.  I do hope sometime soon TWC switches on IPv6 here, maybe I'll make it a first of the month thing to test out a direct connection to the cable modem.
Add a comment...

Tom Rini

Shared publicly  - 
 
An interesting read indeed. And with my U-Boot hat on, one I agree with. Which is why on a related note, I agree with https://sfconservancy.org/copyleft-compliance/principles.html
 
I think this is a really well thought out piece by Eben
https://www.softwarefreedom.org/blog/2016/apr/11/lf/
The Software Freedom Law Center provides legal representation and other law related services to protect and advance Free and Open Source Software.
6 comments on original post
4
Add a comment...

Tom Rini

Shared publicly  - 
 
5
Add a comment...

Tom Rini

Shared publicly  - 
 
This is very cool, and applicable to a lot of other boards too where manual recovery might be a pain.
 
It works! USB relay control over the Pi's reset line, uSD to SD converter, and Toshiba FlashAir WiFi SD card together mean I can run a script on my laptop to build U-Boot, upload the binary to the SD card over WiFi, reset the Pi, and see it boot without any manual steps:-)

Gotchas:
- The uSD card converter is a little too thin I think, hence loose. Still it works fine.
- The WiFi range is not as good as other devices I have.
- libusb/ftdi are a mess of incompatible versions and/or out-of-date packages. I resorted to calling libusb directly from Python using ctypes to get the relay board to work. Perhaps I should have used the other one that's just a regular serial port to a microcontroller.

TODO: set up a server at home to run Jenkins and the U-Boot test system automatically; the current systems I have doing this are at work. I think I'll leave this until after I have the 64-bit Pi U-Boot port done.
23 comments on original post
5
Brooks Moses's profile photo
 
Nice!  The wifi-SD-card trick is particularly a nice touch.  I remember at CodeSourcery that +Ricardo Anguiano set up a lot of our boards on ethernet-controllable power strips, and then we taught our test scripts how to power-cycle the boards to reset them.
Add a comment...
People
Have him in circles
380 people
Adrian Alonso's profile photo
Mike Thomas's profile photo
Kalpesh Gala's profile photo
Dennis Gilmore's profile photo
Felipe Balbi's profile photo
Sergei Shtylyov's profile photo
Drew Fustini (pdp7)'s profile photo
Andrew Hutton's profile photo
Rachel White's profile photo
Collections Tom is following
Basic Information
Gender
Male
Links
YouTube
Other profiles