Compare commits
21 Commits
master
...
feature/cm
Author | SHA1 | Date | |
---|---|---|---|
|
34029e1175 | ||
|
9f26b1f04f | ||
|
f0ec5b76f3 | ||
|
565302c895 | ||
|
0b1404228d | ||
|
3267ac919c | ||
|
92d4bb763a | ||
|
34c2c7edd0 | ||
|
bc6b79bb55 | ||
|
582ef9eec4 | ||
|
9cb1747015 | ||
|
f8c6d5051a | ||
|
a6957ee9a6 | ||
|
69c86a1905 | ||
|
a9f2d9f865 | ||
|
445ce22db2 | ||
|
ef9335f132 | ||
|
b69cfb9682 | ||
|
568f2abbbf | ||
|
0dd5539b48 | ||
|
d1872860fa |
@ -36,3 +36,6 @@ RUN apt-get install -y g++-multilib
|
||||
RUN apt-get install -y cmake
|
||||
RUN apt-get install -y file
|
||||
RUN apt-get install -y kmod
|
||||
RUN apt-get install -y bison
|
||||
RUN apt-get install -y flex
|
||||
RUN apt-get install -y libssl-dev
|
||||
|
37
rules/exiftool/default.bash
Normal file
37
rules/exiftool/default.bash
Normal file
@ -0,0 +1,37 @@
|
||||
version=\
|
||||
(
|
||||
"10.96"
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"https://lsts.pt/glued/exiftoolBin-${version}.tar.gz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
"71d52bf2d75f023b844dd8c9100daaff"
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
(
|
||||
'Pedro Gonçalves <pedro@lsts.pt>'
|
||||
)
|
||||
|
||||
requires=\
|
||||
(
|
||||
'perl/default'
|
||||
)
|
||||
|
||||
post_unpack()
|
||||
{
|
||||
$cmd_cp -r ../exiftoolBin-${version}/* .
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
$cmd_cp -rv usr/* $cfg_dir_toolchain_sysroot/usr/
|
||||
$cmd_cp -rv usr/* $cfg_dir_rootfs/usr/
|
||||
$cmd_cp -rv usr/local/bin/* $cfg_dir_rootfs/usr/bin/
|
||||
}
|
||||
|
14
rules/filesystem/fs/etc/rc.d/mount_sdcard_cm3
Normal file
14
rules/filesystem/fs/etc/rc.d/mount_sdcard_cm3
Normal file
@ -0,0 +1,14 @@
|
||||
start()
|
||||
{
|
||||
echo "* Mounting external sdcard in /opt/lsts *"
|
||||
mount /dev/mmcblk1p1 /opt/lsts
|
||||
mkdir -p /opt/lsts/glued
|
||||
mkdir -p /opt/lsts/dune
|
||||
}
|
||||
|
||||
stop()
|
||||
{
|
||||
echo "* Unmount external sdcard *"
|
||||
umount /dev/mmcblk1p1
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
version=\
|
||||
(
|
||||
'4.4.66'
|
||||
'4.19.60'
|
||||
)
|
||||
|
||||
url=\
|
||||
@ -10,7 +10,7 @@ url=\
|
||||
|
||||
md5=\
|
||||
(
|
||||
'5353de56bf4621a35afc4384c7e51f30'
|
||||
'3f8dfed50f9d9ff7247b3d6da4fd35a3'
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
|
@ -196,10 +196,10 @@ target_install()
|
||||
KBUILD_VERBOSE=1 \
|
||||
modules_install
|
||||
|
||||
$cmd_make \
|
||||
CROSS_COMPILE="$cfg_target_canonical-" \
|
||||
ARCH="$cfg_target_linux" \
|
||||
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
|
||||
KBUILD_VERBOSE=1 \
|
||||
firmware_install
|
||||
#$cmd_make \
|
||||
# CROSS_COMPILE="$cfg_target_canonical-" \
|
||||
# ARCH="$cfg_target_linux" \
|
||||
# INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
|
||||
# KBUILD_VERBOSE=1 \
|
||||
# firmware_install
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
version=\
|
||||
(
|
||||
'4.4_2017-01-27'
|
||||
'4.19_2019-07-29'
|
||||
)
|
||||
|
||||
url=\
|
||||
@ -12,7 +12,7 @@ url=\
|
||||
|
||||
md5=\
|
||||
(
|
||||
'f31d48a9d2c93509b35e750be489b44c'
|
||||
'a9fac458f26bf4a3f3d9c981c7e51dd9'
|
||||
)
|
||||
|
||||
build_dir="rpi-linux-rpi-linux-$version"
|
||||
|
@ -1,6 +1,6 @@
|
||||
version=\
|
||||
(
|
||||
'2017-02-02'
|
||||
'2019-07-29'
|
||||
)
|
||||
|
||||
url=\
|
||||
@ -10,20 +10,17 @@ url=\
|
||||
|
||||
maintainer=\
|
||||
(
|
||||
'Ricardo Martins <rasm@fe.up.pt>'
|
||||
'Pedro Gonçalves <pedro@lsts.pt>'
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'eb42664fce4d73f167064e697dfacb76'
|
||||
'5b35887b1026fafe8174f473679d175a'
|
||||
)
|
||||
|
||||
target_install()
|
||||
{
|
||||
$cmd_mkdir "$cfg_dir_rootfs/boot"
|
||||
|
||||
$cmd_cp "../$pkg-$version/"* "$cfg_dir_rootfs/boot/"
|
||||
|
||||
tar -C "$pkg_dir/fs" -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
|
||||
}
|
||||
|
6515
systems/lctr-rpi/cfg/linux-4.19_2019-07-29.cfg
Normal file
6515
systems/lctr-rpi/cfg/linux-4.19_2019-07-29.cfg
Normal file
File diff suppressed because it is too large
Load Diff
@ -4,6 +4,15 @@ arm_freq=1000
|
||||
# Disable BT on Rpi3.
|
||||
dtoverlay=pi3-disable-bt
|
||||
|
||||
# Enable RasPicam
|
||||
start_x=1
|
||||
gpu_mem=128
|
||||
dtoverlay=uart1
|
||||
dtoverlay=uart0
|
||||
|
||||
### EXTERNAL SDCARD OPTIONS
|
||||
# Activate external sdcard in CM3 [22 at 27]
|
||||
#dtoverlay=sdio,poll_once=off
|
||||
|
||||
#Activate external sdcard in CM3 [34 at 39]
|
||||
#dtoverlay=sdio34,poll_once=off,gpios_34_39
|
||||
#dtoverlay=sdio34,poll_once=off,bus_width=4,gpios_34_39
|
||||
#dtoverlay=sdio34,poll_once=off,bus_width=4,sdio_overclock=30
|
||||
#dtoverlay=sdio34,poll_once=off,bus_width=4,gpios_34_39,sdio_overclock=30
|
||||
|
9
systems/lctr-rpi/test-rpi-cm3.cfg
Normal file
9
systems/lctr-rpi/test-rpi-cm3.cfg
Normal file
@ -0,0 +1,9 @@
|
||||
cfg_hostname='test-rpi-cm3'
|
||||
cfg_eth_ext_ip='10.0.200.52'
|
||||
cfg_services1=''
|
||||
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind rpi-boot-firmware linux/rpi'
|
||||
cfg_services0='network dropbear storage upgrade syslog ptpd mount_sdcard_cm3'
|
||||
cfg_modules="$cfg_modules ftdi_sio"
|
||||
cfg_terminal='tty1'
|
||||
cfg_ptpd_interface='eth0'
|
||||
|
9
systems/lctr-rpi/test-rpi-eth0.cfg
Normal file
9
systems/lctr-rpi/test-rpi-eth0.cfg
Normal file
@ -0,0 +1,9 @@
|
||||
cfg_hostname='test-rpi'
|
||||
cfg_eth_ext_ip='10.0.200.52'
|
||||
cfg_services1=''
|
||||
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind rpi-boot-firmware linux/rpi exiftool'
|
||||
cfg_services0='network dropbear storage upgrade syslog ptpd'
|
||||
cfg_modules="$cfg_modules ftdi_sio"
|
||||
cfg_terminal='tty1'
|
||||
cfg_ptpd_interface='eth0'
|
||||
|
Reference in New Issue
Block a user