Live data from Hacker News

So you want to build an embedded Linux system? (2020)

jaycarlson.net

21–30 of 80 posts

Re: So you want to build an embedded Linux system? (2020)

#21

Earlier quoted context omitted.

Most of them? Pretty much every ARM board supports an SRAM boot stage, for example. If you're using U-Boot, it's pretty likely that there's a SPL running out of SRAM somewhere in there.

ARM is a microcontroller architecture.

1) This is a distinction without a difference.

2) SRAM is almost always on the die, not external. Here's a die shot of a random STM32 (cortex M): [1]. The SRAM is quite obvious.

[1] https://s.zeptobars.com/GD32F103CBT6-Si-HD.jpg

Re: So you want to build an embedded Linux system? (2020)

#22

Earlier quoted context omitted.

ARM is a microcontroller architecture.

1) This is a distinction without a difference. 2) SRAM is almost always on the die , not external. Here's a die shot of a random STM32 (cortex M): [1]. The SRAM is quite obvious. [1] https://s.zeptobars.com/GD32F103CBT6-Si-HD.jpg

It is a meaningful distinction. A microprocessor architecture would require support chips, like a south- and north bridge, plus RAM in additional chips.

x86 being the classic example. Here [1] is an example of a microprocessor board, you can see the MX support chips on both sides of the CPU. As you can see, the RAM (and the most of the address space-mapped things) is not on-chip. The bus is wired across the PCB.

[1] https://upload.wikimedia.org/wikipedia/commons/d/de/386DX40_...

Re: So you want to build an embedded Linux system? (2020)

#23

Previous thread, 2020: https://news.ycombinator.com/item?id=24800037 This article is awesome and has a ton of great knowledge, but it’s a little dismissive of openembedded, and if you click through to the previous thread you’ll see a lot of people come to it’s defense.

The authors description of the two has been consistent with my experience. Buildroot is a lot easier to get going with. There might be good reasons to use yacto but if you are new to all this I wouldn’t start their.

Re: So you want to build an embedded Linux system? (2020)

#24

Earlier quoted context omitted.

1) This is a distinction without a difference. 2) SRAM is almost always on the die , not external. Here's a die shot of a random STM32 (cortex M): [1]. The SRAM is quite obvious. [1] https://s.zeptobars.com/GD32F103CBT6-Si-HD.jpg

It is a meaningful distinction. A microprocessor architecture would require support chips, like a south- and north bridge, plus RAM in additional chips. x86 being the classic example. Here [1] is an example of a microprocessor board, you can see the MX support chips on both sides of the CPU. As you can see, the RAM (and the most of the address space-mapped things) is not on-chip. The bus is wired across the PCB. [1]…

[deleted]

Re: So you want to build an embedded Linux system? (2020)

#25
post #18

Earlier quoted context omitted.

These words are used interchangeably, you need to specify exactly. The main distinction is does it have a MMU or not.

"VPN" evolved to mean proxying service, now people are denying that my tinc setup is a VPN. "Emulation" evolved to mean virtual machine, now people are denying that wine or xterm are emulators. "Operating System" evolved to require virtual memory and paging, now people are denying that MS-DOS was an operating system. "Microprocessor" evolved to mean computing chips with MMU, im waiting for people to deny that the 808…

Wine is not an emulator, it's a PE loader and a Win32 API for Unix. And XTerm is more like a terminal simulator.

Re: So you want to build an embedded Linux system? (2020)

#26

Earlier quoted context omitted.

It's a pointless distinction by and large. Microcontrollers may or may not have storage for firmware. Requiring an off-chip flash is nothing new. Microcontrollers have SRAM, but so do processors. That's where the firmware runs before it gets the DRAM running. Microcontrollers may include a bunch of peripherals, but so do processors. Especially so if you refer to SoCs as processors, like the article here does. And SoC…

The distinction used to be "Whether the bus is exposed externally". > Microcontrollers have SRAM, but so do processors. That's where the firmware runs before it gets the DRAM running. Which microprocessor architecture does this?

