X-Git-Url: http://gitweb/?a=blobdiff_plain;f=README;h=dc3dcdc8e8608a419796716880822f38cabd570e;hb=refs%2Fheads%2F3.2;hp=476986b6227f11fd934f5f694a8038dbc67fc3ff;hpb=3365836dd9f7a778e30b027225480cca84fb93f5;p=kernel%2Fraspberrypi2.git diff --git a/README b/README index 476986b..dc3dcdc 100644 --- a/README +++ b/README @@ -25,17 +25,38 @@ menuconfig: run menuconfig for kernel, starting with default kernel config For booting the kernel, you will also need to download these addition files: bootcode.bin: https://github.com/raspberrypi/firmware/raw/master/boot/bootcode.bin start.elf: https://github.com/raspberrypi/firmware/raw/master/boot/start.elf +fixup.dat: https://github.com/raspberrypi/firmware/raw/master/boot/start.elf -Sd card layout: +(Two other files are needed in the boot partition: config.txt and cmdline.txt. + I will add more about these files next edit, as well as provide links to + existing official/semi-official documentation for this files) + +my current config.txt: +disable_splash=1 +gpu_mem=256 +kernel=kernel7-4.5.4.img +avoid_warnings=2 +dtoverlay=vc4-kms-v3d + +my current cmdline.txt: +dwg_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty root=/dev/mmcblk0p3 rootfstype=ext4 rootwait + +For the above two files, bare in mind that my sd card partition layout is as follows: +mmcblk0p1: fat32, boot files (mounted to /boot in fstab) +mmcblk0p2: swap +mmcblk0p3: ext4, root filesystem + +Sd card layout (as found on most howtos in the wild): first partition, boot (fat32): -kernel-$version.img, System.map-$version, bootcode.bin, start.elf, config.txt, cmdline.txt +kernel-$version.img, System.map-$version, bootcode.bin, start.elf, fixup.dat, + config.txt, and cmdline.txt Untar the dtb tarball (dtb-$version.tar.*) to the boot partition. second partition, root (ext{2,3,4}, xfs, btrfs, etc): Untar the modules tarball (modules-$version.tar.*) to the root partition. Untar all the package files created by crossrootfs and raspberrypi2-arm to -the root partition. + the root partition. Generating the kernel patch: