Compare commits

..

17 Commits

Author SHA1 Message Date
Pedro Gonçalves
34029e1175 systems/lctr-rpi/boot: add settings to test external sdcard. 2019-07-31 19:59:20 +01:00
Pedro Gonçalves
9f26b1f04f systems/lctr-rpi/cfg: update kernel config file. 2019-07-31 19:57:21 +01:00
Pedro Gonçalves
f0ec5b76f3 rules/linux: update md5 value. 2019-07-31 19:54:40 +01:00
Pedro Gonçalves
565302c895 systems/lctr-rpi/fs/boot: update config file for CM3. 2019-07-30 18:18:13 +01:00
Pedro Gonçalves
0b1404228d systems/lctr-rpi/cfg: update config file to version 4.19.60. 2019-07-30 18:17:00 +01:00
Pedro Gonçalves
3267ac919c rules:rpi-boot: update to version 4.19.60. 2019-07-30 18:16:24 +01:00
Pedro Gonçalves
92d4bb763a rules:linux: update to version 4.19.60. 2019-07-30 18:16:02 +01:00
Pedro Gonçalves
34c2c7edd0 rules:linux-headers: update to version 4.19.60. 2019-07-30 18:15:52 +01:00
Pedro Gonçalves
bc6b79bb55 rules/filesystem/fs/etc/rc.d/mount_sdcard_cm3: add boot script to mount external sdcard in /opt/lsts 2019-03-15 20:09:05 +00:00
Pedro Gonçalves
582ef9eec4 systems/lctr-rpi/test-rpi-cm3: add test system for cm3. 2019-03-15 19:51:49 +00:00
Pedro Gonçalves
9cb1747015 systems/lctr-rpi/fs/boot/config: add line to activate external sdcard in CM3. 2019-03-15 19:02:39 +00:00
Pedro Gonçalves
f8c6d5051a rules/linux/default: remove firmware compilation (in new kernel 4.19 firmware compilation not exist - precautions for other systems) 2019-03-15 09:45:06 +00:00
Pedro Gonçalves
a6957ee9a6 rules/rpi-boot-firmware: update boot of rpi to kernel 4.19.x 2019-03-15 09:43:04 +00:00
Pedro Gonçalves
69c86a1905 rules/linux/rpi: update version of kernel to 4.19.x 2019-03-15 09:42:12 +00:00
Pedro Gonçalves
a9f2d9f865 systems/lctr-rpi/cfg: add kernel config for rpi (4.19.x). 2019-03-15 09:41:25 +00:00
Pedro Gonçalves
445ce22db2 docker: add bison, flex and libssl-dev for the new kernel version (4.19.x) 2019-03-15 09:21:36 +00:00
Pedro Gonçalves
ef9335f132 Merge branch 'feature/exiftool' into feature/cm3-rpi 2019-02-25 17:06:11 +00:00
18 changed files with 6573 additions and 95 deletions

View File

@@ -36,3 +36,6 @@ RUN apt-get install -y g++-multilib
RUN apt-get install -y cmake RUN apt-get install -y cmake
RUN apt-get install -y file RUN apt-get install -y file
RUN apt-get install -y kmod 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

View File

@@ -35,11 +35,6 @@ build()
host_install() host_install()
{ {
$cmd_make install $cmd_make install
# make available for cross compilation
for f in "${cfg_dir_toolchain_sysroot}/usr/lib/"libcurl*so*; do
echo "Doing $f"
ln -s -f "$f" "${cfg_dir_toolchain}/lib"
done
} }
target_install() target_install()

View 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
}

View File

@@ -5,12 +5,12 @@ version=\
url=\ url=\
( (
"https://lsts.pt/glued/gcc-$version.tar.bz2" "http://mirrors.kernel.org/gnu/gcc/gcc-$version/gcc-$version.tar.bz2"
) )
md5=\ md5=\
( (
'0abd6a50e1d6cf1642ae2414cc5a10b6' '6f831b4d251872736e8e9cc09746f327'
) )
build_dir=$pkg_var build_dir=$pkg_var

View File

@@ -1,25 +0,0 @@
version=\
(
'1.4'
)
url=\
(
"https://github.com/stripydog/kplex/archive/v$version.tar.gz"
)
md5=\
(
'df198384d2d7dee4b802136f4f9e9d44'
)
build()
{
cd ../kplex-$version && $cmd_make VERBOSE=1 CC="$cmd_target_cc"
}
target_install()
{
$cmd_cp ../kplex-$version/kplex "$cfg_dir_rootfs/usr/bin/kplex"
}

View File

@@ -1,6 +1,6 @@
version=\ version=\
( (
'4.4.66' '4.19.60'
) )
url=\ url=\
@@ -10,7 +10,7 @@ url=\
md5=\ md5=\
( (
'5353de56bf4621a35afc4384c7e51f30' '3f8dfed50f9d9ff7247b3d6da4fd35a3'
) )
maintainer=\ maintainer=\

View File

@@ -196,10 +196,10 @@ target_install()
KBUILD_VERBOSE=1 \ KBUILD_VERBOSE=1 \
modules_install modules_install
$cmd_make \ #$cmd_make \
CROSS_COMPILE="$cfg_target_canonical-" \ # CROSS_COMPILE="$cfg_target_canonical-" \
ARCH="$cfg_target_linux" \ # ARCH="$cfg_target_linux" \
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \ # INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
KBUILD_VERBOSE=1 \ # KBUILD_VERBOSE=1 \
firmware_install # firmware_install
} }

View File

@@ -2,7 +2,7 @@
version=\ version=\
( (
'4.4_2017-01-27' '4.19_2019-07-29'
) )
url=\ url=\
@@ -12,7 +12,7 @@ url=\
md5=\ md5=\
( (
'f31d48a9d2c93509b35e750be489b44c' 'a9fac458f26bf4a3f3d9c981c7e51dd9'
) )
build_dir="rpi-linux-rpi-linux-$version" build_dir="rpi-linux-rpi-linux-$version"

View File

@@ -5,12 +5,12 @@ version=\
url=\ url=\
( (
"https://lsts.pt/glued/make-$version.tar.bz2" "http://ftp.gnu.org/gnu/make/make-$version.tar.bz2"
) )
md5=\ md5=\
( (
'69520444a44561c8ce10276eee8ec55e' '1a11100f3c63fcf5753818e59d63088f'
) )
maintainer=\ maintainer=\

View File

@@ -1,6 +1,6 @@
version=\ version=\
( (
"6.1" "5.9"
) )
url=\ url=\
@@ -10,7 +10,7 @@ url=\
md5=\ md5=\
( (
"98c889aaf8d23910d2b92d65be2e737a" "8cb9c412e5f2d96bc6f459aa8c6282a1"
) )
maintainer=\ maintainer=\

View File

@@ -63,11 +63,6 @@ host_install()
{ {
cd ${pkg_build_dir}/../build && cd ${pkg_build_dir}/../build &&
$cmd_make install $cmd_make install
# make available for cross compilation
for f in "$cfg_dir_toolchain_sysroot/usr/lib/"libopencv*so*; do
ln -s -f "$f" "$cfg_dir_toolchain/lib"
done
} }
target_install() target_install()

View File

@@ -1,6 +1,6 @@
version=\ version=\
( (
'2017-02-02' '2019-07-29'
) )
url=\ url=\
@@ -10,20 +10,17 @@ url=\
maintainer=\ maintainer=\
( (
'Ricardo Martins <rasm@fe.up.pt>'
'Pedro Gonçalves <pedro@lsts.pt>' 'Pedro Gonçalves <pedro@lsts.pt>'
) )
md5=\ md5=\
( (
'eb42664fce4d73f167064e697dfacb76' '5b35887b1026fafe8174f473679d175a'
) )
target_install() target_install()
{ {
$cmd_mkdir "$cfg_dir_rootfs/boot" $cmd_mkdir "$cfg_dir_rootfs/boot"
$cmd_cp "../$pkg-$version/"* "$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 - tar -C "$pkg_dir/fs" -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
} }

View File

@@ -1,34 +0,0 @@
version=\
(
'1.4.2'
)
url=\
(
"https://github.com/zerotier/ZeroTierOne/archive/$version.tar.gz"
)
md5=\
(
'c173f8b61bcdb23844a2669ff0d7bdf0'
)
build()
{
cd ../ZeroTierOne-$version && $cmd_make \
VERBOSE=1 \
CC="$cmd_target_cc" \
CXX="$cmd_target_cxx" \
LD="$cmd_target_ld" \
STRIP="$cmd_target_strip" \
CC_FLAGS="$cfg_target_gcc_flags"
}
target_install()
{
$cmd_cp "../ZeroTierOne-$version/zerotier-one" "$cfg_dir_rootfs/usr/bin/zerotier-one"
ln -sf "$cfg_dir_rootfs/usr/bin/zerotier-one" "$cfg_dir_rootfs/usr/bin/zerotier-cli"
ln -sf "$cfg_dir_rootfs/usr/bin/zerotier-one" "$cfg_dir_rootfs/usr/bin/zerotier-idtool"
}

File diff suppressed because it is too large Load Diff

View File

@@ -3,7 +3,7 @@ cfg_storage='data0:ext4:/opt'
cfg_modules='' cfg_modules=''
cfg_services0='network dropbear storage upgrade syslog ptpd' cfg_services0='network dropbear storage upgrade syslog ptpd'
cfg_services2='dune' cfg_services2='dune'
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind rpi-boot-firmware linux/rpi exiftool libusb' cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind rpi-boot-firmware linux/rpi'
cfg_target_linux_kernel='arch/arm/boot/zImage' cfg_target_linux_kernel='arch/arm/boot/zImage'
cfg_ptpd_interface='eth0' cfg_ptpd_interface='eth0'
cfg_eth_ext_mk='255.255.0.0' cfg_eth_ext_mk='255.255.0.0'

View File

@@ -4,6 +4,15 @@ arm_freq=1000
# Disable BT on Rpi3. # Disable BT on Rpi3.
dtoverlay=pi3-disable-bt dtoverlay=pi3-disable-bt
# Enable RasPicam dtoverlay=uart1
start_x=1 dtoverlay=uart0
gpu_mem=128
### 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

View 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'

View File

@@ -1,7 +1,7 @@
cfg_hostname='test-rpi' cfg_hostname='test-rpi'
cfg_eth_ext_ip='10.0.200.52' cfg_eth_ext_ip='10.0.200.52'
cfg_services1='' cfg_services1=''
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind rpi-boot-firmware linux/rpi exiftool libusb' cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind rpi-boot-firmware linux/rpi exiftool'
cfg_services0='network dropbear storage upgrade syslog ptpd' cfg_services0='network dropbear storage upgrade syslog ptpd'
cfg_modules="$cfg_modules ftdi_sio" cfg_modules="$cfg_modules ftdi_sio"
cfg_terminal='tty1' cfg_terminal='tty1'