Last active
August 29, 2015 14:22
-
-
Save vallettea/f378f1a74937adf4d799 to your computer and use it in GitHub Desktop.
New kernel on arch linux odroid c1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
Author
but everything needed seems present even on 3.10.72-3-ARCH:
Generally Necessary:
- cgroup hierarchy: properly mounted [/sys/fs/cgroup]
- CONFIG_NAMESPACES: enabled
- CONFIG_NET_NS: enabled
- CONFIG_PID_NS: enabled
- CONFIG_IPC_NS: enabled
- CONFIG_UTS_NS: enabled
- CONFIG_DEVPTS_MULTIPLE_INSTANCES: enabled
- CONFIG_CGROUPS: enabled
- CONFIG_CGROUP_CPUACCT: enabled
- CONFIG_CGROUP_DEVICE: enabled
- CONFIG_CGROUP_FREEZER: enabled
- CONFIG_CGROUP_SCHED: enabled
- CONFIG_CPUSETS: enabled
- CONFIG_MACVLAN: enabled (as module)
- CONFIG_VETH: enabled (as module)
- CONFIG_BRIDGE: enabled (as module)
- CONFIG_BRIDGE_NETFILTER: enabled
- CONFIG_NF_NAT_IPV4: enabled (as module)
- CONFIG_IP_NF_FILTER: enabled (as module)
- CONFIG_IP_NF_TARGET_MASQUERADE: enabled (as module)
- CONFIG_NETFILTER_XT_MATCH_ADDRTYPE: enabled (as module)
- CONFIG_NETFILTER_XT_MATCH_CONNTRACK: enabled (as module)
- CONFIG_NF_NAT: enabled (as module)
- CONFIG_NF_NAT_NEEDED: enabled
- CONFIG_POSIX_MQUEUE: enabled
Optional Features:
- CONFIG_MEMCG_SWAP: enabled
- CONFIG_MEMCG_SWAP_ENABLED: enabled
- CONFIG_RESOURCE_COUNTERS: enabled
- CONFIG_BLK_CGROUP: enabled
- CONFIG_IOSCHED_CFQ: enabled
- CONFIG_CGROUP_PERF: missing
- CONFIG_CFS_BANDWIDTH: enabled
- Storage Drivers:
- "aufs":
- CONFIG_AUFS_FS: enabled
- CONFIG_EXT4_FS_POSIX_ACL: enabled
- CONFIG_EXT4_FS_SECURITY: enabled
- "btrfs":
- CONFIG_BTRFS_FS: enabled
- "devicemapper":
- CONFIG_BLK_DEV_DM: enabled (as module)
- CONFIG_DM_THIN_PROVISIONING: enabled (as module)
- CONFIG_EXT4_FS: enabled
- CONFIG_EXT4_FS_POSIX_ACL: enabled
- CONFIG_EXT4_FS_SECURITY: enabled
- "overlay":
- CONFIG_OVERLAY_FS: missing
- CONFIG_EXT4_FS_SECURITY: enabled
- CONFIG_EXT4_FS_POSIX_ACL: enabled
- "zfs":
- /dev/zfs: missing
- zfs command: missing
- zpool command: missing
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
Hi Alexandre,
Hm, if you compile the new kernel source with the current configuration, you will definitely miss some kernel options required to run docker in a proper manner. You should run at least the check-script mentioned here and add/merge missing parts from the default configuration (
make odroidu_defconfig).make uImageneeds some tools to be installed (e.g. u-boot-tools).The standard (ODROID) u-boot loader takes the zImage not the uImage.