singulared / chromebook-kernel

Samsung Arm chromebook (Snow) linux kernel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Samsung arm Chromebook kernel (XE303C12 Snow)

This is fork of Google Chromeos kernel with some small patches like as enabled swap partition. In chromeos's kernel this function was disabled.

Branches:

Building signed chromeos image:

make -j2 zImage dtbs modules
make modules_install INSTALL_MOD_PATH=../modules```
mkimage -f kernel.its kernel.itb

Pack image and sign:

vbutil_kernel --pack kernel.img --keyblock /usr/share/vboot/devkeys/kernel.keyblock --version 1 --signprivate /usr/share/vboot/devkeys/kernel_data_key.vbprivk --config=cmdline --vmlinuz kernel/kernel.itb --arch arm

For packing you should install some package:

apt-get install vboot-kernel-utils u-boot-tools

and cmdline file should contain something like:

console=tty1 verbose root=/dev/mmcblk0p3 rootwait rw rootfstype=ext4

Building uboot image:

make -j2 uImage dtbs modules

And you may use arch/arm/boot/uImage with nv-uboot.

About

Samsung Arm chromebook (Snow) linux kernel

License:Other


Languages

Language:C 95.3%Language:Assembly 1.9%Language:C++ 1.5%Language:Objective-C 0.8%Language:Makefile 0.3%Language:Perl 0.1%Language:Shell 0.0%Language:Python 0.0%Language:Yacc 0.0%Language:SmPL 0.0%Language:Roff 0.0%Language:Lex 0.0%Language:Awk 0.0%Language:Scilab 0.0%Language:GDB 0.0%Language:UnrealScript 0.0%Language:ASP 0.0%Language:M4 0.0%Language:sed 0.0%Language:XS 0.0%Language:Perl 6 0.0%