Earlier quoted context omitted.
Calling this embedded system feels like insult to the spirit of 'running light without overbyte', because it's so comically capable. My first PC had 66/33 MHz 80486 processor and 8 MB ram, 320 MB HDD. You could run AutoCAD, play Doom, Civilization, have dual boot for Linux, Windows 3.11 etc. It could compile Linux from source.
Oh geez I can't imagine how long it would take to compile Linux on that slow of a processor.
My Business Card Runs Linux
201–210 of 415 posts
Re: My Business Card Runs Linux
#202Earlier quoted context omitted.
> but a sad fact of life and just the way supply and demand works It's only hubris that makes us discount the importance and difficulty of, say, web client design and implementation. How many developers on HN poo-poo "UX" yet don't even have a single fleshed out README on any of their products because it's "not important"? Turns out raw low-level tech skills aren't the be-all of software and business.
I am sorry, you are very wrong. A complete "Embedded System" (HW+SW) is orders of magnitude more complex than "Web Client Design and Implementation" (unless you approach Google/Facebook scale). The malleability of SW means you can quickly try out various techniques without too much "learning overhead". With all the existing Frameworks/Libraries/etc it becomes more of a "plug & play" proposition. Not so with Embedded…
An "embedded system" can be as simple as "when this button is pressed for 3-5 seconds, turn on this light for 30 seconds." That hardly requires much of a skillset.
And as far as having all the things you mention in "one head," every member of my team can handle that easily and we're not particularly noteworthy!
Re: My Business Card Runs Linux
#203Earlier quoted context omitted.
I once read somewhere that the time to compile Linux from source on high-end desktop hardware has remained remarkably stable over the years.
Yes, that's true. It has been O(1 hour) for pretty much the entire history of Linux. And if you think about it, this makes sense. If it were significantly less than that, the development cycle would speed up so it would be easier to add capabilities, which would slow down the build. If it were significantly longer, the addition of new features would slow down until the hardware started to catch up. So the compile tim…
Not to mention if you build the kernel regularly, you benefit from incremental compilation. If you change a few non-header files the rebuild time can be as little as 2-3 minutes. Oh, and "make localdefconfig" will reduce your from-scratch compile times to the 5-15 minute mark. I highly doubt most kernel devs are building a distro configuration when testing (especially since they'd be testing either in a VM or on their local machine).
Re: My Business Card Runs Linux
#204What's the time spent on bootup? Hardware POST? I remember seeing some Linux can boot in under a second. It would be cool to see the business card come to life instantly.
Re: My Business Card Runs Linux
#205Waw, I wasn't expecting the components to be that cheap. That said I haven't bought such components in a very long while.
It is an unusually cheap system, and OP clearly did some thorough research on finding a really well integrated SoC that is available for super low piece part prices. I'd guess Allwinner targets that part at some ultra high volume application and some AliExpress sellers managed to capture some trays of excess parts to sell individually. I wouldn't be surprised if the unit price there is lower than what Allwinner quote…
And this one of the dangers of basing your supply chain on AliExpress. I've had to caution clients that just because they found some normally expensive component dirt cheap on Amazon or AliExpress, doesn't mean that they'll still be available in 6 months when you need 1000 more.
Base your BOM on a manufacturer-approved supplier. If you can find the same parts for less elsewhere (assuming they're not counterfeit), go for it.
Re: My Business Card Runs Linux
#206Earlier quoted context omitted.
Yes, that's true. It has been O(1 hour) for pretty much the entire history of Linux. And if you think about it, this makes sense. If it were significantly less than that, the development cycle would speed up so it would be easier to add capabilities, which would slow down the build. If it were significantly longer, the addition of new features would slow down until the hardware started to catch up. So the compile tim…
I'm not sure that is the primary reason -- many other projects have had their compile times explode over many years, even though the same logic should apply. Not to mention if you build the kernel regularly, you benefit from incremental compilation. If you change a few non-header files the rebuild time can be as little as 2-3 minutes. Oh, and "make localdefconfig" will reduce your from-scratch compile times to the 5-…
Like, for example?
Re: My Business Card Runs Linux
#207Earlier quoted context omitted.
Oh geez I can't imagine how long it would take to compile Linux on that slow of a processor.
I once read somewhere that the time to compile Linux from source on high-end desktop hardware has remained remarkably stable over the years.
Take for example Delphi which can compile millions of lines of code in under a minute or something ridiculous. Then we have D, Go, Rust, and such, they compile rather large codebases that would take C++ a good 30 minutes on high end hardware of today in shorter spans of time (not as familiar with how fast Rust compiles, but I know Go and D do pretty nicely, especially if you enable concurrency for D), which probably takes those same 30 minutes on high end hardware from about a decade ago.
Sadly from what I have heard C / C++ has to run through source files numerous times before it finally compiles the darn thing into anything meaningful. Facebook made a preprocessor in D to speed things up for them, it technically didn't have to be coded in D, but Walter did write the preprocessor for them, so he gets to pick whatever language.
Re: My Business Card Runs Linux
#208Earlier quoted context omitted.
Absurd tragedy? Maybe for you. For me, it's been a good life since the 2016 MacBook Pro. I got a decent dock, and connect everything with a single cable.
I would assume you paid a good $150 for one, given that the others either don’t supply enough power or can’t do 4K@60.
When I first got my MacBook Pro, I just got USB-C cables for my external monitor and my (USB-A) hub. That was very cheap, but I love the convenience of Thunderbolt and shelled out the cash.
Re: My Business Card Runs Linux
#209I love this! And while it's well suited to the person (embedded engineer), it could be realigned to someone else by changing the tagline. For example, "This card runs vim!" for developers, or "This card runs Linux containers!" for devops, etc.
Re: My Business Card Runs Linux
#210The OS these cards run is often referred to as the "Java Card Platform." The OS has many of the same features you would expect from a modern operating system like support for multiple programs, I/O, and very strong crypto primitives. It even has features you wouldn't expect (because some applets give you access to APIs that aren't currently open source available outside that environment.)