[U-Boot] uart test

2014-09-22 Thread shobin b
Hi,I am using toradex carrier board with colibri t30 module.In that X13 and X14 
are uart.first uart X13 is default serial console.In that i need to check the 
second uart X14. How can i use second uart or how can i check second uart 
X14.please help me.Regards,shobin.b   ___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] booting from sd card problem

2014-08-11 Thread shobin b
Hi,  I am using uboot-toradex in my iris carrier with colibri t30 module.In 
that when i am booting from sd card it is showing following error,

U-Boot 2011.06-4-gccd521c (Mar 17 2014 - 09:48:16)  

  TEGRA3
 DRAM:  1 GiB   
MMC:   Tegra2 SD/MMC: 0, Tegra2 
SD/MMC: 1mmc_reset: power control = 0F, host control = 00Board: Toradex Colibri 
T30Net:   Net Initialization SkippedNo ethernet found.Hit any key to stop 
autoboot:  0 Colibri T30 # run sdbootLoading kernel and rootfs from MMC/SD 
Card...mmc_reset: power control = 0F, host control = 00mmc1 is current 
deviceGUID Partition Table Header signature is wrong:0xE1ADEA02 != 
0x5452415020494645get_partition_info_efi: *** ERROR: Invalid Primary GPT 
***Loading file /boot/uImage from mmc device 1:1 (gpt1)GUID Partition Table 
Header signature is wrong:0xE1ADEA02 != 
0x5452415020494645get_partition_info_efi: *** ERROR: Invalid Primary GPT 
***4324368 bytes read## Booting kernel from Legacy Image at 80408000 ...   
Image Name:   Linux-3.1.10   Image Type:   ARM Linux Kernel Image 
(uncompressed)   Data Size:4324304 Bytes = 4.1 MiB   Load Address: 80008000 
  Entry Point:  80008000   Loading Kernel Image ... OKOK  what was the problem? 
please help me.
In my board environment variables are following,
Colibri T30 # prbaudrate=115200bootcmd=run emmcboot; run usbboot; run 
nfsbootbootdelay=3defargs=core_edp_mv=1300 usb_high_speed=1emmcboot=run setup; 
setenv bootargs ${defargs} ${mmcargs} ${setupargs} ${vidargs}; echo Booting 
from internal eMMC chip...; mmc read ${loadaddr} 
${lnxmethaddr=00:14:2d:26:0b:9bfdtaddr=8014d538gptoffset=0xa001ipaddr=192.168.10.2lnxoffset=0x5000loadaddr=0x80408000memargs=vmalloc=128M
 mem=1012M@2048M fbmem=12M@3060Mmmc_kernel_size=0x4000mmcargs=ip=off 
root=/dev/mmcblk0p1 rw,noatime rootfstype=ext3 
rootwaitnetmask=255.255.255.0nfsargs=ip=:eth0:on root=/dev/nfs rw 
netdevwaitnfsboot=run setup; setenv bootargs ${defargs} ${nfsargs} ${setupargs} 
${vidargs}; echo Booting via DHCP/TFTP/NFS...; usb start  dhcp  
bootmsdargs=ip=off root=/dev/mmcblk1p1 rw,noatime rootfstype=ext3 
rootwaitsdboot=run setup; setenv bootargs ${defargs} ${sdargs} ${setupargs} 
${vidargs}; echo Loading kernel and rootfs from MMC/SD Card...; mmc dev 1  
ext2l}serverip=192.168.10.1setup=setenv setupargs gpt gpt_sector=${gptoffset} 
asix_mac=${ethaddr} no_console_suspend=1 console=tty1 
console=ttyS0,${baudrate}n8 
debug_uartport=ls}stderr=serial,lcdstdin=serial,usbkbdstdout=serial,lcdusbargs=root=/dev/sda2
 rw,noatime rootwaitusbboot=run setup; setenv bootargs ${defargs} ${setupargs} 
${usbargs} ${vidargs}; echo Booting from USB stick...; usb start  fatload usb 
0:1 ${loadamverify=novidargs=video=tegrafb0:640x480-16@60
Environment size: 1625/4092 bytesColibri T30 # 

please give me a solution.
regards,shobin.b  ___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] usb post diagnostic test in u boot for arm

