Compare commits
2 Commits
feature/rp
...
feature/cm
Author | SHA1 | Date | |
---|---|---|---|
|
973cb7340e | ||
|
4c8324abc3 |
@@ -27,24 +27,12 @@ MAINTAINER Ricardo Martins <rasm@oceanscan-mst.com>
|
|||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
|
||||||
# Update distro.
|
# Update distro.
|
||||||
RUN echo "deb http://ftp.us.debian.org/debian testing non-free contrib" >> /etc/apt/sources.list
|
|
||||||
RUN echo "deb http://mirrors.fe.up.pt/ubuntu xenial main restricted universe multiverse" >> /etc/apt/sources.list
|
|
||||||
RUN echo "deb http://mirrors.fe.up.pt/ubuntu xenial-updates main restricted universe multiverse" >> /etc/apt/sources.list
|
|
||||||
RUN echo "deb http://mirrors.fe.up.pt/ubuntu xenial-backports main restricted universe multiverse" >> /etc/apt/sources.list
|
|
||||||
RUN apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 3B4FE6ACC0B21F32
|
|
||||||
RUN apt-get update -y
|
RUN apt-get update -y
|
||||||
RUN apt-get dist-upgrade -y
|
RUN apt-get dist-upgrade -y
|
||||||
RUN apt-get install -y apt-utils
|
|
||||||
RUN apt-get install -y g++-5
|
|
||||||
RUN apt-get install -y gcc-5
|
|
||||||
RUN apt-get install -y wget
|
RUN apt-get install -y wget
|
||||||
RUN apt-get install -y bzip2
|
RUN apt-get install -y bzip2
|
||||||
RUN apt-get install -y git
|
RUN apt-get install -y git
|
||||||
RUN apt-get install -y g++-multilib
|
RUN apt-get install -y g++-multilib
|
||||||
|
RUN apt-get install -y cmake
|
||||||
RUN apt-get install -y file
|
RUN apt-get install -y file
|
||||||
RUN apt-get install -y vim
|
|
||||||
RUN apt-get install -y nasm
|
|
||||||
RUN apt-get install -y build-essential
|
|
||||||
RUN apt-get install -y make
|
|
||||||
RUN apt-get install -y kmod
|
RUN apt-get install -y kmod
|
||||||
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5
|
|
||||||
|
@@ -29,15 +29,3 @@ all:
|
|||||||
|
|
||||||
shell:
|
shell:
|
||||||
docker run -w $(VOLUME) -i -a stdin -a stdout -v $(VOLUME):$(VOLUME) -t $(TAG):$(VERSION)
|
docker run -w $(VOLUME) -i -a stdin -a stdout -v $(VOLUME):$(VOLUME) -t $(TAG):$(VERSION)
|
||||||
|
|
||||||
clean:
|
|
||||||
@echo "* Stopping docker service..."
|
|
||||||
@sudo systemctl stop docker
|
|
||||||
@echo "* Cleaning docker service..."
|
|
||||||
@sudo rm -rf /var/lib/docker
|
|
||||||
@echo "* Starting docker service..."
|
|
||||||
@sudo systemctl start docker
|
|
||||||
@echo "* Done."
|
|
||||||
|
|
||||||
delete_img:
|
|
||||||
@sudo docker system prune -a
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
"2.8.9"
|
"3.12.1"
|
||||||
)
|
)
|
||||||
|
|
||||||
version_major=\
|
version_major=\
|
||||||
@@ -15,7 +15,7 @@ url=\
|
|||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
"801f4c87f8b604f727df5bf1f05a59e7"
|
"10109246a51102bfda45ff3935275fbf"
|
||||||
)
|
)
|
||||||
|
|
||||||
configure()
|
configure()
|
||||||
|
@@ -128,14 +128,12 @@ build()
|
|||||||
$cmd_make \
|
$cmd_make \
|
||||||
CROSS_COMPILE=$cfg_target_canonical- \
|
CROSS_COMPILE=$cfg_target_canonical- \
|
||||||
ARCH=$cfg_target_linux \
|
ARCH=$cfg_target_linux \
|
||||||
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
|
|
||||||
modules || return 1
|
modules || return 1
|
||||||
|
|
||||||
if [ "$(basename $cfg_target_linux_kernel)" = 'uImage' ]; then
|
if [ "$(basename $cfg_target_linux_kernel)" = 'uImage' ]; then
|
||||||
$cmd_make \
|
$cmd_make \
|
||||||
CROSS_COMPILE=$cfg_target_canonical- \
|
CROSS_COMPILE=$cfg_target_canonical- \
|
||||||
ARCH=$cfg_target_linux \
|
ARCH=$cfg_target_linux \
|
||||||
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
|
|
||||||
uImage || return 1
|
uImage || return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -144,7 +142,6 @@ build()
|
|||||||
$cmd_make \
|
$cmd_make \
|
||||||
CROSS_COMPILE=$cfg_target_canonical- \
|
CROSS_COMPILE=$cfg_target_canonical- \
|
||||||
ARCH=$cfg_target_linux \
|
ARCH=$cfg_target_linux \
|
||||||
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
|
|
||||||
zImage || return 1
|
zImage || return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -153,7 +150,6 @@ build()
|
|||||||
$cmd_make \
|
$cmd_make \
|
||||||
CROSS_COMPILE=$cfg_target_canonical- \
|
CROSS_COMPILE=$cfg_target_canonical- \
|
||||||
ARCH=$cfg_target_linux \
|
ARCH=$cfg_target_linux \
|
||||||
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
|
|
||||||
dtbs || return 1
|
dtbs || return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -198,21 +194,12 @@ target_install()
|
|||||||
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 \
|
||||||
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
|
|
||||||
modules_install
|
modules_install
|
||||||
|
|
||||||
echo $cfg_sys_family
|
$cmd_make \
|
||||||
if [[ $cfg_sys_family == *rpi* ]]; then
|
CROSS_COMPILE="$cfg_target_canonical-" \
|
||||||
echo "RPI family, no need of firmware_install"
|
ARCH="$cfg_target_linux" \
|
||||||
sleep 2
|
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
|
||||||
else
|
KBUILD_VERBOSE=1 \
|
||||||
sleep 2
|
firmware_install
|
||||||
$cmd_make \
|
|
||||||
CROSS_COMPILE="$cfg_target_canonical-" \
|
|
||||||
ARCH="$cfg_target_linux" \
|
|
||||||
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
|
|
||||||
KBUILD_VERBOSE=1 \
|
|
||||||
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
|
|
||||||
firmware_install
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'4.14_2018-08-17'
|
'4.4_2017-01-27'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
@@ -12,7 +12,7 @@ url=\
|
|||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
'074e40d83f4f4a99449acb08f8ddcbec'
|
'f31d48a9d2c93509b35e750be489b44c'
|
||||||
)
|
)
|
||||||
|
|
||||||
build_dir="rpi-linux-rpi-linux-$version"
|
build_dir="rpi-linux-rpi-linux-$version"
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'2018-08-17'
|
'2017-02-02'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
@@ -16,7 +16,7 @@ maintainer=\
|
|||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
'2b06b9704616ee2a66829281bd480ff3'
|
'eb42664fce4d73f167064e697dfacb76'
|
||||||
)
|
)
|
||||||
|
|
||||||
target_install()
|
target_install()
|
||||||
|
@@ -1 +1 @@
|
|||||||
dwc_otg.lpm_enable=0 console=ttyAMA0,115200,8n1 root=/dev/mmcblk0p2 elevator=deadline rootwait quiet
|
dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 elevator=deadline rootwait quiet
|
||||||
|
File diff suppressed because it is too large
Load Diff
2
systems/lctr-a9xx/manta-sabuvis.cfg
Normal file
2
systems/lctr-a9xx/manta-sabuvis.cfg
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
cfg_hostname='manta-sabuvis'
|
||||||
|
cfg_eth_ext_ip='10.0.30.26'
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user