SEIKO-WVGA 4.3' Android/Linux Build Problems

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

SEIKO-WVGA 4.3' Android/Linux Build Problems

1,234 Views
CarlIgelstram
Contributor I

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

 

Tags (2)
0 Kudos
Reply
6 Replies

870 Views
VladanJovanovic
NXP Employee
NXP Employee

Sorry, was wrong link. Try MX53_QSB_UBUNTU_SD_DEMO_IMAGE from here:

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX53QSB&fpsp=1&tab=Design_Tools_Tab



Carl Igelström said:

I see, I tried redownloading it and such, however I don't seem to be able to run this program... It just shows up as a file on my computer and not as an application. 132-Untitled1.jpg

Vladan Jovanovic said:

Yes, just give it a try. Insert uSD card to USB/SD reader and choose the right disk from the flasher app.

Carl Igelström said:

Does this flasher work on Windows 7 ?..?

Vladan Jovanovic said:

You have entered some wrong lines there, as there's weird variables defines (VGA, SEIKO, botargs_base, console_base...).

Use the flasher binary for windows from HERE to re-program the uSD card you have. After that, just typing following should create setup that you need:

setenv bootargs_base 'setenv bootargs console=ttymxc0,115200 gpu_nommu ${lcd}'
saveenv

0 Kudos
Reply

870 Views
CarlIgelstram
Contributor I

I see, I tried redownloading it and such, however I don't seem to be able to run this program... It just shows up as a file on my computer and not as an application. 134-Untitled1.jpg

Vladan Jovanovic said:

Yes, just give it a try. Insert uSD card to USB/SD reader and choose the right disk from the flasher app.

Carl Igelström said:

Does this flasher work on Windows 7 ?..?

Vladan Jovanovic said:

You have entered some wrong lines there, as there's weird variables defines (VGA, SEIKO, botargs_base, console_base...).

Use the flasher binary for windows from HERE to re-program the uSD card you have. After that, just typing following should create setup that you need:

setenv bootargs_base 'setenv bootargs console=ttymxc0,115200 gpu_nommu ${lcd}'
saveenv

0 Kudos
Reply

870 Views
VladanJovanovic
NXP Employee
NXP Employee

Yes, just give it a try. Insert uSD card to USB/SD reader and choose the right disk from the flasher app.

Carl Igelström said:

Does this flasher work on Windows 7 ?..?

Vladan Jovanovic said:

You have entered some wrong lines there, as there's weird variables defines (VGA, SEIKO, botargs_base, console_base...).

Use the flasher binary for windows from HERE to re-program the uSD card you have. After that, just typing following should create setup that you need:

setenv bootargs_base 'setenv bootargs console=ttymxc0,115200 gpu_nommu ${lcd}'
saveenv

0 Kudos
Reply

870 Views
CarlIgelstram
Contributor I

As I am working on two builds I am posting my Android Enviroment aswell:

U-Boot 2012.04.01 (May 31 2012 - 05:26:29)

Board: MX53 LOCO
I2C: ready
DRAM: 1 GiB
WARNING: Caches not enabled
MMC: FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
CPU: Freescale i.MX53 family rev2.1 at 1000 MHz
Reset cause: POR
Net: FEC
Hit any key to stop autoboot: 0
MX53LOCO U-Boot > printenv
baudrate=115200
bootcmd=if mmc rescan ${mmcdev}; then if run loadbootscript; then run bootscript; else if run loaduimage; then run mmcboot; else run netboot; fi; fi; fi; run pxeboot; run netboot;
bootdelay=3
bootscript=echo Running bootscript from mmc ...; source
ethact=FEC
ethaddr=00:04:9f:01:c7:4c
kernel_addr_r=0x88000000
loadaddr=0x70800000
loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};
loaduimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}
mmcargs=setenv bootargs console=ttymxc0,${baudrate} root=${mmcroot} rootfstype=${mmcrootfstype}
mmcboot=echo Booting from mmc ...; run mmcargs; bootm
mmcdev=0
mmcpart=2
mmcroot=/dev/mmcblk0p3 rw
mmcrootfstype=ext3 rootwait
netargs=setenv bootargs console=ttymxc0,${baudrate} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp
netboot=echo Booting from net ...; run netargs; dhcp ${uimage}; bootm
pxeboot=echo Booting from net via PXE ...; setenv autoload no; bootp; if pxe get; then pxe boot;fi;
pxefile_addr_r=0x86000000
ramdisk_addr_r=0x81600000
script=boot.scr
stderr=serial
stdin=serial
stdout=serial
uimage=uImage

Environment size: 1166/8188 bytes



Vladan Jovanovic said:

You have entered some wrong lines there, as there's weird variables defines (VGA, SEIKO, botargs_base, console_base...).

Use the flasher binary for windows from HERE to re-program the uSD card you have. After that, just typing following should create setup that you need:

setenv bootargs_base 'setenv bootargs console=ttymxc0,115200 gpu_nommu ${lcd}'
saveenv

0 Kudos
Reply

870 Views
CarlIgelstram
Contributor I

Does this flasher work on Windows 7 ?..?

Vladan Jovanovic said:

You have entered some wrong lines there, as there's weird variables defines (VGA, SEIKO, botargs_base, console_base...).

Use the flasher binary for windows from HERE to re-program the uSD card you have. After that, just typing following should create setup that you need:

setenv bootargs_base 'setenv bootargs console=ttymxc0,115200 gpu_nommu ${lcd}'
saveenv

0 Kudos
Reply

870 Views
VladanJovanovic
NXP Employee
NXP Employee

You have entered some wrong lines there, as there's weird variables defines (VGA, SEIKO, botargs_base, console_base...).

Use the flasher binary for windows from HERE to re-program the uSD card you have. After that, just typing following should create setup that you need:

setenv bootargs_base 'setenv bootargs console=ttymxc0,115200 gpu_nommu ${lcd}'
saveenv

0 Kudos
Reply