How to boot the mainline kernel  

  RSS

matthias.bgg
New Member
Joined:8 years  ago
Posts: 1
October 17, 2016 11:22 am  

Hi all,

I tried the patches provided for the SoC from the kernel list provided by Mars:

http://lists.infradead.org/pipermail/linux-mediatek/2016-September/006932.html

I build the boot.img with mkbootimg provided by the AOSP. Afterwards I flash the boot.img via fastboot (unfortunately "fastboot boot" command is not implemented in the LK flashed on the board).

LK is loading the kernel but I don't see any ouput on the serial console. I added the following chosen node to the dts, but no luck:

       chosen {
               bootargs = "console=ttyS0,921600n8 earlyprintk earlycon=uart8250,mmio32,0x11002000";
               stdout-path = &uart0;
       };

What do I miss to get this working?


ReplyQuote
patrick
New Member
Joined:8 years  ago
Posts: 1
October 19, 2016 5:02 am  

Sounds the patches you downloaded doesn't matched X20 development board.

Regarding no output on the serial console, please check if you have selected correct baud rate, it should be 921600 for X20 development board.


ReplyQuote
freedom Koan-Sin Tan
New Member
Joined:8 years  ago
Posts: 1
October 27, 2016 5:55 am  

I have a short writeup on booting mainline kernel.

https://github.com/freedomtan/X20-96-board/wiki/booting-mainline-kernel


ReplyQuote
  
Working

Please Login or Register