Skip to content

Commit af6fa0a

Browse files
author
lead4good
committed
netboot
1 parent 2080c8e commit af6fa0a

File tree

7 files changed

+20
-4
lines changed

7 files changed

+20
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# c201-debian-kernel
2-
I've got the kernel, ramdisk and dtb from a debootstrapped debian stretch, all included in this folder. Alternatively you can get the dtb and kernel from the .deb package at https://packages.debian.org/stretch/linux-image-4.8.0-2-armmp, the ramdisk only gets created once you install the package in the debootstrapped system though.
2+
The kernel, ramdisk and dtb are all downloaded from the daily netboot armhf install images.
33

44
Run ./sign-kernel.sh to create the signed FIT image including ramdisk.

cleanup.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
3+
rm -rf debian-installer
4+
rm -f boot.scr.uimg
5+
rm -f netboot.tar.gz
6+
rm -f bootloader.bin
7+
rm -f kernel.itb
8+
rm -f vmlinuz.signed

initrd.img-4.8.0-2-armmp

-14.9 MB
Binary file not shown.

kernel-veyron.its

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
images {
66
kernel@1{
77
description = "kernel";
8-
data = /incbin/("vmlinuz-4.8.0-2-armmp");
8+
data = /incbin/("debian-installer/armhf/vmlinuz");
99
type = "kernel_noload";
1010
arch = "arm";
1111
os = "linux";
@@ -16,7 +16,7 @@
1616
};
1717
fdt@1{
1818
description = "rk3288-veyron-speedy.dtb";
19-
data = /incbin/("rk3288-veyron-speedy.dtb");
19+
data = /incbin/("debian-installer/armhf/dtbs/rk3288-veyron-speedy.dtb");
2020
type = "flat_dt";
2121
arch = "arm";
2222
compression = "none";
@@ -26,7 +26,7 @@
2626
};
2727
ramdisk@1{
2828
description = "ramdisk_image";
29-
data = /incbin/("initrd.img-4.8.0-2-armmp");
29+
data = /incbin/("debian-installer/armhf/initrd.gz");
3030
type = "ramdisk";
3131
arch = "arm";
3232
os = "linux";

rk3288-veyron-speedy.dtb

-41.8 KB
Binary file not shown.

sign-kernel.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
#!/bin/bash
22

3+
bash cleanup.sh
4+
5+
wget https://d-i.debian.org/daily-images/armhf/daily/netboot/netboot.tar.gz
6+
7+
tar -xzvf netboot.tar.gz
8+
9+
return 0
10+
311
mkimage -f kernel-veyron.its kernel.itb
412

513
dd if=/dev/zero of=bootloader.bin bs=512 count=1

vmlinuz-4.8.0-2-armmp

-3.48 MB
Binary file not shown.

0 commit comments

Comments
 (0)