Commit 43e4a3ae authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Raspberry Pi 3 Model B kernel needs more than 1GB memory to link - swap added

parent 44efe5e4
......@@ -182,6 +182,10 @@ terasicde10standard:
rm -rf linux-5.2.8
rpi3b-clfs:
dd if=/dev/zero of=swap bs=1048576 count=1024
chmod 600 swap
mkswap swap
swapon swap
tar xf linux-5.2.8.tar.xz
$(MAKE) -C linux-5.2.8 defconfig
/kernelconfig/initramfs/prepare
......@@ -196,8 +200,14 @@ rpi3b-clfs:
$(MAKE) -C ../kmod tests
rm -rf /kernelconfig
rm -rf linux-5.2.8
swapoff swap
rm -rf swap
rpi3b:
dd if=/dev/zero of=swap bs=1048576 count=1024
chmod 600 swap
mkswap swap
swapon swap
tar xf linux-5.2.8.tar.xz
cp -v /boot/config-5.2.8 linux-5.2.8/.config
/kernelconfig/initramfs/prepare
......@@ -216,6 +226,8 @@ rpi3b:
rm -f /boot/*.old
rm -rf /kernelconfig
rm -rf linux-5.2.8
swapoff swap
rm -rf swap
kvm64-clfs:
tar xf linux-5.2.8.tar.xz
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment