A RISC-V REVOLUTION: The Rise of Free and Open-Source Silicon for Makers

https://makezine.com/article/technology/computers-mobile/a-risc-v-revolution-the-rise-of-free-and-open-source-silicon-for-makers/


Makers are well-used to the benefits of free and open-source hardware, from being able to study and iterate on designs by others, to the promise that if a design goes out of production you can always make replacements yourself.

Open-source silicon, though, is not so well understood — but thanks to the success of the RISC-V (“risk five”) project, that’s changing.

The idea of an open processor, designed around the concept of reduced instruction set computing (RISC), from which others could learn isn’t new: The Berkeley RISC project, which launched in 1981, famously published its research papers for all to read, providing a direct inspiration for Sophie Wilson and Steve Furber to create the Arm architecture that so many chipmakers pay to license today.

ARM ALTERNATIVE

The Berkeley RISC project inspired numerous processor projects, some open and others closed, but it was the launch of the RISC-V project in 2010 that truly lit a spark.

Born at the same university as the original, RISC-V is Berkeley’s fifth-generation RISC architecture — and by far its most successful. Originally pitched by Krste Asanović as a “short, three-month project” aimed at graduate students before attracting Berkeley RISC alum David Patterson, RISC-V has leapfrogged its forebears to become the most successful free and open-source architecture in history.

FREEDOM IN SILICO

There’s an important distinction to note: “free” as well as “open source.” Sun’s microSPARC processor was open source, but not free: Anyone wishing to make modifications needed a commercial license. RISC-V, by contrast, is free-as-in-speech: Anyone can implement RISC-V either as-written or with as many tweaks, modifications, and extensions as they desire — and never have to pay a cent in royalties or license fees.

What began as a 3-month university project now ships millions of cores a year: RISC-V implementations are found in commercial products including smartwatches, fitness bands, storage products, and graphics cards, where the allure of true freedom — plus a bundle saved on license fees — has won out against the desire to keep proprietary IP suppliers on-side.

Unsurprisingly, RISC-V has also been making inroads into the maker sector — slowly at first, but gaining momentum with each passing year. Low-power microcontroller parts came first, with application processors soon following. Server-class hardware, including proposed 128-bit chips designed to accompany existing 32- and 64-bit parts, is right around the corner.

ARM IN ARM: Inspired by Berkeley’s 1981 RISC project,
Sophie Wilson (far left) and Steve Furber (third left)
created the Arm microprocessor architecture that’s
now ubiquitous.

FROM FPGAS TO CHIPS

At first, experimentation was a challenge. Few RISC-V designs had been committed to silicon, as the specification had yet to be ratified, so if you wanted to develop for RISC-V you needed to use field-programmable gate array (FPGA) hardware to run soft-core implementations — or even emulate RISC-V in software on a mainstream Arm or x86 chip.

SiFive, co-founded by Asanović himself, was one of the first to offer actual silicon chips — microcontrollers initially, then Linux-compatible cores on a single-board computer. Others followed: Today, you can buy RISC-V chips from Allwinner, Bouffalo Lab, GigaDevice, GreenWaves Technologies, and StarFive, with companies including Alibaba, Google, Seagate, and Western Digital developing chips for in-house use.

FIRST! SiFive’s FE310 SoC was the
industry’s first commercial RISC-V chip.

MAKING A SPLASH WITH MAKERS

The biggest news for the maker market, though, came from Espressif Systems when the company announced that not only was it launching RISC-V based products into the ESP32 microcontroller family but that it would concentrate solely on RISC-V architecture from now on, ditching proprietary alternatives like the Cadence Tensilica Xtensa architecture.

So all future ESPs will be RISC-V? “Yes, it is true,” Teo Swee Ann, Espressif chief executive and president, confirmed on LinkedIn. “Unless we have some special needs for something else that I don’t see now.”

What about the maker’s favorite mini computer? “The main things holding RISC-V back in the traditional Raspberry Pi/[Arm] Cortex-A market,” says Eben Upton, Raspberry Pi CEO, “are a lack of available high-end licensable cores — I don’t think I can go out and get anything that’s competitive with the Cortex-A72 in Raspberry Pi 4, for example — and a lack of software maturity in the Linux userland.”

“The barriers may be a little lower in the microcontroller/Cortex-M space, as the software stacks and core design space are simpler. If/when RISC-V really takes off,” Upton predicts, “that’s where it will happen first.”

