Compare commits
4 Commits
tag/glued-
...
feature/rp
Author | SHA1 | Date | |
---|---|---|---|
|
c335688751 | ||
|
7a5614f59b | ||
|
f3fb16ec24 | ||
|
db18c1365d |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -5,6 +5,8 @@
|
||||
/lctr-a9xx
|
||||
/lctr-b1xx
|
||||
/lctr-b2xx
|
||||
/lctr-rpi4
|
||||
/lauv-atom
|
||||
/qemu-i686
|
||||
/lauv-aux
|
||||
/lauv-aux-rpi
|
||||
|
@@ -71,22 +71,22 @@ download()
|
||||
fi
|
||||
fi
|
||||
|
||||
# First try LSTS mirror.
|
||||
lsts_url="https://www.lsts.pt/glued/$(basename $u)"
|
||||
download_tool "$lsts_url" "$cfg_dir_downloads/$file"
|
||||
if [ $? -ne 0 ]; then
|
||||
# Then try OceanScan-MST mirror.
|
||||
omst_url="http://www.omst.pt/glued/$(basename $u)"
|
||||
download_tool "$omst_url" "$cfg_dir_downloads/$file"
|
||||
if [ $? -ne 0 ]; then
|
||||
# On failure try upstream URL.
|
||||
download_tool "$u" "$cfg_dir_downloads/$file"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "ERROR: download failed"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
# First try LSTS mirror.
|
||||
lsts_url="https://www.lsts.pt/glued/validPackages/$(basename $u)"
|
||||
download_tool "$lsts_url" "$cfg_dir_downloads/$file"
|
||||
if [ $? -ne 0 ]; then
|
||||
# Then try OceanScan-MST mirror.
|
||||
omst_url="http://www.omst.pt/glued/$(basename $u)"
|
||||
download_tool "$omst_url" "$cfg_dir_downloads/$file"
|
||||
if [ $? -ne 0 ]; then
|
||||
# On failure try upstream URL.
|
||||
download_tool "$u" "$cfg_dir_downloads/$file"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "ERROR: download failed"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
md5="$(md5sum_tool "$cfg_dir_downloads/$file")"
|
||||
if [ "$s" != "$md5" ]; then
|
||||
|
10
rules/rpi4cfs/5uart.bash
Normal file
10
rules/rpi4cfs/5uart.bash
Normal file
@@ -0,0 +1,10 @@
|
||||
maintainer=\
|
||||
(
|
||||
'Pedro Gonçalves <pedro@fe.up.pt>'
|
||||
)
|
||||
|
||||
|
||||
target_install()
|
||||
{
|
||||
$cmd_cp $pkg_dir/cfs/5uart/* ${cfg_dir_rootfs}/boot/
|
||||
}
|
1
rules/rpi4cfs/cfs/5uart/cmdline.txt
Normal file
1
rules/rpi4cfs/cfs/5uart/cmdline.txt
Normal file
@@ -0,0 +1 @@
|
||||
dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 elevator=deadline rootwait quiet
|
6
rules/rpi4cfs/cfs/5uart/config.txt
Normal file
6
rules/rpi4cfs/cfs/5uart/config.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
dtoverlay=disable-bt
|
||||
enable_uart=1
|
||||
dtoverlay=uart2
|
||||
dtoverlay=uart3
|
||||
dtoverlay=uart4
|
||||
dtoverlay=uart5
|
0
rules/rpi4cfs/cfs/5uart/ssh
Normal file
0
rules/rpi4cfs/cfs/5uart/ssh
Normal file
1
rules/rpi4cfs/cfs/default/cmdline.txt
Normal file
1
rules/rpi4cfs/cfs/default/cmdline.txt
Normal file
@@ -0,0 +1 @@
|
||||
dwc_otg.lpm_enable=0 console=ttyAMA0 root=/dev/mmcblk0p2 elevator=deadline rootwait quiet
|
2
rules/rpi4cfs/cfs/default/config.txt
Normal file
2
rules/rpi4cfs/cfs/default/config.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
dtoverlay=disable-bt
|
||||
enable_uart=1
|
0
rules/rpi4cfs/cfs/default/ssh
Normal file
0
rules/rpi4cfs/cfs/default/ssh
Normal file
10
rules/rpi4cfs/default.bash
Normal file
10
rules/rpi4cfs/default.bash
Normal file
@@ -0,0 +1,10 @@
|
||||
maintainer=\
|
||||
(
|
||||
'Pedro Gonçalves <pedro@fe.up.pt>'
|
||||
)
|
||||
|
||||
|
||||
target_install()
|
||||
{
|
||||
$cmd_cp $pkg_dir/cfs/default/* ${cfg_dir_rootfs}/boot/
|
||||
}
|
@@ -3,7 +3,7 @@ cfg_storage='data0:ext4:/opt'
|
||||
cfg_modules=''
|
||||
cfg_services0='network dropbear storage upgrade syslog'
|
||||
cfg_services2='dune'
|
||||
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind rpi-boot-firmware linux/rpi i2c-tools'
|
||||
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind rpi-boot-firmware linux/rpi i2c-tools rpi4cfs'
|
||||
cfg_target_linux_kernel='arch/arm/boot/zImage'
|
||||
cfg_ptpd_interface='eth0'
|
||||
cfg_eth_ext_mk='255.255.0.0'
|
||||
|
@@ -1,4 +1,4 @@
|
||||
cfg_hostname='template'
|
||||
cfg_eth_ext_ip='10.0.20.125'
|
||||
cfg_packages="$cfg_packages gdb"
|
||||
cfg_packages="$cfg_packages gdb rpi4cfs/5uart"
|
||||
cfg_modules="$cfg_modules ftdi_sio rt73usb i2c-dev i2c-bcm2835"
|
||||
|
Reference in New Issue
Block a user