**** BEGIN LOGGING AT Sun Jul 21 02:59:58 2013 Jul 21 21:48:12 3.11-rc2 works on chromebook ;) Jul 21 23:59:16 hi all. I've managed to compile a custom Raring kernel for the Nexus 7, but I'm a bit lost as to how to build and flash a new boot.img. Can anyone point me to a good tutorial? Think I understand the zImage part, but not how to build the new initrd.img... Jul 22 00:00:06 you probably don't want to build new initrd - it is easiest to just use existing one Jul 22 00:00:43 kernel is stored in "boot.img" file, which can be built using "abootimg" tool, it is in Ubuntu's repositories, so you can just apt-get it Jul 22 00:01:56 with it, you can extract existing boot.img, replace the zImage and build new boot.img Jul 22 00:02:09 okay, yeah, I've seen a bit on that. Jul 22 00:03:33 tassadar_: Urm you do need a new init, particularly if the kernel version/uname -r output is different. Jul 22 00:03:38 initrd even Jul 22 00:03:44 why would you? Jul 22 00:04:04 He built a custom kernel. It depends on how this was built, but the version string may have changed. Jul 22 00:04:08 I don't think there are any kernel modules Jul 22 00:04:45 I built a few things as modules... Jul 22 00:05:04 I might be able to just push them into the rootfs... Jul 22 00:05:14 even then, you probably don't need them in initrd Jul 22 00:05:32 guess I've always just done kernels and initrds as pairs. Old habits die hard... Jul 22 00:05:56 are we talking about ubuntu touch or ubuntu desktop? Jul 22 00:09:04 I _think_ desktop. The raring desktop preinstalled for nexus7. Jul 22 00:09:14 yeah, that's desktop Jul 22 00:09:58 yeah, this boot.img: http://cdimage.ubuntu.com/releases/raring/release/ubuntu-13.04-preinstalled-desktop-armhf+nexus7.bootimg Jul 22 00:12:04 the existing initrd.img is ~3MB, so it has _something_ in it. I'll have to check what... Jul 22 00:12:24 well, the init bash script and some basic tools to mount the system Jul 22 00:12:31 *system partition Jul 22 00:13:00 dumb question: are the build scripts used by the daily build servers in a git archive or some such? Jul 22 00:13:23 it is built by update-initramfs and then flash-kernel package I think Jul 22 00:13:24 might be helpful just to look at how the cdimage files are built... Jul 22 00:13:43 or do you mean build scripts for whole image? I don't know about those Jul 22 00:14:14 btw, abootimg -x created file "boot.cfg" or something like that. Remove parameter "bootsize" from it, and make sure you use this config file when rebuilding the boot.img Jul 22 00:15:39 yeah, whole image. I.e. what runs every day and pushes daily builds or releases out... Jul 22 00:15:54 okay, I'll give it a rip Jul 22 00:17:45 flash-kernel tool can probably be used to flash the kernel...hmm Jul 22 00:17:51 without rebuilding the image Jul 22 00:17:56 huh Jul 22 00:18:33 you can probably just push the zImage to /boot, put modules where there belong and generate initramfs with "update-initramfs" Jul 22 00:18:41 and ubuntu will take care of the rest Jul 22 00:20:04 yeah, that works for checking it out... but if I want to replicate it to some other devices later Jul 22 00:20:17 though, I guess I could just dd back off the device after I get it like I want it... Jul 22 00:20:53 well, it would be better if you'd learn how to build the boot.img by yourself then, it's pretty easy with abootimg anyway Jul 22 01:46:15 So I am totally confused and desperate, that is why I am here, I have an HP pavilion m6 with an inbuilt SD slot but when i plug in the SD card (4 GB) i do not get a mount,m nothing happens. I am thinking its a driver prob but i have no idea how to verify that. **** ENDING LOGGING AT Mon Jul 22 02:59:58 2013