You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Important: after doing the installation below, make sure you log all
the way out of the container at the end of each session.
Here's what to do to install an AARCH32 OS container on
a Chromebook with an ARM processor:
(1) Go to "About CromeOS" in your settings and update ChromeOS
(2) Enable Linux on your Chromebook
Go to Settings->Advanced->Developers and enable Linux.
I recommend at least 4 GB for the Linux partition.
(3) Open a Linux terminal window.
The terminal program will be in a new "Linux apps" application
after installing Linux.
(4) Update your Linux to the latest version with these terminal commands:
% sudo apt update
% sudo apt full-upgrade
(5) Close the Linux terminal "all the way".
Make sure you are on your Chromebook homescreen with no apps running.
(6) Press Ctrl-Alt-t buttons simultaneously to open the Crostini shell, called "crosh"
(7) At the crosh command prompt type the following to set up the development environment:
% vmc start termina
% lxc launch images:debian/10/armhf A32
% lxc exec A32 bash
% sudo apt install build-essential
% sudo apt install git
% sudo apt install gdb
... now add a user named <your_name>...
% adduser bob
% exit
(8) log into the shell as a normal user, 'bob' as above, and clone Squint
% lxc exec A32 su - bob
% git clone https://github.com/HPCguy/Squint.git
% make clean; make; make check; make bench; make show_asm
(9) How to compile and run
% ./mc-so -o foo foo.c # compile your executable with optimizing compiler
% ./foo
% ./mc -o foo foo.c # compile with non-optimizing compiler
% ./foo
(10) to get out of this container environment, type "exit" three times
(11) to get back into this environment after the first time, do this:
Press Ctrl-Alt-t
% vmc start termina
% lxc exec A32 su - bob
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Important: after doing the installation below, make sure you log all
the way out of the container at the end of each session.
Here's what to do to install an AARCH32 OS container on
a Chromebook with an ARM processor:
(1) Go to "About CromeOS" in your settings and update ChromeOS
(2) Enable Linux on your Chromebook
Go to Settings->Advanced->Developers and enable Linux.
I recommend at least 4 GB for the Linux partition.
(3) Open a Linux terminal window.
The terminal program will be in a new "Linux apps" application
after installing Linux.
(4) Update your Linux to the latest version with these terminal commands:
% sudo apt update
% sudo apt full-upgrade
(5) Close the Linux terminal "all the way".
Make sure you are on your Chromebook homescreen with no apps running.
(6) Press Ctrl-Alt-t buttons simultaneously to open the Crostini shell, called "crosh"
(7) At the crosh command prompt type the following to set up the development environment:
% vmc start termina
% lxc launch images:debian/10/armhf A32
% lxc exec A32 bash
% sudo apt install build-essential
% sudo apt install git
% sudo apt install gdb
... now add a user named <your_name>...
% adduser bob
% exit
(8) log into the shell as a normal user, 'bob' as above, and clone Squint
% lxc exec A32 su - bob
% git clone https://github.com/HPCguy/Squint.git
% make clean; make; make check; make bench; make show_asm
(9) How to compile and run
% ./mc-so -o foo foo.c # compile your executable with optimizing compiler
% ./foo
% ./mc -o foo foo.c # compile with non-optimizing compiler
% ./foo
(10) to get out of this container environment, type "exit" three times
(11) to get back into this environment after the first time, do this:
Press Ctrl-Alt-t
% vmc start termina
% lxc exec A32 su - bob
Beta Was this translation helpful? Give feedback.
All reactions