2014-06-25 Thread shobin b
Hi,

   Any one please tell me how to do usb test(post) in uboot?I have a 
requirement for running usb test as part of diagnostics, on an ARM based 
platform.I am using toradex iris carrier board with colibri T30 module.
please tell me solution.
thanks,shobin.b   ___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] fw_printenv - 'Warning: Bad CRC, using default environment'

2014-04-30 Thread shobin b
hi,   i'm using the uboot-tools (fw_printenv) to readout the env-settings of my 
toradex board uboot-toradex. unfortunately i always get the 'Warning: Bad CRC, 
using default environment' msg, Warning: Bad CRC, using default environment
 bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} 
ip=${ipad dr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
 bootdelay=5
 baudrate=115200here is the mtd partitions in linux,sh-4.2# cat /proc/mtd
dev:size   erasesize  name
mtd0: 1e7c 0004 USR
mtd1: 0030 0004 BCT
mtd2: 0004 0004 PT
mtd3: 0020 0004 EBT
mtd4: 0004 0004 BMP
mtd5: 0020 0004 ENV
mtd6: 0080 0004 LNX
mtd7: 0004 0004 ARG
and in fw_env.config,# Configuration file for fw_(printenv/saveenv) utility.
# Up to two entries are valid, in this case the redundant
# environment sector is assumed present.
# Notice, that the Number of sectors is ignored on NOR and SPI-dataflash.
# Futhermore, if the Flash sector size is ommitted, this value is assumed to
# be the same as the Environment size, which is valid for NOR and SPI-dataflash

# NOR example
# MTD device name   Device offset   Env. size   Flash sector size   
Number of sectors
#/dev/mtd1  0x  0x4000  0x4000
#/dev/mtd2  0x  0x4000  0x4000

# MTD SPI-dataflash example
# MTD device name   Device offset   Env. size   Flash sector size   
Number of sectors
#/dev/mtd5  0x4200  0x4200
#/dev/mtd6  0x4200  0x4200

# NAND example
#/dev/mtd0  0x4000  0x4000  0x2 
2
/dev/mtd5   0x  0x4 0x20
1please tell me the solution.

  ___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] post tests in arm uboot

2014-04-03 Thread shobin b
Hi,  I enabled post in u boot(I am using toradex colibrit20 board).In post i 
enabled memory and i2c tests in u boot. Its working fine.After that i did 
watchdog test and then i flashed my u boot to board.It shows following it is 
hanged up to post watchdog, 
  U-Boot 
2011.06-1-g2715f5b-dirty (Apr 02 2014 - 13:31:05)   

   TEGRA2   


  In memory_post_test1  


In memory_post_test1

  In 
memory_post_test1   

   In memory_post_test1 

   MEMORY POST TEST 1 OK..  

  In 
memory_post_test2   
 MEMORY POST TEST 2 OK..


In memory_post_test3
MEMORY POST TEST 3 OK..
 In memory_post_test4MEMORY POST TEST 4 OK..DRAM:  256 MiBPOST memory 
PASSEDNAND:  512 MiBMMC:   Tegra2 SD/MMC: 0*** Warning - bad CRC, using default 
environment
Board: Toradex Colibri T20Missing Colibri config blockNet:   Net Initialization 
SkippedNo ethernet found.POST watchdog 
Please give me a solution.
  ___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] _POST_WORD_ADDR for ARM

2014-03-18 Thread shobin b
Hi,
   How can we define  _POST_WORD_ADDR for ARM.In case enabling post for arm
on post.h how can i define  _POST_WORD_ADDR. how it is defined in other
platform.please tell me the logic behind  _POST_WORD_ADDR.


regards,
shobin.b
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] env variable in linux

2014-02-26 Thread shobin b
Hi,
 I have to get environment variables in linux from uboot. For that i did
make cross compile on env tools in my uboot(uboot-toradex).after this i
executed the fw_printenv in my linux it is giving like following,