SINGLE-BOARD SYSTEMS

There are numerous single-board computers that aim to offer a RISC-V alternative to Arm-based devices like the Raspberry Pi range. At first, choices were limited: SiFive’s boards offered impressive performance but priced themselves out of the maker market, while devices based on Allwinner’s D1 chip struggled with poor performance. Gadgets like Microchip’s PolarFire SoC Icicle Kit offer RISC-V cores, too, but they play second fiddle to the board’s FPGA resources.

But now, the StarFive VisionFive — a dual-core 64-bit single-board computer running Linux — offers a reasonably affordable entry point, with its follow-up, the VisionFive 2, boosting performance and slashing costs.

PINE64, best known for its Pinebook and Pinephone ranges, is also getting in on the act: After putting a RISC-V microcontroller inside the Pinecil and Pinecil 2 soldering irons, the company is now preparing to launch the Star64, an open-source single-board computer built atop the same StarFive JH7110 chip as the VisionFive 2.

BUILDING YOUR OWN CHIPS

For many makers, architecture will always take a back seat to features when it comes to choosing a chip. But RISC-V, and other free and open-source silicon efforts, provide a whole new playing field for the curious maker: The ability to get down and dirty with the architecture itself in a way that previously would have required a decade of education and a job application to Intel, AMD, Arm, or the like.

“RISC-V essentially gives you the freedom to implement and customize the processor core to your needs,” explains Stefan Wallentowitz, who sits on the board of RISC-V International to represent community members. “While the average maker will probably not build chips at a commercial scale, there are efforts like the Open Multi-Project Wafer for fully open-source chips,” he adds, referring to a Google-funded project that lets designers of open-source silicon have their chips built at SkyWater or GlobalFoundries fabrication facilities at absolutely zero cost — something never before possible. “Free and open-source silicon makes learning digital design and computer architecture accessible and fun.”

Even Intel, which has a vested interest in pushing people toward its own proprietary x86 architecture, would seem to agree: In August the company launched Pathfinder for RISC-V, a development environment for RISC-V systems-on-chips, with a free-of-charge Starter Edition which Intel has specifically pushed to the hobbyist, academic, and research communities.

FRESH LINUX SBCS: StarFive’s quad-core, 1.5GHz
RISC-V JH7110 processor is at the heart of their new
VisionFive 2 single-board computer (top) and also
PINE64’s new Star64 (bottom) — both with the familiar
Raspberry Pi-format GPIO header. Debian and Fedora
Linux distros are already being ported to the JH7110

“Intel Pathfinder for RISC-V represents our ongoing commitment to accelerate the adoption of RISC-V,” claimed Intel’s general manager for RISC-V ventures Vikay Krishnan at the launch, “and catalyze the ecosystem around an open source and standards-based vision.” 

via MAKE https://makezine.com/

November 4, 2022 at 11:05AM

Homeland Security Admits It Tried to Manufacture Fake Terrorists for Trump

https://gizmodo.com/donald-trump-homeland-security-report-antifa-portland-1849718673


Photo: Associated Press (AP)

The Department of Homeland Security launched a failed operation that ensnared hundreds, if not thousands, of U.S. protesters in what new documents show was as a sweeping, power-hungry effort before the 2020 election to bolster President Donald Trump’s spurious claims about a “terrorist organization” he accused his Democratic rivals of supporting.

An internal investigative report, made public this month by Sen. Ron Wyden, a Democrat of Oregon, details the findings of DHS lawyers concerning a previously undisclosed effort by Trump’s acting secretary of homeland security, Chad Wolf, to amass secret dossiers on Americans in Portland attending anti-racism protests in summer 2020 sparked by the police murder of Minneapolis father George Floyd.

The report describes the attempts of top intelligence officials to connect protesters to a fabricated anti-fascist terrorist plot in hopes of boosting Trump’s reelection odds, raising concerns about the ability of a sitting president to co-opt billions of dollars’ worth of domestic intelligence assets for their own political gain. DHS analysts recounted orders to create organizational charts that could be used to establish links between the arrested protesters; an effort that would seemingly legitimize President Trump’s erroneous tweets about “Antifa,” an organization DHS tried but failed to prove shared a central source of funding.

“Did not find any evidence that assertion was true”

The DHS report offers a full accounting of the intelligence activities happening behind the scenes of officers’ protest containment; “twisted efforts,” Wyden said, of Trump administration officials promoting “baseless conspiracy theories” to manufacture of a domestic terrorist threat for the president’s “political gain.” The report describes the dossiers generated by DHS as having detailed the past whereabouts and the “friends and followers of the subjects, as well as their interests” — up to and including “First Amendment speech activity.” Intelligence analysts had internally raised concerns about the decision to accuse anyone caught in the streets by default of being an “anarchist extremist” specifically because “sufficient facts” were never found “to support such a characterization.”

G/O Media may get a commission

One field operations analyst told interviewers that the charts were hastily “thrown together,” adding they “didn’t even know why some of the people were arrested.” In some cases, it was unclear whether the arrests were made by police or by one of the several federal agencies on the ground. The analysts were never provided arrest affidavits or paperwork, a witness told investigators, adding that they “just worked off the assumption that everyone on the list was arrested.” Lawyers who reviewed 43 of the dossiers found it “concerning,” the report says, that 13 of them stemmed from “nonviolent crimes.” These included trespassing, though it was unclear to analysts and investigators whether the cases had “any relationship to federal property,” the report says.

A footnote in the report states that “at least one witness” told investigators that dossiers had been requested on people who were “not arrested” but merely accused of threats. Another, citing emails exchanged between top intelligence officials, states dossiers were created “on persons arrested having nothing to do with homeland security or threats to officers.”

Questioned by investigators, the agency’s chief intelligence officer acknowledged fielding requests by Wolf and his acting deputy, Ken Cuccinelli, to create dossiers “against everyone participating in the Portland protest,” regardless of whether they’d been accused of any crime, the report says. That officer, Brian Murphy, then head of the agency’s Office of Intelligence and Analysis (I&A), told interviewers that he’d rejected the idea, informing his bosses that he could only “look at people who were arrested,” and adding that it was something his office had done “thousands” of times before.

The DHS report, finalized more than a year ago, includes descriptions of orders handed down to “senior leadership” instructing them to broadly apply the label “violent antifa anarchists inspired” to Portland protesters unless they had intel showing “something different.”

Once the dossiers were received by the agency’s emerging threat center, it became clear that DHS had no real way to tie the protesters to any terrorist activities, neither at home nor abroad. Efforts to drum up evidence to support the administration’s claim that a “larger network was directing or financing” the protesters — a task assigned to another unit, known as the Homeland Identities, Targeting and Exploitation Center, diverted away from its usual work of analyzing national security threats — “did not find any evidence that assertion was true,” the report says.

A Trumped-up Threat, a Trumped-up Homeland Security Department

Fears of political toadies occupying key intelligence roles had been aired publicly by former intelligence community members during the Trump administration’s early years, but their concerns were all but ignored by Senate Republicans during confirmation hearings that would ultimately inflict serious reputational damage on a number of agencies that, for their own survival, had long avoided partisan leanings.

The report is based on interviews with approximately 80 employees conducted by attorneys drawn from various agency components, including U.S. Customs and Border Protection and the U.S. Coast Guard. The investigation began in response to leaks of internal DHS emails in July 2020 that prompted questions from lawmakers about potential intelligence abuses, including the monitoring of journalists’ activities online and the liberal application of terrorism-related language to describe Americans engaged in protest.

I&A is one of the nation’s 17 intelligence community members overseen by the nation’s “top spy,” the director of national intelligence, whose office drafts daily top-secret briefings for the president. The directorship was held throughout the protests by John Ratcliffe, a Republican of Texas and renowned Trump loyalist, whose nomination to the post was withdrawn initially in 2019 over qualifications concerns raised by lawmakers and career intelligence officials.

The dossiers, known as Operational Background Reports, or OBRs, are known colloquially within the agency as “baseball cards,” the report says. The task of creating them was handed, “with little to no guidance on execution,” to the agency’s Current and Emerging Threats Center, an analysis unit whose “actionable intelligence” is distributed widely throughout the government. According to the report, the dossiers would’ve been shared with, among others, the agency’s Field Operations Division, which works closely with House and Senate committee staffers, and the Federal Protection Service, whose core mission is securing some 9,000 federal facilities across the country. The extent to which entities outside the federal government were meant to be involved is unclear; however, the report indicates that DHS state and local partners, which would naturally include law enforcement, but also potentially organizations like National Governors Association, could have also been in the loop.

