-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
eaec571
commit e78019d
Showing
26 changed files
with
284 additions
and
44 deletions.
There are no files selected for viewing
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
This file was deleted.
Oops, something went wrong.
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,6 @@ | ||
mmc dev 0 | ||
fatload mmc 0:1 ${kernel_addr_r} Image | ||
fatload mmc 0:1 ${fdt_addr_r} bcm2710-rpi-3-b-plus.dtb | ||
setenv bootargs root=/dev/mmcblk0p2 rootwait console=tty1 console=ttyAMA0,115200 loglevel=3 zram.enabled=1 | ||
printenv | ||
booti ${kernel_addr_r} - ${fdt_addr_r} |
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 |
---|---|---|
@@ -1,22 +1,14 @@ | ||
disable_splash=1 | ||
|
||
start_file=start.elf | ||
fixup_file=fixup.dat | ||
|
||
kernel=u-boot.bin | ||
kernel=Image | ||
|
||
disable_overscan=1 | ||
|
||
gpu_mem=64 | ||
gpu_mem=100 | ||
|
||
dtoverlay=miniuart-bt | ||
dtoverlay=krnbt=on | ||
|
||
# Neuron | ||
dtparam=i2c_arm=on | ||
dtoverlay=i2c-rtc,mcp7941x | ||
dtoverlay=neuron-spi-new | ||
|
||
# enable 64bits support | ||
arm_64bit=1 | ||
|
||
[pi4] | ||
arm_boost=1 |
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
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
unipi -1 unipi -1 =unipi /home/unipi /bin/zsh wheel | ||
pi -1 pi -1 =pi /home/pi /bin/zsh wheel |
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,19 @@ | ||
start_file=start.elf | ||
fixup_file=fixup.dat | ||
|
||
kernel=Image | ||
|
||
disable_overscan=1 | ||
|
||
gpu_mem=100 | ||
|
||
dtoverlay=miniuart-bt | ||
dtoverlay=krnbt=on | ||
|
||
# Neuron | ||
dtparam=i2c_arm=on | ||
dtoverlay=i2c-rtc,mcp7941x | ||
dtoverlay=neuron-spi-new | ||
|
||
# enable 64bits support | ||
arm_64bit=1 |
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,2 @@ | ||
# <name> <type> <mode> <uid> <gid> <major> <minor> <start> <inc> <count> | ||
/etc/monitrc f 700 0 0 - - - - - |
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,33 @@ | ||
image boot.vfat { | ||
vfat { | ||
files = { | ||
"bcm2710-rpi-3-b.dtb", | ||
"bcm2710-rpi-3-b-plus.dtb", | ||
"bcm2837-rpi-3-b.dtb", | ||
"rpi-firmware/bootcode.bin", | ||
"rpi-firmware/cmdline.txt", | ||
"rpi-firmware/config.txt", | ||
"rpi-firmware/fixup.dat", | ||
"rpi-firmware/start.elf", | ||
"rpi-firmware/overlays", | ||
"Image" | ||
} | ||
} | ||
size = 32M | ||
} | ||
|
||
image sdcard.img { | ||
hdimage { | ||
} | ||
|
||
partition boot { | ||
partition-type = 0xC | ||
bootable = "true" | ||
image = "boot.vfat" | ||
} | ||
|
||
partition rootfs { | ||
partition-type = 0x83 | ||
image = "rootfs.ext4" | ||
} | ||
} |
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,13 @@ | ||
#!/bin/sh | ||
|
||
set -u | ||
set -e | ||
|
||
# Disable owftpd | ||
ln -fs /dev/null ${TARGET_DIR}/etc/systemd/system/owftpd.service | ||
|
||
# Update mosquitto listener | ||
sed -i 's/#listener/listener 1883 0.0.0.0/g' ${TARGET_DIR}/etc/mosquitto/mosquitto.conf | ||
|
||
# Update mosquitto authentication | ||
sed -i 's/#allow_anonymous false/allow_anonymous true/g' ${TARGET_DIR}/etc/mosquitto/mosquitto.conf |
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,3 @@ | ||
#!/bin/sh | ||
|
||
support/scripts/genimage.sh -c $(dirname $0)/genimage.cfg |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 @@ | ||
unipi -1 unipi -1 =unipi /home/unipi /bin/zsh wheel |
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,33 @@ | ||
image boot.vfat { | ||
vfat { | ||
files = { | ||
"bcm2710-rpi-3-b.dtb", | ||
"bcm2710-rpi-3-b-plus.dtb", | ||
"bcm2837-rpi-3-b.dtb", | ||
"rpi-firmware/bootcode.bin", | ||
"rpi-firmware/cmdline.txt", | ||
"rpi-firmware/config.txt", | ||
"rpi-firmware/fixup.dat", | ||
"rpi-firmware/start.elf", | ||
"rpi-firmware/overlays", | ||
"Image" | ||
} | ||
} | ||
size = 32M | ||
} | ||
|
||
image sdcard.img { | ||
hdimage { | ||
} | ||
|
||
partition boot { | ||
partition-type = 0xC | ||
bootable = "true" | ||
image = "boot.vfat" | ||
} | ||
|
||
partition rootfs { | ||
partition-type = 0x83 | ||
image = "rootfs.ext4" | ||
} | ||
} |
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,3 @@ | ||
#!/bin/sh | ||
|
||
support/scripts/genimage.sh -c $(dirname $0)/genimage.cfg |
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
Oops, something went wrong.