-
-
Notifications
You must be signed in to change notification settings - Fork 23
Create an auto configure script #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
developius
wants to merge
4
commits into
alexellis:master
Choose a base branch
from
developius:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| #!/bin/bash | ||
|
|
||
| echo 'Please _please_ make sure you have adjusted the SD volume location & the disk ID' | ||
| echo 'Sleeping for 5s for safety' | ||
| sleep 5 | ||
|
|
||
| touch /Volumes/boot/ssh | ||
| cp ./config.txt /Volumes/boot/config.txt | ||
| cp ./cmdline.txt /Volumes/boot/cmdline.txt | ||
| diskutil eject /dev/disk2 | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=84fa8189-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait modules-load=dwc2,g_ether quiet init=/usr/lib/raspi-config/init_resize.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| # For more options and information see | ||
| # http://rpf.io/configtxtreadme | ||
| # Some settings may impact device functionality. See link above for details | ||
|
|
||
| # uncomment if you get no picture on HDMI for a default "safe" mode | ||
| #hdmi_safe=1 | ||
|
|
||
| # uncomment this if your display has a black border of unused pixels visible | ||
| # and your display can output without overscan | ||
| #disable_overscan=1 | ||
|
|
||
| # uncomment the following to adjust overscan. Use positive numbers if console | ||
| # goes off screen, and negative if there is too much border | ||
| #overscan_left=16 | ||
| #overscan_right=16 | ||
| #overscan_top=16 | ||
| #overscan_bottom=16 | ||
|
|
||
| # uncomment to force a console size. By default it will be display's size minus | ||
| # overscan. | ||
| #framebuffer_width=1280 | ||
| #framebuffer_height=720 | ||
|
|
||
| # uncomment if hdmi display is not detected and composite is being output | ||
| #hdmi_force_hotplug=1 | ||
|
|
||
| # uncomment to force a specific HDMI mode (this will force VGA) | ||
| #hdmi_group=1 | ||
| #hdmi_mode=1 | ||
|
|
||
| # uncomment to force a HDMI mode rather than DVI. This can make audio work in | ||
| # DMT (computer monitor) modes | ||
| #hdmi_drive=2 | ||
|
|
||
| # uncomment to increase signal to HDMI, if you have interference, blanking, or | ||
| # no display | ||
| #config_hdmi_boost=4 | ||
|
|
||
| # uncomment for composite PAL | ||
| #sdtv_mode=2 | ||
|
|
||
| #uncomment to overclock the arm. 700 MHz is the default. | ||
| #arm_freq=800 | ||
|
|
||
| # Uncomment some or all of these to enable the optional hardware interfaces | ||
| #dtparam=i2c_arm=on | ||
| #dtparam=i2s=on | ||
| #dtparam=spi=on | ||
|
|
||
| # Uncomment this to enable the lirc-rpi module | ||
| #dtoverlay=lirc-rpi | ||
|
|
||
| # Additional overlays and parameters are documented /boot/overlays/README | ||
|
|
||
| # Enable audio (loads snd_bcm2835) | ||
| dtparam=audio=on | ||
|
|
||
| dtoverlay=dwc2 | ||
| gpu_mem=16 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
config.txt can change, but the two lines probably won't. Maybe
teecould be used to top the new lines into the end of the existing file?