Slashdot Mirror


Surveying the Challenges of Linux On Cortex A9-Based Laptops

Charbax writes "In this video, Jerone Young, lead partner engineer at Canonical, explains some of the challenges facing Canonical and other companies who are part of the new Linaro project, in preparation for the now imminent release of a whole bunch of ARM Cortex A9 Powered laptops and desktops likely to be manufactured by giants of the industry such as HP, Dell, Lenovo, and Toshiba, as well as lesser names such as Quanta, Invetec, Pegatron, and Compal, all of whom have been showing tens of early prototype designs of these ARM-powered laptops at trade shows around the world during the past year and a half. They're working to standardize the boot process, write drivers to use graphics and video hardware acceleration, optimize the web browser (Chrome and Mozilla), and implement faster DDR3 RAM and faster I/O bus speeds, as well as to optimize the software to use the new faster dual core ARM Cortex A9 processors."

15 of 119 comments (clear)

  1. Video with a different Canonical engineer? by Qubit · · Score: 3, Informative

    As their main webserver quietly melts in the background, please direct your attention to a video here (Coral Cache) that has the exact same title as the url in this article.

    This link/video mentions Jerone Young, one of the "main engineers at Canonical" responsible for ARM development.

    --

    coding is life /* the rest is */
  2. Lesser names? by ArhcAngel · · Score: 5, Informative

    as well as lesser names such as Quanta, Invetec, Pegatron, and Compal

    They may not be household names but I would hardly call them lesser names. In fact I would be shocked if hp's Slate offering wasn't built by Quanta.

    Quanta Computer Incorporated (TWSE: 2382) is a Taiwan-based manufacturer of notebook computers and other electronic hardware. It is the largest manufacturer of notebook computers in the world.[1] Its customers include ACER, Alienware, Apple Inc., Cisco, Compaq, Dell, Fujitsu, Gateway, Gericom, Hewlett-Packard, Lenovo, Maxdata, MPC, Sharp Corporation, Siemens AG, Sony, Sun Microsystems, and Toshiba. It was founded by Barry Lam in 1988. Lam continues to head the company.

    Compal is the second largest notebook manufacturer in the world

    3 January 2008: Asus formally splits into three companies: ASUSTeK, Pegatron and Unihan

    --
    "A person is smart. People are dumb, panicky dangerous animals and you know it." - K
    1. Re:Lesser names? by Charbax · · Score: 3, Informative

      I didn't formulate it "as lesser names", my submitted text was edited.

  3. Re:ARM vs Geode by TeknoHog · · Score: 4, Informative

    AMD Geode is a series of processor models implementing the x86 architecture. ARM is a whole architecture with multiple manufacturers and a bazillion different models. ARM CPUs tend to be extremely power efficient, so they are the natural choice for mobile and many other classes of computers.

    --
    Escher was the first MC and Giger invented the HR department.
  4. Re:Slashdotted, or ??? by Krneki · · Score: 3, Funny

    Here we go again. I'm getting an "Internal Server Error", but who knows exactly why the page is down.

    Because it's hosted on an ARM Cortex A9 Powered laptop. doh!

    --
    Love many, trust a few, do harm to none.
  5. Re:ARM vs Geode by fuzzyfuzzyfungus · · Score: 5, Informative

    A few reasons: With Geode, you have your choice between the two main branches of the family: the original Geodes, descendants of the embedded x86 line that AMD bought from National Semiconductor; and the AMD-designed Geode, which is basically their 32 bit athlon design with some modifications to make it embedding friendly.

    The first are genuinely low power and heavily integrated; but those suckers are slow. The second are pretty zippy by embedded standards; but only low-power by the standards of the desktop/laptop athlons they were derived from(ie. not very). Neither is an especially compelling choice. The former is slow enough that x86 compatibility doesn't really help you in the consumer market(virtually nothing remotely modern will run fast enough, and if you are going to roll a custom ultra-zippy OS and application suite, x86 isn't a huge feature) and the latter is power hungry enough that you can't really get it into anything smaller than a netbook(where, if it weren't for the fact that it tends to get paired with a fucking SiS chipset, it would actually be OK).

    Second, "ARM" gets to piggiback on development work done for contemporary high-end smartphones. The board going into a "smartbook" will be virtually identical to that going into a high end smartphone, just with a bigger screen, battery, and keyboard, and quite possibly some bumped clock speeds made possible by the larger battery and greater heat-dissipation capacity of the form factor.

  6. The real problem is not one platform by tlhIngan · · Score: 5, Informative

    These are ARM based platforms, but unlike the PC, there's not one single platform.

    On a PC, you know where everything is - and if not, the BIOS helps you. A lot of basic peripherals are at well-known locations (serial ports, keyboards, mice, etc). And for PCI, it exists in a well-known location as well. The BIOS does offer a memory map, but it's just to map physical RAM (which also exists at a well known location - it starts from 0).

    If you wanted to write a basic OS, you can accomplish a lot since you know RAM starts at 0, BIOS puts tables at well-known locations (ACPI, memory, etc), and where to expect a video adapter (already set up for you by BIOS), serial port, basic I/O. Add in a little code to do a little PCI probing to discover other adapters (mass storage, USB, etc), but that can wait since the basics are there. Heck, you can often guess a network controller might be placed at IO 0x300.

    On ARM, there's no such thing. You can't buy an "ARM Processor" - they don't really exist except as SoCs with onboard memory controllers, display controllers and other peripherals. And each chip can have different addresses for them. And while the ARM cores start at well-known location (0 - reset vector), there's often ROM there that does security boot, or just boot from NAND/SD/etc. And each peripheral exists in a different location - serial ports may be at 0x80000000 physical on one SoC, 0x80108000 on another, etc. RAM isn't based in any standard location - 0x40000000, 0x80000000, 0xC0000000 or other locations are possible. Ditto a PCI(e) bridge - it's somewhere in the memory map, but where you need to read the SoC manual to find out. End result is the OS has to be customized per-SoC and per-hardware because people can put things anywhere (for Linux, this just means the kernel since the POSIX abstraction layer hides the rest - provide a nice userspace and devices don't care).

    We don't think of it much, but the PC hasn't differed that much since IBM released their version of a desktop nearly 30 years ago. Heck, Intel's Pine Trail isn't PC-compatible, but it's an x86-based platform. Which is why Linux runs, but not Windows (desktop - you can probably get Windows CE running on it).

    That itself is a huge challenge. It's akin to consoles - all three consoles currently out (PS3, Xbox360, Wii) all have PowerPC processors inside them, but you can say none are compatible with each other, even though the lowlying ISA is the same.

    1. Re:The real problem is not one platform by david.given · · Score: 4, Informative

      These are ARM based platforms, but unlike the PC, there's not one single platform.

      Having worked on this sort of thing... you are so right. (Aside: there are some non PC x86 devices. SGI made some non-PC x86 workstations at one point, and the new generation of Atom phones won't be PCs.)

      However, all is not lost: this is exactly the kind of problem that Open Firmware was designed to solve. Each machine has an Open Firmware interpreter on it that acts as a boot loader. Once loaded, the OS can query Open Firmware to find stuff out about the machine. What's more, Open Firmware has the ability to find basic device drivers written in bytecode on the devices themselves. Plug in a PCI mass storage device and you can boot from it --- regardless of your machine's architecture! And since Open Firmware is based around a Forth interpreter, you have a complete programming environment out of the box, which is fantastic for troubleshooting.

      Anyone who's used a Sun workstation, a PowerPC Mac or an OLPC will have been exposed to it. Unfortunately, Intel's adoption of EFI as the official next-gen PC boot architecture pretty much squashed Open Firmware's momentum.

      You can find a BSD/MIT licensed version here... and yes, there is an ARM version.

    2. Re:The real problem is not one platform by TheRaven64 · · Score: 3, Informative

      Mod parent up! I wish OpenFirmware got more press, it's a really beautiful system. One of the really nice things you can do with it is compile the OFW drivers once you've booted. Each card comes with a little Forth program describing how to control it. The firmware interprets this, but an OS can compile it for the target CPU at boot time (or later) if it wants. Or it can replace it with its own driver. EFI seems pretty backwards by comparison, and LinuxBIOS (or OpenBoot, or whatever it's calling itself now) is just incredibly bloated. I'd love to see ARM systems ship with an OpenFirmware implementation.

      --
      I am TheRaven on Soylent News
  7. Re:ARM vs Geode by marcosdumay · · Score: 5, Interesting

    A previous poster already answered, on a nice manner. But to make things clear, x86 is a bad architecture, and to make it run any fast, you need to create a very power hungry chip. ARM is a much better architecture, leading to smaller and less power hungry cores.

    There is also a problem of scale here. It is cheaper to make an ARM that everybody uses than to make a x86 that will fit only a ninche. But that doesn't completely apply to the current situation, since the A9 is also ninche. (For the A8 things are different.)

  8. Re:Why is ARM like that? by tlhIngan · · Score: 3, Informative

    Is there any particular reason why there isn't a standard way of doing things?

    I mean, is there a competitive advantage to the chip makers who license the ARM tech if they decide on their own addresses for various components? Or is it just that it hasn't been as big an issue with embedded systems in the past, and nobody large enough has stood up and said "here's the standard way of doing things"?

    Becvause it's embedded, so each manufacturer has a different way of doing things that they feel is "better". It's why there's no standard for network cards - Intel, Broadcom, Marvell and the like all have differing ideas on how to do things that they feel will give them the edge.

    Compatibility itself was never a consideration for embedded - at best you had source code compatibility, and some SoCs maintained memory maps for next-gen chips (so developers of previous-gen chips can reuse stuff like drivers). Intel's StrongARM and PXA25x chips come to mind (and Marvell has continued, which results in oddball placement of registers in the memory map these days, and things like "compatible small memory" and "large memory" maps when things have to be moved around).

    And in embedded systems, since the OS and applications (even if they run Linux) tend to be heavily customized anyways, the real need for cross-SoC compatibility is pretty minimal. The customer says they want an Samsung processor in their device (because they have a good deal with Samsung, for example), you use a Samsung processor. Next guy wants a Marvell one, you use Marvell. Third guy wants Freescale, etc.

  9. Re:Why is ARM like that? by imgod2u · · Score: 3, Interesting

    There's just very little reason to do it. Consider the modern PC. Consider that it won't boot if you don't have an archaic PCI bus and legacy peripherals. Consider that well before the 4GB memory limit was hit, the 4GB addressing limit was really hampering the OS due to the fact so many memory address spaces are "reserved" for peripherals that may or may not be there.

    There is a lot of waste in the PC from a hardware/software standpoint all in the name of conforming to this "standard way of doing it" that dates back 30 years. I doubt you want this in your cell phone.

    ARM has been able to evolve significantly due to this level of flexibility. The AMBA system bus itself has almost kept pace with the rate of CPU speed increases. Not only that but a lot of SoC vendors use their own proprietary bus architecture depending on the application. A company named Sonics provides packet-style memory access IP for SoC vendors that allows highly efficient memory bandwidth sharing amongst multiple heterogeneous cores. You'll never see this in a PC.

  10. Certainly not insurmountable by Anonymous Coward · · Score: 5, Interesting

    Since I'm currently running Ångström linux on a brilliant cortex A8 machine (the pandora) - and yes, it runs chrome and ff3.6 no problem and has 3d drivers that make Quake 3 perform really well - I can't believe that these 'challenges' are going to be insurmountable.

  11. Re:Tablet Design by l0b0 · · Score: 3, Insightful

    There seems to be a very common notion that the study and implementation of usability is for wimps and people who should have kept out of science, real nerds/geeks don't need no stinkin' GUI, user testing is boring and expensive, you see where this is going. And the really sad thing is that managers don't care much either, as long as the result is below their personal pain threshold. So we end up with interfaces which are barely usable to computer literates, and thus unusable to anyone with less experience. This has nothing to do with OSS, it's an industry thing.

  12. Re:Nice to have them with 13.1 14-15 and 17" scree by whizzard · · Score: 3, Informative

    Not in Economy on any of the international flights I've been on.

    A number of airlines actually do have limited in-flight power in economy these days, such as Delta and Continental. A good website for finding out which airlines have this feature on which equipment is SeatGuru.