diff --git a/compilekernel.sh b/compilekernel.sh new file mode 100644 index 0000000..61ca731 --- /dev/null +++ b/compilekernel.sh @@ -0,0 +1,7 @@ +#!/bin/bash +cd .. +cd linux +make mrproper +make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- defconfig +cp ../rpi23-gen-image/working-rpi3-linux-config.txt .config +make -j2 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- diff --git a/getbootloader.sh b/getbootloader.sh new file mode 100644 index 0000000..6fc8e16 --- /dev/null +++ b/getbootloader.sh @@ -0,0 +1,5 @@ +#!/bin/bash +cd .. +git clone git://git.denx.de/u-boot.git +cd u-boot +git checkout b24cf8540a85a9bf97975aadd6a7542f166c78a3 diff --git a/getdependencies.sh b/getdependencies.sh new file mode 100644 index 0000000..abab334 --- /dev/null +++ b/getdependencies.sh @@ -0,0 +1,3 @@ +#!/bin/bash +apt-get install apt-cacher-ng +apt-get install debootstrap debian-archive-keyring qemu-user-static binfmt-support dosfstools rsync bmap-tools whois git bc device-tree-compiler crossbuild-essential-armhf crossbuild-essential-arm64 diff --git a/getfirmware.sh b/getfirmware.sh new file mode 100644 index 0000000..c437475 --- /dev/null +++ b/getfirmware.sh @@ -0,0 +1,11 @@ +#!/bin/bash +cd .. +mkdir -p raspberry-firmware/boot +cd raspberry-firmware/boot +wget https://github.com/raspberrypi/firmware/raw/master/boot/bootcode.bin +wget https://github.com/raspberrypi/firmware/raw/master/boot/fixup_cd.dat +wget https://github.com/raspberrypi/firmware/raw/master/boot/fixup.dat +wget https://github.com/raspberrypi/firmware/raw/master/boot/fixup_x.dat +wget https://github.com/raspberrypi/firmware/raw/master/boot/start_cd.elf +wget https://github.com/raspberrypi/firmware/raw/master/boot/start.elf +wget https://github.com/raspberrypi/firmware/raw/master/boot/start_x.elf diff --git a/getkernel.sh b/getkernel.sh new file mode 100644 index 0000000..3028c12 --- /dev/null +++ b/getkernel.sh @@ -0,0 +1,5 @@ +#!/bin/bash +cd .. +git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git +cd linux +git checkout 60e8d3e11645a1b9c4197d9786df3894332c1685 diff --git a/getrpi23.sh b/getrpi23.sh new file mode 100644 index 0000000..ff392aa --- /dev/null +++ b/getrpi23.sh @@ -0,0 +1,2 @@ +#!/bin/bash +git clone https://github.com/michaelfranzl/rpi23-gen-image.git