account arrowhead-down arrowhead-up mobile-menu search sm-bold-x x-skinny-rounded x-skinny arrowhead-right social-facebook social-googleplus social-instagram social-linkedin social-pinterest social-qzone social-renren social-tencent social-twitter social-vkontakt social-weibo social-youku social-youtube

Please help us improve our website

Take our customer survey to evaluate your visit.

It should only take a few minutes to answer five quick questions. Just click the Launch survey button at the end of your visit to begin.

Showing results for 
Search instead for 
Did you mean: 
Welcome to the Open Devices community!

This is where we discuss open source and development related questions on our Open Devices initiative.

build kernel and ramdisk for xperia x

One time poster
Message 1 of 1
Message 1 of 1

build kernel and ramdisk for xperia x

I am working on porting linux to xperia x devicve. First of all I decided to get the console work.

I have successfully build kernel using

I add CONFIG_VT=y and CONFIG_FRAMEBUFFER_CONSOLE=y to kernel config.

Then I build rootfs using

I selected target aarch64 (little endian)

After that I make boot image with 

mkbootimg --kernel Image.gz-dtb --ramdisk rootfs.cpio.gz --cmdline "console=tty0" -o boot.img

 Then I flashed boot partition with flashtool, but was not able to boot into anything. I see only Sony logo and nothing happens. Am I doing something wrong? Maybe I need to pass some kernel arguments to command line?