**** BEGIN LOGGING AT Thu Oct 24 02:59:58 2013 Oct 24 08:53:28 I have development board with Android preloaded on it. I want to run the Ubuntu desktop version on it. What steps I need to perform? Oct 24 08:53:39 Please suggest me Oct 24 09:00:43 I have development board with Android preloaded on it. I want to run the Ubuntu desktop version on it. What steps I need to perform? Oct 24 09:00:51 Please suggest me Oct 24 09:36:26 I have development board with Android preloaded on it. I want to run the Ubuntu desktop version on it. What steps I need to perform? Oct 24 09:36:33 Please suggest me Oct 24 09:48:32 abhishek___: what board? Oct 24 09:48:47 IFC6410 Oct 24 09:49:14 shadeslayer: I have IFC6410 board with Android pre-loaded on it Oct 24 09:49:51 shadeslayer: I have source code of Android ......downloaded from codeaurora Oct 24 09:50:09 shadeslayer: I want to run Ubuntu desktop on it? Oct 24 09:50:28 shadeslayer: can you please suggest me what steps to follow? Oct 24 09:52:39 abhishek___: start with compiling the kernel that comes with it, pack a ubuntu ARM initramfs, combine the two together to create a flashable image, create a standard ubuntu image ( just the ubuntu-standard package) and then flash all of that and try to boot it? Oct 24 09:54:20 shadeslayer: I have compiled the kernel .....(Also, I can pic the zImage from Android images available to me) Oct 24 09:54:33 not quite Oct 24 09:54:48 you'll probably have to enable various other kernel options Oct 24 09:54:49 shadeslayer: from where to get the Ubuntu ARM initramfs ? Oct 24 09:55:16 abhishek___: you'll have to make one, I usually run mkinitramfs in a ubuntu arm chroot Oct 24 09:55:27 shadeslayer: Ok ....I will compile the kernel all by myself and will create the zImage Oct 24 09:56:52 shadeslayer: can you please explain Oct 24 09:57:19 explain what Oct 24 09:57:50 shadeslayer, update-initramfs ... never use mkinitramfs directly Oct 24 09:57:52 I usually run mkinitramfs in a ubuntu arm chroot Oct 24 09:58:09 ogra_: oh, does mkinitramfs eat kittens? Oct 24 09:58:16 it misses a lot Oct 24 09:58:23 ah I see Oct 24 09:58:37 its only one step in building an ubuntu initrd (update-initramfs calls it in the end) Oct 24 09:58:46 abhishek___: just debootstrap a ubuntu arm chroot Oct 24 09:58:52 and then chroot into it Oct 24 09:58:59 call update-initramfs Oct 24 09:59:01 or crab an ubuntu-core tarball Oct 24 09:59:03 *grab Oct 24 09:59:07 or that ^ Oct 24 09:59:25 ( must be something new, I haven't followed ARM stuff in the last 6 months :) Oct 24 09:59:45 what is new ? ubuntu-core ? Oct 24 09:59:52 its 3 years old or so Oct 24 09:59:52 Ubuntu core tarball can be picked from https://wiki.ubuntu.com/Core Oct 24 10:00:03 oh okay, first time I'm hearing of it :S Oct 24 10:00:29 well, you need to fiddle with qemu-user/static if you want to chroot into it Oct 24 10:00:37 ogra_ : from where to pic the tarball Oct 24 10:00:51 so qemu-debootstrap is probably the better choice since that does everything for you Oct 24 10:01:39 abhishek___, there should be links on the wikipage Oct 24 10:02:04 ogra_ : can you please link the traces Oct 24 10:02:13 ? Oct 24 10:02:21 ogra_ : I have kernel image ...compiled for my board Oct 24 10:02:29 http://cdimage.ubuntu.com/ubuntu-core/releases/13.10/release/ ? Oct 24 10:02:39 now from where to get the initramfs Oct 24 10:02:40 you will likely need to rebuild it woith many android options dropped Oct 24 10:02:46 ^^ Oct 24 10:03:22 you need to create a chroot or use a core tarball, chroot into it (with /sys, /dev and /proc bindmounted ... and then call update-initramfs Oct 24 10:03:37 Ok.....I have kernel image compiled for my board Oct 24 10:03:56 no you don't Oct 24 10:04:01 you will likely need to rebuild it woith many android options dropped Oct 24 10:04:04 yes, recompile it with android dropped Oct 24 10:04:26 ok ....I will recompile with android dropped Oct 24 10:04:37 * shadeslayer has to go, cya Oct 24 10:05:19 ogra_: I also require the bootloader ? Oct 24 10:05:35 indeed, that is what loads your kernel and initrd Oct 24 10:06:06 ogra_ : Android images uses fastboot\ Oct 24 10:06:21 thats fine Oct 24 10:06:24 ogra_ : can I use that to load the Ubuntu Oct 24 10:06:45 yes, you need to use abootimg to create a boot.img file from your kernel and initrd Oct 24 10:07:00 that one you can feed to fastboot Oct 24 10:08:04 ogra_ : So, I have kernel image (fresly compiled for my board) and Ubuntu core tarball .....I will pack those to create boot.img image Oct 24 10:08:14 no Oct 24 10:08:19 you need to create an initrd first Oct 24 10:08:34 ogra_ : How to create initrd ? Oct 24 10:08:35 a) compile the kernel with a config that works under ubuntu Oct 24 10:08:45 b) create an initrd.img Oct 24 10:08:48 ok Oct 24 10:08:54 c) create a boot.img using abootimg Oct 24 10:09:09 how to create initrd.img Oct 24 10:09:11 d) flash the boot.img to the right place so fastboot will find it Oct 24 10:09:32 e) put the ubuntu-core tarball in place so the initrd can find it and boot into it Oct 24 10:10:03 abhishek___, that was explained to you a few times now Oct 24 10:10:12 (how to create an initrd) Oct 24 10:10:26 for more details please look at documentation of the different tools Oct 24 10:11:38 initrd.img using update-initramfs ??? Oct 24 10:12:41 If I flash the boot.img in the boot sector (using: fastboot flash boot boot.img) ..... Oct 24 10:12:48 ogra_: ubuntu used cavium model for arm64 work? Oct 24 10:13:30 hrw, no idea Oct 24 10:13:41 hrw, ask infinity Oct 24 10:13:44 ogra_ : I also require the recovery.img, system.img images ... Oct 24 10:13:49 ogra_: mkey, thanks Oct 24 10:15:07 ogra_ : will I am able to boot the board into ubuntu desktop using the steps explained by you? ....I think I also require the recovery.img and system.img image .....is it not required? Oct 24 10:16:27 ogra_ : you gave me step "e) put the ubuntu-core tarball in place so the initrd can find it and boot into it" Oct 24 10:17:48 ogra_ : Please tell me .....I am new to this activity ? Oct 24 10:23:21 abhishek___, why do you care for e) before even having done a) ? Oct 24 10:23:33 (which might take you days anyway) Oct 24 10:24:47 expect that you need to read a lot of documentation and dont expect to be dont within a week or two if you havent done this before ... this is not a beginner task and will require you a lot of time and learning Oct 24 10:25:14 ogra_ : I have read on the web that if Android boot.img is wrong ...then it will boot from the recovery image ....... Oct 24 10:25:55 yes, thats what the bootloader might do ... depends on how the vendor created it Oct 24 10:26:17 but recovery or system or all the other android stuff is unrelated Oct 24 10:26:35 ogra_ : so, if i flash the ubuntu boot.img in the boot sector and boot the board ...then Android will boot from the recovery image ....and then again i will be in Android Oct 24 10:26:56 so make sure to have a working boot.img Oct 24 10:27:13 try to find out whats wrong using the right android debugging tools and fix that Oct 24 10:27:22 ogra_ : My problem is ...I don't have uboot (standard bootloader) ... Oct 24 10:27:38 you dont need uboot Oct 24 10:27:47 just create a proper boot.img Oct 24 10:27:48 ogra_ : So, I don't require bootloader (u-boot) Oct 24 10:27:59 you have a bootloader already Oct 24 10:28:17 If I am able to create the correct boot.img ....then I am able to boot the uBuntu on it ? Oct 24 10:28:44 ok .....what abt the GUI ? Oct 24 10:29:30 stop juping that far ahead, lets talk in one or two weeks about GUIs ... get it booting first Oct 24 10:29:36 ogra_ : can you please give me your email-id ?? .......I will try to follow the steps as mentioned by you .....and will ask you for further suggestions ..... Oct 24 10:29:47 ok ...... Oct 24 10:30:12 if you have questions it is better to use th eubuntu-devel mailing list, i'll answer there Oct 24 10:30:48 ok ... Oct 24 10:31:57 ogra_ : thanks for your help ..... **** ENDING LOGGING AT Fri Oct 25 02:59:58 2013