Live data from Hacker News

My Business Card Runs Linux

thirtythreeforty.net

271–280 of 415 posts

Re: My Business Card Runs Linux

#271
post #128

Earlier quoted context omitted.

I can't tell from the datasheets and the description. Does this ucontroller have an MMU?

It’s an A9, same as on Xilinx Zynq 7000 series, 32-bit ARM core with full MMU.

No the zynq chips have a cortex-A9, which is armv7, this is armv5. It still does have a MMU.

Re: My Business Card Runs Linux

#272
post #172

To me it's truly mind-bogging that a tiny $1.42 chip contains almost everything needed to boot Linux: a 500mhz cpu, 32MB SDRAM, 2D GPU, SD/MMC support, and USB controller, all packaged inside a 10mm x 10mm chip? It makes me really want to get into embedded development.

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.

[deleted]

Re: My Business Card Runs Linux

#273

Earlier quoted context omitted.

I’d highly recommend Espruino — a microcontroller that runs JavaScript http://www.espruino.com/

For anyone interested in embedded JavaScript but wants broader hardware support and/or modern JavaScript support[1], the XS JavaScript engine is microcontroller-independent[2], and Moddable provides supported ports for ESP8266, ESP32 (the successor to ESP8266), and the Gecko series of processors. (They also sell some hardware kits for folks who want that: https://www.moddable.com/product.php ) [1] Espruino supports E…

Thank you! Moddable looks like a dream come true for my embedded systems needs. Did not know they existed.

Re: My Business Card Runs Linux

#274

Earlier quoted context omitted.

Author here. It's a really good conversation starter. I've given a couple of them out and the reaction is always that I bought it somewhere, and I have to explain that no, I really did the entire design from start to finish!

Really loved the look of your website... Is it designed by you?

Yes and no. It's based on the Hugo hyde-hyde theme and modified to suit my tastes. I'm not entirely happy with it yet. I would like to handle rich media better but I am definitely stunted by my weak web developer skills.

Re: My Business Card Runs Linux

#275

Earlier 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.

I'm convinced that compiler speed is all a matter of how it was initially designed. 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…

It's the layout of the code that allows Pascal (/Delphi) to compile everything in a single pass. By starting with the main file you easily build the tree of deps and public interfaces/functions vs the private & implementation details.

C and C++ even though they have header files, make no restriction on what goes in a header file, so it takes a bit to figure out the dep graph.

Re: My Business Card Runs Linux

#276

This is a very cool project. I know very little about embedded engineering. I have a question: Why would MicroPython be needed? I thought it was useful only for simple chips, and this chip runs a full Linux, so couldn't you run CPython on it?

OP here. CPython is very heavyweight on small systems like these, with multi-second imports, multi-megabyte stdlib, and limited library availability (cross building native extensions is tricky).

MicroPython dodges all this.

Re: My Business Card Runs Linux

#277

Given the site name, I wonder if he is a fan of Kurt Schroeder's books.

OP here. Bingo! Karl Schroeder is fairly obscure unfortunately... I love Ventus and Lady of Mazes. I picked this handle mainly because it's unique everywhere I've tried to sign up.

Re: My Business Card Runs Linux

#278
post #213
post #12

Earlier quoted context omitted.

After reading the post, i was under the impression that the author really did some shopping for major components and assembled everything into a fun shape. Obviously i know nothing about electronic board design, so could you explain which extraordinary skill this required ? EDIT : ok, i missed the part where he actually designed the whole board, obviously..

Designing the layout of the PCB. Populating it with surface-mount components using home-made solder paste stencils and an oven. Selecting the MCU. Figuring out what kernel drivers are needed and what can be stripped out. Searching the web for datasheets and drivers that others have created/ported. Building the userland. Debugging and testing. Like many pieces of technology, once you lay out the steps it starts to loo…

Yes, these components literally exist to make small embedded systems.

Since a few years now, there are entire Linux systems on USB drives, for example.

Re: My Business Card Runs Linux

#279
post #43

Earlier quoted context omitted.

Yeah, maybe it's a "I don't like this" vote. I tend to agree - I find embedded software engineering skills quite intimidating. Nevertheless, the market demand just isn't as high.

Where's the mystery? Someone looks at what this guy did for his business card and, to paraphrase, says "Wow, look at this guy's skills. He must charge a very, very non-average amount of money for them." Your response to this is "But actually, according to payscale.com, an average embedded software engineer only makes X." 1. Nobody likes but-actually posts. 2. Quoting average salary when someone is commenting on how n…

I get the "but actually" thing, but I don't think it was that.

The OP said the skills are "mindbogglingly expensive". From personal experience they aren't (I worked in a team with embedded engineers with similar skills to those required for this).

I thought this was well understood - it's been discussed here a number of times.

I added the average salaries after getting voted down to -2 and that turned around the voting.

While there are a number of issues with average salaries I think it's notable that no one is claiming the opposite.

Re: My Business Card Runs Linux

#280
post #266
post #172

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.

There's embedded devices with an order of magnitude more CPU and two orders more RAM, if you're being strict about what counts as "embedded". If you're not, probably another order of magnitude on each.

For example Nvidia's Jetson AGX Xavier. 512-core NVIDIA Volta™ GPU, 8-core ARM, 16 GB RAM,...
Post reply on HN