Skip to content

Instantly share code, notes, and snippets.

@vallettea
Last active August 29, 2015 14:22
Show Gist options
  • Select an option

  • Save vallettea/f378f1a74937adf4d799 to your computer and use it in GitHub Desktop.

Select an option

Save vallettea/f378f1a74937adf4d799 to your computer and use it in GitHub Desktop.
New kernel on arch linux odroid c1
pacman -S base-devel
git clone https://github.com/hardkernel/linux --single-branch -b odroidc-3.10.y
cd linux
make mrproper
zcat /proc/config.gz > .config
make -j 4
make modules_install
cp arch/arm/boot/zImage /boot/3.10.75-ARCH
make dtbs
cp arch/arm/boot/dts/meson8b_odroidc.dtb /boot/dtbs/
mkinitcpio -k 3.10.75-ARCH -c /etc/mkinitcpio.conf -g /boot/initramfs-3.10.75-ARCH.img
cp System.map /boot/System.map-3.10.75-ARCH
ln -fs /boot/System.map-3.10.75-ARCH /boot/System.map
@vallettea
Copy link
Copy Markdown
Author

This works !

pacman -S base-devel lzop
git clone https://github.com/hardkernel/linux --single-branch -b odroidc-3.10.y
cd linux
make mrproper
make odroidc_defconfig
make uImage
make modules_install
make dtbs
cp arch/arm/boot/uImage /boot/
cp arch/arm/boot/dts/meson8b_odroidc.dtb /boot/dtbs/
cp System.map /boot/System.map-3.10.75
ln -fs /boot/System.map-3.10.75 /boot/System.map

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment