Carl Igelstram

SEIKO-WVGA 4.3' Android/Linux Build Problems

Discussion created by Carl Igelstram on Jun 14, 2012
Latest reply on Jun 20, 2012 by Vladan Jovanovic

Greetings Everybody,

I just got my hands on a i.mx53 Quickstart board and as I have never developed anything like this I am totally new to this. My goal is to 1)build Android and 2) use the SEIKO-WVGA touch screen.

1) is Complete using the newest Linaro build

2) is a different story. I have tried fiddeling around in the u-boot settings with the below controlls:

 

First off I am trying all these settings on the Ubuntu that came with the board, I thought It was a good Idea to make that work before I started with my android SD card. 

----------->First I tried:

set bootargs_base 'set bootargs console=ttymxc0, 115200${ScreenType}' using {lcd},{SEIKO-WVGA}

 

This did not work, all I had is allot of multi colored lines, sometimes white, sometimes black, sometimes half-half background. 

------->Second I tried:

setenv bootargs_base ‘set bootargs console=ttymxc0,115200 video=mxcdi0fb:RGB24,SEIKO-WVGA

which made little progress. I could now see small part of the desktop on the lcd screen but it was still covered in the colored lines, and the small part I did see was blue color distorted. 

------------>Third I tried redefining the variables again as:

  • VGA: video=mxcdi1fb:GBR24,VGA-XGA di1_primary vga
  • SEIKO LCD: video=mxcdi0fb:RGB24,SEIKO-WVGA di0_primary

Which made no real difference.

Then I wrote the line:

setenv bootargs_mmc 'set bootargs console=ttymxc0,115200 ${lcd} noinitrd rw ip=192.168.255.2:192.168.255.1::::eth0:off root=/dev/nfs nfsroot=192.168.255.1:/opt/IMX53/ltib/rootfs,nolock'

 

Which made the Penguin appear good on the screen however now Im not booting from the SD-card anymore, so it tries to boot from NFS. 

Here are my startup information and enviroment from printenv:

U-Boot 2009.08 (Oct 20 2011 - 13:11:26)

CPU: Freescale i.MX53 family 2.1V at 800 MHz
mx53 pll1: 800MHz
mx53 pll2: 400MHz
mx53 pll3: 432MHz
mx53 pll4: 455MHz
ipg clock : 66666666Hz
ipg per clock : 33333333Hz
uart clock : 66666666Hz
cspi clock : 108000000Hz
ahb clock : 133333333Hz
axi_a clock : 400000000Hz
axi_b clock : 200000000Hz
emi_slow clock: 133333333Hz
ddr clock : 400000000Hz
esdhc1 clock : 80000000Hz
esdhc2 clock : 80000000Hz
esdhc3 clock : 80000000Hz
esdhc4 clock : 80000000Hz
nfc clock : 26666666Hz
Board: MX53-LOCO 1.0 Rev. A
Boot Reason: [POR]
Boot Device: SD
I2C: ready
DRAM: 1 GB
MMC: FSL_ESDHC: 0,FSL_ESDHC: 1
In: serial
Out: serial
Err: serial
da9052_i2c_is_connected - i2c write success....
Serial reinitilized!
Net: got MAC address from IIM: 00:04:9f:01:c7:4c
FEC0 [PRIME]
Hit any key to stop autoboot: 0

MX53-LOCO U-Boot > printenv
baudrate=115200
loadaddr=0x70800000
netdev=eth0
ethprime=FEC0
uboot=u-boot.bin
kernel=uImage
ethact=FEC0
bootcd=run bootcmd_mmc
bootargs_nfs=setenv bootargs ${bootargs} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp
bootcmd_net=run bootargs_base bootargs_nfs; tftpboot ${loadaddr} ${kernel}; bootm
bootcmd_mmc=run bootargs_base bootargs_mmc; mmc read ${loadaddr} 0x800 0x1800; bootm
vga=setenv bootargs console=ttymxc0,115200 video=mxcdi1fb:GBR24,VGA-XGA di1_primary vga
bootcmd_obds=ext2load mmc 0:1 0x70800000 /unit_tests/obds.bin; go 70800000
nfsroot=/tftpboot/rootfs
lcd=video=mxcdi0fb:RGB24,SEIKO-WVGA di0_primary
lvds=video=mxcdi0fb:RGB666,XGA di0_primary ldb=di0
bootcmd=run bootcmd_mmc
bootfile=uImage
fileaddr=70800000
netmask=255.255.254.0
hdmi=setenv bootargs console=ttymxc0,115200 video=mxcdi0fb:RGB24,1024x768M@60 hdmi di0_primary
serverip=192.168.0.1
ipaddr=192.168.0.2
gatewayip=192.168.0.1
dnsip=192.168.0.1
bootdelay=3
botargs_base=set bootargs console=ttymxc0, 115200${lvds}
console_base=set console=ttymxc0,115200${lcd}
bootargs=console=ttymxc0, 115200 video=mxcdi0fb:RGB24, SEIKO-WVGA di0_primary
VGA:=video=mxcdi1fb:GBR24,VGA-XGA di1_primary vga
SEIKO=LCD: video=mxcdi0fb:RGB24,SEIKO-WVGA di0_primary
vga_and_seiko=video=mxcdi1fb:GBR24,VGA-XGA di1_primary vga video=mxcdi0fb:RGB24,SEIKO-WVGA
bootargs_base=setenv bootargs console=ttymxc0,115200 video=mxcdi0fb:RGB24,SEIKO-WVGA di0_primary
bootargs_mmc=set bootargs console=ttymxc0,115200 ${lcd} noinitrd rw ip=192.168.255.2:192.168.255.1::::eth0:off root=/dev/nfs nfsroot=192.168.255.1:/opt/IMX53/ltib/rootfs,nolock
stdin=serial
stdout=serial
stderr=serial

Now I am pretty much stuck, I am very new to this, started from knowing nothing three days ago and also installed Ubuntu on my computer for the first time tree days ago. 

Any help would be appreciated!

 

Best Regards

 

Outcomes