← Back to team overview

ubuntu-phone team mailing list archive

Re: Booting modified kernels on krillin

 

Hey,

this has just been solved on IRC, I'll post more details soon.

cheers,
Simon



On 07/01/2015 09:14 PM, sturmflut wrote:
> Hey all,
> 
> for various debugging purposes I want to temporarily boot a modified
> kernel on krillin. My idea was to build the kernel, take the boot.img
> from the OTA-4 image "device" tarball, update the boot.img with the new
> kernel, and then use the "fastboot boot" command to boot it once:
> 
> 
> $ git clone https://github.com/bq/aquaris-E4.5.git
> 
> $ cd aquaris-E4.5
> 
> $ ./makeMtk -t krillin n k
> 
> $ tar -xJvf
> /home/sturmflut/.cache/ubuntuimages/pool/device-168ccf6a391da4f83feb0325783f02b313e3892675bfea9e4a036bd63fd24f93.tar.xz
> 
> $ abootimg -u partitions/boot.img -k
> ./out/target/product/krillin/obj/KERNEL_OBJ/arch/arm/boot/zImage
> 
> $ fastboot boot partitions/boot.img
> 
> 
> This doesn't work, the kernel doesn't boot. I don't have much experience
> with the whole Android boot procedure, so any hint is appreciated.
> 
> cheers,
> Simon
> 



Follow ups

References