periph / bootstrap Goto Github PK
View Code? Open in Web Editor NEWTools to bootstrap micro computers
License: Apache License 2.0
Tools to bootstrap micro computers
License: Apache License 2.0
If a user install rsync
via homebrew, this version does support --info.
push
needs to figure out and only add the flag if supported.
Change the flow from " flash then edit " to " edit then flash ".
setup.sh
on /boot
which is a FAT partition on Debian derived linux OSes./etc/rc.local
(search in the partition, edit the bytes in place) to run the script put in /boot
. Since rc.local is full of comments, this is doable without editing the partition.This would enable not requiring ext4 support, which would simplify supporting non-linux OSes. The main caveat is that there is no good FAT Go tool, the closest is a unsupported partial implementation https://github.com/mitchellh/go-fs. Since the whole edition can be lowered to a a single file being created, this is within the realm of the possible.
i would like to use periph/bootstrap so we can deploy golang and flutter ( source and binaries) to embedded devices...
We use makefile such that it allows us to use make in Github Actions and on our embedded devices with no changes except maybe some sniffing in the makefiles to detect GOOS , GOARCH, etc
Here is an example of make being used in this way: https://github.com/getcouragenow/booty/blob/master/makefile
Here is it running: https://github.com/getcouragenow/booty/actions/runs/468914088
SO , I was wondering if your bootstrap installs make on each device ?
I didn't have udisksctl
resulting in the error shown below running efe
. The error message should at least be a little more useful. Probably need to document that udisksctl
is required as well. If I get time I'll submit a PR. Thanks!
efe -sdcard /dev/mmcblk1 -wifi-ssid "myssid" -wifi-pass "mypass" -email "myemail" -board "raspberrypi"
- Reusing Raspbian Jessie Lite image /home/bzub/2018-10-09-raspbian-stretch-lite.img
- Modifying image /home/bzub/2018-10-09-raspbian-stretch-lite-mod.img
Warning! This will blow up everything in /dev/mmcblk1
This script has minimal use of 'sudo' for 'dd' to format the SDCard
- Flashing (takes 2 minutes)
445+0 records in
445+0 records out
1866465280 bytes (1.9 GB, 1.7 GiB) copied, 192.543 s, 9.7 MB/s
- Flushing I/O cache
efe: failed to mount "/dev/mmcblk1p1": "".
Line 215 in cf16b15
The abstraction layer is completed, 4 functions needs to be implemented in img/img_windows.go. This requires some syscall.DeviceIoControl()
and other Win32 API calls.
Figure out a way to get the timezone location in the format expected to setup the /etc/localtime symlink on debian distros.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.