GOTCHA!!!! I'm so happy, it was a very interesting (exhausting though) experiment, I've learned a lot :)
Useful information to build Kernel Package are [1] and [2]. There is still shenanigans in my process, I do not get yet how to build my own meta-package (I use Ricardo's one), how to properly track modification / changelog, and use my PPA. So I do not feel comfortable enough to write a documentation about the process, but in case it is interesting for the community, with some help to guide me, I will do it with pleasure. David [1] :https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel <https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel> [2] : https://wiki.ubuntu.com/KernelTeam/ARMKernelCrossCompile <https://wiki.ubuntu.com/KernelTeam/ARMKernelCrossCompile> On Fri, Jun 27, 2014 at 9:50 PM, David Peter <maildavidpe...@gmail.com> wrote: > Arghhh Ricardo just updated his packages.... :) > > > > > On Fri, Jun 27, 2014 at 8:58 PM, David Peter <maildavidpe...@gmail.com> > wrote: > >> Yes there is a very good reason: I want to know ;) >> >> I feel like, figuring out, hacking, contributing, and I am leaning for >> low level, driver and hardware. I'm not interested in uploading an image >> and use it. I want to hack. >> My personal challenge would be to bring the magnetic switch to power >> on/off the screen automatically with the nexus 5 protection case. >> >> I know it's definitely not a priority for the Ubuntu-touch project >> (that's why I won't blame anybody if there is no response to my questions), >> but I have so much to learn on linux, ubuntu and your working process that >> I won't be effective soon. So I try hard to figure that out, it's very >> instructive and soon or later I'll push some contributions on your servers. >> On Jun 27, 2014 8:24 PM, "Rodney Dawes" <rodney.da...@canonical.com> >> wrote: >> >>> Hi, >>> >>> I just saw these mails, but is there any reason you're trying to go >>> about flashing this device the hard way? There are already images built >>> for hammerhead, which you can install using an alternate server as >>> described on the wiki page: >>> >>> >>> https://wiki.ubuntu.com/Touch/Devices#Server_at_http:.2BAC8ALw-system-image.tasemnice.eu >>> >>> Not trying to discourage. Just curious as to what you're doing. There is >>> an issue with the latest builds, where the screen does not unblank when >>> pressing the power button, after the phone has been removed from the >>> charger, and could use some help with getting fixed, if you have enough >>> knowledge to figure the issue out. >>> >>> >>> >>> On Fri, 2014-06-27 at 17:20 -0400, David Peter wrote: >>> > Ok ok still shenaniging... Obviously I need to learn about >>> > meta-package. >>> > I guess that I have to create a kernel meta package like the one >>> > downloaded from rsalveti's ppa. >>> > >>> > I won't give up :) >>> > >>> > >>> > On Jun 26, 2014 1:28 AM, "David Peter" <maildavidpe...@gmail.com> >>> > wrote: >>> > Getting closer >>> > >>> > >>> > Method inline building modifying >>> > device/lge/hammerhead/BoardConfig.mk with: >>> > TARGET_KERNEL_UBUNTU := false >>> > >>> > adding >>> > TARGET_KERNEL_CONFIG := hammerhead_defconfig >>> > TARGET_KERNEL_SOURCE := kernel/lge/hammerhead >>> > >>> > and >>> > BOARD_KERNEL_IMAGE_NAME := zImage-dtb >>> > >>> > >>> > I have a dtb kernel, now recovery is working. Ubuntu Touch >>> > still does not boot. >>> > Checking the installed-files.txt compared to the one coming >>> > from the prebuilt kernel it >>> > >>> > sounds like the only missing stuff now >>> > are /system/lib/modules/3.4.0-1-hammerhead/ >>> > libs. >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > On Thu, Jun 26, 2014 at 12:00 AM, David Peter >>> > <maildavidpe...@gmail.com> wrote: >>> > Hi Guys, >>> > >>> > I feel like playing with the Hammerhead Kernel >>> > >>> > >>> > I have figured out how to build the project: >>> > >>> https://code-review.phablet.ubuntu.com/p/aosp/platform/manifest.git -b >>> phablet-4.4.2_r1 >>> > then flash my hammerhead using rootstock-touch-install >>> > and a daily image. So far so good. >>> > >>> > >>> > >>> > Next, what do I have to do with the kernel sources >>> > project >>> > >>> https://code-review.phablet.ubuntu.com/ubuntu/kernel/trusty -b >>> hammerhead ? >>> > >>> > >>> > >>> > I have tried 3 ways: >>> > >>> > >>> > 1) building kernel in tree >>> > >>> > - copy the kernel sources to kernel/lge/hammerhead >>> > >>> > - modify device/lge/hammerhead/BoardConfig.mk >>> > >>> > in order to make TARGET_KERNEL_UBUNTU := false >>> > >>> > and add TARGET_KERNEL_CONFIG := hammerhead_defconfig >>> > TARGET_KERNEL_SOURCE := >>> > kernel/lge/hammerhead >>> > >>> > >>> > >>> > --> built kernel image smaller than the prebuilt one >>> > from rsalveti PPA (I guess it is a dtb story). Nothing >>> > will work >>> > >>> > >>> > 2) building kernel in tree with cyanogenmod >>> > BoardConfig.mk >>> > >>> > >>> > --> built kernel image sizing the same as the prebuilt >>> > one from rsalveti PPA (a dtb one by the way). Recovery >>> > works, Ubuntu-Touch won't boot though >>> > >>> > >>> > >>> > 3) building myself the kernel sources >>> > >>> > export ARCH=arm >>> > export SUBARCH=arm >>> > export CROSS_COMPILE=arm-eabi- >>> > make hammerhead_defconfig >>> > make >>> > >>> > >>> > ... no result yet, it was still building when I >>> > dicided to write this email as I don't know what to do >>> > next. >>> > >>> > >>> > >>> > >>> > >>> > >>> > What is the proper way to build the kernel and to >>> > produce the img boot recovery and system files? >>> > >>> > Can you give me some guidelines? >>> > >>> > >>> > >>> > >>> > I am keeping notes of that process and will suggest a >>> > wiki update. >>> > >>> > >>> > Regards >>> > >>> > David >>> > >>> > >>> > >>> >>> >>> >
-- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp