tassadar_ | you probably don't want to build new initrd - it is easiest to just use existing one | 00:00 |
---|---|---|
tassadar_ | 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 | 00:00 |
tassadar_ | with it, you can extract existing boot.img, replace the zImage and build new boot.img | 00:01 |
mmenefee | okay, yeah, I've seen a bit on that. | 00:02 |
TheMuso` | tassadar_: Urm you do need a new init, particularly if the kernel version/uname -r output is different. | 00:03 |
TheMuso` | initrd even | 00:03 |
tassadar_ | why would you? | 00:03 |
TheMuso` | He built a custom kernel. It depends on how this was built, but the version string may have changed. | 00:04 |
tassadar_ | I don't think there are any kernel modules | 00:04 |
mmenefee | I built a few things as modules... | 00:04 |
mmenefee | I might be able to just push them into the rootfs... | 00:05 |
tassadar_ | even then, you probably don't need them in initrd | 00:05 |
mmenefee | guess I've always just done kernels and initrds as pairs. Old habits die hard... | 00:05 |
tassadar_ | are we talking about ubuntu touch or ubuntu desktop? | 00:05 |
mmenefee | I _think_ desktop. The raring desktop preinstalled for nexus7. | 00:09 |
tassadar_ | yeah, that's desktop | 00:09 |
mmenefee | yeah, this boot.img: http://cdimage.ubuntu.com/releases/raring/release/ubuntu-13.04-preinstalled-desktop-armhf+nexus7.bootimg | 00:09 |
mmenefee | the existing initrd.img is ~3MB, so it has _something_ in it. I'll have to check what... | 00:12 |
tassadar_ | well, the init bash script and some basic tools to mount the system | 00:12 |
tassadar_ | *system partition | 00:12 |
mmenefee | dumb question: are the build scripts used by the daily build servers in a git archive or some such? | 00:13 |
tassadar_ | it is built by update-initramfs and then flash-kernel package I think | 00:13 |
mmenefee | might be helpful just to look at how the cdimage files are built... | 00:13 |
tassadar_ | or do you mean build scripts for whole image? I don't know about those | 00:13 |
tassadar_ | 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 | 00:14 |
mmenefee | yeah, whole image. I.e. what runs every day and pushes daily builds or releases out... | 00:15 |
mmenefee | okay, I'll give it a rip | 00:15 |
tassadar_ | flash-kernel tool can probably be used to flash the kernel...hmm | 00:17 |
tassadar_ | without rebuilding the image | 00:17 |
tassadar_ | huh | 00:17 |
tassadar_ | you can probably just push the zImage to /boot, put modules where there belong and generate initramfs with "update-initramfs" | 00:18 |
tassadar_ | and ubuntu will take care of the rest | 00:18 |
mmenefee | yeah, that works for checking it out... but if I want to replicate it to some other devices later | 00:20 |
mmenefee | though, I guess I could just dd back off the device after I get it like I want it... | 00:20 |
tassadar_ | 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 | 00:20 |
Brun0L3z | 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. | 01:46 |
=== robert_ancell_ is now known as robert_ancell | ||
=== TheMuso` is now known as TheMuso | ||
=== fabo_ is now known as fabo | ||
=== doko_ is now known as doko | ||
Rjs | mmenefee: I'm not sure if I remember correctly (it's been half a year), but I think I built a custom kernel for nexus7 (desktop) simply by running debuild in the source directory (on the tablet, not cross-compiling) and installing the produced .deb with dpkg -i | 08:35 |
Rjs | _if_ the other devices you want to replicate to already have ubuntu desktop installed, a .deb package is probably the cleanest way to replicate a new kernel (that way versions etc. are also visible in apt) | 08:35 |
Rjs | (I also remember trying to find the scripts that generate the ubuntu preinstalled images, but I didn't find them, or any documentation on how exactly these images differ from plain ubuntu or debian armhf... though I didn't look very hard) | 08:41 |
=== wgrant_ is now known as wgrant | ||
=== popey_ is now known as popey | ||
=== chihchun is now known as chihchun_afk | ||
=== prpplague is now known as das_plague | ||
=== chihchun_afk is now known as chihchun_afk_afk | ||
=== Guest74237 is now known as dk | ||
=== ogra_` is now known as ogra_ | ||
cjoseph | we have an AM3505 CPU in our system. Has anybody used ubuntu with this processor or a related one? | 22:17 |
cjoseph | we curently use something called WindRiver linux, but are considering changing | 22:18 |
hrw | cjoseph: am3505 is omap3 or sitara family from TI | 22:44 |
hrw | cjoseph: perfectly fine to run ubuntu as long as you will take care of bootloader and kernel stuff | 22:45 |
hrw | cjoseph: but no idea how X11 and video/opengles acceleration would look like | 22:45 |
=== piscodig is now known as discopig |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!