-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
89 additions
and
15 deletions.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
...rmbian/armbian-files/platform-files/allwinner/bootfs/vplus/armbian_first_run.txt.template
This file contains 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,44 @@ | ||
#----------------------------------------------------------------- | ||
# Armbian first run configuration | ||
# Set optional end user configuration | ||
# - Rename this file from /boot/armbian_first_run.txt.template to /boot/armbian_first_run.txt | ||
# - Settings below will be applied only on 1st run of Armbian | ||
#----------------------------------------------------------------- | ||
|
||
#----------------------------------------------------------------- | ||
# General: | ||
# 1 = delete this file, after first run setup is completed. | ||
|
||
FR_general_delete_this_file_after_completion=1 | ||
|
||
#----------------------------------------------------------------- | ||
#Networking: | ||
# Change default network settings | ||
# Set to 1 to apply any network related settings below | ||
|
||
FR_net_change_defaults=0 | ||
|
||
# Enable WiFi or Ethernet. | ||
# NB: If both are enabled, WiFi will take priority and Ethernet will be disabled. | ||
|
||
FR_net_ethernet_enabled=1 | ||
FR_net_wifi_enabled=0 | ||
|
||
#Enter your WiFi creds | ||
# SECURITY WARN: Your wifi keys will be stored in plaintext, no encryption. | ||
|
||
FR_net_wifi_ssid='MySSID' | ||
FR_net_wifi_key='MyWiFiKEY' | ||
|
||
# Country code to enable power ratings and channels for your country. eg: GB US DE | https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 | ||
|
||
FR_net_wifi_countrycode='GB' | ||
|
||
#If you want to use a static ip, set it here | ||
|
||
FR_net_use_static=0 | ||
FR_net_static_ip='192.168.0.100' | ||
FR_net_static_mask='255.255.255.0' | ||
FR_net_static_gateway='192.168.0.1' | ||
FR_net_static_dns='8.8.8.8 8.8.4.4' #2 entries max, seperated by a space. | ||
#----------------------------------------------------------------- |
32 changes: 32 additions & 0 deletions
32
build-armbian/armbian-files/platform-files/allwinner/bootfs/vplus/boot-emmc.cmd
This file contains 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,32 @@ | ||
echo "Start running sunxi mainline u-boot" | ||
#setenv loadaddr "0x42000000" | ||
#setenv kernel_addr_r "0x40080000" | ||
#setenv ramdisk_addr_r "0x4FF00000" | ||
#setenv fdt_addr_r "0x4FA00000" | ||
setenv dev_nums "0 1 2 3" | ||
for devtype in "usb mmc" ; do | ||
for devnum in ${dev_nums} ; do | ||
if test -e ${devtype} ${devnum} uEnv.txt; then | ||
load ${devtype} ${devnum} ${loadaddr} uEnv.txt | ||
env import -t ${loadaddr} ${filesize} | ||
setenv bootargs ${APPEND} | ||
if printenv ethaddr; then | ||
setenv bootargs ${bootargs} mac=${ethaddr} | ||
elif printenv eth_mac; then | ||
setenv bootargs ${bootargs} mac=${eth_mac} | ||
elif printenv mac; then | ||
setenv bootargs ${bootargs} mac=${mac} | ||
fi | ||
if load ${devtype} ${devnum} ${kernel_addr_r} ${LINUX}; then | ||
if load ${devtype} ${devnum} ${ramdisk_addr_r} ${INITRD}; then | ||
if load ${devtype} ${devnum} ${fdt_addr_r} ${FDT}; then | ||
fdt addr ${fdt_addr_r} | ||
booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r} | ||
fi | ||
fi | ||
fi | ||
fi | ||
done | ||
done | ||
# Recompile with: | ||
# mkimage -C none -A arm -T script -d boot.cmd boot.scr |
Binary file added
BIN
+1.1 KB
build-armbian/armbian-files/platform-files/allwinner/bootfs/vplus/boot-emmc.scr
Binary file not shown.
This file contains 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
Binary file modified
BIN
-138 Bytes
(88%)
build-armbian/armbian-files/platform-files/allwinner/bootfs/vplus/boot.scr
Binary file not shown.
This file contains 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