Compare commits

..

3 Commits

Author SHA1 Message Date
João Teixeira
7c15c5d1c4 lctr-rpi: ignore lctr-rpi build folder 2016-11-30 20:08:05 +00:00
João Teixeira
6fe196ad09 lctr-rpi:nest-1 add suport to mobile internet 2016-11-30 20:05:30 +00:00
João Teixeira
b5dba77554 lctr-rpi: Add configuration files for main cpu,(systems based in raspberry pi) 2016-11-29 17:29:12 +00:00
9 changed files with 2533 additions and 28 deletions

1
.gitignore vendored
View File

@@ -10,3 +10,4 @@
/lauv-aux-rpi
/ntnu-b2xx
/stamp9g20
/lctr-rpi

View File

@@ -1,6 +1,6 @@
version=\
(
"2.4.13"
"2.4.11"
)
url=\
@@ -10,7 +10,7 @@ url=\
md5=\
(
'886b0c511209b2f3129649928135967c'
'32f498451bff1817a60e1aabc2939575'
)
requires=\

View File

@@ -2,7 +2,7 @@
version=\
(
"1.1.13"
"1.0.6"
)
url=\
@@ -12,28 +12,22 @@ url=\
md5=\
(
"9678fb7a04808b6e0de63746d35e4bb1"
)
maintainer=\
(
'?'
'Tiago Marques <tsmarques@fe.up.pt>'
"246a3865ec037f8f5757ef6b973a80fc"
)
requires=\
(
'x264/default'
# 'ffmpeg/default'
)
configure()
{
./bootstrap
./configure \
--prefix="${cfg_dir_toolchain_sysroot}/usr" \
--build="$cfg_host_canonical" \
--host="$cfg_target_canonical" \
--enable-run-as-root \
--enable-run-as-root \
--disable-dbus-control \
--disable-dbus \
--disable-hal \
@@ -48,20 +42,7 @@ configure()
--disable-skins2 \
--disable-lua \
--disable-x11 \
--disable-glx \
--disable-bonjour \
--disable-upnp \
--disable-udev \
--disable-mtp \
--disable-libgcrypt \
--disable-remoteosd \
CC="$cmd_target_cc" \
enable_xcb="no" \
enable_goom="no" \
enable_projectm="no" \
enable_alsa="no" \
enable_portaudio="no" \
enable_v4l2="no"
--disable-glx
}
build()

View File

@@ -19,8 +19,7 @@ configure()
--sysroot="${cfg_dir_toolchain_sysroot}" \
--cross-prefix="${cmd_target_prefix}" \
--host="$cfg_target_canonical" \
--prefix="${cfg_dir_toolchain_sysroot}/usr" \
--disable-asm
--prefix="${cfg_dir_toolchain_sysroot}/usr"
}
build()

File diff suppressed because it is too large Load Diff

18
systems/lctr-rpi/config Normal file
View File

@@ -0,0 +1,18 @@
cfg_architecture='cortex-a8-hardfp'
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_target_linux_kernel='arch/arm/boot/zImage'
cfg_target_linux_dtb='arch/arm/boot/dts/bcm2709-rpi-2-b.dtb'
cfg_ptpd_interface='eth0'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_terminal='ttyAMA0'
cfg_partitions=\
(
rpi-boot boot0 512B 32MiB
root root0 32MiB 544MiB
data data0 544MiB -1
)

View File

@@ -0,0 +1 @@
arm_freq=1000

View File

@@ -0,0 +1,2 @@
ttyAMA0 root:root 660 >terminal
ttyUSB[0-9]* root:root 660 */sbin/mdev-ttyusb

View File

@@ -0,0 +1,4 @@
cfg_hostname='nest-1'
cfg_eth_ext_ip='10.0.200.40'
cfg_packages="$cfg_packages ppp iptables"