Funded to the tune of $1.5 billion, the Federal Protective Service (FPS) is comprised of thousands of security officers drawn from private contractors such as Triple Canopy, a firm merged in 2014 with another contractor called Academi, previously known as Blackwater. Its staff notoriously included elite warfighters recruited from among the Navy SEALS, the Army Rangers, and the Marines expeditionary force MARSOC.

Activated to engage protesters targeting federal buildings in Portland — including the well-vandalized Hatfield Federal Courthouse — FPS personnel were eventually joined by officers hailing from across the federal government, including some on loan by the U.S. Marshals Service tactical unit normally tasked with making the arrests of the nation’s most violent fugitives. They converged for a mission dubbed “Operation Diligent Valor,” authorized under Executive Order 13933, purportedly to apprehend “anarchists and left-wing extremists” who’d been driven by Floyd’s murder to target U.S. monuments commemorating slave owners and Confederate traitors — dangerous individuals, Trump said, advancing a “fringe ideology” painting the U.S. government as “fundamentally unjust.”

Floyd’s death at the hands of Minneapolis police officer Derek Chauvin, convicted of murder and sentenced to 22 and a half years in prison in 2021, sparked more than 100 days of continuous marches in Portland. Sporadic protests continued well into the next spring, frequently marked by nightly standoffs between protesters toting bottles, fruit, and fireworks and riot-control squads armed with nightsticks, pepperspray, and “kinetic impact munitions” designed to irritate, disorient, and compel compliance through pain.

Police would eventually rack up an unprecedented 6,000 documented use-of-force cases against the demonstrators, who in turn reportedly inflicted more than $2.3 million in damage to federal buildings alone. Police ran off legal observers and physically beat journalist who suffered injuries at the hands of federal agents armed with crowd control weapons as well. In response to the bad press, Justice Department lawyers filed a successful motion in court giving police the power to force reporters off the streets.

Reports began surfacing, meanwhile, of protesters being abducted near demonstrations by men jumping of unmarked in military fatigues. After widely circulated footage confirmed the accounts, DHS acknowledged the abductions, as well as the fact that agents had taken intentional steps to ensure their identities remained secret.

Analysts would feed protesters’ names into an array of databases, including LexisNexis, a tool used by Immigration and Customs Enforcement agents to hunt undocumented immigrants. Another tool, referred to as “Tangles” — a likely reference to the now-defunct Facebook app CrowdTangle — was used to “[compile] information from the subject’s available social media profiles.

The report also states that dossiers were requested on multiple journalists, including Benjamin Wittes, editor-in-chief of Lawfare.

Wittes was targeted for publishing unclassified DHS materials, including the initial leak that set off the investigation. Wittes had coauthored an article at Lawfare with Steve Vladeck, a University of Texas law professor, in July 2020, which included leaked guidance — known as a “job aid” — disclosing DHS plans to act on Trump’s executive order. The document, Lawfare reported, implicated “at least parts of the intelligence community” in the “monitoring and collecting information on some protest activities.” Later leaks obtained by the New York Times included a DHS memo that, among other things, summarized tweets that had been published by Wittes.

One tweet, published on July 26 — a week after Lawfare published the guidance document — included a leaked email by DHS’s acting chief intelligence officer, relaying orders to begin referring to all violence in Portland as the work of “Antifa.”

As the summer nights grew longer and the 2020 elections near, the media spent less time focused on the cause of the demonstrations — the suffocation of a Black father of five by a white Minneapolis police officer who was outwardly unmoved by Floyd’s desperate pleas for air, or the heartrending cries for his mother. Headlines shifted instead, as if on cue, to focus on the narrative crafted by the president’s flailing reelection campaign; a pre-packed delusion designed to strike fear in voters’ imaginations and tether Democrats to a fictitious terrorist threat.

Nothing could dissuade Trump from continuing to propagate the claims, which his supporters — most to this day — continue to blindly believe. “In my book it’s virtually a part of their campaign, Antifa,” Trump said in the final months before the election. “The Democrats act like, gee, I don’t know exactly what that is.”

Trump’s highest ranking intelligence crony, John Ratcliffe, meanwhile, would go on to play the only card left with a little help from Sen. Lindsey Graham, the Republican chairman of the Senate Judiciary Committee.

