jeudi 3 mars 2016

xperia mainline kernel build guide help

So I found these articles on the sony developer world website, describing how to build the Linux mainline Kernel for any new xperia device:

http://ift.tt/1wUdP3F

http://ift.tt/1SmSR9j

In the first guide they go through the process of building your kernel from source which I did and it completed just fine. Next I made a ramdisk described in the second post and copied it to the kernels directory. Now, the actual problem here is that the guide only mentions how to build it for the Xperia Z1 (Honami), as seen in this command:

Code:

cat arch/arm/boot/zImage \
arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dtb > \
arch/arm/boot/zImage-dtb

mkbootimg \
--kernel arch/arm/boot/zImage-dtb \
--cmdline "clk_ignore_unused console=ttyMSM0,115200,n8" \
--ramdisk rootfs.cpio \
--base 0x00000000 \
--pagesize 2048 \
--ramdisk_offset 0x02000000 \
--tags_offset 0x01e00000 \
--output boot.img \
--board honami

So I was wondering how one would go about changing the files and configurations to make the image for the Z2 instead. Especially where I can find the file qcom-msm8974-sony-xperia-honami.dtb for sirius, since it's not in the same directory as the one for honami. It actually only had honami listed

I have a bit of experience in ROM building, so just some general pointers should be enough. Thank you :)


from xda-developers http://ift.tt/1Y8rYq1
via IFTTT

Aucun commentaire:

Enregistrer un commentaire