i.MX233 - Adding Uboot with Splash Screen:

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX233 - Adding Uboot with Splash Screen:

1,167 Views
GopiNagaBharath
Contributor IV

Hello All,

I am using i.mX233 EVK from FSL and the Linux.

I need to add the Splash Screen (showing an image during the bootup) for the same.

Also, there is no Uboot on the board, it directly boots Linux (uImage + Rootfs).

Please let me know how to add the Uboot and along with the Uboot, how to add the splash screen for the LCD??

Regards,

Gopi

Labels (4)
Tags (1)
0 Kudos
4 Replies

648 Views
fabio_estevam
NXP Employee
NXP Employee

Hi Gopi,

I have added splash screen support for mx23evk on U-boot. Please see this commit:

http://git.denx.de/?p=u-boot.git;a=commitdiff;h=eadfc135d3df76620cfef5e6928d64fb8874c665

You need to use 2013.07-rc3 version though (2013.07 is about to be releases on a few days).

Regards,

Fabio Estevam

0 Kudos

648 Views
AnsonHuang
NXP Employee
NXP Employee

HI,

       There should be bootlet and kernel on your board. You can try adding splash screen in bootlets. Refer to Freescale Linux-bootlets, there is load command in .bd file, you can load the picture into dram, then call LCDIF to display it in bootlets.

0 Kudos

648 Views
GopiNagaBharath
Contributor IV

Hello,

I am unable to get any information about this bootlets, can you please provide me the link for the same??

Regards,

Gopi

0 Kudos

648 Views
AnsonHuang
NXP Employee
NXP Employee

Hi,

     You mentioned that there is no uboot on your board, it just boot up kernel and rootfs directly. That is not making sense, as far as I know, on i.NX233 EVK, you should init enternal DRAM, power etc. first, then load the kernel to DRAM. And this initialization of DRAM and power is called bootlets.

     So you didn't see any bootlets on the release package? See below, that is our bootlets did, it will load power_prep and dram_prep to init power and dram, then load linux zImage. So, for splash screen, you can load a picture's raw data to DRAM, then in this bootlets(its function is same as bootloader), init LCDIF and display this picture.

     You can find such bootlet first, then look into the linux.bd, it has the load & call command that are recognized by ROM, ROM will execute these orders. If I am right, this git should can be get from the release package.

linux-bootlets.git

linux.bd:

  2 options {

  3         driveTag = 0x00;

  4         flags = 0x01;

  5 }

  6 sources {

  7         power_prep="./power_prep/power_prep";

  8         sdram_prep="./boot_prep/boot_prep";

  9         linux_prep="./linux_prep/output-target/linux_prep";

10         zImage="./zImage";

11 }

12

13 section (0) {

14

15         //----------------------------------------------------------

16         // Power Supply initialization

17         //----------------------------------------------------------

18         load power_prep;

19         call power_prep;

20

21         //----------------------------------------------------------

22         // SDRAM initialization

23         //----------------------------------------------------------

24         load sdram_prep;

25         call sdram_prep;

26

27         //----------------------------------------------------------

28         // Prepare to boot Linux

29         //----------------------------------------------------------

30         load linux_prep;

31         call linux_prep;

32

33         //----------------------------------------------------------

34         //  Load ans start Linux kernel

35         //----------------------------------------------------------

36         load zImage > 0x40008000;

37         jump linux_prep;

38 }

0 Kudos