Shocking and alarming career intelligence officials, Graham posted a letter online ahead of the election’s final debate. It contained a batch of Russian disinformation that a Republican-led committee had disregarded as bogus four years earlier. Apparently, it focused on the only Democratic left on whom they could find any material with which to smear: Hillary Clinton, who had no election to lose.

via Gizmodo https://gizmodo.com

November 5, 2022 at 06:54AM

Amazon Has ‘Over a Thousand’ Rivian Electric Vans Already Making Deliveries

https://gizmodo.com/amazon-rivian-prime-delivery-evs-1849751103


Amazon claims to have made 5 million deliveries using Rivian electric vehicles since July.
Image: Amazon

Amazon’s greenwashing efforts continue as the massive online retailer’s relationship with electric vehicle manufacturer Rivian hits its stride. Amazon announced in a blog post today that it already has over 1,000 electric delivery vehicles dropping off packages in dozens of cities across the U.S.

Amazon and Rivian first joined forces in 2019 when Amazon backed the EV startup with a massive investment. This July, hundreds of Amazon branded Rivian trucks began rolling out (pun intended) across the country in cities like Baltimore, Chicago, Dallas, Kansas City, Nashville, Phoenix, San Diego, Seattle, and St. Louis. Now, four months later, Amazon claims that its electric vehicle force has topped 1,000 delivery trucks in over 100 U.S. cities.

“Fleet electrification is essential to reaching the world’s zero-emissions goal,” said Jiten Behl in Amazon’s blog post. Behl is Rivian’s chief growth officer. “So, to see our ramp up in production supporting Amazon’s rollout in cities across the country is amazing. Not just for the environment, but also for our teams working hard to get tens of thousands of electric delivery vehicles on the road. They continue to be motivated by our combined mission and the great feedback about the vehicle’s performance and quality.”

For now, Amazon’s 1,000+ Rivian vehicles is just a fraction of their overall on-the-ground delivery force. According to The Verge, Amazon relies on 30,000 Amazon trucks and 20,000 Amazon trailers to get whatever you’re buying to your doorstep. With that said, Amazon did further claim in its blog post that it is hoping to increase its EV fleet to 100,000 vehicles by 2030, and that the company had already delivered 5 million packages using EVs from Rivian since July. That’s actually not that much considering Amazon delivered 4.2 billion parcels in 2020 according to Modern Retail, which is about 11 million every day. I guess even megacorporations have to take small steps.

Amazon is not the only retail giant that is pivoting toward electric delivery vehicles. Earlier this year, Walmart partnered with Canoo—an EV startup and Rivian rival—to bring 4,500 of the startup’s Lifestyle Delivery Vehicles to Walmart’s fleet beginning in 2023. Walmart and Amazon’s quest to electrify their delivery efforts is all well and good, but fails to address the root of their climate impact, which is that the entirety of these companies is based on excess consumption and maximalism.

via Gizmodo https://gizmodo.com

November 7, 2022 at 09:55AM

Xbox Cloud Gaming gets a resolution boost on Steam Deck and ChromeOS

https://www.engadget.com/xbox-cloud-gaming-steam-deck-linux-chromeos-upgrade-183817227.html?src=rss

Folks who access Xbox Cloud Gaming through a browser on ChromeOS and Linux systems (including Steam Deck) will likely now have an improved experience. The game-streaming service should be available at a higher resolution on those platforms. It should run more smoothly as well.

As spotted by Windows Central, an Xbox employee who goes by CohenJordan wrote on Reddit that the update marks the end of a transition to a different type of streaming tech, though they didn’t explain exactly what that entails. According to CohenJordan, the good news is that, if you use a browser to access Xbox Cloud Gaming on any device (such as iOS), you should have a more consistent experience.

Along with Linux and ChromeOS, Xbox Cloud Gaming (which is still in beta) works on Xbox consoles, smartphones, tablets, computers and some smart TVs. Microsoft and Meta are bringing it to Meta Quest 2 headsets as well. 

Microsoft is eager for Steam Deck users to access Xbox Cloud Gaming. It hasn’t released an Xbox app for the system (or Linux) as yet, but the company has published a guide that should help you set up the service on Steam Deck.

via Engadget http://www.engadget.com

November 4, 2022 at 01:53PM