NXP LPC is a big one. Most of the families have an external memory controller (EMC) block that can drive an external DRAM at a small multiple of the system clock frequency. The EMC init happens in the secondary boot, usually loaded from the small on-board flash or an offboard EEPROM.

I regularly use the 1788 + a meg or two of DRAM to hold an LCD framebuffer. The LPC has a really nice interconnect between EMC and the internal LCD controller block and will drive the display all on its own (with a hardware cursor) once it is initialized.

Re: So you want to build an embedded Linux system? (2020)

#27
post #23

Previous thread, 2020: https://news.ycombinator.com/item?id=24800037 This article is awesome and has a ton of great knowledge, but it’s a little dismissive of openembedded, and if you click through to the previous thread you’ll see a lot of people come to it’s defense.

The authors description of the two has been consistent with my experience. Buildroot is a lot easier to get going with. There might be good reasons to use yacto but if you are new to all this I wouldn’t start their.

[deleted]

Re: So you want to build an embedded Linux system? (2020)

#28
post #25

Earlier quoted context omitted.

"VPN" evolved to mean proxying service, now people are denying that my tinc setup is a VPN. "Emulation" evolved to mean virtual machine, now people are denying that wine or xterm are emulators. "Operating System" evolved to require virtual memory and paging, now people are denying that MS-DOS was an operating system. "Microprocessor" evolved to mean computing chips with MMU, im waiting for people to deny that the 808…

Wine is not an emulator, it's a PE loader and a Win32 API for Unix. And XTerm is more like a terminal simulator .

Wine actually IS an emulator, just not the kind of emulator you think of. While wine is not an virtual machine, it literally emulates the win32 api.

https://web.archive.org/web/20150928042254/http://wiki.wineh...

I mentioned the shift of meaning to "virtual machine" in the post you replied to, please read it more carefully.

Emulation and Simulation are different in some regard: emulation is only imitating some aspect of a thing, while simulation imitates a thing by using (usually physical) models.

xterm is a VTxxx emulator, and VT simulator does look like this: https://www.pcjs.org/machines/dec/vt100/

Re: So you want to build an embedded Linux system? (2020)

#29

Earlier quoted context omitted.

The distinction used to be "Whether the bus is exposed externally". > Microcontrollers have SRAM, but so do processors. That's where the firmware runs before it gets the DRAM running. Which microprocessor architecture does this?

NXP LPC is a big one. Most of the families have an external memory controller (EMC) block that can drive an external DRAM at a small multiple of the system clock frequency. The EMC init happens in the secondary boot, usually loaded from the small on-board flash or an offboard EEPROM. I regularly use the 1788 + a meg or two of DRAM to hold an LCD framebuffer. The LPC has a really nice interconnect between EMC and the…

Duckduckgo, "NXP LPC", sidebar, quote from wikipedia:

> LPC is a family of 32-bit microcontroller integrated circuits by NXP Semiconductors.

Not a microprocessor. You are the second guy to pull this on me. Do people even read what i write? Did i write unclearly?

Re: So you want to build an embedded Linux system? (2020)

#30

Earlier quoted context omitted.

NXP LPC is a big one. Most of the families have an external memory controller (EMC) block that can drive an external DRAM at a small multiple of the system clock frequency. The EMC init happens in the secondary boot, usually loaded from the small on-board flash or an offboard EEPROM. I regularly use the 1788 + a meg or two of DRAM to hold an LCD framebuffer. The LPC has a really nice interconnect between EMC and the…

Duckduckgo, "NXP LPC", sidebar, quote from wikipedia: > LPC is a family of 32-bit microcontroller integrated circuits by NXP Semiconductors. Not a microprocessor. You are the second guy to pull this on me. Do people even read what i write? Did i write unclearly?

Perhaps you're just outdated. Nobody ships a core alone on a chip anymore. That died with the 68000 or ARM7TDMI.
Post reply on HN