さて 構成 を見ておきましょう。
root@sysresccd /mnt/root/P-Plamo-rootimg.squash % ls squashfs-root
bin cdrom etc install loop misc net proc run srv tmp var
boot dev home lib media mnt opt root sbin sys usr
ここに 1式 揃っています。
では chroot を して 作業にかかります。
root@sysresccd /mnt/root/P-Plamo-rootimg.squash % chroot squashfs-root chroot: failed to run command /bin/zsh: No such file or directory root@sysresccd /mnt/root/P-Plamo-rootimg.squash % chroot squashfs-root /bin/bash root@sysresccd:/# # cd /usr/src/linux-3.12.5/ # ls -l /boot/ total 5402624 lrwxrwxrwx 1 root root 26 Mar 22 14:05 System.map -> System.map-3.12.5-plamoSMP -rw-r--r-- 1 root root 1835378 Dec 18 09:00 System.map-3.12.5-plamoSMP -rw-r--r-- 1 root root 512 Dec 30 21:30 boot.0811 lrwxrwxrwx 1 root root 22 Mar 22 14:05 config -> config-3.12.5-plamoSMP -rw-r--r-- 1 root root 121200 Dec 18 09:00 config-3.12.5-plamoSMP -rw-r--r-- 1 root root 5040 Nov 6 2012 diag1.img -rw-r--r-- 1 root root 17932 Nov 6 2012 diag2.img -rw-r--r-- 1 root root 22578 Nov 6 2012 inside.bmp -rw------- 1 root root 70144 Dec 30 21:30 map -rw-r--r-- 1 root root 6878 Nov 6 2012 onlyblue.bmp -rw-r--r-- 1 root root 33192 Nov 6 2012 tuxlogo.bmp lrwxrwxrwx 1 root root 23 Mar 22 14:05 vmlinuz -> vmlinuz-3.12.5-plamoSMP -rw-r--r-- 1 root root 3245360 Dec 18 09:00 vmlinuz-3.12.5-plamoSMP # ls arch/x86/boot/ Makefile compressed/ install.sh printf.c video-bios.c a20.c copy.S main.c regs.c video-mode.c apm.c cpu.c mca.c setup.ld video-vesa.c bioscall.S cpucheck.c memory.c string.c video-vga.c bitops.h ctype.h mkcpustr.c tools/ video.c boot.h early_serial_console.c mtools.conf.in tty.c video.h cmdline.c edd.c pm.c version.c code16gcc.h header.S pmjump.S vesa.h
Nouveau (nVidia) cards の 項目を モジュールにする という 一箇所の変更です。
root@sysresccd:/usr/src/linux-3.12.5# ls -a ./ Documentation/ README drivers/ ipc/ samples/ usr/ ../ Kbuild REPORTING-BUGS firmware/ kernel/ scripts/ virt/ .config Kconfig arch/ fs/ lib/ security/ COPYING MAINTAINERS block/ include/ mm/ sound/ CREDITS Makefile crypto/ init/ net/ tools/ root@sysresccd:/usr/src/linux-3.12.5# cp -a .config 001-org.config root@sysresccd:/usr/src/linux-3.12.5# make menuconfig .config - Linux/x86 3.12.5 Kernel Configuration Device Drivers ---> .config - Linux/x86 3.12.5 Kernel Configuration > Device Drivers Graphics support ---> .config - Linux/x86 3.12.5 Kernel Configuration > Device Drivers > Graphics support < > Nouveau (nVidia) cards < Help > Nouveau (nVidia) cards CONFIG_DRM_NOUVEAU: Choose this option for open-source nVidia support. Symbol: DRM_NOUVEAU [=n] Type : tristate Prompt: Nouveau (nVidia) cards Location: -> Device Drivers -> Graphics support Defined at drivers/gpu/drm/nouveau/Kconfig:1 Depends on: HAS_IOMEM [=y] && DRM [=m] && PCI [=y] Selects: FW_LOADER [=y] && DRM_KMS_HELPER [=m] && DRM_TTM [=m] && \ FB_CFB_FILLRECT [=y] && FB_CFB_COPYAREA [=y] && FB_CFB_IMAGEBLIT [=y] & FB [=y] && FRAMEBUFFER_CONSOLE [=y] && FB_BACKLIGHT [=n] && \ ACPI_VIDEO [=m] && X86_PLATFORM_DEVICES [=y] && ACPI_WMI [=m] && \ MXM_WMI [=n] && POWER_SUPPLY [=y] && BACKLIGHT_LCD_SUPPORT [=y] && \ BACKLIGHT_CLASS_DEVICE [=y] && VIDEO_OUTPUT_CONTROL [=m] && \ INPUT [=y] && THERMAL [=m] && ACPI_VIDEO [=m] | V <M> Nouveau (nVidia) cards (5) Maximum debug level (NEW) (3) Default debug level (NEW) [*] Support for backlight control (NEW) < Exit > < Exit > < Exit > .config - Linux/x86 3.12.5 Kernel Configuration Do you wish to save your new configuration? (Press <ESC><ESC> to continue kernel configuration.) < Yes > root@sysresccd:/usr/src/linux-3.12.5# make menuconfig scripts/kconfig/mconf Kconfig configuration written to .config *** End of the configuration. *** Execute 'make' to start the build or try 'make help'. root@sysresccd:/usr/src/linux-3.12.5# make help
にゃんたろう 拝!
014年 2月 15日 土曜日 21:03:58 JST 作成