Compare commits
12 Commits
feature/cm
...
master
Author | SHA1 | Date | |
---|---|---|---|
|
c33ae26742 | ||
|
2a82e92e04 | ||
|
cc98513b14 | ||
|
8418458d6e | ||
|
78a8e0099d | ||
|
9824634051 | ||
|
a21f7a4835 | ||
|
ca8a965f1f | ||
|
623bac0c38 | ||
|
c66054cafd | ||
|
4e0d51b548 | ||
|
20a8911a04 |
6
architectures/cortex-a72.cfg
Normal file
6
architectures/cortex-a72.cfg
Normal file
@ -0,0 +1,6 @@
|
||||
cfg_target_canonical="armv11-$cfg_glued_vendor-linux-gnueabi"
|
||||
cfg_target_linux='arm'
|
||||
cfg_target_uboot_arch='arm'
|
||||
cfg_target_gcc_flags='-O2 -pipe -funit-at-a-time -mcpu=cortex-a72 -mtune=cortex-a72 -mfloat-abi=hard -mfpu=neon-fp-armv8'
|
||||
cfg_target_gcc_configure_flags='--with-cpu=cortex-a72 --with-tune=cortex-a72 --with-fpu=neon-fp-armv8 --with-float=hard'
|
||||
cfg_target_ar_flags='aarch64-elf'
|
@ -36,6 +36,3 @@ 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
|
||||
|
@ -35,6 +35,11 @@ build()
|
||||
host_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()
|
||||
|
@ -1,14 +0,0 @@
|
||||
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
|
||||
}
|
||||
|
25
rules/kplex/default.bash
Normal file
25
rules/kplex/default.bash
Normal file
@ -0,0 +1,25 @@
|
||||
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"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
version=\
|
||||
(
|
||||
'4.19.60'
|
||||
'4.4.66'
|
||||
)
|
||||
|
||||
url=\
|
||||
@ -10,7 +10,7 @@ url=\
|
||||
|
||||
md5=\
|
||||
(
|
||||
'3f8dfed50f9d9ff7247b3d6da4fd35a3'
|
||||
'5353de56bf4621a35afc4384c7e51f30'
|
||||
)
|
||||
|
||||
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.19_2019-07-29'
|
||||
'4.4_2017-01-27'
|
||||
)
|
||||
|
||||
url=\
|
||||
@ -12,7 +12,7 @@ url=\
|
||||
|
||||
md5=\
|
||||
(
|
||||
'a9fac458f26bf4a3f3d9c981c7e51dd9'
|
||||
'f31d48a9d2c93509b35e750be489b44c'
|
||||
)
|
||||
|
||||
build_dir="rpi-linux-rpi-linux-$version"
|
||||
|
@ -63,6 +63,11 @@ host_install()
|
||||
{
|
||||
cd ${pkg_build_dir}/../build &&
|
||||
$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()
|
||||
|
@ -1,6 +1,6 @@
|
||||
version=\
|
||||
(
|
||||
'2019-07-29'
|
||||
'2017-02-02'
|
||||
)
|
||||
|
||||
url=\
|
||||
@ -10,17 +10,20 @@ url=\
|
||||
|
||||
maintainer=\
|
||||
(
|
||||
'Ricardo Martins <rasm@fe.up.pt>'
|
||||
'Pedro Gonçalves <pedro@lsts.pt>'
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'5b35887b1026fafe8174f473679d175a'
|
||||
'eb42664fce4d73f167064e697dfacb76'
|
||||
)
|
||||
|
||||
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 -
|
||||
}
|
||||
|
34
rules/zerotier/default.bash
Normal file
34
rules/zerotier/default.bash
Normal file
@ -0,0 +1,34 @@
|
||||
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"
|
||||
}
|
||||
|
51
systems/lctr-a72xx/cfg/firmware/config.txt
Normal file
51
systems/lctr-a72xx/cfg/firmware/config.txt
Normal file
@ -0,0 +1,51 @@
|
||||
# For more options and information see
|
||||
# http://www.raspberrypi.org/documentation/configuration/config-txt.md
|
||||
# Some settings may impact device functionality. See link above for details
|
||||
|
||||
kernel=uboot.bin
|
||||
device_tree_address=0x02000000
|
||||
|
||||
# enable i2c
|
||||
dtparam=i2c_arm=on
|
||||
dtparam=spi=on
|
||||
|
||||
# uncomment if you get no picture on HDMI for a default "safe" mode
|
||||
#hdmi_safe=1
|
||||
|
||||
# uncomment this if your display has a black border of unused pixels visible
|
||||
# and your display can output without overscan
|
||||
#disable_overscan=1
|
||||
|
||||
# uncomment the following to adjust overscan. Use positive numbers if console
|
||||
# goes off screen, and negative if there is too much border
|
||||
#overscan_left=16
|
||||
#overscan_right=16
|
||||
#overscan_top=16
|
||||
#overscan_bottom=16
|
||||
|
||||
# uncomment to force a console size. By default it will be display's size minus
|
||||
# overscan.
|
||||
#framebuffer_width=1280
|
||||
#framebuffer_height=720
|
||||
|
||||
# uncomment if hdmi display is not detected and composite is being output
|
||||
#hdmi_force_hotplug=1
|
||||
|
||||
# uncomment to force a specific HDMI mode (this will force VGA)
|
||||
#hdmi_group=1
|
||||
#hdmi_mode=1
|
||||
|
||||
# uncomment to force a HDMI mode rather than DVI. This can make audio work in
|
||||
# DMT (computer monitor) modes
|
||||
#hdmi_drive=2
|
||||
|
||||
# uncomment to increase signal to HDMI, if you have interference, blanking, or
|
||||
# no display
|
||||
#config_hdmi_boost=4
|
||||
|
||||
# uncomment for composite PAL
|
||||
#sdtv_mode=2
|
||||
|
||||
#uncomment to overclock the arm. 700 MHz is the default.
|
||||
#arm_freq=800
|
||||
|
9401
systems/lctr-a72xx/cfg/linux-5.4.cfg
Normal file
9401
systems/lctr-a72xx/cfg/linux-5.4.cfg
Normal file
File diff suppressed because it is too large
Load Diff
19
systems/lctr-a72xx/config
Normal file
19
systems/lctr-a72xx/config
Normal file
@ -0,0 +1,19 @@
|
||||
cfg_architecture='cortex-a72'
|
||||
cfg_storage='data0:ext4:/opt'
|
||||
cfg_services0='dropbear network storage upgrade syslog ptpd'
|
||||
cfg_services1=''
|
||||
cfg_services2='dune'
|
||||
cfg_modules=''
|
||||
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind rpi-boot-firmware bison binutils openssl linux/rpi exiftool libusb'
|
||||
cfg_target_linux_kernel='arch/arm/boot/zImage'
|
||||
cfg_ptpd_interface='eth0'
|
||||
cfg_eth_ext_mk='255.255.0.0'
|
||||
cfg_eth_ext_gw='10.0.0.1'
|
||||
cfg_terminal='tty1'
|
||||
cfg_partitions=\
|
||||
(
|
||||
rpi-boot BOOT0 512B 32MiB
|
||||
root root0 32MiB 544MiB
|
||||
data data0 544MiB -1
|
||||
)
|
||||
|
3
systems/lctr-a72xx/lctr-a72xx-testbed.cfg
Normal file
3
systems/lctr-a72xx/lctr-a72xx-testbed.cfg
Normal file
@ -0,0 +1,3 @@
|
||||
cfg_hostname="lctr-a72xx-testbed"
|
||||
cfg_eth_ext_ip="10.0.200.18"
|
||||
cfg_kernel_boot_dev='/dev/mmcblk0p1'
|
File diff suppressed because it is too large
Load Diff
@ -3,7 +3,7 @@ cfg_storage='data0:ext4:/opt'
|
||||
cfg_modules=''
|
||||
cfg_services0='network dropbear storage upgrade syslog ptpd'
|
||||
cfg_services2='dune'
|
||||
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind rpi-boot-firmware linux/rpi'
|
||||
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind rpi-boot-firmware linux/rpi exiftool libusb'
|
||||
cfg_target_linux_kernel='arch/arm/boot/zImage'
|
||||
cfg_ptpd_interface='eth0'
|
||||
cfg_eth_ext_mk='255.255.0.0'
|
||||
|
@ -4,15 +4,6 @@ arm_freq=1000
|
||||
# Disable BT on Rpi3.
|
||||
dtoverlay=pi3-disable-bt
|
||||
|
||||
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
|
||||
# Enable RasPicam
|
||||
start_x=1
|
||||
gpu_mem=128
|
||||
|
@ -1,9 +0,0 @@
|
||||
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'
|
||||
|
@ -1,7 +1,7 @@
|
||||
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_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind rpi-boot-firmware linux/rpi exiftool libusb'
|
||||
cfg_services0='network dropbear storage upgrade syslog ptpd'
|
||||
cfg_modules="$cfg_modules ftdi_sio"
|
||||
cfg_terminal='tty1'
|
||||
|
Reference in New Issue
Block a user