Skip to content

Several patched files and instructions, that allow you to build and run Atom on armv7l machine.

Notifications You must be signed in to change notification settings

BlaringIce/atom-armv7l

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

atom-armv7l

👋 Hello! This repository contains several patched files and instructions that allow you to build and run Atom 1.24.0 on armv7l machines like Raspberry Pi's.

Screenshot

Building

Gettings sources & building

Firstly, install basic prerequisites as it described in Atom Flight Manual.

Clone Atom sources and this repository, then merge them:

git clone https://github.com/atom/atom.git
cd atom
git checkout v1.24.0
cd ..
git clone https://github.com/hypersad/atom-armv7l.git
cp -r atom-armv7l/script/* atom/script/
rm -rf atom-armv7l

Now you could start building:

cd atom
script/build

Building Atom from scratch on armv7l machines usually takes around 1-2 hours, but build time depends on your hardware.

Generating startup blob separately

These steps must be done on i386/amd64 machine.

We will use mksnapshot binaries for i386/amd64 with armv7l as target to generate suitable startup blob.

Get suitable mksnapshot binary. For now it is mksnapshot-v1.6.0-linux-armv7l:

wget https://github.com/electron/electron/releases/download/v1.6.0/mksnapshot-v1.6.0-linux-armv7l.zip
unzip -j mksnapshot-v1.6.0-linux-armv7l.zip mksnapshot
rm mksnapshot-v1.6.0-linux-armv7l.zip

Get generated startup snapshot (out/startup.js) from your armv7l machine. You could do it via scp, for example:

scp [email protected]:/home/helix/atom/out/startup.js startup.js

Generate startup blob from startup.js via mksnapshot:

./mksnapshot startup.js --startup_blob snapshot_blob.bin

Send generated startup blob back to your armv7l machine. You could do it via scp too, for example:

scp snapshot_blob.bin [email protected]:/home/helix/atom/out/atom-1.24.0-armv7l/snapshot_blob.bin

Now, you could try to launch Atom! 🎉

About

Several patched files and instructions, that allow you to build and run Atom on armv7l machine.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%