sh-4.2# fw_printenv
Too few good blocks within range

and my fw_env.config file is,

# NOR example
# MTD device name Device offset Env. size Flash sector size Number of
sectors
#/dev/mtd1 0x 0x30 0x4
#/dev/mtd2 0x 0x4000 0x4000

# MTD SPI-dataflash example
# MTD device name Device offset Env. size Flash sector size Number of
sectors
#/dev/mtd5 0x4200 0x4200
#/dev/mtd6 0x4200 0x4200

# NAND example
#/dev/mtd0 0x4000 0x4000 0x2 2
/dev/mtd5 0x 0x20 0x4 2


and in linux,

sh-4.2# cat /proc/mtd
dev:size   erasesize  name
mtd0: 1e7c 0004 USR
mtd1: 0030 0004 BCT
mtd2: 0004 0004 PT
mtd3: 0020 0004 EBT
mtd4: 0004 0004 BMP
mtd5: 0020 0004 ENV
mtd6: 0080 0004 LNX
mtd7: 0004 0004 ARG


please give me a solution.



regards,
shobin.b
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] getting environment variable

2014-02-19 Thread shobin b
Hi,
I am using uboot-toradex. In that How can i get environment variables
from u boot and extract that variables in to linux?

please reply..
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] arm post tests

2014-02-06 Thread shobin b
Hi ,

I am new to u-boot code. I had a requirement for running memory, cpu and
cache tests as part of diagnostics, on an ARM based platform. After
going through the code, I found that only PPC variants are available for
cpu and cache post tests.

Please help me...



Thanks,

shobin.b
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] enabling post for arm in uboot

2014-02-05 Thread shobin b
Hi,

   I have tried to build u-boot for iris board(toradex) with POST enabled,
but its showing some compilation errors as,


i=aapcs-linux -mno-thumb-interwork -march=armv5 -Werror -Wall
-Wstrict-prototypes -fno-stack-protector   -o tftp.o tftp.c -c
/home/shobin/toradex/gcc-linaro-arm-linux-gnueabihf-2012.09-20120921_linux/bin/arm-linux-gnueabihf-ld
 -r -o libnet.o  bootp.o eth.o net.o tftp.o
make[1]: Leaving directory `/home/shobin/iris/u-boot-toradex/net'
make -C post/
make[1]: Entering directory `/home/shobin/iris/u-boot-toradex/post'
make[1]: Leaving directory `/home/shobin/iris/u-boot-toradex/post'
make[1]: Entering directory `/home/shobin/iris/u-boot-toradex/post'
/home/shobin/toradex/gcc-linaro-arm-linux-gnueabihf-2012.09-20120921_linux/bin/arm-linux-gnueabihf-gcc
 -g  -O2   -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__
-DCONFIG_SYS_TEXT_BASE=0x00108000
-I/home/shobin/iris/u-boot-toradex/include -fno-builtin -ffreestanding
-nostdinc -isystem
/home/shobin/toradex/gcc-linaro-arm-linux-gnueabihf-2012.09-20120921_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/include
-pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork
-march=armv5 -Werror -Wall -Wstrict-prototypes -fno-stack-protector   -o
post.o post.c -c
post.c: In function 'post_log':
post.c:403:7: error: variable 'i' set but not used
[-Werror=unused-but-set-variable]
post.c: In function 'post_time_ms':
post.c:494:2: error: #warning Not implemented yet [-Werror=cpp]
cc1: all warnings being treated as errors
make[1]: *** [post.o] Error 1
make[1]: Leaving directory `/home/shobin/iris/u-boot-toradex/post'
make: *** [post/libpost.o] Error 2

please help me.


regards,
shobin.b
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] uboot post for arm

2014-01-31 Thread shobin b
Hi,
   can you please tell me how to define _POST_WORD_ADDR for arm to enable
post(in uboot-toradex iris based colibri_t20 toradex board).How to do it

please give me a solution.


regards,
shobin.b
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] arm post tests in uboot

2014-01-29 Thread shobin b
Hi,

I am doing post for arm in uboot-toradex(in iris based colibri t20 board).When
i enabled post in my board file(colibri_t20.h) it showing following errors
after making uboot,

i=aapcs-linux -mno-thumb-interwork -march=armv5 -Werror -Wall
-Wstrict-prototypes -fno-stack-protector   -o display.o display.c -c
/home/shobin/toradex/gcc-linaro-arm-linux-gnueabihf-2012.09-20120921_linux/bin/arm-linux-gnueabihf-ld
 -r -o libtegra2.o  board.o pinmux.o sys_info.o display.o
make[1]: Leaving directory
`/home/shobin/iris/u-boot-toradex/arch/arm/cpu/armv7/tegra2'
make -C arch/arm/lib/
make[1]: Entering directory `/home/shobin/iris/u-boot-toradex/arch/arm/lib'
In file included from board.c:56:0:
/home/shobin/iris/u-boot-toradex/include/post.h:75:2: error: #error
_POST_WORD_ADDR currently not implemented for this platform!
make[1]: Leaving directory `/home/shobin/iris/u-boot-toradex/arch/arm/lib'
make[1]: Entering directory `/home/shobin/iris/u-boot-toradex/arch/arm/lib'
/home/shobin/toradex/gcc-linaro-arm-linux-gnueabihf-2012.09-20120921_linux/bin/arm-linux-gnueabihf-gcc
 -g  -O2   -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__
-DCONFIG_SYS_TEXT_BASE=0x00108000
-I/home/shobin/iris/u-boot-toradex/include -fno-builtin -ffreestanding
-nostdinc -isystem
/home/shobin/toradex/gcc-linaro-arm-linux-gnueabihf-2012.09-20120921_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/include
-pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork
-march=armv5 -Werror -Wall -Wstrict-prototypes -fno-stack-protector
-march=armv4t  -o board.o board.c -c
In file included from board.c:56:0:
/home/shobin/iris/u-boot-toradex/include/post.h:75:2: error: #error
_POST_WORD_ADDR currently not implemented for this platform!
/home/shobin/iris/u-boot-toradex/include/post.h: In function
'post_word_load':
/home/shobin/iris/u-boot-toradex/include/post.h:81:1: error:
'_POST_WORD_ADDR' undeclared (first use in this function)
/home/shobin/iris/u-boot-toradex/include/post.h:81:1: note: each undeclared
identifier is reported only once for each function it appears in
/home/shobin/iris/u-boot-toradex/include/post.h: In function
'post_word_store':
/home/shobin/iris/u-boot-toradex/include/post.h:86:1: error:
'_POST_WORD_ADDR' undeclared (first use in this function)
make[1]: *** [board.o] Error 1
make[1]: Leaving directory `/home/shobin/iris/u-boot-toradex/arch/arm/lib'
make: *** [arch/arm/lib/libarm.o] Error 2


how to solve this problem.

please give me a solution.


regards,
shobin.b
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] post in uboot for arm

2014-01-28 Thread shobin b
Hi,
 I have to do post for arm in uboot-toradex(iris based colibri t20
board)(arm board).how can i do that?what changes i have to make in uboot?

First can you please tell me how to do memory post test in uboot.

please give me a solution.


regards,
shobin.b
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] _POST_WORD_ADDR in post.h

2014-01-03 Thread shobin b
Hi,
I am doing post in uboot for arm.When i am enabling post in /include/post.h
file there is defining some  _POST_WORD_ADDR. how will i define this for
our arm board.i am using colibri t20 module.


regards,
shobin.b
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] post in uboot

2013-12-30 Thread shobin b
Hi all,

  Any one know how to do post in uboot?i am using uboot-toradex.In that
when at boot time i have to check the peripherals attached to our
board(like usb,uart,ethernet,..).how to do these things in uboot?

please tell me the solution.



regards,
shobin.b
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] post in uboot

2013-12-26 Thread shobin b
Hi,
  How can i enable post in uboot for arm.Now currently in my uboot ,in post
folder there is only support for ppc,mpc like that only, no support for
arm.How to do post for arm.I am using colibri_t20(toradex) with iris
carrier board.Please give me a solution.


regards,
shobin.b
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot