Ubuntu16.04, Kernel, and Boot image Issues

Hello Firefly community,

I am running to some issues getting the boot image that I compiled from the firefly github repository on a host machine running Ubuntu 14.04 to work on the rk3288 firefly dev board.

I am able to compile the latest kernel by following the instructions provided at http://wiki.t-firefly.com/index.php/Firefly-RK3288/Build_kernel/en. I am also able to build the Initramfs and build the boot image. However, when I flash the boot.img via rkflashtool to the boot partition, the board will always just have a blank screen. I have been trying different rockchip_linux defconfigs and did not get any different outcome.

Have anyone who attempted to build their own kernel and Ubuntu images ran into a similar issue? Or maybe you did things differently from what the firefly team suggests and got a working image.

For reference, I am using the following source code:

On a side note, once I get a working kernel and boot image, I plan to port the mali kernel driver r12p0 released by ARM. This is because the current mali driver is r9 and I am hoping to improve my performance with OpenGL ES with the newer gpu driver.

Any help would be appreciated. Thanks!

any log from uart?

No, I am not receiving any UART messages from the development board. The screen is just black and I am unable to SSH into the the dev board as well. Also, the green led that normally goes on at power up does not turn on.

I know the development board is not broken because I can flash the old boot image and have the development board work again.

I rebuilt the kernel following the instructions at http://wiki.t-firefly.com/index.php/Firefly-RK3288/UART/en. I added the line

CONFIG_SERIAL_ROCKCHIP=y

to the configuration file before compiling. The compilation ends successfully giving me the kernel.img and resource.img. I flash the two image files using upgrade_tool for linux.

I included the config file I am using. Maybe I am using the wrong one?
rk3288-firefly_linux_defconfig.zip (3.16 KB)

Hi,
the loader and the uboot send logs to uart2 by default,
and, did the old boot image send any logs?
It is difficult to figure out your problem with no logs.

Dear Steven,
Hi.
You can use the debug port and connect it via a usb-serial to you host pc and review your boot log or post it here.
the log helps a lot.

Thanks for the help, I managed to get the boot sequence to show now. Unfortunately, the system seems to just hang right after the boot sequence. All I see is a black screen with a blinking cursor.

I have attached a picture of the boot sequence. Any input on what may be wrong would be appreciated.

It looks like the X server get some errors,
could you use the serial debug to login the ubuntu system?
http://wiki.t-firefly.com/index.php/Firefly-RK3288/Serial_debug/en

This article is a real eye-opener, thanks for sharing! I’m sharing the Valid MuleSoft-Integration-Architect-I test materials resources for free—good luck!

This is such a brilliant article, thank you for providing it. Wish me luck on my PAP-001 Preparation Store exam! Hope it goes well!